/* fonts moved to <link> in head.tpl (display=optional) to prevent FOUT/flash */
/* ===== DP SHOP theme (7 agents) під dp-shop.com.pl ===== */

/* ===== GLOBAL ===== */
/* ============================================================
   dp-shop.com.pl → PrestaShop classic  |  COMPONENT: global
   Глобальні стилі: body, заголовки, посилання, кнопки,
   заголовки секцій.  custom.css підключається останнім → !important
   ============================================================ */

/* ---------- BODY / базова типографіка ---------- */
body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif !important;
  background: #fafafa !important;
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

#wrapper,
.page-content,
#content-wrapper {
  background: transparent !important;
}

p,
li,
td,
span,
label,
.form-control {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif !important;
}

/* ---------- ЗАГОЛОВКИ h1-h3 ---------- */
h1, h2, h3,
.h1, .h2, .h3 {
  font-family: 'Nunito Sans', 'Open Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: #1d1d1f !important;
  line-height: 1.25 !important;
}

h1, .h1 { font-size: 30px !important; }
h2, .h2 { font-size: 26px !important; }
h3, .h3 { font-size: 20px !important; }

h4, h5, h6,
.h4, .h5, .h6 {
  font-family: 'Nunito Sans', 'Open Sans', sans-serif !important;
  font-weight: 400 !important;
  color: #1d1d1f !important;
  letter-spacing: .3px !important;
}

/* ---------- ПОСИЛАННЯ ---------- */
a {
  color: #1d1d1f !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
}

a:hover,
a:focus,
a:active {
  color: #bf78ee !important;
  text-decoration: none !important;
}

/* ---------- КНОПКИ (фіолетові, radius 24px) ---------- */
.btn-primary,
.add-to-cart,
button.add-to-cart,
.btn[data-button-action="add-to-cart"],
.btn-secondary,
.btn.btn-primary {
  background: #bf78ee !important;
  background-image: none !important;
  border: 1px solid #bf78ee !important;
  color: #fff !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .3px !important;
  border-radius: 24px !important;
  padding: 10px 26px !important;
  box-shadow: 0 2px 6px rgba(191, 120, 238, .25) !important;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease !important;
}

/* hover — темні + легкий підйом */
.btn-primary:hover,
.btn-primary:focus,
.add-to-cart:hover,
.add-to-cart:focus,
button.add-to-cart:hover,
button.add-to-cart:focus,
.btn[data-button-action="add-to-cart"]:hover,
.btn[data-button-action="add-to-cart"]:focus,
.btn-secondary:hover,
.btn.btn-primary:hover {
  background: #1d1d1f !important;
  border-color: #1d1d1f !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(29, 29, 31, .28) !important;
}

.btn-primary:active,
.add-to-cart:active,
button.add-to-cart:active,
.btn[data-button-action="add-to-cart"]:active {
  transform: translateY(0) !important;
  background: #a855d4 !important;
  border-color: #a855d4 !important;
}

.btn-primary:disabled,
.add-to-cart:disabled,
button.add-to-cart:disabled,
.btn[data-button-action="add-to-cart"][disabled] {
  background: #d9c2ec !important;
  border-color: #d9c2ec !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed !important;
  opacity: .8 !important;
}

/* контурні / вторинні кнопки — фіолетовий контур */
.btn-outline-primary,
.btn-tertiary {
  background: transparent !important;
  border: 1px solid #bf78ee !important;
  color: #bf78ee !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  transition: background .2s ease, color .2s ease, transform .15s ease !important;
}

.btn-outline-primary:hover,
.btn-tertiary:hover {
  background: #bf78ee !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

/* focus outline — фіолетовий, без стандартного bootstrap-синього */
.btn:focus,
.btn.focus,
a:focus,
button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(191, 120, 238, .30) !important;
}

/* без фіолетової рамки на лого/кабінеті/кошику в шапці */
#_desktop_logo a:focus,
#_desktop_user_info a:focus,
.cart-link:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ---------- ЗАГОЛОВКИ СЕКЦІЙ ---------- */
.products-section-title,
.featured-products h2,
.featured-products .h2,
h2.products-section-title {
  display: block !important;
  text-align: center !important;
  font-family: 'Nunito Sans', 'Open Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  font-size: 26px !important;
  color: #1d1d1f !important;
  position: relative !important;
  padding-bottom: 13px !important;
  margin: 34px 0 32px !important;
  border: 0 !important;
}

/* коротка фіолетова лінія знизу */
.products-section-title::after,
.featured-products h2::after,
h2.products-section-title::after {
  content: "" !important;
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  background: #bf78ee !important;
  border-radius: 3px !important;
  margin: 14px auto 0 !important;
}

/* ---------- ДРІБНИЦІ: text selection, hr ---------- */
::selection {
  background: rgba(191, 120, 238, .30) !important;
  color: #1d1d1f !important;
}

hr {
  border-top-color: rgba(29, 29, 31, .08) !important;
}

/* ===== TOPBAR_HEADER ===== */
/* =====================================================================
   COMPONENT: topbar_header  (dp-shop.com.pl look → PrestaShop classic)
   Верхня промо-стрічка + утиліті-рядок + головний хедер + пошук
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Загальний контейнер хедера
   --------------------------------------------------------------------- */
#header {
  background: #ffffff !important;
  box-shadow: none !important;
  border-bottom: 1px solid #eee !important;
  font-family: 'Open Sans', sans-serif !important;
}

/* =====================================================================
   1. ВЕРХНЯ ПРОМО-СТРІЧКА  (.header-banner) — чорний фон, білий текст
   Текст додаємо через ::before (банер порожній, але НЕ :empty)
   ===================================================================== */
#header .header-banner {
  background: #1d1d1f !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: hidden !important;
}

#header .header-banner::before {
  content: "🚚 Darmowa dostawa od 60 zł\00a0\00a0\00a0⚡ Szybka wysyłka\00a0\00a0\00a0💜 Odwiedź nasze Social Media" !important;
  display: block !important;
  width: 100% !important;
  color: #ffffff !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: .3px !important;
  line-height: 34px !important;
  text-align: center !important;
  white-space: nowrap !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

/* На вузьких екранах даємо тексту дихати */
@media (max-width: 575px) {
  #header .header-banner::before {
    font-size: 11px !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    padding: 6px 10px !important;
  }
  #header .header-banner {
    min-height: 0 !important;
  }
}

/* =====================================================================
   2. УТИЛІТІ-РЯДОК  (nav.header-nav) — темний #1d1d1f, білі лінки
   ===================================================================== */
#header nav.header-nav {
  background: #1d1d1f !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  border: none !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
}

/* усі лінки/текст у смузі — світлі */
#header nav.header-nav,
#header nav.header-nav a,
#header nav.header-nav .expand-more,
#header nav.header-nav .top-menu a,
#header nav.header-nav .currency-selector,
#header nav.header-nav .language-selector,
#header nav.header-nav .user-info a,
#header nav.header-nav .header-nav a {
  color: #e8e8ea !important;
  text-decoration: none !important;
}

/* hover будь-якого лінка в утиліті-рядку → фіолетовий */
#header nav.header-nav a:hover,
#header nav.header-nav a:focus,
#header nav.header-nav .expand-more:hover,
#header nav.header-nav .user-info a:hover,
#header nav.header-nav .language-selector a:hover,
#header nav.header-nav .currency-selector a:hover {
  color: #bf78ee !important;
  text-decoration: none !important;
}

/* іконки (людина/сердечко) у смузі */
#header nav.header-nav i,
#header nav.header-nav .material-icons {
  color: inherit !important;
  vertical-align: middle !important;
}

/* роздільники dropdown валюти/мови */
#header nav.header-nav .dropdown-menu {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.14) !important;
  padding: 6px 0 !important;
}
#header nav.header-nav .dropdown-menu a,
#header nav.header-nav .dropdown-menu li a {
  color: #1d1d1f !important;
  padding: 7px 16px !important;
  display: block !important;
}
#header nav.header-nav .dropdown-menu a:hover,
#header nav.header-nav .dropdown-menu li a:hover {
  background: #f3e8fb !important;
  color: #a855d4 !important;
}

/* ------- Кнопка кошика (.blockcart) — фіолетова, заокруглена ------- */
#header nav.header-nav .blockcart,
#header nav.header-nav .blockcart.active,
#header nav.header-nav .blockcart.inactive {
  background: #bf78ee !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 22px !important;
  padding: 6px 16px !important;
  margin-left: 8px !important;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease !important;
}
#header nav.header-nav .blockcart a,
#header nav.header-nav .blockcart .header,
#header nav.header-nav .blockcart span,
#header nav.header-nav .blockcart i,
#header nav.header-nav .blockcart .material-icons {
  color: #ffffff !important;
}
#header nav.header-nav .blockcart:hover,
#header nav.header-nav .blockcart.active:hover {
  background: #1d1d1f !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.3) !important;
  transform: translateY(-1px) !important;
}
#header nav.header-nav .blockcart:hover a,
#header nav.header-nav .blockcart:hover span,
#header nav.header-nav .blockcart:hover i {
  color: #ffffff !important;
}

/* лічильник товарів у кошику — контрастний */
#header nav.header-nav .blockcart .cart-products-count {
  background: #b6f000 !important;
  color: #1d1d1f !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  padding: 0 6px !important;
  font-size: 11px !important;
  line-height: 18px !important;
  display: inline-block !important;
  min-width: 18px !important;
  text-align: center !important;
}

/* =====================================================================
   3. ГОЛОВНИЙ ХЕДЕР  (.header-top) — БІЛИЙ фон, лого до 58px
   ===================================================================== */
#header .header-top {
  background: #ffffff !important;
  padding: 14px 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Лого */
#header .header-top .logo,
#header #_desktop_logo img,
#header .header-top .logo img,
#header .header-top #_desktop_logo a img {
  max-height: 58px !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
}
#header .header-top #_desktop_logo,
#header .header-top .logo a {
  display: inline-flex !important;
  align-items: center !important;
}

/* =====================================================================
   3b. ВИРІВНЮВАННЯ білої шапки по ширині МЕНЮ
   Лого — по лівому краю меню, іконки — по правому краю меню,
   пошук — строго по центру сайту. Ширина = як меню: min(1560px, 93vw).
   Лише desktop (меню видиме від 768px).
   ===================================================================== */
@media (min-width: 768px) {
  #header .header-top > .container {
    width: min(1560px, 93vw) !important;
    max-width: min(1560px, 93vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
  }
  #header .header-top > .container > .row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* лого та іконки без внутрішнього відступу — хугають краї меню */
  #header .header-top .col-md-2.hidden-sm-down { padding: 0 !important; }
  /* блок іконок притиснути до правого краю */
  #header .header-top .header-top-nav2 { margin-left: auto !important; }
  /* пошук абсолютно по центру контейнера (незалежно від ширини лого/іконок) */
  #header .header-top .header-top-right { position: static !important; }
  #header .header-top #search_widget {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(560px, 46vw) !important;
    max-width: 560px !important;
    margin: 0 !important;
  }
}

/* =====================================================================
   4. ПОШУК  (#search_widget) — КВАДРАТНИЙ, світлий, темна кнопка
   ===================================================================== */
#header #search_widget,
#header .header-top .search-widget {
  width: 100% !important;
}

#header #search_widget form {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
}

/* Поле вводу — квадратне, світлий фон, тонка рамка */
#header #search_widget input[type="text"],
#header #search_widget input.ui-autocomplete-input,
#header .header-top .search-widget input[type="text"] {
  background: #f5f5f7 !important;
  border: 1px solid #dcdce0 !important;
  border-right: none !important;
  border-radius: 0 !important;
  color: #111111 !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  height: 44px !important;
  padding: 0 16px !important;
  width: 100% !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .2s ease, background .2s ease !important;
}
#header #search_widget input[type="text"]::placeholder,
#header .header-top .search-widget input[type="text"]::placeholder {
  color: #8a8a90 !important;
  opacity: 1 !important;
}
#header #search_widget input[type="text"]:focus,
#header .header-top .search-widget input[type="text"]:focus {
  background: #ffffff !important;
  border-color: #bf78ee !important;
  box-shadow: none !important;
}

/* Кнопка пошуку — темна квадратна, hover → фіолетовий */
#header #search_widget button[type="submit"],
#header .header-top .search-widget button,
#header .header-top .search-widget button[type="submit"] {
  background: #1d1d1f !important;
  color: #ffffff !important;
  border: 1px solid #1d1d1f !important;
  border-radius: 0 !important;
  height: 44px !important;
  min-width: 48px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s ease, border-color .2s ease !important;
}
#header .header-top .search-widget button i,
#header .header-top .search-widget button .material-icons,
#header #search_widget button[type="submit"] i {
  color: #ffffff !important;
  font-size: 20px !important;
}
#header #search_widget button[type="submit"]:hover,
#header .header-top .search-widget button:hover,
#header .header-top .search-widget button[type="submit"]:hover {
  background: #bf78ee !important;
  border-color: #bf78ee !important;
}
#header #search_widget button[type="submit"]:active,
#header .header-top .search-widget button:active {
  background: #a855d4 !important;
  border-color: #a855d4 !important;
}

/* Автопідказки пошуку — біла панель, тінь, скруглення знизу */
#header #search_widget .ui-autocomplete,
#header .header-top .ui-menu.ui-autocomplete {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.14) !important;
  padding: 4px 0 !important;
  z-index: 1200 !important;
}
#header #search_widget .ui-autocomplete .ui-menu-item a,
#header .header-top .ui-autocomplete .ui-menu-item-wrapper {
  color: #1d1d1f !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
}
#header #search_widget .ui-autocomplete .ui-menu-item a:hover,
#header #search_widget .ui-autocomplete .ui-state-active,
#header .header-top .ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background: #f3e8fb !important;
  color: #a855d4 !important;
  border: none !important;
  margin: 0 !important;
}

/* =====================================================================
   5. АДАПТИВ головного хедера
   ===================================================================== */
@media (max-width: 767px) {
  #header .header-top {
    padding: 10px 0 !important;
  }
  #header .header-top .logo img,
  #header #_desktop_logo img {
    max-height: 46px !important;
  }
  #header #search_widget input[type="text"],
  #header #search_widget button[type="submit"] {
    height: 40px !important;
  }
}

/* ===== NAV_MEGAMENU ===== */
/* ============================================================
   nav_megamenu — Меню категорій dp-shop у PrestaShop classic
   Чорна панель #1d1d1f, білі UPPERCASE пункти, фіолетовий hover,
   біле випадне мега-меню з тінню та плавною появою
   ============================================================ */

/* ---------- Панель меню (чорна смуга) ---------- */
#_desktop_top_menu.menu,
#_desktop_top_menu,
.header-top .menu,
.top-menu {
    background: var(--dp-dark, #1d1d1f) !important;
}

/* Розтягуємо чорний фон на всю ширину контейнера меню */
.header .menu,
#_desktop_top_menu {
    margin: 0 !important;
}

/* Головний список меню — горизонтальний ряд */
#_desktop_top_menu .top-menu,
#top-menu,
ul#top-menu.top-menu {
    background: var(--dp-dark, #1d1d1f) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Пункт верхнього рівня <li> */
#top-menu > li,
.top-menu > li,
#_desktop_top_menu #top-menu > li {
    position: relative !important;
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
}

/* ---------- Посилання верхнього рівня ---------- */
#top-menu > li > a,
.top-menu > li > a,
#_desktop_top_menu #top-menu > li > a,
.top-menu a[data-depth="0"] {
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    text-decoration: none !important;
    padding: 13px 16px !important;
    line-height: 1.2 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease !important;
}

/* Hover / focus / активний стан верхнього пункту */
#top-menu > li > a:hover,
#top-menu > li > a:focus,
#top-menu > li:hover > a,
.top-menu > li:hover > a,
#top-menu > li.active > a,
.top-menu > li > a:hover,
.top-menu > li > a:focus,
#_desktop_top_menu #top-menu > li:hover > a {
    color: var(--dp-accent, #bf78ee) !important;
    background: rgba(255, 255, 255, .06) !important;
    border-bottom-color: var(--dp-accent, #bf78ee) !important;
}

/* Стрілка/експандер біля пунктів із підменю */
#top-menu > li > a .material-icons,
.top-menu > li > a .material-icons,
#top-menu .expand-icon,
.top-menu .add,
.top-menu .remove {
    color: inherit !important;
    opacity: .8 !important;
}
#top-menu > li:hover > a .material-icons,
.top-menu > li:hover > a .material-icons {
    color: var(--dp-accent, #bf78ee) !important;
    opacity: 1 !important;
}

/* ============================================================
   ВИПАДНЕ ПІДМЕНЮ / МЕГА-МЕНЮ
   ============================================================ */

/* Спільна база для sub-menu / popover / dropdown */
.top-menu .sub-menu,
.top-menu .popover,
#_desktop_top_menu .sub-menu,
#top-menu li .sub-menu,
.top-menu .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
    display: block !important;
    min-width: 240px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 22px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15) !important;

    /* Плавна поява */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    pointer-events: none !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}

/* Popover з бібліотеки bootstrap — прибрати службові стилі */
.top-menu .popover {
    max-width: 100% !important;
    font-family: 'Open Sans', sans-serif !important;
}
.top-menu .popover > .arrow,
.top-menu .popover .arrow {
    display: none !important;
}

/* Показ підменю при наведенні/фокусі на пункт */
#top-menu > li:hover > .sub-menu,
#top-menu > li:focus-within > .sub-menu,
.top-menu > li:hover > .sub-menu,
.top-menu > li:focus-within > .sub-menu,
#top-menu > li:hover .popover,
.top-menu li:hover > .dropdown-menu,
.top-menu .sub-menu.show,
.top-menu .sub-menu.collapse.in {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* ---------- Внутрішні списки підменю ---------- */
.top-menu .sub-menu ul,
.top-menu .popover ul,
.top-menu .dropdown-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Мега-меню: багатоколонкова розкладка, якщо всередині є список */
.top-menu .sub-menu > ul,
#top-menu > li > .sub-menu > ul.top-menu,
.top-menu .popover > ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 34px !important;
    columns: auto !important;
}

/* Кожна колонка-гілка мега-меню */
.top-menu .sub-menu > ul > li,
.top-menu .popover > ul > li {
    flex: 0 0 auto !important;
    min-width: 180px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* Заголовок колонки (пункт 2-го рівня з дітьми) */
.top-menu .sub-menu a[data-depth="1"],
.top-menu .sub-menu > ul > li > a {
    font-weight: 700 !important;
    text-transform: none !important;
}

/* ---------- Посилання всередині підменю ---------- */
.top-menu .sub-menu a,
.top-menu .popover a,
.top-menu .dropdown-menu a,
.top-menu .dropdown-item,
#top-menu li .sub-menu a {
    display: block !important;
    color: var(--dp-text, #111) !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    padding: 7px 10px !important;
    border-radius: 6px !important;
    background: transparent !important;
    border: 0 !important;
    line-height: 1.35 !important;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease !important;
}

/* Hover пунктів підменю → фіолетовий текст + легкий фон */
.top-menu .sub-menu a:hover,
.top-menu .sub-menu a:focus,
.top-menu .popover a:hover,
.top-menu .popover a:focus,
.top-menu .dropdown-menu a:hover,
.top-menu .dropdown-item:hover,
.top-menu .dropdown-item:focus,
#top-menu li .sub-menu a:hover {
    color: var(--dp-accent, #bf78ee) !important;
    background: rgba(191, 120, 238, .08) !important;
    padding-left: 14px !important;
}

/* Заголовок колонки на hover — темніший акцент */
.top-menu .sub-menu > ul > li > a:hover {
    color: var(--dp-accent-dark, #a855d4) !important;
}

/* Вкладені (3-й рівень) пункти — трохи менші, приглушені */
.top-menu .sub-menu a[data-depth="2"],
.top-menu .sub-menu ul ul a {
    font-size: 13px !important;
    color: #555 !important;
    padding: 5px 10px !important;
}
.top-menu .sub-menu a[data-depth="2"]:hover,
.top-menu .sub-menu ul ul a:hover {
    color: var(--dp-accent, #bf78ee) !important;
}

/* Розділювач між гілками (якщо тема додає межі) */
.top-menu .sub-menu li.divider,
.top-menu .dropdown-divider {
    background: rgba(0, 0, 0, .07) !important;
    border: 0 !important;
    margin: 8px 0 !important;
    height: 1px !important;
}

/* ---------- Адаптив: на вужчих екранах меню лишається читабельним ---------- */
@media (max-width: 991px) {
    #top-menu > li > a,
    .top-menu > li > a {
        padding: 11px 12px !important;
        font-size: 13px !important;
    }
    .top-menu .sub-menu,
    .top-menu .popover,
    .top-menu .dropdown-menu {
        padding: 14px 16px !important;
    }
    .top-menu .sub-menu > ul,
    .top-menu .popover > ul {
        gap: 4px 20px !important;
    }
    .top-menu .sub-menu > ul > li,
    .top-menu .popover > ul > li {
        min-width: 150px !important;
    }
}

/* ===== PRODUCT_CARDS ===== */
/* ============================================================
   DP-SHOP → PrestaShop classic  |  KOMPONENT: product_cards
   Karty produktów: białe, radius 12px, hover-lift, image-swap
   ============================================================ */

/* ---- KONTENER KARTY ---- */
.product-miniature,
.js-product-miniature {
  background: transparent !important;
}

.product-miniature .thumbnail-container {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05) !important;
  overflow: hidden !important;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease !important;
  will-change: transform !important;
  height: auto !important;
}

.product-miniature .thumbnail-container:hover,
.product-miniature .thumbnail-container:focus-within {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12) !important;
  border-color: #eaeaea !important;
}

/* ---- OBSZAR FOTO ---- */
.product-miniature .thumbnail-container .thumbnail,
.product-miniature .thumbnail-container .product-thumbnail {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
  background: #ffffff !important;
}

.product-miniature .thumbnail img,
.product-miniature .thumbnail-container img.product-thumbnail-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  transition: transform .5s ease, opacity .35s ease !important;
}

/* lekkie zbliżenie pierwszego zdjęcia na hover (fallback bez drugiego foto) */
.product-miniature .thumbnail-container:hover .thumbnail img:first-child,
.product-miniature .thumbnail-container:hover .product-thumbnail img:first-child {
  transform: scale(1.03) !important;
}

/* ============================================================
   IMAGE-SWAP — drugie zdjęcie pojawia się (fade) na hover
   Kilka wariantów selektorów dla niezawodności.
   ============================================================ */

/* Wariant A: dwa <img> bezpośrednio w .thumbnail / linku */
.product-miniature .thumbnail img:nth-child(2),
.product-miniature .thumbnail-container a.thumbnail img:nth-child(2),
.product-miniature .thumbnail-container .product-thumbnail img:nth-child(2),
.product-miniature .thumbnail-container img.second-image,
.product-miniature .second-image,
.product-miniature img[data-second-image] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  transition: opacity .35s ease, transform .5s ease !important;
}

/* pierwsze zdjęcie musi mieć układ pozycjonujący tło dla drugiego */
.product-miniature .thumbnail:has(img:nth-child(2)),
.product-miniature .product-thumbnail:has(img:nth-child(2)),
.product-miniature .thumbnail-container:has(.second-image) .thumbnail {
  position: relative !important;
}

.product-miniature .thumbnail img:first-child,
.product-miniature .thumbnail-container .product-thumbnail img:first-child {
  position: relative !important;
  z-index: 1 !important;
}

/* ODSŁONIĘCIE drugiego zdjęcia na hover karty */
.product-miniature .thumbnail-container:hover .thumbnail img:nth-child(2),
.product-miniature .thumbnail-container:hover a.thumbnail img:nth-child(2),
.product-miniature .thumbnail-container:hover .product-thumbnail img:nth-child(2),
.product-miniature .thumbnail-container:hover img.second-image,
.product-miniature .thumbnail-container:hover .second-image,
.product-miniature .thumbnail-container:hover img[data-second-image],
.product-miniature:hover .second-image {
  opacity: 1 !important;
  transform: scale(1.03) !important;
}

/* ============================================================
   BEJDŻE / FLAGI
   ============================================================ */
.product-miniature .product-flags,
.product-miniature ul.product-flags {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  z-index: 5 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.product-miniature .product-flag {
  position: static !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12) !important;
}

/* NOWOŚĆ — zielony badge, ciemny tekst */
.product-miniature .product-flag.new {
  background: #b6f000 !important;
  color: #1d1d1f !important;
  border: none !important;
}

/* PROMOCJA / RABAT — fioletowy, biały tekst */
.product-miniature .product-flag.discount,
.product-miniature .product-flag.on-sale,
.product-miniature .product-flag.discount-percentage,
.product-miniature .product-flag.discount-amount,
.product-miniature .product-flag.reduced-price {
  background: #bf78ee !important;
  color: #ffffff !important;
  border: none !important;
}

/* domyślne inne flagi (np. pack, online-only) — ciemne */
.product-miniature .product-flag.pack,
.product-miniature .product-flag.online-only {
  background: #1d1d1f !important;
  color: #ffffff !important;
}

/* ============================================================
   TREŚĆ KARTY (nazwa + cena)
   ============================================================ */
.product-miniature .product-description,
.product-miniature .thumbnail-container .product-description {
  padding: 14px 14px 16px !important;
  background: #ffffff !important;
  text-align: center !important;
}

/* NAZWA */
.product-miniature .product-title {
  margin: 0 0 8px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
}

.product-miniature .product-title a {
  color: #111111 !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
}

.product-miniature .product-title a:hover,
.product-miniature .product-title a:focus,
.product-miniature .thumbnail-container:hover .product-title a {
  color: #bf78ee !important;
}

/* ============================================================
   CENA
   ============================================================ */
.product-miniature .product-price-and-shipping {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.product-miniature .product-price-and-shipping .price,
.product-miniature .price {
  color: #bf78ee !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

/* STARA CENA — szara przekreślona */
.product-miniature .product-price-and-shipping .regular-price,
.product-miniature .regular-price {
  color: #9a9a9a !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  text-decoration: line-through !important;
}

/* etykieta rabatu przy cenie (np. -20%) */
.product-miniature .discount-percentage,
.product-miniature .product-price-and-shipping .discount-percentage,
.product-miniature .discount-amount {
  background: #bf78ee !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

/* ============================================================
   WISHLIST — serce w białym kole
   ============================================================ */
.product-miniature .wishlist-button-add,
.product-miniature .wishlist-button {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 6 !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12) !important;
  cursor: pointer !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

.product-miniature .wishlist-button-add i,
.product-miniature .wishlist-button-add svg,
.product-miniature .wishlist-button-add .material-icons {
  color: #1d1d1f !important;
  fill: #1d1d1f !important;
  font-size: 20px !important;
  transition: color .2s ease, fill .2s ease !important;
}

.product-miniature .wishlist-button-add:hover,
.product-miniature .wishlist-button-add:focus {
  background: #bf78ee !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(191, 120, 238, .4) !important;
}

.product-miniature .wishlist-button-add:hover i,
.product-miniature .wishlist-button-add:hover svg,
.product-miniature .wishlist-button-add:hover .material-icons,
.product-miniature .wishlist-button-add.active i,
.product-miniature .wishlist-button-add.added i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* stan aktywny (dodane do listy) */
.product-miniature .wishlist-button-add.active,
.product-miniature .wishlist-button-add.added {
  background: #bf78ee !important;
}

/* ============================================================
   OVERLAY HOVER (highlighted-informations / szybki podgląd)
   ============================================================ */
.product-miniature .highlighted-informations {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 4 !important;
  background: rgba(255, 255, 255, .96) !important;
  border-top: 1px solid #f0f0f0 !important;
  box-shadow: none !important;
  transform: translateY(100%) !important;
  opacity: 0 !important;
  transition: transform .3s ease, opacity .3s ease !important;
}

.product-miniature .thumbnail-container:hover .highlighted-informations {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.product-miniature .highlighted-informations .quick-view {
  color: #1d1d1f !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
  transition: color .2s ease !important;
}

.product-miniature .highlighted-informations .quick-view:hover {
  color: #bf78ee !important;
}

/* ============================================================
   PRZYCISKI W KARCIE (dodaj do koszyka itp.)
   ============================================================ */
.product-miniature .thumbnail-container .add-to-cart,
.product-miniature .thumbnail-container .btn-primary,
.product-miniature .product-description .button {
  background: #bf78ee !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
  transition: background .2s ease !important;
}

.product-miniature .thumbnail-container .add-to-cart:hover,
.product-miniature .thumbnail-container .btn-primary:hover,
.product-miniature .product-description .button:hover {
  background: #1d1d1f !important;
  color: #ffffff !important;
}

/* dostępność / komunikaty pod ceną */
.product-miniature .product-availability,
.product-miniature .comments_note {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
}

/* ===== HOME_SECTIONS ===== */
/* ============================================================
   HOME SECTIONS — dp-shop.com.pl look (PrestaShop classic)
   Компонент: home_sections
   ============================================================ */

/* ---- Загальні відступи секцій головної ---- */
#content-wrapper .featured-products,
#content-wrapper .products-section,
.page-home .featured-products,
.page-home #products,
.page-home section.featured-products {
  padding: 48px 15px !important;
  margin: 0 auto !important;
  max-width: 1400px !important;
}

.page-home #wrapper > .container,
.page-home #content-wrapper > section,
#index #wrapper {
  background: var(--dp-bg, #fafafa) !important;
}

.page-home section:nth-of-type(even),
#index .featured-products:nth-of-type(even) {
  background: #ffffff !important;
}

/* ---- Заголовки секцій ---- */
.products-section-title,
.featured-products > h2,
.featured-products h2.h2,
#index .products-section-title,
.page-home .h1.products-section-title,
section.featured-products .products-section-title {
  display: block !important;
  position: relative !important;
  text-align: center !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: var(--dp-dark, #1d1d1f) !important;
  margin: 0 auto 40px !important;
  padding-bottom: 18px !important;
  border: none !important;
}

/* фіолетова лінія знизу заголовка */
.products-section-title::after,
.featured-products > h2::after,
.featured-products h2.h2::after,
#index .products-section-title::after,
section.featured-products .products-section-title::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  width: 64px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: linear-gradient(90deg, var(--dp-accent, #bf78ee), var(--dp-accent-dark, #a855d4)) !important;
}

/* прибрати класичні підкреслення/бордюри теми на заголовках */
.products-section-title {
  border-bottom: 0 !important;
}

/* ---- Сітка товарів на головній ---- */
#index .products,
.page-home .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* скидання bootstrap-колонок теми */
#index .products .js-product,
.page-home .products .product {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1200px) {
  #index .products,
  .page-home .products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 900px) {
  #index .products,
  .page-home .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .products-section-title,
  .featured-products > h2 {
    font-size: 22px !important;
    margin-bottom: 28px !important;
  }
  #content-wrapper .featured-products,
  .page-home .featured-products {
    padding: 32px 12px !important;
  }
}
@media (max-width: 560px) {
  #index .products,
  .page-home .products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* «Zobacz wszystkie / більше» посилання під секцією */
.featured-products .all-product-link,
#index .all-product-link,
.featured-products a.all-product-link {
  display: inline-block !important;
  float: none !important;
  clear: both !important;
  margin: 14px auto 0 !important;   /* було 32px — підняли ближче до товарів */
  font-size: 17px !important;       /* було 15px (promo)/18px — трохи більший і однаковий для всіх */
  text-align: center !important;
  width: 100% !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: var(--dp-accent, #bf78ee) !important;
}
.featured-products .all-product-link:hover {
  color: var(--dp-accent-dark, #a855d4) !important;
  text-decoration: none !important;
}

/* ============================================================
   БЛОК ДОВІРИ — .block-reassurance
   ============================================================ */
.block-reassurance,
#content-wrapper .block-reassurance,
.page-home .block-reassurance {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 12px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 36px 15px !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.block-reassurance ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.block-reassurance ul li,
.block-reassurance li {
  flex: 1 1 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

.block-reassurance li .block-reassurance-item,
.block-reassurance-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 !important;
}

.block-reassurance img,
.block-reassurance li img,
.block-reassurance svg {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 auto !important;
  filter: none !important;
}

.block-reassurance li span,
.block-reassurance .block-reassurance-item span {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--dp-text, #111) !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.block-reassurance li a { color: inherit !important; }

@media (max-width: 768px) {
  .block-reassurance ul { flex-direction: column !important; }
  .block-reassurance ul li,
  .block-reassurance li {
    flex: 1 1 100% !important;
    justify-content: flex-start !important;
    padding: 12px 10px !important;
  }
}

/* ============================================================
   НЬЮСЛЕТТЕР — .block_newsletter
   ============================================================ */
.block_newsletter,
#footer .block_newsletter,
.page-home .block_newsletter {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 24px rgba(29,29,31,.06) !important;
  max-width: 1000px !important;
  margin: 40px auto !important;
  padding: 34px 28px !important;
  text-align: center !important;
}

.block_newsletter p,
.block_newsletter h3,
.block_newsletter .h3 {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  color: var(--dp-dark, #1d1d1f) !important;
  margin-bottom: 6px !important;
}

.block_newsletter h3,
.block_newsletter .h3 { font-size: 22px !important; }

.block_newsletter .row,
.block_newsletter form .row {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.block_newsletter form {
  max-width: 520px !important;
  margin: 18px auto 0 !important;
}

.block_newsletter .input-wrapper,
.block_newsletter form .col-xs-12 {
  width: 100% !important;
  padding: 0 !important;
}

.block_newsletter .input-group {
  display: flex !important;
  gap: 8px !important;
  align-items: stretch !important;
  box-shadow: none !important;
}

/* квадратне поле вводу */
.block_newsletter input[type="email"],
.block_newsletter input.form-control,
.block_newsletter .input-group input {
  flex: 1 1 auto !important;
  height: 46px !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  padding: 0 16px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  color: var(--dp-text, #111) !important;
  background: #fafafa !important;
  box-shadow: none !important;
  outline: none !important;
}
.block_newsletter input[type="email"]:focus,
.block_newsletter input.form-control:focus {
  border-color: var(--dp-accent, #bf78ee) !important;
  background: #fff !important;
}

/* фіолетова кнопка підписки */
.block_newsletter .input-group-btn,
.block_newsletter .input-group-append {
  display: flex !important;
}
.block_newsletter button[type="submit"],
.block_newsletter .btn,
.block_newsletter input[type="submit"] {
  height: 46px !important;
  padding: 0 26px !important;
  border: none !important;
  border-radius: 0 !important;
  background: var(--dp-accent, #bf78ee) !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: background .2s ease !important;
  box-shadow: none !important;
}
.block_newsletter button[type="submit"]:hover,
.block_newsletter .btn:hover,
.block_newsletter input[type="submit"]:hover {
  background: var(--dp-dark, #1d1d1f) !important;
}

.block_newsletter .alert {
  border-radius: 8px !important;
  margin-top: 12px !important;
  font-size: 13px !important;
}

@media (max-width: 560px) {
  .block_newsletter { padding: 24px 16px !important; margin: 28px 12px !important; }
  .block_newsletter .input-group { flex-direction: column !important; }
  .block_newsletter button[type="submit"],
  .block_newsletter .btn { width: 100% !important; }
}

/* ============================================================
   ХОВАЄМО ДЕМО-СЛАЙДЕР (немає банерів)
   ============================================================ */
.homeslider,
#homeslider,
.homeslider-container,
#carousel,
.carousel.homeslider,
#index .slick-slider.homeslider,
.page-home #carousel {
  display: none !important;
}

/* ============================================================
   КАТЕГОРІЙНІ ПЛИТКИ (category tiles / featured categories)
   ============================================================ */
.category-tiles,
.featured-categories,
.home-categories,
.category-products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 32px 15px !important;
  list-style: none !important;
}

.category-tiles li,
.featured-categories .category-tile,
.home-categories .category-item,
.category-miniature {
  position: relative !important;
  display: block !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(29,29,31,.08) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.category-tiles li:hover,
.featured-categories .category-tile:hover,
.home-categories .category-item:hover,
.category-miniature:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 34px rgba(29,29,31,.16) !important;
}

.category-tiles li img,
.featured-categories .category-tile img,
.category-miniature img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 14px 14px 0 0 !important;
}

.category-tiles li a,
.featured-categories .category-tile a,
.category-miniature .category-name,
.category-miniature a {
  display: block !important;
  padding: 14px 12px !important;
  text-align: center !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  font-size: 15px !important;
  color: var(--dp-dark, #1d1d1f) !important;
  text-decoration: none !important;
}
.category-tiles li a:hover,
.featured-categories .category-tile a:hover,
.category-miniature a:hover {
  color: var(--dp-accent, #bf78ee) !important;
}

@media (max-width: 1200px) {
  .category-tiles,
  .featured-categories,
  .home-categories { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
  .category-tiles,
  .featured-categories,
  .home-categories { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
}
@media (max-width: 560px) {
  .category-tiles,
  .featured-categories,
  .home-categories { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ===== FOOTER ===== */
/* ============================================================
   FOOTER — dp-shop.com.pl look (PrestaShop classic)
   Ciemny #1d1d1f, tekst #ddd, akcent fioletowy #bf78ee
   ============================================================ */

/* ---- Kontener footera ---- */
#footer {
  background: #1d1d1f !important;
  color: #ddd !important;
  font-family: 'Open Sans', sans-serif !important;
  padding-top: 48px !important;
  padding-bottom: 0 !important;
  margin-top: 40px !important;
  border-top: 3px solid #bf78ee !important;
}

#footer .footer-container {
  background: #1d1d1f !important;
  color: #ddd !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Prosto usuwamy wszelkie zbędne bordery wewnątrz footera */
#footer .footer-container .row,
#footer .links,
#footer .links .h3,
#footer .block-contact,
#footer .wrapper,
#footer .col-md-4,
#footer .col-md-6,
#footer .col-md-3,
#footer .links li {
  border: 0 !important;
  box-shadow: none !important;
}

/* ---- Nagłówki kolumn ---- */
#footer .h3,
#footer h3,
#footer .footer-title,
#footer .block-title,
#footer .links .h3,
#footer .block_newsletter h3,
#footer .block-contact .h3 {
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  font-size: 18px !important;
  margin-bottom: 18px !important;
  position: relative !important;
  padding-bottom: 10px !important;
}

/* Delikatna fioletowa linia pod nagłówkiem kolumny */
#footer .h3::after,
#footer .footer-title::after,
#footer .block-title::after,
#footer .links .h3::after,
#footer .block_newsletter h3::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 34px !important;
  height: 2px !important;
  background: #bf78ee !important;
  border-radius: 2px !important;
}

/* Na mobile PrestaShop robi z nagłówków rozwijane sekcje — zachowaj strzałkę widoczną */
#footer .title .h3,
#footer .navbar-toggler {
  color: #fff !important;
}

/* ---- Linki ---- */
#footer a,
#footer .links a,
#footer .block-contact a,
#footer .account-list a {
  color: #b8b8bd !important;
  text-decoration: none !important;
  transition: color .2s ease, padding-left .2s ease !important;
}

#footer a:hover,
#footer a:focus,
#footer .links a:hover,
#footer .links a:focus,
#footer .account-list a:hover {
  color: #bf78ee !important;
  text-decoration: none !important;
}

#footer .links ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#footer .links li {
  padding: 5px 0 !important;
  margin: 0 !important;
  background: none !important;
}

#footer .links li a {
  display: inline-block !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Subtelne przesunięcie linku przy hover */
#footer .links li a:hover {
  padding-left: 4px !important;
}

/* ---- Blok kontaktowy ---- */
#footer .block-contact,
#footer .block-contact .navigation-pipe {
  color: #b8b8bd !important;
}

#footer .block-contact li {
  padding: 5px 0 !important;
  border: 0 !important;
  color: #b8b8bd !important;
}

#footer .block-contact .fa,
#footer .block-contact i {
  color: #bf78ee !important;
  margin-right: 8px !important;
}

/* ============================================================
   Social — okrągłe ikony, hover fioletowy
   ============================================================ */
#footer .block-social,
.block-social {
  background: transparent !important;
  padding: 0 !important;
  margin-top: 6px !important;
}

#footer .block-social ul,
.block-social ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .block-social li,
.block-social li {
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

/* Ikony social w classic to najczęściej <a> z background-image sprite.
   Robimy z nich okrągłe „żetony”. */
#footer .block-social li a,
.block-social li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #2a2a2e !important;
  color: #ddd !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
  text-indent: 0 !important;
}

#footer .block-social li a:hover,
.block-social li a:hover,
#footer .block-social li a:focus,
.block-social li a:focus {
  background-color: #bf78ee !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 14px rgba(191, 120, 238, .35) !important;
}

/* Jeśli ikona to font-icon wewnątrz linku */
#footer .block-social li a i,
.block-social li a i {
  color: #ddd !important;
  font-size: 17px !important;
  transition: color .2s ease !important;
}

#footer .block-social li a:hover i,
.block-social li a:hover i {
  color: #fff !important;
}

/* ============================================================
   Newsletter — pole + przycisk
   ============================================================ */
#footer .block_newsletter,
.block_newsletter {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
}

#footer .block_newsletter p {
  color: #b8b8bd !important;
  font-size: 14px !important;
}

/* Grupa input + button */
#footer .block_newsletter .input-wrapper,
#footer .block_newsletter form .row,
#footer .block_newsletter .col-xs-12 {
  padding: 0 !important;
}

#footer .block_newsletter form {
  position: relative !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  max-width: 420px !important;
  gap: 0 !important;
}

/* Pole e-mail — kwadratowe, w duchu wyszukiwarki dp-shop */
#footer .block_newsletter input[type="email"],
#footer .block_newsletter input[type="text"],
.block_newsletter input[type="email"] {
  flex: 1 1 auto !important;
  height: 46px !important;
  padding: 0 14px !important;
  background: #fff !important;
  color: #1d1d1f !important;
  border: 1px solid #3a3a3f !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  box-shadow: none !important;
  outline: none !important;
}

#footer .block_newsletter input[type="email"]::placeholder {
  color: #8a8a90 !important;
}

#footer .block_newsletter input[type="email"]:focus {
  border-color: #bf78ee !important;
}

/* Przycisk zapisu */
#footer .block_newsletter button,
#footer .block_newsletter input[type="submit"],
.block_newsletter button {
  height: 46px !important;
  padding: 0 22px !important;
  background: #bf78ee !important;
  color: #fff !important;
  border: 1px solid #bf78ee !important;
  border-radius: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background-color .2s ease !important;
}

#footer .block_newsletter button:hover,
#footer .block_newsletter input[type="submit"]:hover,
.block_newsletter button:hover {
  background: #1d1d1f !important;
  border-color: #bf78ee !important;
  color: #fff !important;
}

#footer .block_newsletter button i {
  color: #fff !important;
}

/* Komunikaty newslettera (sukces/błąd) */
#footer .block_newsletter .alert {
  border-radius: 0 !important;
  font-size: 13px !important;
  margin-top: 10px !important;
}

/* ============================================================
   Dolna belka — cienki separator
   ============================================================ */
#footer .footer-container .row:last-child,
#footer .copyright,
.footer__copyright,
#footer .cms-block-footer + * {
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
}

/* Ogólny pasek stopki (jeśli theme dodaje osobny #footer .row po kolumnach) */
#footer > .container > .row + .row,
#footer .footer-container > .container > .row + .row {
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
  margin-top: 24px !important;
  padding-top: 18px !important;
}

/* Copyright / drobny tekst na dole */
#footer .copyright,
#footer small,
#footer p.text-muted,
.footer__copyright {
  color: #8a8a90 !important;
  font-size: 12.5px !important;
  padding: 18px 0 22px !important;
  text-align: center !important;
}

#footer .copyright a,
.footer__copyright a {
  color: #b8b8bd !important;
}

#footer .copyright a:hover {
  color: #bf78ee !important;
}

/* ---- Domyślny tekst zawartości ---- */
#footer p,
#footer li,
#footer span,
#footer .block-contact li,
#footer .cms-block-footer {
  color: #ddd !important;
}

/* ---- Responsywność ---- */
@media (max-width: 767px) {
  #footer .block_newsletter form {
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }
  #footer .block_newsletter input[type="email"] {
    border-right: 1px solid #3a3a3f !important;
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  #footer .block_newsletter button {
    width: 100% !important;
    margin-top: 10px !important;
  }
  #footer .block-social ul,
  .block-social ul {
    justify-content: center !important;
  }
  #footer .h3::after,
  #footer .footer-title::after {
    left: 0 !important;
  }
}

/* ===== SIDE_CART ===== */
/* ============================================================
   SIDE CART — #blockcart-modal jako panel boczny (dp-shop look)
   ============================================================ */

/* --- Ikona koszyka w headerze: fioletowa z licznikiem --- */
.blockcart,
#_desktop_cart .blockcart {
  background: transparent !important;
}
.blockcart a,
#_desktop_cart .blockcart a,
.header .blockcart .material-icons,
.blockcart .cart-products-count {
  color: var(--dp-accent, #bf78ee) !important;
}
.blockcart a:hover,
#_desktop_cart .blockcart a:hover {
  color: var(--dp-accent-dark, #a855d4) !important;
}
.blockcart .material-icons,
#_desktop_cart .blockcart i {
  color: var(--dp-accent, #bf78ee) !important;
  font-size: 26px !important;
  transition: color .2s ease, transform .2s ease !important;
}
.blockcart:hover .material-icons {
  transform: translateY(-1px) !important;
}
/* Licznik jako fioletowy krążek */
.blockcart .cart-products-count {
  position: absolute !important;
  top: -6px !important;
  right: -8px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--dp-accent, #bf78ee) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 6px rgba(191,120,238,.4) !important;
}
.blockcart {
  position: relative !important;
}

/* ============================================================
   MODAL -> PANEL BOCZNY (prawa strona)
   ============================================================ */

/* Tło overlay przyciemnione */
#blockcart-modal.modal {
  padding: 0 !important;
}
#blockcart-modal .modal-backdrop,
.modal-backdrop.show {
  background: rgba(29,29,31,.5) !important;
  opacity: 1 !important;
}

/* Dialog przyklejony do prawej krawędzi, pełna wysokość */
#blockcart-modal .modal-dialog {
  margin: 0 0 0 auto !important;
  height: 100% !important;
  max-width: 420px !important;
  width: 100% !important;
  transform: translateX(100%) !important;
  transition: transform .32s cubic-bezier(.22,.61,.36,1) !important;
  display: flex !important;
  align-items: stretch !important;
}
#blockcart-modal.show .modal-dialog,
#blockcart-modal.in .modal-dialog {
  transform: translateX(0) !important;
}

/* Zawartość na całą wysokość, bez zaokrągleń */
#blockcart-modal .modal-content {
  height: 100% !important;
  min-height: 100vh !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: -8px 0 32px rgba(0,0,0,.18) !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ============================================================
   HEADER modala — "Do koszyka dodano"
   ============================================================ */
#blockcart-modal .modal-header {
  padding: 22px 24px !important;
  border-bottom: 1px solid #eee !important;
  background: #fff !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}
#blockcart-modal .modal-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  font-size: 20px !important;
  color: var(--dp-text, #111) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
/* Zielony "ptaszek" sukcesu przy tytule */
#blockcart-modal .modal-title .material-icons {
  color: var(--dp-accent, #bf78ee) !important;
  font-size: 22px !important;
}

/* Przycisk zamknięcia (X) */
#blockcart-modal .modal-header .close,
#blockcart-modal .modal-header .btn-close {
  opacity: .6 !important;
  font-size: 26px !important;
  color: var(--dp-text, #111) !important;
  text-shadow: none !important;
  transition: opacity .2s ease, color .2s ease !important;
  margin: 0 !important;
}
#blockcart-modal .modal-header .close:hover,
#blockcart-modal .modal-header .btn-close:hover {
  opacity: 1 !important;
  color: var(--dp-accent, #bf78ee) !important;
}

/* ============================================================
   BODY modala — przewijalny
   ============================================================ */
#blockcart-modal .modal-body {
  padding: 22px 24px !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  background: #fff !important;
}

/* Wiersz z dodanym produktem */
#blockcart-modal .modal-body .row,
#blockcart-modal .cart-content {
  align-items: center !important;
}
#blockcart-modal .product-image img,
#blockcart-modal .modal-body img {
  border-radius: 8px !important;
  border: 1px solid #f0f0f0 !important;
  max-width: 100% !important;
  height: auto !important;
}
#blockcart-modal .product-name {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  color: var(--dp-text, #111) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}
#blockcart-modal .product-price,
#blockcart-modal .modal-body .product-price {
  color: var(--dp-accent, #bf78ee) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}
#blockcart-modal .product-quantity,
#blockcart-modal .cart-products-count {
  color: #666 !important;
  font-size: 13px !important;
}

/* Podsumowanie koszyka (ilość / wartość) */
#blockcart-modal .cart-content {
  background: var(--dp-bg, #fafafa) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin-top: 8px !important;
}
#blockcart-modal .cart-content p,
#blockcart-modal .cart-content span {
  font-family: 'Open Sans', sans-serif !important;
  color: var(--dp-text, #111) !important;
  font-size: 14px !important;
}
#blockcart-modal .cart-content .value,
#blockcart-modal .cart-content strong {
  color: var(--dp-accent, #bf78ee) !important;
  font-weight: 700 !important;
}

/* ============================================================
   FOOTER modala — przyciski akcji
   ============================================================ */
#blockcart-modal .modal-footer {
  padding: 18px 24px 24px !important;
  border-top: 1px solid #eee !important;
  background: #fff !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
#blockcart-modal .modal-footer > * {
  margin: 0 !important;
  width: 100% !important;
}
#blockcart-modal .cart-content-btn {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 12px !important;
  width: 100% !important;
}
#blockcart-modal .cart-content-btn .btn {
  width: 100% !important;
  margin: 0 !important;
}

/* Przycisk: "Kontynuuj zakupy" (jasny) */
#blockcart-modal .btn-secondary,
#blockcart-modal [data-dismiss="modal"].btn,
#blockcart-modal .cart-content-btn .btn-secondary {
  background: #fff !important;
  color: var(--dp-text, #111) !important;
  border: 1.5px solid #ddd !important;
  border-radius: 24px !important;
  padding: 12px 22px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  text-transform: none !important;
  transition: all .2s ease !important;
}
#blockcart-modal .btn-secondary:hover,
#blockcart-modal [data-dismiss="modal"].btn:hover {
  border-color: var(--dp-accent, #bf78ee) !important;
  color: var(--dp-accent, #bf78ee) !important;
  background: #faf5ff !important;
}

/* Przycisk: "Przejdź do kasy" (fioletowy) */
#blockcart-modal .btn-primary,
#blockcart-modal a.btn-primary,
#blockcart-modal .cart-content-btn .btn-primary {
  background: var(--dp-accent, #bf78ee) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 24px !important;
  padding: 13px 22px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
  box-shadow: 0 4px 14px rgba(191,120,238,.35) !important;
  transition: all .2s ease !important;
}
#blockcart-modal .btn-primary:hover,
#blockcart-modal a.btn-primary:hover {
  background: var(--dp-dark, #1d1d1f) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(29,29,31,.3) !important;
  transform: translateY(-1px) !important;
}
#blockcart-modal .btn-primary .material-icons {
  vertical-align: middle !important;
  font-size: 18px !important;
}

/* ============================================================
   PREVIEW koszyka przy hover (blockcart / cart-preview)
   ============================================================ */
.blockcart .cart-preview,
#_desktop_cart .cart-preview,
.blockcart .header .cart-preview {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.14) !important;
  background: #fff !important;
  overflow: hidden !important;
}
.cart-preview .body,
.cart-preview .header {
  padding: 14px 16px !important;
}
.cart-preview .products {
  padding: 8px 0 !important;
}
.cart-preview .product-line,
.cart-preview .product {
  border-bottom: 1px solid #f2f2f2 !important;
  padding: 10px 4px !important;
}
.cart-preview .product-line:last-child {
  border-bottom: none !important;
}
.cart-preview .product-name,
.cart-preview .label {
  font-family: 'Open Sans', sans-serif !important;
  color: var(--dp-text, #111) !important;
  font-size: 13px !important;
}
.cart-preview .price,
.cart-preview .value {
  color: var(--dp-accent, #bf78ee) !important;
  font-weight: 700 !important;
}
.cart-preview .cart-buttons .btn,
.cart-preview .btn-primary {
  background: var(--dp-accent, #bf78ee) !important;
  color: #fff !important;
  border-radius: 24px !important;
  border: none !important;
  font-weight: 700 !important;
  transition: background .2s ease !important;
}
.cart-preview .cart-buttons .btn:hover,
.cart-preview .btn-primary:hover {
  background: var(--dp-dark, #1d1d1f) !important;
}

/* ============================================================
   RESPONSYWNOŚĆ — na mobile panel pełnej szerokości
   ============================================================ */
@media (max-width: 480px) {
  #blockcart-modal .modal-dialog {
    max-width: 100% !important;
  }
  #blockcart-modal .modal-title {
    font-size: 18px !important;
  }
}
/* ===== FIX: активний (заповнений) кошик → фіолетовий, не бірюзовий (дефолт PS) ===== */
.blockcart.active,
.blockcart,
#_desktop_cart .blockcart,
#_desktop_cart .blockcart.active,
.header-nav .blockcart.active {
  background: #bf78ee !important;
  background-color: #bf78ee !important;
  border-radius: 22px !important;
}
.blockcart.active *,
.blockcart *,
.blockcart .header,
.cart-products-count {
  color: #ffffff !important;
}
.blockcart.active:hover,
.blockcart:hover { background: #a855d4 !important; }

/* ============ FIX: розкладка хедера як dp-shop ============ */
/* header-top-right: пошук угорі (рядок з лого), меню — окремим рядком */
.header-top-right{ display:flex !important; flex-direction:column !important; }
.header-top-right .search-widgets{ order:1 !important; width:100% !important; max-width:640px !important; margin:6px auto !important; }
.header-top-right .menu.js-top-menu{ order:2 !important; }

/* Меню категорій — повноширинна чорна смуга під хедером */
#_desktop_top_menu, .menu.js-top-menu{
  width:100vw !important; max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  background:#1d1d1f !important;
  padding:0 !important;
}
/* пункти меню по центру, обмежені шириною сторінки */
#_desktop_top_menu .top-menu, .menu.js-top-menu .top-menu{
  max-width:1200px !important; margin:0 auto !important;
  display:flex !important; justify-content:center !important; flex-wrap:wrap !important;
  padding:0 !important;
}
/* пошук — квадратний, ширший (як dp-shop) */
.search-widgets #search_widget, .search-widgets .search-widget{ width:100% !important; max-width:640px !important; }
.search-widgets input[type=text]{ border-radius:0 !important; background:#f4f4f6 !important; border:1px solid #e5e5e5 !important; height:44px !important; }
.search-widgets button[type=submit]{ border-radius:0 !important; background:#1d1d1f !important; }

/* ============ МЕГА-МЕНЮ (широка панель, колонки) як dp-shop ============ */
/* рівень-1 випадайка — широка біла панель */
.menu .top-menu > li > .popover.sub-menu,
#top-menu > li > .sub-menu.js-sub-menu {
  position:absolute !important; left:0 !important; top:100% !important;
  width:auto !important; min-width:680px !important; max-width:94vw !important;
  background:#fff !important; border:none !important;
  box-shadow:0 14px 34px rgba(0,0,0,.18) !important;
  border-radius:0 0 10px 10px !important;
  padding:22px 26px !important;
  max-height:78vh !important; overflow-y:auto !important;
  columns:4 200px !important; column-gap:26px !important;
}
/* внутрішні ul — звичайний потік */
.menu .top-menu .sub-menu ul { list-style:none !important; margin:0 !important; padding:0 !important; }
/* рівень-2 = заголовок колонки */
.menu .top-menu > li > .sub-menu > ul > li { break-inside:avoid !important; margin-bottom:14px !important; display:inline-block !important; width:100% !important; }
.menu .top-menu > li > .sub-menu > ul > li > a { font-weight:700 !important; color:#1d1d1f !important; text-transform:none !important; font-size:14px !important; padding:4px 0 !important; display:block !important; }
/* рівень-3 — показати інлайн під рівнем-2 (не флайаут) */
.menu .top-menu > li > .sub-menu > ul > li > .popover.sub-menu,
.menu .top-menu > li > .sub-menu .sub-menu.js-sub-menu {
  position:static !important; display:block !important; visibility:visible !important; opacity:1 !important;
  transform:none !important; box-shadow:none !important; border:none !important; padding:2px 0 0 !important;
  min-width:0 !important; width:auto !important; max-height:none !important; columns:auto !important;
  background:transparent !important;
}
.menu .top-menu .sub-menu li a { display:block !important; padding:4px 0 !important; color:#555 !important; font-weight:400 !important; text-transform:none !important; font-size:13px !important; white-space:normal !important; }
.menu .top-menu .sub-menu li a:hover { color:#bf78ee !important; background:transparent !important; }

/* ============ МЕГА-МЕНЮ v2 — єдина панель, колонки (fix display:flex) ============ */
/* Панель рівня-1 (лишаємо hover-механізм, лише вигляд) */
#top-menu > li > .popover.sub-menu{
  min-width:720px !important; max-width:94vw !important; width:auto !important;
  background:#fff !important; box-shadow:0 16px 36px rgba(0,0,0,.20) !important;
  border:none !important; border-radius:0 0 10px 10px !important;
  padding:24px 28px !important; max-height:80vh !important; overflow-y:auto !important; z-index:1200 !important;
}
/* КЛЮЧ: внутрішній ul.top-menu — НЕ flex, а колонки */
#top-menu > li > .sub-menu > ul.top-menu{
  display:block !important; columns:4 190px !important; column-gap:30px !important; margin:0 !important; padding:0 !important;
}
/* рівень-2 = елемент колонки */
#top-menu > li > .sub-menu > ul.top-menu > li.category{
  break-inside:avoid !important; -webkit-column-break-inside:avoid !important; page-break-inside:avoid !important;
  display:block !important; width:100% !important; margin:0 0 18px !important; position:static !important;
}
#top-menu > li > .sub-menu > ul.top-menu > li.category > a{
  font-weight:700 !important; color:#1d1d1f !important; text-transform:none !important;
  font-size:14px !important; padding:2px 0 4px !important; display:block !important; border-bottom:1px solid #f0eaf7 !important; margin-bottom:4px !important;
}
#top-menu > li > .sub-menu > ul.top-menu > li.category > a:hover{ color:#bf78ee !important; background:transparent !important; }
/* ВКЛАДЕНІ підменю (рівень-3+) → інлайн під батьком, прозорі, block */
#top-menu > li > .sub-menu .sub-menu.js-sub-menu{
  position:static !important; display:block !important; visibility:visible !important; opacity:1 !important;
  transform:none !important; box-shadow:none !important; border:none !important; background:transparent !important;
  min-width:0 !important; max-width:none !important; width:auto !important; max-height:none !important; overflow:visible !important;
  padding:2px 0 0 0 !important; margin:0 !important; z-index:auto !important;
}
#top-menu > li > .sub-menu .sub-menu ul.top-menu{ display:block !important; columns:auto !important; }
#top-menu > li > .sub-menu .sub-menu li a{
  display:block !important; padding:3px 0 !important; color:#555 !important; font-weight:400 !important;
  font-size:12.5px !important; text-transform:none !important; white-space:normal !important; border:none !important;
}
#top-menu > li > .sub-menu .sub-menu li a:hover{ color:#bf78ee !important; }

/* ============ МЕГА-МЕНЮ v3 — прибрати темний фон вкладених, текст ліворуч ============ */
#top-menu > li > .popover.sub-menu{ background:#ffffff !important; }
#top-menu > li > .popover.sub-menu *,
#top-menu .sub-menu ul,
#top-menu .sub-menu li,
#top-menu .sub-menu .sub-menu{
  background:transparent !important;
  background-color:transparent !important;
  text-align:left !important;
}
#top-menu > li > .popover.sub-menu a{ text-align:left !important; }
#top-menu > li > .popover.sub-menu > ul.top-menu{ justify-content:flex-start !important; align-items:flex-start !important; }

/* ============ B: іконки акаунт/кошик у білому хедері (dp-shop) ============ */
.header-top-nav2{ display:flex !important; align-items:center !important; justify-content:flex-end !important; gap:16px !important; padding:0 !important; }
.header-top-nav2 a, .header-top-nav2 .expand-more, .header-top-nav2 span, .header-top-nav2 i{ color:#1d1d1f !important; }
.header-top-nav2 a:hover, .header-top-nav2 .expand-more:hover{ color:#bf78ee !important; }
.header-top-nav2 .blockcart{ background:#bf78ee !important; border-radius:22px !important; padding:8px 16px !important; }
.header-top-nav2 .blockcart, .header-top-nav2 .blockcart *{ color:#fff !important; }
.header-top-nav2 .blockcart.active{ background:#bf78ee !important; }
/* верхня чорна смуга — тепер лише контакти (лівий бік) */
.header-nav .col-md-12{ display:flex !important; align-items:center !important; justify-content:space-between !important; }

/* ============ B fix: компактний кошик + чистий правий блок хедера ============ */
.header-top-nav2{ gap:12px !important; flex-wrap:nowrap !important; }
.header-top-nav2 .blockcart{
  padding:8px 14px !important; font-size:13px !important; min-width:0 !important;
  white-space:nowrap !important; line-height:1 !important; height:auto !important;
}
.header-top-nav2 .blockcart .header{ padding:0 !important; margin:0 !important; }
.header-top-nav2 .blockcart .cart-products-count{ font-weight:700 !important; }
.header-top-nav2 .user-info, .header-top-nav2 .currency-selector, .header-top-nav2 .language-selector{ font-size:12.5px !important; white-space:nowrap !important; }
.header-top-nav2 .user-info a{ display:inline-flex !important; align-items:center !important; gap:4px !important; }
/* трохи більше лого */
#_desktop_logo img, .header-top .logo img{ max-height:54px !important; width:auto !important; }
/* прибрати зайвий відступ, щоб влізло в один рядок */
.header-top .container{ max-width:1240px !important; }

/* ============ B fix2: вирівняти колонки хедера по верху ============ */
.header-top .container > .row{ align-items:flex-start !important; }
#_desktop_logo{ padding-top:12px !important; }
.header-top-right{ padding-top:12px !important; }
.header-top-nav2{ padding-top:16px !important; align-items:center !important; }
.header-top-right .search-widgets{ max-width:520px !important; margin:0 auto !important; }
/* кошик — компактна пігулка з іконкою */
.header-top-nav2 .blockcart{ padding:7px 15px !important; border-radius:20px !important; }

/* ============ ПОЛІР: одна верхня чорна стрічка (як dp-shop) ============ */
.header-nav{ display:none !important; }  /* прибираємо окрему смугу «Kontakt» */
.header-banner{ display:flex !important; align-items:center !important; justify-content:space-between !important; padding:0 28px !important; min-height:36px !important; }
.header-banner::before{
  content:"⚡ Szybka wysyłka        🚚 Darmowa dostawa od 60 zł" !important;
  display:inline-block !important; width:auto !important; text-align:left !important;
  white-space:nowrap !important; line-height:36px !important; font-size:12.5px !important; font-weight:600 !important; color:#fff !important;
}
.header-banner::after{
  content:"💜 Odwiedź nasze Social Media" !important;
  display:inline-block !important; white-space:nowrap !important;
  line-height:36px !important; font-size:12.5px !important; font-weight:600 !important; color:#fff !important;
}
@media (max-width:720px){
  .header-banner::after{ display:none !important; }
  .header-banner{ justify-content:center !important; }
  .header-banner::before{ white-space:normal !important; text-align:center !important; }
}
/* мега-меню: усе ліворуч (h3/li/span) */
#top-menu > li > .popover.sub-menu h3,
#top-menu > li > .popover.sub-menu li,
#top-menu > li > .popover.sub-menu span,
#top-menu > li > .popover.sub-menu a{ text-align:left !important; }

/* ============ ПОЛІР fix: прибрати дубль соцмереж (специфічніший селектор) ============ */
#header .header-banner::before{
  content:"⚡ Szybka wysyłka        🚚 Darmowa dostawa od 60 zł" !important;
  display:inline-block !important; width:auto !important; text-align:left !important;
  white-space:nowrap !important; line-height:36px !important; font-size:12.5px !important; font-weight:600 !important; color:#fff !important;
}
#header .header-banner::after{
  content:"💜 Odwiedź nasze Social Media" !important;
  display:inline-block !important; white-space:nowrap !important;
  line-height:36px !important; font-size:12.5px !important; font-weight:600 !important; color:#fff !important;
}
@media (max-width:720px){ #header .header-banner::after{ display:none !important; } }

/* ============================================================
   ХЕДЕР — ФІНАЛЬНИЙ ЧИСТИЙ БЛОК (перекриває весь попередній безлад)
   меню тепер на displayNavFullWidth (прямий нащадок <header>)
   ============================================================ */
.header-nav{ display:none !important; }

/* одна чорна верхня стрічка */
#header .header-banner{ display:flex !important; align-items:center !important; justify-content:space-between !important;
  padding:0 30px !important; min-height:36px !important; background:#1d1d1f !important; }
#header .header-banner::before{ content:"⚡ Szybka wysyłka          🚚 Darmowa dostawa od 60 zł" !important;
  display:inline-block !important; width:auto !important; text-align:left !important; white-space:nowrap !important;
  line-height:36px !important; font-size:12.5px !important; font-weight:600 !important; color:#fff !important; }
#header .header-banner::after{ content:"💜 Odwiedź nasze Social Media" !important;
  display:inline-block !important; white-space:nowrap !important; line-height:36px !important;
  font-size:12.5px !important; font-weight:600 !important; color:#fff !important; }

/* білий хедер: рядок ЛОГО | ПОШУК | ІКОНКИ (стабільно на будь-якій ширині) */
#header .header-top{ background:#fff !important; padding:14px 0 !important; }
#header .header-top .container{ max-width:1400px !important; }
#header .header-top .container > .row{ display:flex !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:space-between !important; margin:0 !important; }
#header #_desktop_logo{ flex:0 0 auto !important; width:auto !important; max-width:none !important; padding:0 !important; }
#header #_desktop_logo img, #header .header-top .logo img{ max-height:56px !important; width:auto !important; }
#header .header-top-right{ flex:1 1 auto !important; display:flex !important; flex-direction:row !important;
  justify-content:center !important; padding:0 24px !important; }
#header .header-top-right .search-widgets{ width:100% !important; max-width:560px !important; margin:0 auto !important; }
#header .search-widgets input[type=text]{ border-radius:0 !important; height:44px !important; background:#f4f4f6 !important; border:1px solid #e5e5e5 !important; }
#header .search-widgets button[type=submit]{ border-radius:0 !important; background:#1d1d1f !important; }
#header .header-top-nav2{ flex:0 0 auto !important; width:auto !important; display:flex !important;
  align-items:center !important; justify-content:flex-end !important; gap:14px !important; padding:0 !important; }
#header .header-top-nav2 a, #header .header-top-nav2 span, #header .header-top-nav2 i, #header .header-top-nav2 .expand-more{ color:#1d1d1f !important; }
#header .header-top-nav2 a:hover{ color:#bf78ee !important; }
#header .header-top-nav2 .blockcart{ background:#bf78ee !important; border-radius:20px !important; padding:8px 15px !important; }
#header .header-top-nav2 .blockcart, #header .header-top-nav2 .blockcart *{ color:#fff !important; }

/* меню категорій — окрема повноширинна чорна смуга (прямий нащадок header) */
#header > #_desktop_top_menu, #header > .menu.js-top-menu, header > #_desktop_top_menu, header > .menu.js-top-menu{
  width:100% !important; max-width:100% !important; margin:0 !important; background:#1d1d1f !important; }
#header > .menu .top-menu, header > .menu .top-menu{ max-width:1400px !important; margin:0 auto !important;
  display:flex !important; justify-content:center !important; flex-wrap:wrap !important; }

/* ============================================================
   МЕГА-МЕНЮ → КАСКАДНЕ (як dp-shop: показує лише прямих дітей,
   глибші рівні — флайаут праворуч на hover). Перекриває "показати все".
   ============================================================ */
/* level-1 випадайка = компактний вертикальний список */
#header .menu #top-menu > li > .popover.sub-menu{
  columns:auto !important; column-gap:0 !important;
  width:auto !important; min-width:230px !important; max-width:280px !important;
  padding:8px 0 !important; max-height:none !important; overflow:visible !important;
  border-radius:0 0 8px 8px !important;
}
#header .menu #top-menu > li > .sub-menu > ul.top-menu{ display:block !important; columns:auto !important; }
/* пункти = рядки */
#header .menu #top-menu .sub-menu li.category{ display:block !important; width:100% !important; margin:0 !important; position:relative !important; float:none !important; }
#header .menu #top-menu .sub-menu li.category > h3{ margin:0 !important; }
#header .menu #top-menu .sub-menu li.category > h3 > a,
#header .menu #top-menu .sub-menu li.category > a{
  display:block !important; padding:9px 18px !important; border:none !important;
  font-weight:400 !important; color:#333 !important; text-transform:none !important;
  font-size:13.5px !important; white-space:nowrap !important; text-align:left !important; background:transparent !important;
}
#header .menu #top-menu .sub-menu li.category:hover > h3 > a,
#header .menu #top-menu .sub-menu li.category:hover > a{ background:#f6f0fc !important; color:#bf78ee !important; }
/* стрілка ‹›› для пунктів із дітьми */
#header .menu #top-menu .sub-menu li.parent > h3 > a::after{ content:none !important; }
/* ВКЛАДЕНІ (level-3+) → приховані, флайаут праворуч на hover */
#header .menu #top-menu .sub-menu .sub-menu.js-sub-menu{
  position:absolute !important; left:100% !important; top:0 !important;
  display:none !important; visibility:visible !important; opacity:1 !important; transform:none !important;
  min-width:230px !important; max-width:280px !important; width:auto !important; columns:auto !important;
  background:#fff !important; box-shadow:0 12px 30px rgba(0,0,0,.18) !important;
  border-radius:0 8px 8px 0 !important; padding:8px 0 !important; margin:0 !important; z-index:1300 !important; max-height:none !important; overflow:visible !important;
}
#header .menu #top-menu .sub-menu li.category:hover > .sub-menu.js-sub-menu{ display:block !important; }

/* ============ КАСКАД fix: вкладені = .collapse (не .js-sub-menu) ============ */
/* level-1 випадайка: компактний вертикальний список прямих дітей */
#header .menu #top-menu > li > .popover.sub-menu > ul.top-menu{ display:block !important; columns:auto !important; }
/* ВСІ вкладені .collapse всередині випадайки (level-3+) → приховані, флайаут праворуч */
#header .menu #top-menu > li > .popover.sub-menu .collapse{
  position:absolute !important; left:100% !important; top:0 !important;
  display:none !important; visibility:visible !important; opacity:1 !important; transform:none !important;
  min-width:230px !important; max-width:280px !important; width:auto !important;
  background:#fff !important; box-shadow:0 12px 30px rgba(0,0,0,.18) !important;
  border-radius:0 8px 8px 0 !important; padding:8px 0 !important; margin:0 !important; z-index:1300 !important;
  max-height:none !important; overflow:visible !important; columns:auto !important;
}
/* показати вкладене підменю лише при наведенні на його прямого батька */
#header .menu #top-menu > li > .popover.sub-menu li.category:hover > .collapse{ display:block !important; }
/* внутрішні ul у вкладених — вертикально (не flex) */
#header .menu #top-menu > li > .popover.sub-menu .collapse > ul.top-menu{ display:block !important; columns:auto !important; }
/* стрілка для пунктів, що мають дітей */
#header .menu #top-menu .popover.sub-menu li.category:has(> .collapse) > h3 > a::after,
#header .menu #top-menu .popover.sub-menu li.category:has(> .collapse) > a::after{ content:'' !important; display:inline-block !important; width:6px !important; height:6px !important; border:solid #444 !important; border-width:0 1.6px 1.6px 0 !important; transform:rotate(45deg) !important; position:absolute !important; right:14px !important; top:44% !important; margin-top:-3px !important; float:none !important; opacity:.9 !important; }

/* ============ ХЕДЕР як у dp-shop: іконки-справа + меню в 1 рядок ============ */
/* права частина = лише іконки профіль + кошик (ховаємо мову/валюту) */
#header .header-top-nav2 > div:has(.language-selector-wrapper),
#header .header-top-nav2 > div:has(.currency-selector),
#header .header-top-nav2 .language-selector-wrapper,
#header .header-top-nav2 .currency-selector{ display:none !important; }
#header .header-top-nav2{ gap:18px !important; }
/* профіль — лише іконка */
#header .header-top-nav2 .user-info a{ font-size:0 !important; color:#1d1d1f !important; display:inline-flex !important; align-items:center !important; }
#header .header-top-nav2 .user-info a i, #header .header-top-nav2 .user-info .material-icons{ font-size:26px !important; color:#1d1d1f !important; }
#header .header-top-nav2 .user-info a:hover i{ color:#bf78ee !important; }
/* кошик — лише іконка + фіолетовий бейдж-лічильник */
#header .header-top-nav2 .blockcart{ background:transparent !important; padding:0 !important; position:relative !important; border-radius:0 !important; }
#header .header-top-nav2 .blockcart .header{ font-size:0 !important; padding:0 !important; }
#header .header-top-nav2 .blockcart .material-icons{ font-size:26px !important; color:#1d1d1f !important; }
#header .header-top-nav2 .blockcart:hover .material-icons{ color:#bf78ee !important; }
#header .header-top-nav2 .blockcart .cart-products-count{
  font-size:11px !important; font-weight:700 !important; color:#fff !important; background:#bf78ee !important;
  border-radius:50% !important; min-width:18px !important; height:18px !important; line-height:18px !important;
  text-align:center !important; display:inline-block !important; position:absolute !important; top:-7px !important; right:-9px !important; padding:0 2px !important; }

/* меню категорій — В ОДИН РЯДОК (тісніші пункти) */
#header > .menu .top-menu, header > .menu .top-menu{ flex-wrap:nowrap !important; }
#header > .menu #top-menu > li > a, header > .menu #top-menu > li > a{
  padding:15px 11px !important; font-size:12.5px !important; letter-spacing:.2px !important; white-space:nowrap !important; }

/* більше лого (як у dp-shop) */
#header #_desktop_logo img, #header .header-top .logo img{ max-height:66px !important; }

/* верхній пасик: текст соцмереж без сердечка (як у dp-shop) */
#header .header-banner::after{ content:"Odwiedź nasze Social Media" !important; }

/* ============ ТОЧНО ЯК dp-shop: SVG-стрічка + розміри/відступи + іконки ============ */
/* прибрати emoji ::before/::after — тепер реальний .htb з SVG */
#header .header-banner::before, #header .header-banner::after{ content:none !important; display:none !important; }
#header .header-banner{ display:block !important; padding:0 !important; min-height:0 !important; background:#1d1d1f !important; }
.htb{ display:flex !important; align-items:center !important; justify-content:space-between !important; padding:8px 24px !important; max-width:1600px !important; margin:0 auto !important; color:#fff !important; font-size:13px !important; }
.htb__info{ display:flex !important; align-items:center !important; gap:26px !important; }
.htb__item{ display:inline-flex !important; align-items:center !important; gap:7px !important; color:#fff !important; font-weight:600 !important; white-space:nowrap !important; }
.htb__item svg{ width:16px !important; height:16px !important; flex:0 0 auto !important; }
.htb__soc{ display:inline-flex !important; align-items:center !important; gap:12px !important; }
.htb__soc-label{ color:#fff !important; font-weight:600 !important; }
.htb__soc a{ display:inline-flex !important; color:#fff !important; }
.htb__soc a svg{ width:18px !important; height:18px !important; }
.htb__soc a:hover{ color:#bf78ee !important; }

/* біла шапка: висота ~90px, БЕЗ зайвих вертикальних відступів */
#header .header-top{ padding:0 !important; }
#header .header-top .container > .row{ min-height:90px !important; }
#header #_desktop_logo img, #header .header-top .logo img{ max-height:72px !important; }

/* профіль + кошик = SVG-іконки dp-shop */
#header .header-top-nav2 .user-info a i, #header .header-top-nav2 .user-info .material-icons{ display:none !important; }
#header .header-top-nav2 .user-info a{ display:inline-block !important; width:27px !important; height:27px !important; font-size:0 !important;
  background:url('../img/ikona_konto.svg') no-repeat center !important; background-size:contain !important; }
#header .header-top-nav2 .blockcart .material-icons{ display:none !important; }
#header .header-top-nav2 .blockcart .header{ display:inline-block !important; width:27px !important; height:27px !important; font-size:0 !important;
  background:url('../img/ikonka_koszyk.svg') no-repeat center !important; background-size:contain !important; }

/* лого більше (як dp-shop ~75px) — сильний override + прибрати h1-обгортку margin */
#header #_desktop_logo img, #header #_desktop_logo h1 img, #header .header-top .logo img{ max-height:74px !important; height:auto !important; width:auto !important; max-width:130px !important; }
#header #_desktop_logo, #header #_desktop_logo h1{ margin:0 !important; padding:0 !important; line-height:0 !important; }

/* ============ ТОЧНЕ ПІДГАННЯ під dp-shop: пошук/лого/іконки ============ */
/* ПОШУК: сіре заокруглене поле + темна кнопка-лупа СПРАВА */
#header .search-widgets, #header .header-top-right{ }
#header .search-widgets .search-widget form, #header #search_widget form, #header .search-widgets form{
  display:flex !important; align-items:center !important; width:100% !important; max-width:600px !important; margin:0 auto !important;
  background:#f0f0f2 !important; border:1px solid #e7e7ea !important; border-radius:9px !important; padding:3px !important; overflow:hidden !important; position:relative !important; }
#header #search_widget input[type=text], #header .search-widgets input[type=text]{
  flex:1 1 auto !important; border:none !important; background:transparent !important; border-radius:0 !important;
  height:40px !important; padding:0 15px !important; font-size:14px !important; box-shadow:none !important; color:#1d1d1f !important; }
#header #search_widget button[type=submit], #header .search-widgets button[type=submit]{
  flex:0 0 auto !important; width:40px !important; height:40px !important; min-width:40px !important;
  background:#1d1d1f !important; border:none !important; border-radius:5px !important; margin:0 !important; padding:0 !important;
  display:flex !important; align-items:center !important; justify-content:center !important; position:static !important; }
#header #search_widget button[type=submit] .material-icons, #header .search-widgets button[type=submit] i{
  color:#fff !important; font-size:20px !important; display:inline-flex !important; }

/* ЛОГО: як dp-shop 100×75 */
#header #_desktop_logo img, #header #_desktop_logo h1 img, #header .header-top .logo img{ max-height:75px !important; height:auto !important; width:auto !important; max-width:120px !important; }

/* АКАУНТ/КОШИК: менші, як dp-shop (акаунт ~21h, кошик ~24h) */
#header .header-top-nav2{ gap:22px !important; }
#header .header-top-nav2 .user-info a{ width:22px !important; height:24px !important; background-size:contain !important; }
#header .header-top-nav2 .blockcart .header{ width:24px !important; height:26px !important; background-size:contain !important; }

/* СЕРДЕЧКО (lista życzeń) — той самий стиль, той самий розмір, перед іконкою акаунту */
#header .header-top-nav2 .dp-wishlist-nav{ display:flex !important; align-items:center !important; }
#header .header-top-nav2 .dp-wishlist-nav-link{
  display:inline-block !important; width:22px !important; height:20px !important;
  background:url('../img/ikona_serce.svg') no-repeat center !important; background-size:contain !important;
  transition:opacity .2s ease !important;
}
#header .header-top-nav2 .dp-wishlist-nav-link:hover{ opacity:.65 !important; }

/* ============ ПОШУК fix: лупа = темна кнопка СПРАВА (PS має <i>, не button) ============ */
#header .search-widgets form, #header #search_widget form{
  display:flex !important; align-items:center !important; position:relative !important;
  width:100% !important; max-width:600px !important; margin:0 auto !important;
  background:#f0f0f2 !important; border:1px solid #e7e7ea !important; border-radius:9px !important;
  padding:3px 49px 3px 3px !important; height:46px !important; overflow:visible !important; }
#header .search-widgets form input.ui-autocomplete-input{
  flex:1 1 auto !important; border:none !important; background:transparent !important; border-radius:0 !important;
  height:38px !important; padding:0 15px !important; font-size:14px !important; box-shadow:none !important; color:#1d1d1f !important; display:block !important; width:100% !important; }
#header .search-widgets form i.material-icons.search{
  position:absolute !important; right:3px !important; top:3px !important; bottom:3px !important; left:auto !important;
  width:40px !important; height:auto !important; margin:0 !important; padding:0 !important;
  background:#1d1d1f !important; border-radius:5px !important; color:#fff !important; font-size:20px !important;
  display:flex !important; align-items:center !important; justify-content:center !important; cursor:pointer !important; z-index:3 !important; }
#header .search-widgets form i.material-icons.clear{ right:52px !important; left:auto !important; }

/* ============================================================
   ФІНАЛЬНЕ ПІДГАННЯ ХЕДЕРА під dp-shop (лого/відступи/іконки/пошук)
   ============================================================ */
/* ЛОГО 75px — максимальна специфічність */
#header #_desktop_logo a img, #header #_desktop_logo h1 a img, #header #_desktop_logo h1 img, #header #_desktop_logo img{
  max-height:78px !important; height:auto !important; width:auto !important; max-width:135px !important; }

/* БІЛА ШАПКА: вертикально по центру, менше відступів (прибрати великий білий простір) */
#header .header-top{ padding:9px 0 !important; }
#header .header-top .container > .row{ align-items:center !important; min-height:0 !important; }

/* ІКОНКИ профіль+кошик: gap як dp-shop */
#header .header-top-nav2{ gap:30px !important; align-items:center !important; }
/* кошик: сховати «(0)»-бейдж коли порожньо */
#header .header-top-nav2 .blockcart.inactive .cart-products-count{ display:none !important; }

/* ПОШУК: сіре заокруглене поле БЕЗ рамки + темна лупа-кнопка справа, вписана */
#header .search-widgets form{
  display:flex !important; align-items:center !important; position:relative !important;
  width:100% !important; max-width:600px !important; margin:0 auto !important;
  background:#f0f0f2 !important; border:none !important; box-shadow:none !important; border-radius:10px !important;
  padding:4px !important; height:48px !important; overflow:hidden !important; }
#header .search-widgets form input.ui-autocomplete-input, #header .search-widgets form input{
  flex:1 1 auto !important; order:1 !important; border:none !important; outline:none !important;
  background:transparent !important; border-radius:0 !important; height:40px !important; padding:0 14px !important;
  font-size:14px !important; box-shadow:none !important; color:#1d1d1f !important; width:auto !important; }
#header .search-widgets form i.material-icons.search{
  position:static !important; order:2 !important; flex:0 0 auto !important;
  width:40px !important; height:40px !important; margin:0 !important; padding:0 !important; left:auto !important; right:auto !important;
  background:#1d1d1f !important; border-radius:6px !important; color:#fff !important; font-size:20px !important;
  display:flex !important; align-items:center !important; justify-content:center !important; cursor:pointer !important; }
#header .search-widgets form i.material-icons.clear{ display:none !important; }

/* ============ КОРЕКЦІЯ (html body = найвища специфічність, перекрити старі) ============ */
/* лого рівно 75px */
html body #header #_desktop_logo a img, html body #header #_desktop_logo h1 img, html body #header #_desktop_logo img{
  height:75px !important; width:auto !important; max-height:none !important; max-width:none !important; }
/* пошук: БЕЗ рамки, сірий, заокруглення 10px */
html body #header .search-widgets form, html body #header .search-widgets .search-widget form, html body #header #search_widget form{
  border:none !important; box-shadow:none !important; background:#f0f0f2 !important; border-radius:10px !important;
  position:relative !important; display:flex !important; align-items:center !important;
  padding:4px 50px 4px 6px !important; height:48px !important; max-width:600px !important; margin:0 auto !important; overflow:hidden !important; }
/* лупа = темна кнопка ABSOLUTE справа, вписана */
html body #header .search-widgets form i.material-icons.search{
  position:absolute !important; right:4px !important; top:4px !important; bottom:4px !important; left:auto !important;
  width:40px !important; height:auto !important; margin:0 !important;
  background:#1d1d1f !important; border-radius:7px !important; color:#fff !important; font-size:20px !important;
  display:flex !important; align-items:center !important; justify-content:center !important; cursor:pointer !important; z-index:3 !important; }
html body #header .search-widgets form input{ background:transparent !important; border:none !important; box-shadow:none !important; height:40px !important; padding:0 12px !important; }

/* === LOGO FINAL (специфічність 2,2,4 — б'є .header-top-правило) === */
html body #header .header-top #_desktop_logo,
html body #header .header-top #_desktop_logo h1{
  width:auto !important; max-width:none !important; flex:0 0 auto !important;
  overflow:visible !important; padding:0 !important; margin:0 !important; line-height:0 !important;
}
html body #header .header-top #_desktop_logo a img.logo,
html body #header .header-top #_desktop_logo h1 a img.logo,
html body #header .header-top #_desktop_logo h1 img.logo,
html body #header .header-top #_desktop_logo img.logo{
  height:70px !important; max-height:70px !important;
  width:auto !important; max-width:none !important; min-width:0 !important;
}

/* === MENU: шрифт/регістр/відступи/стрілки як dp-shop.com.pl === */
html body #header #top-menu > li > a{
  font-family:'Nunito Sans','Open Sans',sans-serif !important;
  font-size:16px !important; font-weight:500 !important;
  text-transform:none !important; letter-spacing:normal !important;
  padding:14px 18px !important;
}
/* стрілка вниз для топ-пунктів, що мають підменю */
#header #top-menu > li:has(> .sub-menu) > a::after{
  content:''; display:inline-block; width:6px; height:6px;
  border:solid currentColor; border-width:0 1.6px 1.6px 0;
  transform:translateY(-2px) rotate(45deg); margin-left:8px; opacity:.85;
}
/* стрілка вправо для вкладених пунктів із дітьми (flyout) */
#header #top-menu a.dropdown-submenu{ position:relative; padding-right:26px !important; }
#header #top-menu a.dropdown-submenu::after{
  content:''; display:inline-block; width:5px; height:5px;
  border:solid #444 !important; border-width:0 1.6px 1.6px 0 !important;
  transform:rotate(45deg); position:absolute; right:14px; top:44%; margin-top:-3px; opacity:.9;
}
/* === СОЦ-ІКОНКИ верхнього пасика: прибрати фіолетову рамку, сірий на hover === */
html body .htb__soc a{ outline:none !important; border:none !important; box-shadow:none !important; -webkit-tap-highlight-color:transparent; transition:color .15s ease !important; }
html body .htb__soc a:hover,
html body .htb__soc a:focus,
html body .htb__soc a:active,
html body .htb__soc a:focus-visible{ color:#9a9a9a !important; outline:none !important; border:none !important; box-shadow:none !important; }

/* === КОШИК: клікабельне SVG-посилання (завжди веде на сторінку кошика) === */
#header .header-top-nav2 .blockcart .header{ background:none !important; width:auto !important; height:auto !important; font-size:0 !important; padding:0 !important; }
#header .header-top-nav2 .blockcart .header a.cart-link{ display:inline-block !important; width:27px !important; height:27px !important; font-size:0 !important; line-height:0 !important;
  background:url('../img/ikonka_koszyk.svg') no-repeat center !important; background-size:contain !important; }
#header .header-top-nav2 .blockcart .header a.cart-link .material-icons,
#header .header-top-nav2 .blockcart .header a.cart-link .cart-products-count,
#header .header-top-nav2 .blockcart .header a.cart-link span{ display:none !important; }

/* === MENU font/size/padding FINAL: додано .menu щоб побити (2,1,2) === */
html body #header .menu #top-menu > li > a,
html body #header .menu.js-top-menu #top-menu > li > a{
  font-family:'Nunito Sans','Open Sans',sans-serif !important;
  font-size:16px !important; font-weight:500 !important;
  text-transform:none !important; letter-spacing:normal !important;
  padding:13px 18px !important;
}
/* === СОЦ-ІКОНКИ: жорстко прибрати рамку/outline у всіх станах === */
html body #header .htb .htb__soc a,
html body #header .htb .htb__soc a:link,
html body #header .htb .htb__soc a:visited,
html body #header .htb .htb__soc a:hover,
html body #header .htb .htb__soc a:focus,
html body #header .htb .htb__soc a:focus-visible,
html body #header .htb .htb__soc a:active{
  outline:0 none transparent !important; border:0 none transparent !important; box-shadow:none !important; text-decoration:none !important;
}
html body #header .htb .htb__soc a:hover{ color:#9a9a9a !important; }

/* ============ ФІКС: іконки один рівень, тінь-квадрат, поле пошуку ============ */
/* профіль+кошик на одному рівні */
#header .header-top-nav2{ align-items:center !important; }
#header .header-top-nav2 #_desktop_user_info,
#header .header-top-nav2 #_desktop_user_info .user-info,
#header .header-top-nav2 .blockcart,
#header .header-top-nav2 .blockcart .header{ display:flex !important; align-items:center !important; height:auto !important; line-height:1 !important; margin:0 !important; padding:0 !important; }
#header .header-top-nav2 #_desktop_user_info .user-info a,
#header .header-top-nav2 .blockcart .header a.cart-link{ width:26px !important; height:26px !important; display:block !important; margin:0 !important; }
/* прибрати паразитну тінь-квадрат під кошиком */
#header .header-top-nav2 .blockcart,
#header .header-top-nav2 .blockcart.cart-preview{ box-shadow:none !important; background:transparent !important; }

/* поле пошуку: рівні відступи, магніфаєр на всю висоту поля */
html body #header .header-top-right #search_widget form,
html body #header .header-top-right .search-widgets form{
  position:relative !important; display:flex !important; align-items:center !important;
  height:44px !important; padding:0 !important; overflow:hidden !important;
  background:#f0f0f2 !important; border:none !important; border-radius:10px !important;
}
html body #header .header-top-right #search_widget input[type=text],
html body #header .header-top-right .search-widgets input[type=text]{
  height:44px !important; line-height:44px !important; padding:0 54px 0 16px !important;
  background:transparent !important; border:none !important; box-shadow:none !important; font-size:14px !important;
}
html body #header .header-top-right #search_widget i.material-icons.search,
html body #header .header-top-right .search-widgets i.material-icons.search{
  position:absolute !important; right:0 !important; top:0 !important; bottom:0 !important; left:auto !important; margin:0 !important;
  width:48px !important; height:44px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  background:#1d1d1f !important; color:#fff !important; border-radius:0 !important; font-size:20px !important;
}

/* ФІКС: мобільне меню-обгортка не має показуватись на десктопі (додавало 30px під шапкою) */
@media (min-width:768px){
  #header .header-top #mobile_top_menu_wrapper{ display:none !important; }
}

/* === МЕНЮ: топ-пункти без фіолетової рамки на hover (як dp-shop) === */
html body #header #top-menu > li > a:hover,
html body #header #top-menu > li > a:focus,
html body #header #top-menu > li:hover > a,
html body #header #top-menu > li.active > a,
html body #header .menu #top-menu > li:hover > a,
html body #header .menu #top-menu > li > a:hover{
  color:#ffffff !important; background:transparent !important; border-bottom-color:transparent !important;
}
html body #header #top-menu > li:hover > a::after,
html body #header #top-menu > li > a:hover::after{ border-color:#ffffff !important; }

html body #header .menu #top-menu .popover.sub-menu li.category:has(> .collapse) > a{ position:relative !important; padding-right:30px !important; }

/* ============ ПІДМЕНЮ hover: світлий фон + темний текст + стрілка без змін (як dp-shop) ============ */
html body #header .menu #top-menu .sub-menu li.category:hover > a,
html body #header .menu #top-menu .sub-menu li.category:hover > h3 > a,
html body #header .menu #top-menu .popover.sub-menu li.category:hover > a,
html body #header .menu #top-menu .popover.sub-menu li.category:has(> .collapse):hover > a,
html body #header .menu #top-menu .sub-menu a.dropdown-submenu:hover,
html body #header .menu #top-menu .sub-menu a.dropdown-item:hover,
html body #header .menu #top-menu .sub-menu li a:hover,
html body #header .menu #top-menu .collapse li a:hover,
html body #header #top-menu .sub-menu li.category:hover > a{
  background:#f3eefa !important;
  color:#1d1d1f !important;
}
/* стрілка на hover — та сама темна стрілка-вниз (не білий › ) */
html body #header .menu #top-menu .popover.sub-menu li.category:has(> .collapse):hover > a::after,
html body #header .menu #top-menu .sub-menu li.category:hover > a::after,
html body #header .menu #top-menu .sub-menu a.dropdown-submenu:hover::after,
html body #header #top-menu a.dropdown-submenu:hover::after{
  content:'' !important;
  border:solid #444 !important; border-width:0 1.6px 1.6px 0 !important; border-color:#444 !important;
  transform:rotate(45deg) !important; opacity:.9 !important;
}

/* ============ ПІДМЕНЮ hover — МАКСИМАЛЬНА специфічність (body#index + усі класи) ============ */
html body#index #header .menu.js-top-menu #top-menu.top-menu .popover.sub-menu li.category:hover > a.dropdown-submenu,
html body#index #header .menu.js-top-menu #top-menu.top-menu .popover.sub-menu li.category:hover > a.dropdown-item,
html body#index #header .menu.js-top-menu #top-menu.top-menu .sub-menu li.category:hover > a,
html body#index #header .menu.js-top-menu #top-menu.top-menu .sub-menu li a.dropdown-submenu:hover,
html body#index #header .menu.js-top-menu #top-menu.top-menu .sub-menu li a:hover,
html body #header .menu #top-menu .sub-menu li.category:hover > a{
  background:#f3eefa !important; background-color:#f3eefa !important; color:#1d1d1f !important;
}
/* стрілка при hover — темна вниз (без білого › ) */
html body#index #header .menu.js-top-menu #top-menu.top-menu .popover.sub-menu li.category:hover > a.dropdown-submenu::after,
html body#index #header .menu.js-top-menu #top-menu.top-menu .sub-menu li a.dropdown-submenu:hover::after,
html body #header .menu #top-menu .sub-menu li.category:hover > a::after{
  content:'' !important; border:solid #444 !important; border-width:0 1.6px 1.6px 0 !important; border-color:#444 !important;
  transform:rotate(45deg) !important; opacity:.9 !important;
}

/* ============ ЗАГОТОВКА: заголовок секції + фіолетова лінія (усі секції) ============ */
/* Nunito Sans 26px weight 300, <strong>=700 (двотонність), градієнт-лінія праворуч.
   Застосовується до всіх .products-section-title: Nowości, Bestsellery, Promocje тощо. */
#content .products-section-title,
.page-home .products-section-title{
  display:flex !important; align-items:center; gap:18px;
  font-family:'Nunito Sans','Open Sans',sans-serif !important;
  font-size:26px !important; font-weight:300 !important; color:#1D1D1F !important;
  letter-spacing:.5px; line-height:1.15; text-transform:uppercase !important;
  margin:8px 0 26px !important; padding:0 !important; border:0 !important; white-space:nowrap;
}
#content .products-section-title strong,
#content .products-section-title b,
.page-home .products-section-title strong{ font-weight:700 !important; }
#content .products-section-title::after,
.page-home .products-section-title::after{
  content:""; flex:1 1 auto; min-width:40px; height:2px; border-radius:2px;
  background:linear-gradient(90deg,#c4a9e6 0%,#d9cbf0 70%,rgba(217,203,240,.2) 100%);
}
@media (max-width:980px){ #content .products-section-title{ font-size:22px !important; } }
@media (max-width:767px){ #content .products-section-title{ font-size:18px !important; gap:12px; white-space:normal; } }

/* ==== ЗАГОТОВКА section-title (вирішальний override центрованого старого стилю) ==== */
html body #content .products-section-title,
html body .page-home .products-section-title{
  display:flex !important; text-align:left !important; align-items:center !important; gap:18px !important;
  font-family:'Nunito Sans','Open Sans',sans-serif !important;
  font-size:26px !important; font-weight:300 !important; color:#1D1D1F !important;
  letter-spacing:.5px !important; line-height:1.15 !important; text-transform:uppercase !important;
  margin:8px 0 26px !important; padding:0 !important; border:0 !important; white-space:nowrap !important; position:static !important;
}
html body #content .products-section-title strong,
html body #content .products-section-title b{ font-weight:700 !important; }
html body #content .products-section-title::after,
html body .page-home .products-section-title::after{
  content:"" !important; position:static !important; transform:none !important;
  flex:1 1 auto !important; min-width:40px !important; width:auto !important; height:2px !important;
  border-radius:2px !important; margin:0 !important; display:block !important;
  background:linear-gradient(90deg,#c4a9e6 0%,#d9cbf0 70%,rgba(217,203,240,.2) 100%) !important;
}
@media (max-width:980px){ html body #content .products-section-title{ font-size:22px !important; } }
@media (max-width:767px){ html body #content .products-section-title{ font-size:18px !important; gap:12px !important; white-space:normal !important; } }

/* ============ КАРТКА ТОВАРУ (site-wide) — DP ============ */
/* --- підміна фото на hover --- */
.product-miniature .thumbnail.product-thumbnail{ position:relative; display:block; overflow:hidden; }
.product-miniature .dp-img-main{ display:block; }
.product-miniature .dp-img-main img{ display:block; width:100%; height:auto; }
.product-miniature .dp-img-hover{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .4s ease; z-index:1; pointer-events:none;
}
.product-miniature:hover .dp-img-hover{ opacity:1; }

/* --- назва: 2 рядки, без обрізки, СТАЛИЙ колір (без фіолету на hover) --- */
.product-miniature .product-title{ text-align:left !important; margin:12px 0 5px !important; padding:0 !important; }
.product-miniature .product-title a{
  color:#1d1d1f !important; font-family:'Nunito Sans','Open Sans',sans-serif !important;
  font-weight:500 !important; font-size:15px !important; line-height:1.3 !important; text-transform:none !important;
  display:-webkit-box !important; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; white-space:normal !important; min-height:2.6em;
}
.product-miniature:hover .product-title a,
.product-miniature .product-title a:hover,
.product-miniature .product-title a:focus,
.product-miniature .product-title:hover a{ color:#1d1d1f !important; text-decoration:none !important; }

/* --- ціна: чорна, ліворуч, більша + грубша за назву --- */
/* резерв місця під рядок старої (перекресленої) ціни, щоб картки БЕЗ промоції
   були такої ж висоти, як з промоцією (стара ціна = +15px другим рядком);
   align-content:flex-start → поточна ціна лишається вгорі блоку */
.product-miniature .product-price-and-shipping{ text-align:left !important; margin-top:2px !important; min-height:37px !important; align-content:flex-start !important; }
.product-miniature .product-price-and-shipping .price{
  color:#000 !important; font-weight:800 !important; font-size:19px !important; letter-spacing:.2px !important;
}

/* --- прибрати старий текст «Szybki podgląd» --- */
.product-miniature .highlighted-informations .quick-view{ display:none !important; }
.product-miniature .highlighted-informations{ background:transparent !important; border:0 !important; box-shadow:none !important; }

/* --- стек іконок: серце + лупа + кошик --- */
.product-miniature .thumbnail-container{ position:relative; }
.product-miniature .wishlist-button-add{
  position:absolute !important; top:12px !important; right:12px !important; left:auto !important; bottom:auto !important;
  width:40px !important; height:40px !important; border-radius:50% !important;
  background:#fff !important; box-shadow:0 2px 10px rgba(0,0,0,.14) !important; border:0 !important;
  display:flex !important; align-items:center !important; justify-content:center !important; z-index:4 !important; padding:0 !important; margin:0 !important;
}
.product-miniature .wishlist-button-add .material-icons{ font-size:20px !important; color:#1d1d1f !important; line-height:1 !important; }
.product-miniature .dp-card-actions{
  position:absolute; top:60px; right:12px; z-index:4;
  display:flex; flex-direction:column; gap:9px;
}
.product-miniature .dp-card-actions .dp-act{
  width:40px; height:40px; border-radius:50%; background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.14); display:flex; align-items:center; justify-content:center;
  color:#1d1d1f; cursor:pointer; transition:background .18s ease, color .18s ease, transform .18s ease; text-decoration:none;
}
.product-miniature .dp-card-actions .dp-act svg{ width:20px; height:20px; display:block; }
.product-miniature .dp-card-actions .dp-act:hover{ background:#1d1d1f; color:#fff; transform:translateY(-1px); }

/* ліва рівність опису картки (назва + ціна) */
html body .product-miniature .product-description,
html body .product-miniature .product-description-idle{ text-align:left !important; }

/* ============ КАРТКА ТОВАРУ — ПРАВКИ 2 ============ */
/* назва: завжди темна (без фіолету), ліворуч, 2-й рядок з початку */
html body .product-miniature .product-title,
html body .product-miniature .product-title a{ text-align:left !important; }
html body .product-miniature .product-title a,
html body .product-miniature .product-title a:hover,
html body .product-miniature .product-title a:focus,
html body .product-miniature:hover .product-title a,
html body .product-miniature .product-title:hover a,
html body .product-miniature:hover .product-title:hover a{ color:#1d1d1f !important; }

/* ціна: ліворуч, на рівні початку назви */
html body .product-miniature .product-description{ text-align:left !important; }
html body .product-miniature .product-price-and-shipping{
  text-align:left !important; display:flex !important; flex-direction:column !important; width:100% !important;
  margin:2px 0 0 !important; padding:0 !important; justify-content:flex-start !important; align-items:flex-start !important;
  gap:0 !important;
}
html body .product-miniature .product-price-and-shipping .price{ display:inline-block !important; margin:0 !important; float:none !important; order:1 !important; }
html body .product-miniature .product-price-and-shipping .regular-price{ order:2 !important; margin-top:0 !important; line-height:1.15 !important; }
html body .product-miniature .product-price-and-shipping .price{ line-height:1.15 !important; }

/* zniżka na karcie miniaturowej: cena promocyjna różowa, jak na stronie produktu */
html body .product-miniature .product-price-and-shipping:has(.regular-price) .price{
  color:#e5308a !important;
  font-weight:800 !important;
}

/* cała karta produktu klikalna (JS w dp-custom.js) */
html body .product-miniature{ cursor:pointer !important; }

/* лупа/кошик hover = як серце (фіолет + білий) */
html body .product-miniature .dp-card-actions .dp-act:hover{ background:#bf78ee !important; color:#fff !important; }

/* усі 3 іконки — лише на hover, анімація «вискакування зверху» */
.product-miniature .wishlist-button-add,
.product-miniature .dp-card-actions .dp-act{
  opacity:0 !important; transform:translateY(-12px);
  transition:opacity .28s cubic-bezier(.34,1.56,.64,1), transform .28s cubic-bezier(.34,1.56,.64,1) !important;
}
.product-miniature .wishlist-button-add{ pointer-events:none; }
.product-miniature:hover .wishlist-button-add,
.product-miniature:hover .dp-card-actions .dp-act{
  opacity:1 !important; transform:translateY(0); pointer-events:auto;
}
.product-miniature:hover .wishlist-button-add{ transition-delay:0s !important; }
.product-miniature:hover .dp-card-actions .dp-act:nth-child(1){ transition-delay:.06s !important; }
.product-miniature:hover .dp-card-actions .dp-act:nth-child(2){ transition-delay:.12s !important; }

/* назва: прибрати фіолет при hover зони фото (thumbnail-container:hover) — вага 0,4,3 */
html body .product-miniature .thumbnail-container:hover .product-title a,
html body .product-miniature .thumbnail-container:hover .product-title a:hover,
html body .product-miniature:hover .product-title a,
html body .product-miniature .product-title a:hover,
html body .product-miniature .product-title a:focus{ color:#1d1d1f !important; }

/* ============ ПОЗНАЧКИ ТОВАРУ (flags) — правки ============ */
/* рівні відступи, текст по центру */
html body .product-miniature .product-flag{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  height:auto !important; min-height:0 !important; line-height:1 !important; padding:6px 13px !important;
}
/* sold-out (out_of_stock) — картка в сірих тонах */
.product-miniature:has(.product-flag.out_of_stock) .thumbnail,
.product-miniature:has(.product-flag.out_of_stock) .dp-img-main,
.product-miniature:has(.product-flag.out_of_stock) .dp-img-hover{
  filter:grayscale(1) !important;
}
.product-miniature:has(.product-flag.out_of_stock) .product-title a,
.product-miniature:has(.product-flag.out_of_stock) .price{ color:#9a9a9a !important; }
/* приховати «Nowość» коли товар розпроданий (щоб не суперечило) */
.product-miniature:has(.product-flag.out_of_stock) .product-flag.new{ display:none !important; }

/* ============ NOWOŚCI — 2-поверхова маркіза (авто-скрол) ============ */
.dp-newmarquee{
  position:relative; left:50%; transform:translateX(-50%);
  width:min(1360px, 96vw); margin:6px auto 34px; overflow:hidden;
}
.dp-newmarquee .products-section-title{ padding:0 2px !important; }
.dp-marquee-row{ overflow:hidden; width:100%; margin-bottom:16px; }
.dp-marquee-row:last-child{ margin-bottom:0; }
.dp-marquee-track{ display:flex; gap:14px; width:max-content; will-change:transform; }
.dp-marquee-track .js-product{ flex:0 0 252px !important; width:252px !important; max-width:252px !important; margin:0 !important; padding:0 !important; }
.dp-marquee-track .product-miniature{ margin:0 !important; }
/* верхній ряд ← , нижній ряд → (протилежні напрямки) */
.dp-track-a{ animation:dp-marq-left 48s linear infinite; }
.dp-track-b{ animation:dp-marq-right 48s linear infinite; }
@keyframes dp-marq-left{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes dp-marq-right{ from{transform:translateX(-50%)} to{transform:translateX(0)} }
/* пауза при наведенні (щоб встигнути клікнути/роздивитись) */
.dp-marquee-row:hover .dp-marquee-track{ animation-play-state:paused; }
@media (max-width:767px){
  .dp-marquee-track .js-product{ flex-basis:60vw !important; width:60vw !important; max-width:60vw !important; }
  .dp-track-a, .dp-track-b{ animation-duration:32s; }
}

/* маркіза керується JS-степером — вимкнути безперервну CSS-анімацію */
.dp-newmarquee .dp-track-a, .dp-newmarquee .dp-track-b{ animation:none !important; }

/* прибрати горизонтальний скрол від маркізи (вихід за контейнер) */
#content, .page-home, #main{ overflow-x: clip; }

/* прибрати весь горизонтальний скрол сторінки (маркіза + меню-флайаути) */
html{ overflow-x: clip; }

/* ==== маркіза: чистий margin-breakout (скасувати clip + transform) ==== */
html, #content, .page-home, #main{ overflow-x: visible !important; }
html body .dp-newmarquee{
  position: relative !important; left: auto !important; transform: none !important;
  width: min(1330px, 97vw) !important;
  margin-left: calc((100% - min(1330px, 97vw)) / 2) !important;
  margin-right: calc((100% - min(1330px, 97vw)) / 2) !important;
  overflow: hidden !important;
}

/* ==== повернути transform-breakout (центрує рівно), overflow visible ==== */
html, #content, .page-home, #main{ overflow-x: visible !important; }
html body .dp-newmarquee{
  position: relative !important;
  left: 50% !important; transform: translateX(-50%) !important;
  width: min(1330px, 97vw) !important;
  margin-left: 0 !important; margin-right: 0 !important;
  overflow: hidden !important;
}

/* клип горизонтального переповнення (меню-флайаути) на body — маркіза не страждає */
body{ overflow-x: clip !important; }

/* маркіза: клипати лише боки (горизонт), верх картки на hover не обрізати */
html body .dp-newmarquee{ overflow-x: clip !important; overflow-y: visible !important; }
html body .dp-newmarquee .dp-marquee-row{ overflow-x: clip !important; overflow-y: visible !important; padding-top:6px; }

/* маркіза: плавне згасання карток на лівому/правому краях (замість жорсткого зрізу) */
html body .dp-newmarquee .dp-marquee-row{
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}

/* реверт згасання + місце для рамки крайніх карток (клип розширено на 8px) */
html body .dp-newmarquee .dp-marquee-row{
  -webkit-mask-image: none !important; mask-image: none !important;
  overflow-clip-margin: 8px;
}

/* тінь картки (blur 10px) виходить за межу — розширити клип щоб рамка/тінь не різалась */
html body .dp-newmarquee .dp-marquee-row{ overflow-clip-margin: 14px !important; }

/* маркіза: прибрати асиметричний паддінг + розширити секцію для рівних відступів */
html body .dp-newmarquee{
  width: min(1400px, 98vw) !important;
  padding-left: 0 !important; padding-right: 0 !important;
  box-sizing: border-box !important;
}
html body .dp-newmarquee .products-section-title{ padding-left: 4px !important; }

/* ====== manufacturer logo on product card (bottom-right, by the price) ====== */
.product-miniature .product-description{ position:relative; }
.product-miniature .dp-manuf-logo{
  position:absolute; right:2px; bottom:2px;
  max-height:34px; max-width:104px; width:auto; height:auto;
  object-fit:contain; opacity:.95; pointer-events:none;
  mix-blend-mode:multiply; /* прибирає білий фон jpg на білій картці */
}
/* приглушити на розпроданих (сірих) картках, щоб не виділялось */
.product-miniature:has(.product-flag.out_of_stock) .dp-manuf-logo{ opacity:.45; filter:grayscale(1); }

/* logo v2: чуть більше, правий край рівно з назвою, по рівню ціни */
.product-miniature .dp-manuf-logo{
  right:14px; bottom:8px;
  height:40px; width:auto; max-height:40px; max-width:110px;
}

/* ============ Sticky пасик меню при скролі ============ */
#_desktop_top_menu.dp-menu-stuck{
  position:fixed !important; top:0 !important; left:0 !important; right:0 !important;
  width:100% !important; z-index:1050 !important;
  background:#1d1d1f !important;
  box-shadow:0 3px 12px rgba(0,0,0,.14) !important;
}
.dp-menu-spacer{ display:none; }
/* коли меню fixed — мега-меню має відкриватись поверх контенту */
#_desktop_top_menu.dp-menu-stuck .popover.sub-menu{ z-index:1051 !important; }

/* ============ Меню з 10 пунктами (з Nowości): компактніше, щоб усе вміщалось по центру ============ */
html body #header .menu #top-menu > li > a,
html body #header .menu.js-top-menu #top-menu > li > a{
  font-size:15px !important; padding:12px 11px !important;
}
/* Nowości — легкий акцент */
html body #header .menu #top-menu > li.dp-menu-nowosci > a{ font-weight:700 !important; }
/* дуже вузькі десктопи: перенос на 2 рядки замість обрізки */
@media (max-width:1330px){
  html body #header .menu #top-menu.top-menu{ flex-wrap:wrap !important; }
}

/* ============ Меню: ширина банера, пункти розтягнуті на всю ширину, перенос при звуженні ============ */
html body #header .menu #top-menu.top-menu,
html body #header .menu.js-top-menu #top-menu.top-menu{
  width: min(1560px, 93vw) !important;
  max-width: min(1560px, 93vw) !important;
  margin-left: auto !important; margin-right: auto !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  row-gap: 2px !important;
}
html body #header .menu #top-menu > li > a,
html body #header .menu.js-top-menu #top-menu > li > a{
  font-size: 15px !important; padding: 12px 8px !important;
}

/* ==================== МОБІЛЬНА ШАПКА (гамбургер) ≤767px ==================== */
@media (max-width:767px){
  /* показати мобільну смугу (перекрити .header-nav{display:none} з десктопу) */
  #header .header-nav{ display:block !important; background:#fff !important; padding:0 !important; margin:0 !important; box-shadow:none !important; border:0 !important; }
  #header .header-nav .container{ padding:0 !important; max-width:100% !important; }
  #header .header-nav .row{ margin:0 !important; }
  #header .header-nav .hidden-sm-down{ display:none !important; }  /* десктоп-nav1 всередині */
  #header .header-nav .hidden-md-up.mobile{
    display:flex !important; align-items:center !important; gap:10px !important;
    padding:10px 14px !important; width:100% !important; float:none !important;
  }

  /* гамбургер зліва */
  #header #menu-icon{ order:1 !important; float:none !important; width:auto !important; margin:0 !important; cursor:pointer; line-height:0 !important; }
  #header #menu-icon i.material-icons{ font-size:30px !important; color:#1d1d1f !important; display:block !important; width:auto !important; height:auto !important; margin:0 !important; }

  /* лого по центру */
  #header #_mobile_logo{ order:2 !important; float:none !important; flex:1 1 auto !important; display:flex !important; justify-content:center !important; align-items:center !important; margin:0 !important; }
  #header #_mobile_logo img{ max-height:46px !important; width:auto !important; }

  /* іконки праворуч: пошук, профіль, кошик */
  #dp-mobile-search-btn{ order:3 !important; }
  #header #_mobile_user_info{ order:4 !important; float:none !important; margin:0 !important; }
  #header #_mobile_cart{ order:5 !important; float:none !important; margin:0 !important; position:relative; }
  #header #_mobile_user_info a, #header #_mobile_cart a{ color:#1d1d1f !important; display:flex !important; align-items:center; }
  #header #_mobile_user_info .material-icons, #header #_mobile_cart .material-icons{ font-size:26px !important; color:#1d1d1f !important; }
  .dp-mobile-icon{ width:28px; height:28px; cursor:pointer; color:#1d1d1f; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
  .dp-mobile-icon svg{ width:25px; height:25px; }

  /* приховати десктопні частини шапки */
  #header .header-top .header-top-nav2{ display:none !important; }
  #header .header-top #_desktop_logo{ display:none !important; }
  #header .header-top{ padding:0 !important; position:relative; }
  #header .header-top .container{ padding:0 !important; }

  /* пошук — прихований, показ по тапу лупи (рядком під шапкою) */
  #header .header-top .header-top-right{ display:none !important; padding:0 !important; }
  #header .header-top .header-top-right.dp-search-open{ display:block !important; padding:10px 14px !important; background:#fff !important; border-top:1px solid #eee !important; }

  /* меню-шухляда: прихована до тапу гамбургера */
  #header .header-top #mobile_top_menu_wrapper{ display:none !important; }
  #header .header-top #mobile_top_menu_wrapper.dp-drawer-open{ display:block !important; background:#fff !important; padding:6px 0 !important; border-top:1px solid #eee !important; }

  /* стиль пунктів у шухляді */
  #mobile_top_menu_wrapper.dp-drawer-open .top-menu{ display:block !important; width:100% !important; }
  #mobile_top_menu_wrapper.dp-drawer-open .top-menu > li,
  #mobile_top_menu_wrapper.dp-drawer-open .top-menu li{ display:block !important; width:100% !important; border-bottom:1px solid #f0f0f0 !important; }
  #mobile_top_menu_wrapper.dp-drawer-open .top-menu a{ color:#1d1d1f !important; padding:12px 16px !important; font-size:15px !important; display:block !important; }
  #mobile_top_menu_wrapper.dp-drawer-open .sub-menu,
  #mobile_top_menu_wrapper.dp-drawer-open .collapse:not(.show){ display:none !important; }
  #mobile_top_menu_wrapper.dp-drawer-open .collapse.show{ display:block !important; background:#faf8fd !important; }
}

/* ==================== МОБІЛЬНА ШАПКА — фікс кольору/розкладки ==================== */
@media (max-width:767px){
  /* темні іконки й текст на білій шапці */
  #header .header-nav .hidden-md-up.mobile,
  #header .header-nav .hidden-md-up.mobile *{ color:#1d1d1f !important; }
  /* розкладка: гамбургер ліворуч, група іконок праворуч, лого абсолютно по центру */
  #header .header-nav .hidden-md-up.mobile{ position:relative !important; justify-content:flex-start !important; gap:14px !important; }
  #header #menu-icon{ margin-right:auto !important; }
  #header #menu-icon i.material-icons{ color:#1d1d1f !important; font-size:30px !important; line-height:1 !important; }
  #header #_mobile_logo{ position:absolute !important; left:50% !important; top:50% !important; transform:translate(-50%,-50%) !important; flex:0 0 auto !important; width:auto !important; z-index:1 !important; }
  #header #_mobile_logo img{ max-height:44px !important; width:auto !important; }
  #header #dp-mobile-search-btn, #header #_mobile_user_info, #header #_mobile_cart{ z-index:2 !important; flex:0 0 auto !important; }
  /* кошик — лише іконка + бейдж, без коробки/тіні */
  #header #_mobile_cart, #header #_mobile_cart *{ background:transparent !important; box-shadow:none !important; border:0 !important; }
  #header #_mobile_cart{ width:auto !important; padding:0 !important; }
  #header #_mobile_cart .material-icons{ font-size:26px !important; }
  #header #_mobile_cart .cart-products-count{
    background:#bf78ee !important; color:#fff !important;
    position:absolute !important; top:-6px !important; right:-8px !important;
    min-width:16px !important; height:16px !important; line-height:16px !important; font-size:10px !important;
    border-radius:9px !important; text-align:center !important; padding:0 4px !important;
  }
  /* прибрати зайвий текст кошика (ціна/«0 zł»), лишити тільки іконку */
  #header #_mobile_cart .header a > *:not(.material-icons):not(.cart-products-count){ display:none !important; }
  #header #_mobile_user_info .material-icons{ font-size:26px !important; }
}

/* ==================== МОБІЛЬНА ШАПКА — фікс фону + CSS-гамбургер ==================== */
@media (max-width:767px){
  /* білий фон мобільної шапки (перекрити темний #header nav.header-nav) */
  html body #header nav.header-nav,
  html body #header .header-nav{ background:#fff !important; background-color:#fff !important; }

  /* CSS-гамбургер (3 смужки) замість material-icons гліфа */
  html body #header #menu-icon{ display:flex !important; align-items:center !important; height:44px !important; }
  html body #header #menu-icon i.material-icons{
    font-size:0 !important; position:relative !important; display:block !important;
    width:26px !important; height:2.5px !important; background:#1d1d1f !important; border-radius:2px !important;
    margin:0 !important; color:transparent !important;
  }
  html body #header #menu-icon i.material-icons::before,
  html body #header #menu-icon i.material-icons::after{
    content:'' !important; position:absolute !important; left:0 !important;
    width:26px !important; height:2.5px !important; background:#1d1d1f !important; border-radius:2px !important;
  }
  html body #header #menu-icon i.material-icons::before{ top:-8px !important; }
  html body #header #menu-icon i.material-icons::after{ top:8px !important; }

  /* кошик — бейдж всередині іконки */
  html body #header #_mobile_cart .header,
  html body #header #_mobile_cart a{ position:relative !important; display:inline-flex !important; align-items:center !important; }
  html body #header #_mobile_cart .cart-products-count{
    position:absolute !important; top:-7px !important; right:-9px !important;
    background:#bf78ee !important; color:#fff !important;
    min-width:16px !important; height:16px !important; line-height:16px !important; font-size:10px !important;
    border-radius:9px !important; text-align:center !important; padding:0 3px !important;
  }
}

/* мобільні іконки: підтиснути контейнери, прибрати текст-підписи */
@media (max-width:767px){
  html body #header #_mobile_user_info,
  html body #header #_mobile_cart{ width:auto !important; min-width:0 !important; }
  html body #header #_mobile_user_info a,
  html body #header #_mobile_cart .header a{ padding:0 !important; }
  html body #header #_mobile_user_info a > *:not(.material-icons),
  html body #header #_mobile_cart .header a > *:not(.material-icons):not(.cart-products-count){ display:none !important; }
}

/* ==================== МОБІЛЬНА ШУХЛЯДА МЕНЮ — вигляд ==================== */
@media (max-width:767px){
  #header #mobile_top_menu_wrapper.dp-drawer-open{
    background:#fff !important; max-height:76vh !important; overflow-y:auto !important;
    box-shadow:0 10px 22px rgba(0,0,0,.14) !important; padding:4px 0 10px !important;
  }
  #header #mobile_top_menu_wrapper.dp-drawer-open .top-menu,
  #header #mobile_top_menu_wrapper.dp-drawer-open li,
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse,
  #header #mobile_top_menu_wrapper.dp-drawer-open a{ background:#fff !important; float:none !important; width:100% !important; }
  #header #mobile_top_menu_wrapper.dp-drawer-open li{ border-bottom:1px solid #f0f0f0 !important; }
  #header #mobile_top_menu_wrapper.dp-drawer-open a{ color:#1d1d1f !important; padding:13px 18px !important; font-size:15px !important; display:block !important; text-transform:none !important; }
  /* вкладені пункти — з відступом і світлим фоном */
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse a{ padding-left:34px !important; background:#faf8fd !important; font-size:14px !important; }
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse .collapse a{ padding-left:50px !important; }
  /* показувати лише верхній рівень; підрівні через collapse (Bootstrap) */
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse{ display:none !important; }
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show,
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.in{ display:block !important; }
  /* +/- тумблери праворуч, темні, видимі */
  #header #mobile_top_menu_wrapper .collapse-icons{ display:inline-flex !important; float:right !important; }
  #header #mobile_top_menu_wrapper .collapse-icons .material-icons{ color:#1d1d1f !important; font-size:24px !important; }
  /* низ шухляди (валюта/контакт) */
  #header #mobile_top_menu_wrapper.dp-drawer-open .js-top-menu-bottom{ padding:10px 18px !important; border-top:1px solid #eee !important; }
}

/* мобільна шухляда: +/- стан, прибрати дублюючу inline-стрілку */
@media (max-width:767px){
  #header #mobile_top_menu_wrapper.dp-drawer-open a::after{ display:none !important; }
  #header #mobile_top_menu_wrapper .collapse-icons{ color:#1d1d1f !important; }
  #header #mobile_top_menu_wrapper .collapse-icons .remove{ display:none !important; }
  #header #mobile_top_menu_wrapper .collapse-icons .add{ display:inline-block !important; color:#1d1d1f !important; }
  #header #mobile_top_menu_wrapper li.dp-open > a .collapse-icons .add{ display:none !important; }
  #header #mobile_top_menu_wrapper li.dp-open > a .collapse-icons .remove{ display:inline-block !important; color:#1d1d1f !important; }
  /* тумблер — більша зона тапу праворуч */
  #header #mobile_top_menu_wrapper .float-xs-right.hidden-md-up{ padding:0 18px 0 10px !important; }
}

/* мобільна шухляда: розгорнуті підкатегорії — форсувати видимість */
@media (max-width:767px){
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show,
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show *{ visibility:visible !important; }
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show{ height:auto !important; overflow:visible !important; }
}

/* мобільна шухляда: підменю в потік (не absolute popover), вертикальний стек */
@media (max-width:767px){
  #header #mobile_top_menu_wrapper.dp-drawer-open .popover,
  #header #mobile_top_menu_wrapper.dp-drawer-open .sub-menu,
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse{
    position:static !important; float:none !important;
    left:auto !important; top:auto !important; right:auto !important; bottom:auto !important;
    width:100% !important; min-width:0 !important; max-width:none !important; height:auto !important;
    transform:none !important; box-shadow:none !important; border:0 !important; margin:0 !important;
    background:#faf8fd !important;
  }
  #header #mobile_top_menu_wrapper.dp-drawer-open .top-menu,
  #header #mobile_top_menu_wrapper.dp-drawer-open .top-menu > li,
  #header #mobile_top_menu_wrapper.dp-drawer-open ul[data-depth] > li{
    position:static !important; float:none !important; display:block !important; width:100% !important;
  }
  /* показ лише розгорнутих */
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse{ display:none !important; }
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show{ display:block !important; }
}

/* мобільна шухляда: розгорнуте підменю — форсувати opacity (popover має opacity:0 з десктопу) */
@media (max-width:767px){
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show,
  #header #mobile_top_menu_wrapper.dp-drawer-open .collapse.show *,
  #header #mobile_top_menu_wrapper.dp-drawer-open .popover.sub-menu.show,
  #header #mobile_top_menu_wrapper.dp-drawer-open li.dp-open > .collapse{
    opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
  }
}

/* ==================== МОБІЛЬНА верхня смужка (htb) — компактна ==================== */
@media (max-width:767px){
  #header .header-banner{ overflow:hidden !important; }
  #header .header-banner .htb{
    display:flex !important; align-items:center !important; justify-content:space-between !important;
    flex-wrap:nowrap !important; gap:10px !important; padding:8px 14px !important; min-height:0 !important;
  }
  /* сховати "Szybka wysyłka" і мітку "Odwiedź nasze Social Media" */
  #header .htb__item--fast{ display:none !important; }
  #header .htb__soc-label{ display:none !important; }
  /* доставка — зліва, в один рядок */
  #header .htb__info{ flex:0 1 auto !important; min-width:0 !important; margin:0 !important; }
  #header .htb__item{ font-size:12.5px !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; margin:0 !important; }
  /* соцмережі — компактно праворуч, один рядок */
  #header .htb__soc{ flex:0 0 auto !important; height:auto !important; display:flex !important; align-items:center !important; gap:14px !important; margin:0 !important; }
  #header .htb__soc a{ display:inline-flex !important; align-items:center !important; width:auto !important; height:auto !important; }
  #header .htb__soc a svg{ width:18px !important; height:18px !important; }
}

/* мобільний кошик: сховати бейдж коли порожній */
@media (max-width:767px){
  #header #_mobile_cart.dp-cart-empty .cart-products-count{ display:none !important; }
}

/* ==================== МОБІЛЬНА ШАПКА v2: пошук-пасок знизу, SVG-значки ПК, бейдж ==================== */
@media (max-width:767px){
  /* прибрати стару інжект-лупу (якщо лишилась з кешу) */
  #header #dp-mobile-search-btn{ display:none !important; }

  /* ---- ПОШУК: завжди видимий повноширинний пасок під шапкою (як Clavier) ---- */
  html body #header .header-top .header-top-right{
    display:block !important; padding:10px 14px 12px !important; background:#fff !important;
    border-top:1px solid #f0f0f0 !important;
  }
  html body #header .header-top-right #search_widget form,
  html body #header .header-top-right .search-widgets form{
    position:relative !important; display:flex !important; align-items:center !important;
    height:48px !important; background:#f1f1f4 !important; border:none !important; border-radius:12px !important;
    padding:0 !important; overflow:hidden !important;
  }
  html body #header .header-top-right #search_widget input[type=text],
  html body #header .header-top-right .search-widgets input[type=text]{
    height:48px !important; line-height:48px !important; padding:0 16px 0 46px !important;
    background:transparent !important; border:none !important; box-shadow:none !important; font-size:15px !important; width:100% !important;
  }
  /* магніфаєр — світлий, ЛІВОРУЧ усередині поля */
  html body #header .header-top-right #search_widget i.material-icons.search,
  html body #header .header-top-right .search-widgets i.material-icons.search{
    position:absolute !important; left:0 !important; right:auto !important; top:0 !important; bottom:0 !important;
    width:46px !important; height:48px !important; margin:0 !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    background:transparent !important; color:#9a9aa0 !important; border-radius:0 !important; font-size:22px !important;
  }

  /* ---- ПРОФІЛЬ: SVG як на ПК (ikona_konto.svg) ---- */
  html body #header #_mobile_user_info a{
    width:27px !important; height:27px !important; display:block !important; font-size:0 !important; line-height:0 !important; padding:0 !important;
    background:url('../img/ikona_konto.svg') no-repeat center !important; background-size:contain !important;
  }
  html body #header #_mobile_user_info .material-icons{ display:none !important; }

  /* ---- КОШИК: SVG як на ПК (ikonka_koszyk.svg) + фіолетовий бейдж ---- */
  html body #header #_mobile_cart .header a.cart-link,
  html body #header #_mobile_cart .header a,
  html body #header #_mobile_cart a.cart-link{
    position:relative !important; width:27px !important; height:27px !important; display:block !important;
    font-size:0 !important; line-height:0 !important; padding:0 !important;
    background:url('../img/ikonka_koszyk.svg') no-repeat center !important; background-size:contain !important;
  }
  html body #header #_mobile_cart .material-icons{ display:none !important; }
  /* бейдж — фіолетовий кружечок з цифрою, лише коли > 0 */
  html body #header #_mobile_cart .cart-products-count{
    position:absolute !important; top:-8px !important; right:-9px !important;
    background:#bf78ee !important; color:#fff !important;
    min-width:18px !important; height:18px !important; line-height:18px !important;
    font-size:11px !important; font-weight:700 !important;
    border-radius:50% !important; text-align:center !important; padding:0 4px !important; display:block !important;
    box-shadow:0 1px 3px rgba(0,0,0,.2) !important;
  }
  html body #header #_mobile_cart.dp-cart-empty .cart-products-count{ display:none !important; }
}

/* мобільна шапка: підтиснути контейнери іконок до розміру значка (щоб не налазили на лого) */
@media (max-width:767px){
  html body #header #_mobile_user_info,
  html body #header #_mobile_cart{
    width:27px !important; min-width:27px !important; max-width:27px !important;
    flex:0 0 27px !important; padding:0 !important; margin:0 !important; overflow:visible !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
  }
  /* сховати будь-який текст-підпис усередині (Zaloguj, Koszyk, ціна) */
  html body #header #_mobile_user_info a *:not(.material-icons),
  html body #header #_mobile_cart .header a *:not(.material-icons):not(.cart-products-count),
  html body #header #_mobile_cart .blockcart > *:not(.header){ display:none !important; }
  html body #header #_mobile_cart .blockcart{ width:27px !important; }
  html body #header #_mobile_cart .blockcart .header{ width:27px !important; position:relative !important; }
  /* збільшити проміжок між профілем і кошиком трохи */
  html body #header .header-nav .hidden-md-up.mobile{ gap:18px !important; }
}

/* мобільні значки кошика/профілю — SVG-фон на КОНТЕЙНЕРІ (надійно, не залежить від вкладеного посилання) */
@media (max-width:767px){
  /* ПРОФІЛЬ */
  html body #header #_mobile_user_info{
    position:relative !important; width:27px !important; height:27px !important; flex:0 0 27px !important;
    background:url('../img/ikona_konto.svg') no-repeat center !important; background-size:contain !important;
  }
  html body #header #_mobile_user_info a{
    display:block !important; width:27px !important; height:27px !important; background:transparent !important; font-size:0 !important; padding:0 !important; margin:0 !important;
  }
  html body #header #_mobile_user_info .material-icons{ display:none !important; }
  /* ⚠️ #_mobile_user_info to KLON #_desktop_user_info: zawiera DWA linki z ta sama
     ikona osoby — .logout (Wyloguj, PIERWSZY w DOM) i .account (Moje konto). Regula
     wyzej `#_mobile_user_info a{display:block}` nadpisywala `.logout .hidden-sm-down`,
     wiec „ikona konta" byla w rzeczywistosci linkiem WYLOGUJ (tap = wylogowanie).
     Chowamy .logout — zostaje samo konto. (Na desktopie .logout chowa sie nizej.) */
  html body #header #_mobile_user_info a.logout{ display:none !important; }

  /* КОШИК */
  html body #header #_mobile_cart{
    position:relative !important; width:27px !important; height:27px !important; flex:0 0 27px !important;
    background:url('../img/ikonka_koszyk.svg') no-repeat center !important; background-size:contain !important;
  }
  html body #header #_mobile_cart .blockcart,
  html body #header #_mobile_cart .header,
  html body #header #_mobile_cart a.cart-link,
  html body #header #_mobile_cart a{
    position:static !important; display:block !important; width:27px !important; height:27px !important;
    background:transparent !important; font-size:0 !important; line-height:0 !important; padding:0 !important; margin:0 !important; box-shadow:none !important;
  }
  html body #header #_mobile_cart .material-icons,
  html body #header #_mobile_cart .hidden-sm-down,
  html body #header #_mobile_cart .cart-preview-dropdown,
  html body #header #_mobile_cart .cart_block_list{ display:none !important; }
  /* бейдж — фіолетовий кружечок відносно контейнера */
  html body #header #_mobile_cart .cart-products-count{
    position:absolute !important; top:-8px !important; right:-9px !important; left:auto !important;
    background:#bf78ee !important; color:#fff !important;
    min-width:18px !important; height:18px !important; line-height:18px !important;
    font-size:11px !important; font-weight:700 !important;
    border-radius:50% !important; text-align:center !important; padding:0 4px !important; display:block !important;
    box-shadow:0 1px 3px rgba(0,0,0,.25) !important;
  }
  html body #header #_mobile_cart.dp-cart-empty .cart-products-count{ display:none !important; }
}

/* ==================== МОБІЛЬНА ШАПКА v5: лінія / розмір пошуку / фокус-рамка ==================== */
@media (max-width:767px){
  /* 1) прибрати сіру лінію під шапкою */
  html body #header .header-top .header-top-right{ border-top:0 !important; padding:6px 16px 10px !important; }

  /* 2) поле пошуку трохи менше й акуратніше */
  html body #header .header-top-right #search_widget form,
  html body #header .header-top-right .search-widgets form{ height:42px !important; border-radius:11px !important; }
  html body #header .header-top-right #search_widget input[type=text],
  html body #header .header-top-right .search-widgets input[type=text]{ height:42px !important; line-height:42px !important; padding:0 14px 0 44px !important; font-size:14px !important; }
  html body #header .header-top-right #search_widget i.material-icons.search,
  html body #header .header-top-right .search-widgets i.material-icons.search{ height:42px !important; width:44px !important; font-size:20px !important; }

  /* 3) прибрати фіолетову рамку/підсвітку при кліку на лого/профіль/кошик/гамбургер */
  html body #header #menu-icon,
  html body #header #_mobile_logo, html body #header #_mobile_logo a,
  html body #header #_mobile_user_info, html body #header #_mobile_user_info a,
  html body #header #_mobile_cart, html body #header #_mobile_cart a,
  html body #header #_mobile_logo a:focus, html body #header #_mobile_logo a:active, html body #header #_mobile_logo a:focus-visible,
  html body #header #_mobile_user_info a:focus, html body #header #_mobile_user_info a:active, html body #header #_mobile_user_info a:focus-visible,
  html body #header #_mobile_cart a:focus, html body #header #_mobile_cart a:active, html body #header #_mobile_cart a:focus-visible{
    outline:0 none transparent !important; box-shadow:none !important; border:0 none transparent !important;
    -webkit-tap-highlight-color:rgba(0,0,0,0) !important;
  }
}

/* ==================== МОБІЛЬНА ШАПКА v6: вирівняти краї + відступ до пошуку ==================== */
@media (max-width:767px){
  /* nav вміщає рядок (не обрізає його, щоб лого не налазило на пошук) */
  html body #header .header-nav{ height:auto !important; min-height:0 !important; overflow:visible !important; }
  html body #header .header-nav .container,
  html body #header .header-nav .container > .row{ height:auto !important; min-height:0 !important; }

  /* рядок: 16px по боках (рівно як поле пошуку), компактна висота */
  html body #header .header-nav .hidden-md-up.mobile{
    padding:8px 16px !important; gap:16px !important; min-height:0 !important;
  }
  /* прибрати clearfix з flex — він створював зайвий відступ зліва перед гамбургером */
  html body #header .header-nav .hidden-md-up.mobile > .clearfix{ display:none !important; }
  html body #header #menu-icon{ height:36px !important; }

  /* лого трохи менше, щоб вміщалось у рядок і не лізло на пошук */
  html body #header #_mobile_logo img{ max-height:38px !important; }

  /* відступ між шапкою і полем пошуку */
  html body #header .header-top .header-top-right{ padding:8px 16px 12px !important; }
}

/* мобільна шапка: більший відступ між лого і полем пошуку */
@media (max-width:767px){
  html body #header .header-top .header-top-right{ padding:8px 16px 12px !important; }
}

/* ==================== МОБІЛЬНЕ ЛИПКЕ МЕНЮ + трансформація пошук↔лупа (тільки ≤767px) ==================== */
@media (max-width:767px){
  /* лупа (зʼявляється лише в липкому стані, зліва від профілю) */
  #header .dp-sticky-search{
    order:3 !important; flex:0 0 auto !important;
    width:0 !important; overflow:hidden !important; opacity:0 !important;
    transform:scale(.3) rotate(-45deg) !important; pointer-events:none !important; margin:0 !important;
    color:#1d1d1f !important;
    transition:none !important;
  }
  #header.dp-mstuck .dp-sticky-search{
    width:27px !important; opacity:1 !important; transform:scale(1) rotate(0deg) !important; pointer-events:auto !important;
  }

  /* сердечко (lista życzeń) — завжди видиме (не лише в липкому стані, як лупа),
     той самий order що й лупа: серед рівних order рішає DOM-порядок, а лупу
     JS вставляє першою, тож сердечко лишається праворуч від неї і ліворуч від профілю */
  #header .dp-mobile-wishlist{
    order:3 !important; flex:0 0 auto !important; color:#1d1d1f !important;
  }

  /* липкий білий рядок меню (чорна смужка — НЕ липка) */
  #header .header-nav{ transition:box-shadow .25s ease, min-height .3s ease, padding .3s ease !important; }
  #header.dp-mstuck .header-nav{
    position:fixed !important; top:0 !important; left:0 !important; right:0 !important; z-index:1050 !important;
    background:#fff !important; box-shadow:0 3px 14px rgba(0,0,0,.12) !important;
  }
  /* висота резервується через JS (stick/unstick у dp-custom.js) і плавно анімується,
     щоб перехід normal↔fixed не «стрибав» сторінкою під пальцем при відпусканні скролу */
  .dp-mheader-spacer{ display:none; }

  /* пасок пошуку — плавно згортається у липкому стані (перетворення на лупу) */
  #header .header-top .header-top-right{
    transition:max-height .34s cubic-bezier(.4,0,.2,1), opacity .26s ease, padding .3s ease, transform .34s ease !important;
    max-height:90px !important; overflow:hidden !important; transform-origin:top right !important;
  }
  #header.dp-mstuck .header-top .header-top-right{
    
    
  }

  /* шухляда меню у липкому стані — фіксована під липким рядком */
  #header.dp-mstuck #mobile_top_menu_wrapper.dp-drawer-open{
    position:fixed !important; top:var(--dp-navh,54px) !important; left:0 !important; right:0 !important; z-index:1049 !important;
    max-height:calc(100vh - var(--dp-navh,54px)) !important; overflow-y:auto !important;
    box-shadow:0 12px 22px rgba(0,0,0,.14) !important;
  }
}

/* ==================== Липке меню: відступ під лого, зсув лого вліво (анімовано) ==================== */
@media (max-width:767px){
  /* 2) лупа — стабільна висота, вирівняна з профілем/кошиком */
  #header .dp-sticky-search{ height:27px !important; align-self:center !important; }

  /* 3) лого рухається вліво (центр між гамбургером і лупою) + зворотня анімація */
  #header #_mobile_logo{ transition:none !important; }
  #header.dp-mstuck #_mobile_logo{ transform:translate(calc(-50% - 44px), -50%) !important; }
}

/* ==================== Липке меню: коректний відступ під лого ==================== */
@media (max-width:767px){
  /* nav вищий у липкому стані, вміст вертикально центрований → простір під лого */
  
  
  
  /* лого трохи компактніше в липкому стані (щоб точно вміщалось з відступом) */
  
}

/* Липке меню: зафіксувати висоту контейнера лого → чіткий відступ під ним */
@media (max-width:767px){
  
  
}

/* Липке меню: прибрати min-height:50 з лого → зʼявиться відступ під ним */
@media (max-width:767px){
  
  
}

/* ==================== МОБІЛЬНИЙ головний банер + промо-картки (≤767px) ==================== */
@media (max-width:767px){
  /* банер і картки — рівно в ширину паска пошуку (16px по боках, як шапка) */
  .dphb-wrap{ padding-left:16px !important; padding-right:16px !important; gap:14px !important; }
  .dphb-hero{ width:100% !important; }
  /* промо-картки: 2 в рядку, в ширину банера, рівні відступи (14px усюди) */
  .dphb-tiles{ grid-template-columns:1fr 1fr !important; gap:14px !important; width:100% !important; }
  .dphb-tiles[data-count="1"]{ grid-template-columns:1fr !important; }
  .dphb-card{ aspect-ratio:1 / 1 !important; }
}

/* ==================== МОБІЛЬНИЙ банер+картки: full-bleed, рівно як пошук ==================== */
@media (max-width:767px){
  /* повна ширина екрана з 16px padding → край-у-край з паском пошуку */
  .dphb-wrap{
    width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important;
    left:0 !important; transform:none !important;
    padding-left:16px !important; padding-right:16px !important; gap:16px !important;
    box-sizing:border-box !important;
  }
  .dphb-hero{ width:100% !important; }
  /* 2 картки в рядку, рівні відступи 16px (бік = проміжок) */
  .dphb-tiles{ grid-template-columns:1fr 1fr !important; gap:16px !important; width:100% !important; }
  .dphb-tiles[data-count="1"]{ grid-template-columns:1fr !important; }
  .dphb-card{ aspect-ratio:1 / 1 !important; }
}

/* ==================== 3D-ефект промо-карток (нахил + текст «спливає») ==================== */
.dphb-card{ perspective:1400px !important; }
/* нахил усієї картки за курсором (десктоп) — керується JS-змінними */
.dphb-card-inner{
  transform:rotateX(var(--tiltX,0deg)) rotateY(var(--tiltY,0deg)) !important;
  transition:transform .2s cubic-bezier(.2,.8,.2,1) !important;
  transform-style:preserve-3d !important;
}
.dphb-card.dphb-tilting .dphb-card-inner{ transition:transform .07s linear !important; }

/* глибші тіні на звороті — вміст виглядає піднятим/ширяючим */
.dphb-card-back .dphb-back-text{ text-shadow:0 3px 14px rgba(0,0,0,.5) !important; }
.dphb-card-back .dphb-code{ box-shadow:0 8px 18px rgba(0,0,0,.35) !important; }
.dphb-card-back .dphb-card-btn{ box-shadow:0 12px 26px rgba(0,0,0,.42) !important; }
/* легка глибина-віньєтка на звороті */
.dphb-card-back::after{ content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(120% 90% at 50% 35%, rgba(255,255,255,.06), rgba(0,0,0,.18) 100%); }
.dphb-card-back > *{ position:relative; z-index:1; }

/* «спливання» вмісту при перевороті (front→back) — текст, код, кнопка по черзі */
.mode-flip.is-flipped .dphb-back-text, .mode-flip:hover .dphb-back-text, .mode-flip:focus-within .dphb-back-text,
.mode-darken.is-flipped .dphb-back-text, .mode-darken:hover .dphb-back-text, .mode-darken:focus-within .dphb-back-text{
  animation:dphbFloatIn .5s .06s both cubic-bezier(.2,.8,.2,1);
}
.mode-flip.is-flipped .dphb-code, .mode-flip:hover .dphb-code, .mode-flip:focus-within .dphb-code,
.mode-darken.is-flipped .dphb-code, .mode-darken:hover .dphb-code, .mode-darken:focus-within .dphb-code{
  animation:dphbFloatIn .5s .14s both cubic-bezier(.2,.8,.2,1);
}
.mode-flip.is-flipped .dphb-card-btn, .mode-flip:hover .dphb-card-btn, .mode-flip:focus-within .dphb-card-btn,
.mode-darken.is-flipped .dphb-card-btn, .mode-darken:hover .dphb-card-btn, .mode-darken:focus-within .dphb-card-btn{
  animation:dphbFloatIn .55s .22s both cubic-bezier(.2,.85,.25,1);
}
@keyframes dphbFloatIn{
  from{ opacity:0; transform:translateY(20px) scale(.88); }
  60%{ opacity:1; }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

/* ==================== NOWOŚCI маркіза — мобільна: 2 картки в рядку + long-press ==================== */
@media (max-width:767px){
  /* секція в ширину паска пошуку (16px по боках) */
  html body .dp-newmarquee{ width:calc(100vw - 32px) !important; }
  /* 2 картки в рядку */
  .dp-marquee-track .js-product{
    flex-basis:calc((100vw - 46px)/2) !important; width:calc((100vw - 46px)/2) !important; max-width:calc((100vw - 46px)/2) !important;
  }
}
/* .dp-pressed = стан «довгого натискання» (дублює :hover — значки + 2-ге фото) */
.product-miniature.dp-pressed .dp-img-hover{ opacity:1 !important; }
.product-miniature.dp-pressed .wishlist-button-add,
.product-miniature.dp-pressed .dp-card-actions .dp-act{
  opacity:1 !important; transform:translateY(0) !important; pointer-events:auto !important;
}
.product-miniature.dp-pressed .dp-card-actions .dp-act:nth-child(1){ transition-delay:.05s !important; }
.product-miniature.dp-pressed .dp-card-actions .dp-act:nth-child(2){ transition-delay:.11s !important; }

/* маркіза: трохи вужчі картки, щоб 2 гарантовано влазили в рядок */
@media (max-width:767px){
  .dp-marquee-track .js-product{
    flex-basis:calc((100vw - 52px)/2) !important; width:calc((100vw - 52px)/2) !important; max-width:calc((100vw - 52px)/2) !important;
  }
}

/* ==================== NOWOŚCI — мобільні правки ==================== */
@media (max-width:767px){
  /* 1) фіолетову лінію заголовка ховаємо на мобільному (див. правило нижче з макс. специфічністю) */
  #content .products-section-title,
  .products-section-title{ gap:0 !important; }

  /* 2) свайп карток: нативний горизонтальний скрол зі snap (інерція + магніт до краю) */
  html body .dp-newmarquee .dp-marquee-row.dp-swipe{
    overflow-x:auto !important; overflow-y:visible !important;
    scroll-snap-type:x mandatory !important; -webkit-overflow-scrolling:touch !important;
    scroll-padding-left:0 !important; scrollbar-width:none !important;
    padding-top:6px !important; padding-bottom:6px !important; margin-bottom:14px !important;
    overscroll-behavior-x:contain !important;
  }
  html body .dp-newmarquee .dp-marquee-row.dp-swipe::-webkit-scrollbar{ display:none !important; width:0 !important; height:0 !important; }
  .dp-marquee-row.dp-swipe .dp-marquee-track{ transform:none !important; animation:none !important; width:max-content !important; }
  .dp-marquee-row.dp-swipe .js-product{ scroll-snap-align:start !important; scroll-snap-stop:normal !important; }
}

/* ЛІНІЯ заголовка секції — ПРИХОВАНА на мобільному (рішення юзера 2026-10-09: без ліній на моб.) */
@media (max-width:767px){
  html body#index #content .products-section-title::after,
  html body #content .dp-newmarquee .products-section-title::after,
  html body #content .products-section-title::after,
  html body .featured-products h2.products-section-title::after,
  html body h2.products-section-title::after{
    display:none !important; content:none !important; background:none !important; flex:0 0 0 !important; width:0 !important; height:0 !important;
  }
}

/* ===== однакові МАЛЕНЬКІ відступи (28px) між усіма секціями головної (мобільний, 2026-10-09) =====
   product-секції мали padding:32px, partners/ig — ~30px маржини → різнобій. Уніфікуємо через
   padding-top (НЕ margin — уникаємо margin-collapse, що давав 0/8px). ⚠️ .page-home == #content (ID);
   featured-products padding задає #content-wrapper .featured-products (1,1,0) → потрібні ID у селекторі. */
@media (max-width:767px){
  html body#index #content.page-home > *{ margin-bottom:0 !important; padding-top:36px !important; }
  html body#index #content.page-home > *:not(.dphb-wrap){ margin-top:0 !important; }
  html body#index #content.page-home > .featured-products,
  html body#index #content.page-home > .dpb-home{ padding-bottom:0 !important; }
  html body#index #content.page-home > .dphb-wrap{ padding-top:0 !important; }
  /* останній ряд маркізи не протікає нижньою маржиною (давало +14px лише перед «Nasi Partnerzy») */
  html body#index #content.page-home .dp-newmarquee .dp-marquee-row:last-child,
  html body#index #content.page-home .dp-marquee-row.dp-swipe:last-child{ margin-bottom:0 !important; }
}

/* маркіза мобільна: прибрати гориз. паддінг секції (2 картки не влазили — обрізалась права) */
@media (max-width:767px){
  html body #content .dp-newmarquee,
  html body .dp-newmarquee.featured-products,
  html body .dp-newmarquee{ padding-left:0 !important; padding-right:0 !important; }
}

/* заблокувати нативне довге-натискання (меню «зберегти фото» / виділення) на картках маркізи */
.dp-marquee-track .js-product,
.dp-marquee-track .js-product *,
.dp-marquee-track .js-product img,
.dp-marquee-track .js-product a{
  -webkit-touch-callout:none !important;
  -webkit-user-select:none !important; -moz-user-select:none !important; -ms-user-select:none !important; user-select:none !important;
  -webkit-user-drag:none !important;
}
/* коли картка «розкрита» — значки поверх усього, клікабельні */
.product-miniature.dp-pressed .dp-card-actions,
.product-miniature.dp-pressed .wishlist-button-add{ z-index:10 !important; }
.product-miniature.dp-pressed .dp-card-actions .dp-act,
.product-miniature.dp-pressed .wishlist-button-add{ pointer-events:auto !important; }

/* прибрати білий фон секції Nowości (показати сірий фон сторінки) — ПК і мобільний */
html body #content .dp-newmarquee,
html body .dp-newmarquee.featured-products,
html body .dp-newmarquee{ background:transparent !important; background-color:transparent !important; }

/* перебити зебра-фон секції Nowości — вища специфічність */
html body#index #content .dp-newmarquee.featured-products,
html body#index .page-home .dp-newmarquee.featured-products,
html body #content .dp-newmarquee.featured-products{ background:transparent !important; background-color:transparent !important; }

/* ============ бейдж «NOWOŚĆ» — трохи худіший текст ============ */
html body .product-miniature .product-flag,
html body .product-miniature .product-flag.new,
html body .product-miniature .product-flag.discount{ font-weight:600 !important; }

/* ============ чіткість під час hover-підйому картки ============ */
/* тримати картку на стабільному GPU-шарі → без перерастеризації в нижчій якості */
.product-miniature .thumbnail-container{
  transform:translateZ(0);
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
}
html body .product-miniature .thumbnail-container:hover{
  transform:translate3d(0,-4px,0) !important;   /* той самий підйом, але на GPU */
}
/* зображення/текст — свій чіткий шар, не мутніє */
.product-miniature .dp-img-main img,
.product-miniature .dp-img-hover,
.product-miniature .product-title a,
.product-miniature .product-price-and-shipping .price{
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
  -webkit-transform:translateZ(0); transform:translateZ(0);
}

/* ============ ЧІТКІСТЬ картки: прибрати композит-шар, підйом через top ============ */
/* (translateZ-шар вимикав субпіксельне згладжування → мʼякший текст). Тепер підйом = top, без шару */
html body .product-miniature .thumbnail-container{
  transform:none !important;
  -webkit-backface-visibility:visible !important; backface-visibility:visible !important;
  will-change:auto !important;
  position:relative !important; top:0; z-index:1;
  transition: top .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s ease !important;
}
html body .product-miniature .thumbnail-container:hover{
  transform:none !important; top:-4px !important; z-index:3;
}
/* зображення й текст — без будь-яких трансформ-шарів (повна чіткість) */
html body .product-miniature .dp-img-main img,
html body .product-miniature .dp-img-hover,
html body .product-miniature .product-title a,
html body .product-miniature .product-price-and-shipping .price,
html body .product-miniature .product-description{
  transform:none !important;
  -webkit-backface-visibility:visible !important; backface-visibility:visible !important;
  will-change:auto !important;
}

/* ============ ФІКС: при логіні на ПК — лише ОДНА іконка профілю ============ */
/* шаблон рендерить 2 посилання (logout + account), обидва отримували SVG-іконку → дубль.
   Показуємо тільки акаунт (веде на «Moje konto», де є вихід), лінк «Sign out» ховаємо. */
#header .header-top-nav2 .user-info a.logout{ display:none !important; }

/* ФІКС дубль-іконки профілю — вища специфічність (2 id, як конкурентне правило) */
#header .header-top-nav2 #_desktop_user_info .user-info a.logout{ display:none !important; }

/* ============ 3D-глибина тексту на звороті промо-карток (як clavier.pl --3d) ============ */
/* менша перспектива = виразніша глибина; зворот у preserve-3d, контент «спливає» translateZ */
html body .dphb-card{ perspective:1000px !important; }
html body .dphb-card-back{ transform-style:preserve-3d !important; }
html body .mode-flip:hover .dphb-card-back,
html body .mode-flip:focus-within .dphb-card-back,
html body .mode-flip.is-flipped .dphb-card-back,
html body .mode-darken:hover .dphb-card-back,
html body .mode-darken:focus-within .dphb-card-back,
html body .mode-darken.is-flipped .dphb-card-back{ overflow:visible !important; }
/* шари глибини: текст < код < кнопка (кнопка найближче до глядача) */
html body .dphb-card-back .dphb-back-text{ transform:translateZ(40px) !important; }
html body .dphb-card-back .dphb-code{ transform:translateZ(58px) !important; }
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(78px) !important; }
html body .dphb-card-back .dphb-card-btn:hover{ transform:translateZ(78px) translateY(-2px) !important; }

/* ============ Промо-картки: чиста глибина при перевороті (без нахилу за мишкою) ============ */
/* 1) прибрати «брудну» віньєтку під текстом */
html body .dphb-card-back::after{ display:none !important; content:none !important; background:none !important; }
/* 2) прибрати нахил картки за курсором (лишаємо лише переворот + глибину) */
html body .dphb-card-inner{ transform:none !important; }
/* 3) більша відстань контенту від фону + тінь-«зазор» під ним */
html body .dphb-card-back .dphb-back-text{ transform:translateZ(55px) !important; text-shadow:0 9px 18px rgba(0,0,0,.55) !important; }
html body .dphb-card-back .dphb-code{ transform:translateZ(80px) !important; box-shadow:0 12px 22px rgba(0,0,0,.42) !important; }
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(105px) !important; box-shadow:0 16px 30px rgba(0,0,0,.5) !important; }
html body .dphb-card-back .dphb-card-btn:hover{ transform:translateZ(105px) translateY(-2px) !important; }

/* фіксований легкий нахил при перевороті (НЕ за мишкою) — щоб глибина/відстань читалась */
html body .dphb-card-inner{ transition:transform .5s cubic-bezier(.2,.8,.2,1) !important; }
html body .mode-flip.is-flipped .dphb-card-inner,
html body .mode-flip:hover .dphb-card-inner,
html body .mode-flip:focus-within .dphb-card-inner,
html body .mode-darken.is-flipped .dphb-card-inner,
html body .mode-darken:hover .dphb-card-inner,
html body .mode-darken:focus-within .dphb-card-inner{ transform:rotateX(8deg) !important; }

/* ============ Промо-картки: глибина ЛИШЕ під час перевороту, без нахилу, без фону тексту ============ */
/* 1) нахил прибрати повністю */
html body .dphb-card-inner,
html body .mode-flip.is-flipped .dphb-card-inner,
html body .mode-flip:hover .dphb-card-inner,
html body .mode-flip:focus-within .dphb-card-inner,
html body .mode-darken.is-flipped .dphb-card-inner,
html body .mode-darken:hover .dphb-card-inner,
html body .mode-darken:focus-within .dphb-card-inner{ transform:none !important; }

/* 2) чистий текст без тіней/фону */
html body .dphb-card-back .dphb-back-text{ text-shadow:none !important; background:none !important; }
html body .dphb-card-back .dphb-code{ box-shadow:none !important; }
html body .dphb-card-back .dphb-card-btn{ box-shadow:0 3px 10px rgba(0,0,0,.14) !important; }

/* 3) глибина ТІЛЬКИ під час обертання: контент виступає (translateZ) → у перевернутому стані пласко (0) */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{
  transform:translateZ(65px) !important;
  transition:transform .55s cubic-bezier(.4,0,.2,1) !important;
}
html body .mode-flip:hover .dphb-card-back .dphb-back-text,
html body .mode-flip:focus-within .dphb-card-back .dphb-back-text,
html body .mode-flip.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-darken:hover .dphb-card-back .dphb-back-text,
html body .mode-darken:focus-within .dphb-card-back .dphb-back-text,
html body .mode-darken.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-flip:hover .dphb-card-back .dphb-code,
html body .mode-flip.is-flipped .dphb-card-back .dphb-code,
html body .mode-darken:hover .dphb-card-back .dphb-code,
html body .mode-darken.is-flipped .dphb-card-back .dphb-code,
html body .mode-flip:hover .dphb-card-back .dphb-card-btn,
html body .mode-flip.is-flipped .dphb-card-back .dphb-card-btn,
html body .mode-darken:hover .dphb-card-back .dphb-card-btn,
html body .mode-darken.is-flipped .dphb-card-back .dphb-card-btn{ transform:translateZ(0) !important; }
html body .mode-flip:hover .dphb-card-back .dphb-card-btn:hover,
html body .mode-flip.is-flipped .dphb-card-back .dphb-card-btn:hover{ transform:translateZ(0) translateY(-2px) !important; }

/* сильніший ефект відставання: Z-виступ 65 → 100 */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(100px) !important; }

/* ДІАГНОСТИКА: Z-виступ 500 */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(500px) !important; }

/* Z-виступ назад до 100 (500 було діагностикою) */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(100px) !important; }

/* ЧИСТИЙ 3D-ПЕРЕВОРОТ без opacity-згасання → зворот видно під час обертання, глибина помітна */
html body .mode-flip .dphb-card-front,
html body .mode-flip .dphb-card-back{
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
}
html body .mode-flip .dphb-card-back,
html body .mode-flip:hover .dphb-card-back,
html body .mode-flip:focus-within .dphb-card-back,
html body .mode-flip.is-flipped .dphb-card-back{ opacity:1 !important; }
html body .mode-flip .dphb-card-front,
html body .mode-flip:hover .dphb-card-front,
html body .mode-flip:focus-within .dphb-card-front,
html body .mode-flip.is-flipped .dphb-card-front{ opacity:1 !important; }

/* Z-виступ 300 */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(300px) !important; }

/* ============ Відставання тексту ПІД ЧАС перевороту: утримати виступ, опустити в кінці ============ */
/* базовий стан — пласко (без transition, керує анімація) */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{ transform:translateZ(0) !important; transition:none !important; }
/* під час перевороту — програти анімацію відставання */
html body .mode-flip:hover .dphb-card-back .dphb-back-text,
html body .mode-flip:focus-within .dphb-card-back .dphb-back-text,
html body .mode-flip.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-darken:hover .dphb-card-back .dphb-back-text,
html body .mode-darken.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-flip:hover .dphb-card-back .dphb-code,
html body .mode-flip.is-flipped .dphb-card-back .dphb-code,
html body .mode-darken:hover .dphb-card-back .dphb-code,
html body .mode-darken.is-flipped .dphb-card-back .dphb-code,
html body .mode-flip:hover .dphb-card-back .dphb-card-btn,
html body .mode-flip.is-flipped .dphb-card-back .dphb-card-btn,
html body .mode-darken:hover .dphb-card-back .dphb-card-btn,
html body .mode-darken.is-flipped .dphb-card-back .dphb-card-btn{
  animation:dphbLag .6s cubic-bezier(.25,0,.2,1) both !important;
}
@keyframes dphbLag{
  0%{ transform:translateZ(180px); }
  62%{ transform:translateZ(180px); }
  100%{ transform:translateZ(0); }
}

/* ============ ВІДСТАВАННЯ тексту при перевороті — фінальна версія (transition + hold) ============ */
/* вища специфічність (div.dphb-card) щоб перебити всі попередні правила; animation:none прибирає зламану keyframe */
html body div.dphb-card.mode-flip .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-flip .dphb-card-back .dphb-code,
html body div.dphb-card.mode-flip .dphb-card-back .dphb-card-btn,
html body div.dphb-card.mode-darken .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-darken .dphb-card-back .dphb-code,
html body div.dphb-card.mode-darken .dphb-card-back .dphb-card-btn{
  transform: translateZ(150px) !important;
  transition: transform .6s cubic-bezier(.78,0,.95,.25) !important;   /* тримає виступ, опускає в кінці */
  animation: none !important;
}
html body div.dphb-card.mode-flip:hover .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-flip:hover .dphb-card-back .dphb-code,
html body div.dphb-card.mode-flip:hover .dphb-card-back .dphb-card-btn,
html body div.dphb-card.mode-flip:focus-within .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-flip:focus-within .dphb-card-back .dphb-code,
html body div.dphb-card.mode-flip:focus-within .dphb-card-back .dphb-card-btn,
html body div.dphb-card.mode-flip.is-flipped .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-flip.is-flipped .dphb-card-back .dphb-code,
html body div.dphb-card.mode-flip.is-flipped .dphb-card-back .dphb-card-btn,
html body div.dphb-card.mode-darken:hover .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-darken:hover .dphb-card-back .dphb-code,
html body div.dphb-card.mode-darken:hover .dphb-card-back .dphb-card-btn,
html body div.dphb-card.mode-darken.is-flipped .dphb-card-back .dphb-back-text,
html body div.dphb-card.mode-darken.is-flipped .dphb-card-back .dphb-code,
html body div.dphb-card.mode-darken.is-flipped .dphb-card-back .dphb-card-btn{
  transform: translateZ(0) !important;
}

/* ============ ФІНАЛ: базовий виступ (транзиція-hold), перебиває всі попередні (дописано останнім) ============ */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{
  transform: translateZ(150px) !important;
  transition: transform .6s cubic-bezier(.78,0,.95,.25) !important;
}
/* перевернуто — пласко (вища специфічність :hover/.is-flipped) */
html body .mode-flip:hover .dphb-card-back .dphb-back-text,
html body .mode-flip:focus-within .dphb-card-back .dphb-back-text,
html body .mode-flip.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-flip:hover .dphb-card-back .dphb-code,
html body .mode-flip.is-flipped .dphb-card-back .dphb-code,
html body .mode-flip:hover .dphb-card-back .dphb-card-btn,
html body .mode-flip.is-flipped .dphb-card-back .dphb-card-btn,
html body .mode-darken:hover .dphb-card-back .dphb-back-text,
html body .mode-darken.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-darken:hover .dphb-card-back .dphb-code,
html body .mode-darken.is-flipped .dphb-card-back .dphb-code,
html body .mode-darken:hover .dphb-card-back .dphb-card-btn,
html body .mode-darken.is-flipped .dphb-card-back .dphb-card-btn{ transform: translateZ(0px) !important; }

/* ============ ФІНАЛ v2: вимкнути стару анімацію dphbLag, транзиція-hold керує ============ */
html body .dphb-card-back .dphb-back-text,
html body .dphb-card-back .dphb-code,
html body .dphb-card-back .dphb-card-btn{
  transform: translateZ(150px) !important;
  transition: transform .55s cubic-bezier(.7,0,.9,.22) !important;
  animation: none !important;
}
/* усі стани "перевернуто": пласко + анімація вимкнена (0,3,2 — останнє виграє над dphbLag) */
html body .mode-flip:hover .dphb-card-back .dphb-back-text,
html body .mode-flip:focus-within .dphb-card-back .dphb-back-text,
html body .mode-flip.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-flip:hover .dphb-card-back .dphb-code,
html body .mode-flip:focus-within .dphb-card-back .dphb-code,
html body .mode-flip.is-flipped .dphb-card-back .dphb-code,
html body .mode-flip:hover .dphb-card-back .dphb-card-btn,
html body .mode-flip:focus-within .dphb-card-back .dphb-card-btn,
html body .mode-flip.is-flipped .dphb-card-back .dphb-card-btn,
html body .mode-darken:hover .dphb-card-back .dphb-back-text,
html body .mode-darken:focus-within .dphb-card-back .dphb-back-text,
html body .mode-darken.is-flipped .dphb-card-back .dphb-back-text,
html body .mode-darken:hover .dphb-card-back .dphb-code,
html body .mode-darken.is-flipped .dphb-card-back .dphb-code,
html body .mode-darken:hover .dphb-card-back .dphb-card-btn,
html body .mode-darken.is-flipped .dphb-card-back .dphb-card-btn{
  transform: translateZ(0px) !important;
  animation: none !important;
}

/* ================= ФІНАЛ: справжній 3D-переворот + глибина на обох боках ================= */
/* Обертаємо INNER (preserve-3d), а не грані окремо */
html body .dphb-card.mode-flip .dphb-card-inner{
  position:absolute !important; inset:0 !important;
  transform-style:preserve-3d !important;
  transform:rotateY(0deg) !important;
  transition:transform .62s cubic-bezier(.4,0,.2,1) !important;
}
html body .dphb-card.mode-flip:hover .dphb-card-inner,
html body .dphb-card.mode-flip:focus-within .dphb-card-inner,
html body .dphb-card.mode-flip.is-flipped .dphb-card-inner{ transform:rotateY(180deg) !important; }

/* Грані: фіксована орієнтація, backface cull, БЕЗ opacity-переходу, overflow видимий (для глибини) */
html body .dphb-card.mode-flip .dphb-card-front,
html body .dphb-card.mode-flip .dphb-card-back{
  overflow:visible !important;
  opacity:1 !important;
  transition:none !important;
  transform-style:preserve-3d !important;
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
}
html body .dphb-card.mode-flip .dphb-card-front,
html body .dphb-card.mode-flip:hover .dphb-card-front,
html body .dphb-card.mode-flip:focus-within .dphb-card-front,
html body .dphb-card.mode-flip.is-flipped .dphb-card-front{ transform:rotateY(0deg) !important; z-index:auto !important; }
html body .dphb-card.mode-flip .dphb-card-back,
html body .dphb-card.mode-flip:hover .dphb-card-back,
html body .dphb-card.mode-flip:focus-within .dphb-card-back,
html body .dphb-card.mode-flip.is-flipped .dphb-card-back{ transform:rotateY(180deg) !important; z-index:auto !important; }

/* Фото переднього боку — теж backface cull, щоб не показувалось дзеркально у 2-й половині */
html body .dphb-card.mode-flip .dphb-card-media{ -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important; }

/* ---- ГЛИБИНА КОНТЕНТУ (75px, удвічі менше за 150) ---- */
/* FRONT: пласко в спокої → відходить при перевороті */
html body .dphb-card.mode-flip .dphb-front-text,
html body .dphb-card.mode-flip .dphb-badge{
  transform:translateZ(0px) !important;
  transition:transform .62s cubic-bezier(.4,0,.2,1) !important;
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
  animation:none !important;
}
html body .dphb-card.mode-flip:hover .dphb-front-text,
html body .dphb-card.mode-flip:focus-within .dphb-front-text,
html body .dphb-card.mode-flip.is-flipped .dphb-front-text,
html body .dphb-card.mode-flip:hover .dphb-badge,
html body .dphb-card.mode-flip:focus-within .dphb-badge,
html body .dphb-card.mode-flip.is-flipped .dphb-badge{ transform:translateZ(75px) !important; }

/* BACK: спливає коли з'являється → сідає пласко коли перевернуто */
html body .dphb-card.mode-flip .dphb-back-text,
html body .dphb-card.mode-flip .dphb-code,
html body .dphb-card.mode-flip .dphb-card-btn{
  transform:translateZ(75px) !important;
  transition:transform .62s cubic-bezier(.4,0,.2,1) !important;
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
  animation:none !important;
}
html body .dphb-card.mode-flip:hover .dphb-back-text,
html body .dphb-card.mode-flip:focus-within .dphb-back-text,
html body .dphb-card.mode-flip.is-flipped .dphb-back-text,
html body .dphb-card.mode-flip:hover .dphb-code,
html body .dphb-card.mode-flip:focus-within .dphb-code,
html body .dphb-card.mode-flip.is-flipped .dphb-code,
html body .dphb-card.mode-flip:hover .dphb-card-btn,
html body .dphb-card.mode-flip:focus-within .dphb-card-btn,
html body .dphb-card.mode-flip.is-flipped .dphb-card-btn{ transform:translateZ(0px) !important; }

/* ================= КОПІЯ clavier.pl: effect-flip + 3d + direction-up ================= */
/* Контейнер граней = аналог .elementor-flip-box (perspective + preserve-3d). Inner НЕ обертаємо. */
html body .dphb-card.mode-flip{ perspective:none !important; }
html body .dphb-card.mode-flip .dphb-card-inner{
  perspective:1000px !important;
  transform-style:preserve-3d !important;
  transform:none !important;
  transition:none !important;
}
html body .dphb-card.mode-flip:hover .dphb-card-inner,
html body .dphb-card.mode-flip:focus-within .dphb-card-inner,
html body .dphb-card.mode-flip.is-flipped .dphb-card-inner{ transform:none !important; }

/* Грані = __layer: backface-hidden, preserve-3d, transition 0.6s ease-in-out, окреме обертання по X */
html body .dphb-card.mode-flip .dphb-card-front,
html body .dphb-card.mode-flip .dphb-card-back{
  transition:transform .6s ease-in-out !important;
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
  transform-style:preserve-3d !important;
  overflow:visible !important;
  opacity:1 !important;
}
/* rest (direction-up) */
html body .dphb-card.mode-flip .dphb-card-front{ transform:rotateX(0deg) rotateY(0deg) !important; z-index:auto !important; }
html body .dphb-card.mode-flip .dphb-card-back{ transform:rotateX(-180deg) rotateY(0deg) !important; z-index:auto !important; }
/* flipped */
html body .dphb-card.mode-flip:hover .dphb-card-front,
html body .dphb-card.mode-flip:focus-within .dphb-card-front,
html body .dphb-card.mode-flip.is-flipped .dphb-card-front{ transform:rotateX(180deg) rotateY(0deg) !important; }
html body .dphb-card.mode-flip:hover .dphb-card-back,
html body .dphb-card.mode-flip:focus-within .dphb-card-back,
html body .dphb-card.mode-flip.is-flipped .dphb-card-back{ transform:rotateX(0deg) rotateY(0deg) !important; }

/* Фото переднього боку — на площині грані, backface cull */
html body .dphb-card.mode-flip .dphb-card-media{
  transform:none !important;
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
}

/* ГЛИБИНА (як __layer__inner у clavier): ПОСТІЙНИЙ translateZ(90px) scale(.91) на контенті */
html body .dphb-card.mode-flip .dphb-front-text,
html body .dphb-card.mode-flip .dphb-badge,
html body .dphb-card.mode-flip .dphb-back-text,
html body .dphb-card.mode-flip .dphb-code,
html body .dphb-card.mode-flip .dphb-card-btn,
html body .dphb-card.mode-flip:hover .dphb-front-text,
html body .dphb-card.mode-flip:focus-within .dphb-front-text,
html body .dphb-card.mode-flip.is-flipped .dphb-front-text,
html body .dphb-card.mode-flip:hover .dphb-badge,
html body .dphb-card.mode-flip.is-flipped .dphb-badge,
html body .dphb-card.mode-flip:hover .dphb-back-text,
html body .dphb-card.mode-flip:focus-within .dphb-back-text,
html body .dphb-card.mode-flip.is-flipped .dphb-back-text,
html body .dphb-card.mode-flip:hover .dphb-code,
html body .dphb-card.mode-flip.is-flipped .dphb-code,
html body .dphb-card.mode-flip:hover .dphb-card-btn,
html body .dphb-card.mode-flip:focus-within .dphb-card-btn,
html body .dphb-card.mode-flip.is-flipped .dphb-card-btn{
  transform:translateZ(90px) scale(.91) !important;
  transition:none !important;
  animation:none !important;
  -webkit-backface-visibility:hidden !important; backface-visibility:hidden !important;
}

/* ===== Глибина вдвічі ближче: translateZ 90→45, scale .91→.955 ===== */
html body .dphb-card.mode-flip .dphb-front-text,
html body .dphb-card.mode-flip .dphb-badge,
html body .dphb-card.mode-flip .dphb-back-text,
html body .dphb-card.mode-flip .dphb-code,
html body .dphb-card.mode-flip .dphb-card-btn,
html body .dphb-card.mode-flip:hover .dphb-front-text,
html body .dphb-card.mode-flip:focus-within .dphb-front-text,
html body .dphb-card.mode-flip.is-flipped .dphb-front-text,
html body .dphb-card.mode-flip:hover .dphb-badge,
html body .dphb-card.mode-flip.is-flipped .dphb-badge,
html body .dphb-card.mode-flip:hover .dphb-back-text,
html body .dphb-card.mode-flip:focus-within .dphb-back-text,
html body .dphb-card.mode-flip.is-flipped .dphb-back-text,
html body .dphb-card.mode-flip:hover .dphb-code,
html body .dphb-card.mode-flip.is-flipped .dphb-code,
html body .dphb-card.mode-flip:hover .dphb-card-btn,
html body .dphb-card.mode-flip:focus-within .dphb-card-btn,
html body .dphb-card.mode-flip.is-flipped .dphb-card-btn{
  transform:translateZ(45px) scale(.955) !important;
}

/* ===== Ширший банер: менші відступи від краю монітора ===== */
@media(min-width:992px){
  html body .dphb-wrap{ width:min(1860px, 96vw) !important; }
}

/* ===== ПК: бейдж кількості товарів кружечком на іконці кошика (як на мобільній) ===== */
#header .header-top-nav2 .blockcart .header a.cart-link .cart-products-count{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  position:absolute !important; top:-6px !important; right:-9px !important;
  min-width:17px !important; height:17px !important; padding:0 4px !important;
  background:#bf78ee !important; color:#fff !important; border-radius:50% !important;
  font-size:10.5px !important; font-weight:700 !important; line-height:1 !important;
  box-shadow:0 1px 4px rgba(0,0,0,.22) !important; box-sizing:border-box !important;
}
/* порожній кошик (0 товарів) — ховати кружечок */
#header .header-top-nav2 .blockcart.inactive .header a.cart-link .cart-products-count{ display:none !important; }

/* ===== Бейдж кошика на ПК не має обрізатись — прибрати overflow:hidden з blockcart ===== */
#header .header-top-nav2 .blockcart,
#header .header-top-nav2 .blockcart.cart-preview,
#header .header-top-nav2 .blockcart.cart-preview.active,
#header .header-top-nav2 .blockcart .header{ overflow:visible !important; }

/* ===== Бейдж кошика ПК: без білої рамки — повністю фіолетовий ===== */
#header .header-top-nav2 .blockcart .header a.cart-link .cart-products-count,
#header .header-top-nav2 .blockcart .cart-products-count{
  border:0 !important; outline:0 !important;
}

/* ===== Popularne produkty + Wyprzedaż — szerokosc jak Nowosci (wyjscie z waskiego kontenera) ===== */
#index .featured-products{
  position:relative; left:50%; transform:translateX(-50%);
  width:min(1360px, 96vw) !important; max-width:none !important;
  box-sizing:border-box; padding-left:0 !important; padding-right:0 !important;
}
#index .featured-products .products-section-title{ padding-left:2px !important; }

/* ===== Popularne produkty / Wyprzedaz jako marquee — bez bialego tla + link ===== */
#index .featured-products{ background:transparent !important; }
.dp-marquee-all{ text-align:center; margin-top:8px; }  /* було 16px — менше повітря над посиланням «Wszystkie…» */
.dp-marquee-all .all-product-link{ display:inline-block; color:#bf78ee; font-weight:700;
  text-decoration:none; font-size:15px; letter-spacing:.01em; }
.dp-marquee-all .all-product-link:hover{ color:#a855d4; }

/* ===== DP SHOP: payment methods strip — end of the white content area, before the dark footer ===== */
.dp-footer-payments{ background:#fff; padding:32px 0; text-align:center; }
.dp-footer-payments-img{ max-width:100%; height:auto; display:inline-block; }
@media (max-width:767px){
  .dp-footer-payments{ padding:24px 12px; }
}

/* ===== DP SHOP custom footer ===== */
.dp-footer-wrap{background:#f7f2fb;border-top:1px solid #ece3f5;margin-top:40px;padding:44px 0 8px}
.dp-footer{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start;justify-content:space-between}
.dp-foot-company{display:flex;gap:22px;align-items:flex-start;flex:1 1 340px;min-width:300px}
.dp-foot-logo{flex:0 0 auto}
.dp-foot-logo img{max-width:140px;height:auto;display:block}
.dp-foot-info p{margin:0 0 6px;color:#4a4a4a;font-size:14px;line-height:1.5}
.dp-foot-info .dp-foot-name{font-weight:700;color:#2b2b2b;font-size:15px;margin-bottom:10px}
.dp-foot-info a{color:#7d3ec4;text-decoration:none}
.dp-foot-info a:hover{text-decoration:underline}
.dp-foot-col{flex:0 1 auto;min-width:170px}
.dp-foot-h{font-size:16px;font-weight:700;color:#2b2b2b;margin:0 0 16px;text-transform:none}
.dp-foot-col ul{list-style:none;margin:0;padding:0}
.dp-foot-col li{margin:0 0 10px}
.dp-foot-col a{color:#5a5a5a;text-decoration:none;font-size:14px;line-height:1.4;transition:color .15s}
.dp-foot-col a:hover{color:#9b51e0}
.dp-footer-bottom{border-top:1px solid #ece3f5;margin-top:34px;padding:18px 0 6px;text-align:center}
.dp-footer-bottom p{margin:0;color:#8a8a8a;font-size:13px}
@media (max-width:991px){
  .dp-footer{gap:28px}
  .dp-foot-company{flex:1 1 100%;min-width:0}
  .dp-foot-col{flex:1 1 40%;min-width:150px}
}
@media (max-width:575px){
  .dp-footer-wrap{padding:32px 0 8px}
  .dp-foot-company{flex-direction:row}
  .dp-foot-logo img{max-width:96px}
  .dp-foot-col{flex:1 1 100%}
}

/* ===== DP SHOP footer v2: banner width + dark theme + newsletter ===== */
/* widen footer & newsletter to promo-banner width */
#footer .container{width:min(1560px,93vw)!important;max-width:min(1560px,93vw)!important;margin-left:auto!important;margin-right:auto!important}
/* footer dark-theme colors */
#footer .dp-footer-wrap{background:transparent!important;border-top:1px solid rgba(255,255,255,.08)}
#footer .dp-foot-company{gap:40px}
#footer .dp-foot-logo img{max-width:150px;width:100%;height:auto;display:block}
#footer .dp-foot-info p{color:#c7bfd2}
#footer .dp-foot-info .dp-foot-name{color:#fff;font-weight:700}
#footer .dp-foot-info a{color:#c98bff}
#footer .dp-foot-h{color:#fff}
#footer .dp-foot-col a{color:#c7bfd2}
#footer .dp-foot-col a:hover{color:#c98bff}
#footer .dp-footer-bottom{border-top:1px solid rgba(255,255,255,.08)}
#footer .dp-footer-bottom p{color:#8f8798}
/* ===== Newsletter (dark, banner style) ===== */
#footer .dp-newsletter{display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding:40px 0;border-bottom:1px solid rgba(255,255,255,.08);width:100%}
#footer .dp-nl-head{flex:0 0 auto;position:relative;padding-right:40px}
#footer .dp-nl-head::after{content:"";position:absolute;right:0;top:8px;bottom:8px;width:1px;background:rgba(255,255,255,.16)}
#footer .dp-nl-title{font-size:40px;font-weight:800;letter-spacing:1px;margin:0 0 8px;line-height:1;color:#a259d6}
#footer .dp-nl-sub{margin:0;color:#a259d6;font-size:16px}
#footer .dp-nl-form{flex:1 1 460px;min-width:280px}
#footer .dp-nl-inputrow{display:flex;max-width:660px}
#footer .dp-nl-email{flex:1 1 auto;background:#26222b;border:1px solid #4a3f57;border-right:0;border-radius:10px 0 0 10px;color:#fff;padding:14px 18px;font-size:15px;outline:none;min-width:0}
#footer .dp-nl-email::placeholder{color:#9a90a6}
#footer .dp-nl-email:focus{border-color:#a259d6}
#footer .dp-nl-btn{flex:0 0 auto;border:0;border-radius:0 10px 10px 0;background:#a259d6;color:#fff;font-weight:700;letter-spacing:.5px;padding:0 30px;cursor:pointer;text-transform:uppercase;font-size:14px;transition:background .15s}
#footer .dp-nl-btn:hover{background:#8f43c7}
#footer .dp-nl-consent{display:flex;align-items:flex-start;gap:10px;margin-top:14px;max-width:660px}
#footer .dp-nl-consent input{margin-top:2px;accent-color:#a259d6;width:16px;height:16px;flex:0 0 auto}
#footer .dp-nl-consent span{color:#c7bfd2;font-size:13px;line-height:1.45}
#footer .dp-nl-consent a{color:#c98bff;text-decoration:none}
#footer .dp-nl-consent a:hover{text-decoration:underline}
#footer .dp-nl-msg{margin-top:10px;font-size:13px}
#footer .dp-nl-msg.is-ok{color:#7dd88f}
#footer .dp-nl-msg.is-error{color:#ff8a8a}
@media (max-width:767px){
  #footer .dp-newsletter{gap:20px}
  #footer .dp-nl-head{padding-right:0}
  #footer .dp-nl-head::after{display:none}
  #footer .dp-nl-title{font-size:30px}
}
/* DP newsletter title override (beats #footer h2 theme rule) */
#footer .dp-newsletter .dp-nl-title{color:#a259d6!important;font-size:40px!important;font-weight:800!important;line-height:1!important;margin:0 0 8px!important;text-transform:none!important;letter-spacing:1px!important}
#footer .dp-newsletter .dp-nl-sub{color:#b98fe0!important;font-size:16px!important}

/* ===== DP SHOP footer v3: desktop gaps + centered newsletter + mobile accordion ===== */
/* --- desktop layout tuning --- */
#footer .dp-footer{justify-content:center;gap:60px;align-items:flex-start}
#footer .dp-foot-company{flex:0 0 auto;gap:52px}
#footer .dp-newsletter{justify-content:center}
/* accordion controls behave as plain titles on desktop */
#footer .dp-acc-head{background:none;border:0;padding:0;margin:0 0 16px;font-size:16px;font-weight:700;color:#fff;cursor:default;text-align:left;display:block;width:auto;font-family:inherit}
#footer .dp-acc-head--company{display:none}
#footer .dp-acc-ico{display:none}
#footer .dp-acc-txt{border:0;padding:0}
#footer .dp-acc-body{display:block}

/* --- mobile: newsletter stacked + centered --- */
@media (max-width:767px){
  #footer .dp-newsletter{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px;padding:32px 0}
  #footer .dp-nl-head{padding-right:0;width:100%}
  #footer .dp-nl-head::after{display:none}
  #footer .dp-nl-title{font-size:30px!important}
  #footer .dp-nl-sub{font-size:16px!important}
  #footer .dp-nl-form{width:100%;flex-basis:auto;min-width:0}
  #footer .dp-nl-inputrow{flex-direction:column;max-width:none;gap:12px}
  #footer .dp-nl-email{border:1px solid #4a3f57;border-radius:10px;text-align:left}
  #footer .dp-nl-btn{border-radius:10px;width:100%;padding:15px 30px}
  #footer .dp-nl-consent{max-width:none;text-align:left;justify-content:flex-start}
}

/* --- mobile: footer accordion --- */
@media (max-width:767px){
  #footer .dp-footer{flex-direction:column;gap:0;justify-content:flex-start;align-items:stretch;text-align:center}
  #footer .dp-foot-logo{display:none}
  #footer .dp-foot-company,
  #footer .dp-foot-col{width:100%;min-width:0;border-bottom:1px solid rgba(255,255,255,.09)}
  #footer .dp-foot-company{gap:0}
  #footer .dp-acc-head,
  #footer .dp-acc-head--company{display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;background:none;border:0;color:#fff;font-size:16px;font-weight:700;padding:17px 8px;margin:0;cursor:pointer;text-align:center}
  #footer .dp-acc-txt{display:inline-block;border-bottom:2px solid #a259d6;padding-bottom:3px}
  #footer .dp-acc-ico{display:inline-block;width:8px;height:8px;border-right:2px solid #a259d6;border-bottom:2px solid #a259d6;transform:rotate(45deg) translateY(-2px);transition:transform .3s ease}
  #footer .dp-acc.is-open .dp-acc-ico{transform:rotate(225deg) translateY(-2px)}
  #footer .dp-acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .38s cubic-bezier(.4,0,.2,1)}
  #footer .dp-acc.is-open .dp-acc-body{grid-template-rows:1fr}
  #footer .dp-acc-body > *{overflow:hidden;min-height:0}
  #footer .dp-foot-info{padding:2px 0 18px}
  #footer .dp-foot-info p{text-align:center}
  #footer .dp-foot-col ul{padding:2px 0 14px}
  #footer .dp-foot-col li{margin:0 0 13px}
  #footer .dp-foot-col a{font-size:15px}
  #footer .dp-footer-bottom{text-align:center}
}
/* newsletter centered group on desktop */
@media (min-width:768px){
  #footer .dp-nl-form{flex:0 0 auto}
  #footer .dp-nl-inputrow{width:560px}
}
/* accordion collapse fix: max-height mechanism */
@media (max-width:767px){
  #footer .dp-foot-company{display:block}
  #footer .dp-acc-body{display:block;overflow:hidden;max-height:0;transition:max-height .42s cubic-bezier(.4,0,.2,1)}
  #footer .dp-acc.is-open .dp-acc-body{max-height:560px}
  #footer .dp-acc-body > *{overflow:visible;min-height:0}
}
/* ===== DP SHOP footer v4: stretch + compact mobile nl + no focus frame ===== */
/* remove purple focus frame on accordion headers */
#footer .dp-acc-head{-webkit-tap-highlight-color:transparent}
#footer .dp-acc-head:focus,#footer .dp-acc-head:focus-visible,#footer .dp-acc-head:active{outline:0!important;box-shadow:none!important;border:0!important}
/* desktop: stretch footer row to full banner width, equal gaps */
@media (min-width:768px){
  #footer .dp-footer{justify-content:space-between;gap:40px}
}
/* mobile: compact newsletter */
@media (max-width:767px){
  #footer .dp-newsletter{gap:10px;padding:26px 0}
  #footer .dp-nl-title{font-size:26px!important;margin-bottom:4px!important}
  #footer .dp-nl-sub{font-size:14px!important}
  #footer .dp-nl-email{padding:11px 15px;font-size:14px}
  #footer .dp-nl-btn{padding:11px 24px;font-size:13px}
  #footer .dp-nl-inputrow{gap:9px}
  #footer .dp-nl-consent{margin-top:10px}
  #footer .dp-nl-consent span{font-size:12px}
}

/* ===== DP SHOP mobile kinetic drawer (v4: edge-peek, choreographed close, accordion) ===== */
html.dp-drawer-lock{overflow:hidden!important}
/* burger + hide theme icon */
.dp-burger{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:6px 8px;margin:0;cursor:pointer;color:#131313;-webkit-tap-highlight-color:transparent;line-height:0}
.dp-burger:focus,.dp-burger:focus-visible{outline:0;box-shadow:none}
.dp-burger svg{width:26px;height:26px;display:block}
#menu-icon{display:none!important}
/* header layout fix (burger left / logo center / icons right) */
@media (max-width:991px){
  .mobile{display:flex!important;align-items:center!important;position:relative!important;flex-wrap:nowrap!important}
  .mobile > div,.mobile > .dp-burger{float:none!important}
  .mobile .dp-burger{order:0!important;margin:0 auto 0 0!important}
  .mobile .top-logo{order:1!important;position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important}
  .mobile .dp-sticky-search{order:2!important}
  .mobile .float-xs-right{order:3!important;margin:0!important}
  .mobile .float-xs-right.dp-cart-empty{order:4!important}
  #mobile_top_menu_wrapper{display:none!important}
}
/* backdrop (matte blur) */
#dp-drawer-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(15,13,18,.5);-webkit-backdrop-filter:blur(7px) saturate(.9);backdrop-filter:blur(7px) saturate(.9);opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease}
#dp-drawer-backdrop.is-open{opacity:1;visibility:visible}
/* drawer shell (90%, layered, rounded) */
/* width:90VW (НЕ 90%!) — filter:blur на body>main робив main containing-block'ом fixed-драйвера,
   тож 90% рахувалось від ширини main (721px)→460px; при знятті блюру (close) ширина стрибала
   338↔460 = «на весь екран перед закриттям». vw рахується від viewport → стабільно, без стрибка. */
#dp-drawer{position:fixed;top:0;left:0;height:100%;height:100dvh;width:90vw;max-width:460px;z-index:99999;overflow:hidden;pointer-events:none;border-radius:0 22px 22px 0;will-change:transform}
#dp-drawer:not(.is-open){box-shadow:none}
#dp-drawer.is-open{pointer-events:auto;box-shadow:14px 0 48px rgba(0,0,0,.55)}
/* layers: purple -> white -> black; CLOSE delays (base) reversed & AFTER items */
.dp-layer{position:absolute;inset:0;transform:translateX(-100%);transition:transform .5s cubic-bezier(.65,.05,0,1);will-change:transform;backface-visibility:hidden}
.dp-layer-1{background:#a259d6;transition-delay:.52s}
.dp-layer-2{background:#0d0d0f;transition-delay:.42s}
#dp-drawer.is-open .dp-layer-1{transform:translateX(0);transition-delay:0s}
#dp-drawer.is-open .dp-layer-2{transform:translateX(0);transition-delay:.1s}
/* WHITE panel holds content on top; inset 2px so the (now black) layer peeks at edges */
.dp-drawer-panel{position:absolute;top:2px;right:2px;bottom:2px;left:0;background:#ffffff;border-radius:0 20px 20px 0;transform:translateX(-100%);transition:transform .5s cubic-bezier(.65,.05,0,1);transition-delay:.32s;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;padding:14px 22px 42px;will-change:transform;backface-visibility:hidden}
#dp-drawer.is-open .dp-drawer-panel{transform:translateX(0);transition-delay:.2s}
/* head: close (left, no logo) */
.dp-drawer-head{display:flex;align-items:center;justify-content:flex-start;margin-bottom:12px;padding-top:4px}
.dp-drawer-close{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;color:#1d1d1f;cursor:pointer;padding:8px 10px 8px 0;-webkit-tap-highlight-color:transparent}
.dp-drawer-close:focus,.dp-drawer-close:focus-visible{outline:0;box-shadow:none}
.dp-drawer-close svg{width:28px;height:28px;display:block}
/* list */
.dp-drawer-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.dp-drawer-item{border-bottom:1px solid rgba(0,0,0,.08)}
.dp-drawer-sub .dp-drawer-item{border-bottom:0}
.dp-drawer-row{display:flex;align-items:center;justify-content:space-between;overflow:hidden}
.dp-drawer-link{flex:1 1 auto;display:block;padding:11px 0;text-decoration:none;font-weight:400;letter-spacing:1px;text-transform:uppercase;font-size:clamp(12px,3.6vw,15px);line-height:calc(1.18 * clamp(15px,4.4vw,19px));-webkit-tap-highlight-color:transparent}
/* ↑ шрифт зменшено (було clamp(15,4.4vw,19)); line-height зафіксовано на СТАРОМУ line-box
   (1.18×стар.шрифт) → висота рядків/кнопок НЕ змінюється; довгі пункти тепер в 1 рядок */
#dp-drawer .dp-drawer-link,#dp-drawer .dp-drawer-link span{color:#1d1d1f!important}
/* item text: base(closed)=hidden with delay 0 (hide first on close); open=stagger up */
.dp-drawer-link span{display:inline-block;transform:translateY(120%);opacity:0;transition:transform .45s cubic-bezier(.65,.05,0,1),opacity .3s ease,color .2s;transition-delay:0s}
#dp-drawer.is-open .dp-drawer-link span{transform:none;opacity:1}
#dp-drawer .dp-drawer-link:active span{color:#8b4fc4!important}
/* sub toggle: small chevron, BIG tap area */
.dp-sub-toggle{flex:0 0 auto;align-self:stretch;width:60px;background:none;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#a259d6;-webkit-tap-highlight-color:transparent}
.dp-sub-toggle:focus,.dp-sub-toggle:focus-visible{outline:0;box-shadow:none}
.dp-chev{display:inline-block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .3s ease;margin-top:-3px}
.dp-drawer-item.is-sub-open > .dp-drawer-row .dp-chev{transform:rotate(225deg);margin-top:2px}
/* nested subs */
.dp-drawer-sub{list-style:none;margin:0;padding:0 0 0 16px;max-height:0;overflow:hidden;transition:max-height .42s cubic-bezier(.4,0,.2,1)}
.dp-drawer-item.is-sub-open > .dp-drawer-sub{max-height:2600px}
.dp-drawer-sub .dp-drawer-link{text-transform:none;font-weight:400;font-size:13px;padding:8px 0}
#dp-drawer .dp-drawer-sub .dp-drawer-link,#dp-drawer .dp-drawer-sub .dp-drawer-link span{color:#5b5b63!important}
.dp-drawer-sub .dp-drawer-sub .dp-drawer-link{font-size:12px}
#dp-drawer .dp-drawer-sub .dp-drawer-sub .dp-drawer-link,#dp-drawer .dp-drawer-sub .dp-drawer-sub .dp-drawer-link span{color:#6b6b73!important}
.dp-drawer-sub .dp-sub-toggle{width:52px}
.dp-drawer-sub .dp-chev{color:#b98fe0}
/* OPEN stagger for top-level item text (rise up after layers) */
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(1) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.3s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(2) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.345s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(3) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.39s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(4) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.435s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(5) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.48s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(6) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.525s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(7) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.57s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(8) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.615s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(9) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.66s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(10) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.705s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(11) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.75s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(12) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.795s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(13) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.84s}
#dp-drawer.is-open .dp-drawer-list > .dp-drawer-item:nth-child(14) > .dp-drawer-row .dp-drawer-link span{transition-delay:0.885s}

/* revert white edge-peek: panel fills fully; round ALL layers like the black */
#dp-drawer .dp-drawer-panel{inset:0;border-radius:0 22px 22px 0}
#dp-drawer .dp-layer{border-radius:0 22px 22px 0}

/* faster close: halve the gap before layers hide (overlap items hiding) */
#dp-drawer .dp-drawer-panel{transition-delay:.16s}
#dp-drawer .dp-layer-2{transition-delay:.26s}
#dp-drawer .dp-layer-1{transition-delay:.36s}

/* gradual full-page blur (blur the whole content, not just visible chunk) */
#dp-drawer-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(15,13,18,.42)}
body > main{transition:filter .6s ease}
html.dp-blur-page body > main{filter:blur(6px)}

/* DP product page: 4 full thumbnails visible in gallery scroller, rest scroll via arrows */
.images-container .js-qv-product-images .thumb,
.images-container .js-qv-product-images img.js-thumb,
.images-container .js-qv-product-images .dpv-poster,
.images-container .js-qv-product-images .dpv-noposter{
  width: 86px !important;
  height: 86px !important;
  margin: 0 9px 10px 0 !important;
}

/* DP product page: active thumbnail border purple, no border on hover of others */
.thumb-container .thumb.selected,
.product-images > li.thumb-container .thumb.selected{
  border: #BF78EE 3px solid !important;
}
.product-images > li.thumb-container .thumb:hover:not(.selected){
  border: 0 !important;
}
.product-images > li.thumb-container{
  overflow: visible !important;
}
.product-images > li.thumb-container .thumb{
  transition: transform .2s ease !important;
}
.product-images > li.thumb-container .thumb:hover:not(.selected){
  transform: scale(1.08) !important;
}

/* DP product page: white info card (logo, price, meta rows) like old shop */
.dp-product-card{
  background:#fff;
  border-radius:20px;
  box-shadow:0 0 20px rgba(29,29,31,.1);
  padding:24px 28px;
  position: relative;
}
/* DP product page: tabs block matches the .dp-product-card elevated-card treatment */
.tabs{
  border-radius:20px;
  box-shadow:0 0 20px rgba(29,29,31,.1);
  padding:24px 28px;
}
/* .dp-product-tabs-full sits as a plain sibling of .row.product-container. Shift it
   15px further left than the row's own bleed so its edges line up with the actual
   visible cards above (.dp-oz-card on the left, .dp-product-card on the right),
   which themselves sit inset from the row edges by their own column gutters. */
.dp-product-tabs-full{
  margin-left:-30px;
  margin-right:0;
}

/* DP product page: purple active-tab underline instead of stock theme cyan */
.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover{
  border-bottom-color:#BF78EE !important;
}
.tabs .nav-tabs .nav-link:focus,
.tabs .nav-tabs .nav-link:active{
  outline:none !important;
  box-shadow:none !important;
}

/* DP product page: tighter typography in tab content, matching old-site density */
.tabs .tab-pane .product-description{
  line-height:1.5;
}
.tabs .tab-pane .product-description p,
.tabs .tab-pane .product-description li,
.tabs .tab-pane .product-description span{
  color:#1d1d1f !important;
}
.tabs .tab-pane .product-description strong,
.tabs .tab-pane .product-description b{
  color:#1d1d1f !important;
  font-weight:700 !important;
}
.tabs .tab-pane .product-description p{
  margin:0 0 10px;
}
.tabs .tab-pane .product-description ul,
.tabs .tab-pane .product-description ol{
  margin:0 0 10px;
  padding-left:20px;
}
.tabs .tab-pane .product-description li{
  margin-bottom:4px;
  line-height:1.5;
}
.tabs .tab-pane .product-description li:last-child{
  margin-bottom:0;
}

.dp-product-card .h1{ margin-top:0; }
.dp-card-logo{ margin-bottom:14px; }
.dp-card-logo img{ max-width:90px; max-height:36px; width:auto; height:auto; object-fit:contain; display:block; }
.dp-card-meta{ margin:14px 0 18px; }
.dp-meta-row{ font-size:14px; color:#1d1d1f; line-height:1.9; }
.dp-meta-row + .dp-meta-row{ margin-top:0; }
.dp-meta-label{ font-weight:600; color:#1d1d1f; }
.dp-meta-value{ color:#1d1d1f; margin-left:4px; }
.dp-meta-info{ font-size:16px; vertical-align:middle; margin-left:4px; color:#8a8a8e; cursor:help; }
.dp-product-card .product-prices{ margin:6px 0 4px; }
.dp-product-card .product-actions{ margin-top:18px; }
.product-information{ margin-top:22px; }

/* DP product page: widen info card / narrow image column */
@media (min-width: 768px){
  .product-container > .col-md-6:first-child{ width: 42%; max-width: 42%; }
  .product-container > .col-md-6:last-child{ width: 58%; max-width: 58%; padding-left: 60px; }
}

/* DP product page: title font + native rating stars restyle (purple) */
.dp-product-card .h1,
.dp-product-card h1{
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
/* mobile: mniejsza nazwa produktu (bylo 30px — za duzo); PK bez zmian */
@media (max-width: 767px){
  body#product .dp-product-card .h1,
  body#product .dp-product-card h1{
    font-size: 21px !important;
    line-height: 1.3 !important;
  }
}

.dp-rating-row{ margin: 6px 0 10px; }
.dp-rating{ display: flex; align-items: center; gap: 8px; }
.dp-rating > span{ font-size: 14px; color: #1d1d1f; }
.dp-rating .grade-stars,
.dp-rating .grade-stars-static{ min-width: auto; height: 28px; display: inline-block; }
.dp-rating .grade-stars .star-content,
.dp-rating .grade-stars-static .star-content{ top: 0; display: flex; }
.dp-rating .star-content div.star,
.dp-rating .star-content div.star-on,
.dp-rating .star-content div.star-hover{
  background: none;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  font-family: "Material Icons";
  font-size: 28px;
  line-height: 28px;
  color: #d8c7ea;
}
.dp-rating-clickable{ cursor: pointer; }
.dp-rating-clickable:hover .star-content div.star{ color: #bfa3dd; }
.dp-rating-clickable:hover .star-content div.star-on{ color: #a855e8; }
.dp-rating .star-content div.star::before{ content: "\e83a"; }
.dp-rating .star-content div.star-on::before,
.dp-rating .star-content div.star-hover::before{ content: "\e838"; }
.dp-rating .star-content div.star-on,
.dp-rating .star-content div.star-hover{ color: #bf78ee; }
.dp-rating-row .product-comments-additional-info .additional-links,
.dp-rating-row .btn-comment{
  margin-left: 4px;
  font-size: 13px;
}

/* DP product card: space out share icons moved next to add-to-cart */
.dp-product-card .social-sharing{ clear: both; margin-top: 14px; }

/* DP breadcrumb: thin divider line under the breadcrumb trail */
#wrapper nav.breadcrumb{
  padding-bottom: 13px !important;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

/* DP product card: discount price layout v2 (new price first, old struck, percent pill) — order matches reference screenshot */
.dp-product-card .product-price.dp-price-flex{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.dp-product-card .current-price{
  order: 2;
}
.dp-product-card .current-price-value{
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #1d1d1f;
  letter-spacing: -0.5px !important;
  word-spacing: -4px !important;
}
.dp-product-card .product-discount{
  order: 1;
  margin: 0 !important;
}
.dp-product-card .regular-price{
  font-size: 20px !important;
  color: #1d1d1f !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  margin: 0 !important;
  letter-spacing: -0.4px !important;
  word-spacing: -3px !important;
}
.dp-product-card .has-discount .current-price-value{
  color: #e5308a;
  font-weight: 700;
}
.dp-product-card .discount{
  order: 3;
}
.dp-product-card .discount-percentage,
.dp-product-card .discount-amount{
  background: #e5308a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  margin: 0 !important;
  align-self: center;
}
.dp-product-card .product-prices .tax-shipping-delivery-label{
  flex-basis: 100%;
}

/* DP rating: yellow stars + numeric grade shown to the right */
.dp-rating .star-content{
  margin-left: 0 !important;
}
.dp-rating .star-content div.star:first-child,
.dp-rating .star-content div.star-on:first-child{
  margin-left: 0 !important;
}
.dp-rating .star-content div.star,
.dp-rating .star-content div.star-on,
.dp-rating .star-content div.star-hover{
  color: #e2e2e2;
}
.dp-rating .star-content div.star-on,
.dp-rating .star-content div.star-hover{
  color: #ffb400;
}
.dp-rating-clickable:hover .star-content div.star{ color: #d8d8d8; }
.dp-rating-clickable:hover .star-content div.star-on{ color: #e0a200; }
.dp-rating-value{
  font-size: 14px;
  font-weight: 600;
  color: #6b6b6f;
  margin-left: 2px;
}

/* DP product flags — unified pill style everywhere (home listings + product page) */
.product-flags li.product-flag,
li.product-flag.product-flag{
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: fit-content !important;
  white-space: nowrap !important;
}
.product-flags li.product-flag.new{
  background: #22c55e !important;
  color: #fff !important;
  border: none !important;
}
.product-flags li.product-flag.discount,
.product-flags li.product-flag.on-sale,
.product-flags li.product-flag.discount-percentage,
.product-flags li.product-flag.discount-amount,
.product-flags li.product-flag.reduced-price{
  background: #E5308A !important;
  color: #fff !important;
  border: none !important;
}

/* картки товарів (каталог/каруселі) — менші позначки, щоб не перекривали фото */
.product-miniature .product-flags li.product-flag{
  padding: 4px 9px !important;
  font-size: 10.5px !important;
}

/* DP product page: flag badges — equal left/top inset from image edge */
.product-flags.js-product-flags{
  left: 10px !important;
  z-index: 10 !important;
}

/* DP product page: Omnibus directive lowest-30-day-price notice (replaces "Brutto") */
.dp-product-card .dp-omnibus-price{
  margin: 2px 0 0;
  font-size: 12px;
  color: #9a9a9a;
}

/* DP product card: quantity + add-to-cart + wishlist row redesign */
.dp-product-card .product-quantity{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.dp-product-card .qty{ margin: 0; }
.dp-product-card .input-group.bootstrap-touchspin{
  display: flex !important;
  align-items: stretch;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 8px;
  overflow: hidden;
  width: auto;
}
.dp-product-card #quantity_wanted{
  border: none !important;
  width: 44px;
  height: 36px !important;
  text-align: center;
  border-radius: 0 !important;
}
.dp-product-card .input-group-btn-vertical{
  display: flex !important;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,.15);
  width: 24px;
  height: 36px;
}
.dp-product-card .input-group-btn-vertical .btn-touchspin{
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.15);
  background: #fff;
  padding: 0;
}
.dp-product-card .input-group-btn-vertical .btn-touchspin:last-child{ border-bottom: none; }
.dp-product-card .input-group-btn-vertical .material-icons{ font-size: 14px; }

.dp-product-card .add{ margin: 0; }
.dp-product-card .add-to-cart{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  height: 36px !important;
  border-radius: 10px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  padding: 0 18px !important;
  box-shadow: 2px -2px 4px 0 rgba(0,0,0,.2) !important;
}
.dp-product-card .add-to-cart .material-icons{
  line-height: 1;
  font-size: 18px;
}
.dp-product-card .add-to-cart:hover,
.dp-product-card .add-to-cart:focus{
  background: #8a4fc9 !important;
  border-color: #8a4fc9 !important;
}

.dp-product-card .wishlist-button-add{
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(0,0,0,.15) !important;
  background: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  flex-shrink: 0;
  box-shadow: none !important;
  position: absolute !important;
  top: 24px;
  right: 28px;
  z-index: 5;
}
.dp-product-card .wishlist-button-add .material-icons{
  color: #1d1d1f !important;
  font-size: 18px;
  transition: color .2s ease;
}
.dp-product-card .wishlist-button-add:hover{
  transform: scale(1.15);
}
.dp-product-card .wishlist-button-add:hover .material-icons{ color: #1d1d1f !important; }

.dp-product-card .wishlist-button-add{
  overflow: visible !important;
}
.dp-product-card .wishlist-button-add .dp-wishlist-tip{
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  transform: translateY(-50%) translateX(6px);
  display: flex;
  align-items: center;
  gap: 5px;
  background: #1d1d1f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(29,29,31,.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.dp-product-card .wishlist-button-add .dp-wishlist-tip svg{
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.dp-product-card .wishlist-button-add .dp-wishlist-tip::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1d1d1f;
}
.dp-product-card .wishlist-button-add:hover .dp-wishlist-tip{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* out-of-stock notify form, relocated next to where the cart button would be */
.dp-product-card .js-mailalert.dp-mailalert-inline{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}
.dp-product-card .js-mailalert.dp-mailalert-inline input.form-control{
  flex: 1 1 200px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 180px;
  height: 44px;
}
.dp-product-card .js-mailalert.dp-mailalert-inline .btn.btn-primary{
  border-radius: 10px !important;
  text-transform: none !important;
  padding: 11px 20px !important;
  white-space: nowrap;
  margin-top: 0 !important;
}

/* DP: hide quantity label */
.dp-product-card .control-label{ display: none !important; }

/* DP product page: thumbnails strip wider than main photo, smaller thumbs */
@media (min-width: 768px){
  #main .images-container .js-qv-mask.scroll{
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
  .product-images > li.thumb-container .thumb{
    width: 82px !important;
    height: 82px !important;
  }
  .scroll-box-arrows .left{ left: -50px !important; }
  .scroll-box-arrows .right{ right: -50px !important; }
}

/* DP: hide low-stock alert badge on product page (and its quickview twin —
   redundant next to the "Wyprzedane" image badge + "Powiadom mnie" button) */
.dp-product-card #product-availability,
.quickview .modal-body #product-availability{ display: none !important; }

/* DP: native ps blockreassurance on product page — one horizontal row,
   replacing the custom trust-badges strip, same pill-card language */
.dp-product-card .blockreassurance_product{
  display: flex;
  gap: 0;
  margin: 18px 0 0 !important;
  padding: 2px;
}
.dp-product-card .blockreassurance_product > div{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 12px 8px;
  float: none;
}
.dp-product-card .blockreassurance_product .item-product{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  float: none;
  margin: 0;
  padding: 0;
}
.dp-product-card .blockreassurance_product .item-product img{
  width: 18px !important;
  height: 18px !important;
}
.dp-product-card .blockreassurance_product .block-title{
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
}
.dp-product-card .blockreassurance_product p{
  margin: 0 !important;
  font-size: 11px;
  color: #79747e;
  line-height: 1.3;
}
.dp-product-card .blockreassurance_product .clearfix{ display: none; }

@media (max-width: 640px){
  .dp-product-card .blockreassurance_product{ flex-wrap: nowrap !important; gap: 0 !important; }
  .dp-product-card .blockreassurance_product > div{ flex: 1 1 0 !important; min-width: 0 !important; padding: 10px 4px !important; gap: 4px !important; }
  .dp-product-card .blockreassurance_product .item-product{ width: 26px !important; height: 26px !important; }
  .dp-product-card .blockreassurance_product .item-product img{ width: 15px !important; height: 15px !important; }
  .dp-product-card .blockreassurance_product .block-title{ font-size: 10.5px !important; line-height: 1.15 !important; }
  .dp-product-card .blockreassurance_product p{ font-size: 9px !important; line-height: 1.15 !important; }
}

/* DP: guest "notify me" popup (ps_emailalerts override) */
.dp-mailalert-modal .modal-content{ border-radius: 16px; border: none; }
.dp-mailalert-modal .modal-header{ border-bottom: none; padding-bottom: 0; }
.dp-mailalert-modal .modal-title{ font-weight: 700; font-size: 18px; }
.dp-mailalert-modal .modal-body{ padding: 8px 24px 24px; }
.dp-mailalert-modal-text{ font-size: 13.5px; color: #6b6b6f; margin-bottom: 14px; }
.dp-mailalert-modal-email{ margin-bottom: 4px; }
.dp-mailalert-modal-submit{
  white-space: normal;
  font-size: 13px;
  line-height: 1.3;
  padding: 12px 14px;
}
.dp-mailalert-modal-divider{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 12px;
  color: #9a95a6;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dp-mailalert-modal-divider::before,
.dp-mailalert-modal-divider::after{
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #e5e5e5;
}

/* ===== DP listing pages: wider container so 5 products fit per row =====
   Applied to ALL product-listing pages (category, Nowości, Promocje,
   Bestsellery, wyszukiwarka, producent, dostawca) so they look identical. */
body:is(#category,#new-products,#prices-drop,#best-sales,#search,#manufacturer,#supplier) #wrapper > .container{
  width: min(1550px, 92vw) !important;
  max-width: min(1550px, 92vw) !important;
}

/* ===== DP listing pages: narrower sidebar, wider content column =====
   Only when a left column is actually present (#content-wrapper.left-column),
   so sidebar-less listings keep full width. */
@media (min-width: 992px){
  body:is(#category,#new-products,#prices-drop,#best-sales,#search,#manufacturer,#supplier) #left-column{
    flex: 0 0 18% !important;
    max-width: 18% !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales,#search,#manufacturer,#supplier) #content-wrapper.left-column{
    flex: 0 0 82% !important;
    max-width: 82% !important;
  }
}

/* ===== DP listing pages: 5 products per row (instead of 4) at xl ===== */
@media (min-width: 1200px){
  body:is(#category,#new-products,#prices-drop,#best-sales,#search,#manufacturer,#supplier) .dp-product-col-5{
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
}

/* ===== DP category page: compact "Sortuj wg" dropdown ===== */
.sort-by-row{ align-items: center !important; gap: 8px !important; }
.sort-by{
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
.products-sort-order{
  width: auto !important;
  max-width: 220px !important;
  height: auto !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 110px 0 0 !important;
}
.products-sort-order .select-title{
  height: auto !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
}
.products-sort-order .select-title i.material-icons{
  font-size: 18px !important;
  line-height: 1 !important;
}
.products-sort-order .dropdown-menu a{
  padding: 8px 14px !important;
  font-size: 13px !important;
}

/* ===== DP category page: compact title, no reserved empty image box ===== */
body#category .block-category.card{
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 18px !important;
}
body#category .block-category h1.h1{
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: #1d1d1f;
}
body#category .block-category-inner:empty{ display: none !important; }

/* ===== DP category page: flat category tree — no card box, vertical guide line on the active path ===== */
.dp-cat-tree.block-categories{
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 28px !important;
  box-shadow: none !important;
}
.dp-cat-tree .category-top-menu,
.dp-cat-tree .category-sub-menu{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dp-cat-tree .category-top-menu > li > a.h6{
  display: block;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  color: #1d1d1f;
  padding: 6px 0;
  margin: 0;
}
.dp-cat-tree .category-sub-menu[data-depth]:not([data-depth="0"]){
  padding-left: 14px !important;
  border-left: 2px solid #e2c9f5;
  margin-left: 2px;
}
.dp-cat-tree li{ position: relative; }
.dp-cat-tree li::before{ content: none !important; }
.dp-cat-tree li > a{
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #4a4a4a;
  text-decoration: none;
  line-height: 1.35;
}
.dp-cat-tree li > a:hover{ color: #BF78EE !important; }
.dp-cat-tree li.dp-in-path > a{ color: #1d1d1f; font-weight: 600; }
.dp-cat-tree li.dp-current > a{ color: #BF78EE !important; font-weight: 700 !important; }
.dp-cat-tree .dp-cat-chevron{ color: #b5b5b5; margin-left: 2px; font-size: 15px; }

/* ===== DP product page (mobile): sticky horizontal scroll-spy description tabs ===== */
@media (max-width: 767px){
  .dp-product-tabs-full .tab-content > .tab-pane{ display:block !important; opacity:1 !important; padding-top:16px !important; scroll-margin-top:120px; }
  .dp-product-tabs-full .tab-content > .tab-pane + .tab-pane{ border-top:1px solid #ececef; margin-top:14px; }
  .dp-product-tabs-full .tab-content{ padding-top:0 !important; }
  .dp-product-tabs-full .tabs .nav-tabs{
    position:sticky !important; top:var(--dp-navh,62px) !important; z-index:900 !important;
    display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
    overflow-x:auto !important; -webkit-overflow-scrolling:touch; scrollbar-width:none;
    gap:0 !important; width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important; padding:0 !important;
    background:#ffffff !important; border-bottom:1px solid #e6e6ea !important; box-shadow:0 4px 10px rgba(0,0,0,.05) !important;
  }
  .dp-product-tabs-full .tabs .nav-tabs::-webkit-scrollbar{ display:none; height:0; }
  .dp-product-tabs-full .tabs .nav-tabs .nav-item{ float:none !important; width:auto !important; flex:0 0 auto !important; margin:0 !important; }
  .dp-product-tabs-full .tabs .nav-tabs .nav-link{
    display:block !important; width:auto !important; white-space:nowrap !important; text-align:center !important;
    padding:9px 14px !important; margin:0 !important; border:0 !important; border-bottom:2px solid transparent !important;
    background:transparent !important; color:#1d1d1f !important; font-size:12.5px !important; font-weight:500 !important; border-radius:0 !important;
  }
  .dp-product-tabs-full .tabs .nav-tabs .nav-link.active{ color:#1d1d1f !important; font-weight:600 !important; border-bottom-color:#BF78EE !important; background:transparent !important; }
}

/* "MARKI" — старий простий список брендів дублює "Marka" у робочому блоці "Filtruj według" */
body:is(#category,#new-products,#prices-drop,#best-sales) #search_filters_brands{ display: none !important; }

/* ===== DP category page (mobile): full-screen "Filtry" drawer sliding in from the right ===== */
@media (max-width: 767px){
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column{
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 100% !important;   /* закрита: за правим краєм (слайд через left, НЕ transform) */
    right: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 92px !important;
    background: #fff !important;
    z-index: 2000 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    /* ⚠️ БЕЗ transform: transform на предку робив position:fixed кнопки «Zobacz produkty»
       absolute у скрол-контейнері → кнопка їхала з контентом замість триматись унизу.
       Тому слайд-ін робимо через left (body overflow-x:clip → без горизонт. скролу). */
    transition: left .32s cubic-bezier(.4,0,.2,1) !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column.dp-filters-open{
    left: 0 !important;
  }
  body.dp-filters-locked{ overflow: hidden !important; }

  /* шапка шторки: "< Filtry X" */
  .dp-filters-header{
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 26px !important;
    background: #fff !important;
    border-bottom: 1px solid #f0e6f9 !important;
  }
  .dp-filters-header span{
    font-family: 'Nunito Sans', 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    color: #1d1d1f !important;
  }
  .dp-filters-header button{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f6ecfb !important;
    border: none !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }
  .dp-filters-header button i.material-icons{
    font-size: 20px !important;
    color: #BF78EE !important;
  }
  /* невидимий спейсер праворуч від заголовка (та сама ширина, що кнопка «назад») — тримає «Filtry» по центру після видалення кнопки «закрити» */
  .dp-filters-header .dp-filters-spacer{
    width: 34px !important;
    flex: 0 0 auto !important;
  }

  /* дерево категорій вже є в гамбургер-меню — у мобільній панелі фільтрів воно зайве */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column .dp-cat-tree.block-categories{ display: none !important; }
  /* нативний блок "Filtruj według" (характеристики/ціна/наявність) прихований Bootstrap-класом .hidden-sm-down — показуємо його всередині нашої шторки */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper.hidden-sm-down{ display: block !important; }
  /* тема компенсує -30px тут прив'язкою до padding колонки Bootstrap, якої
     в нашій повноекранній шторці вже нема — без скидання контент вилазив за екран */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper{ margin: 0 !important; }

  /* компактніші рядки фільтрів — більше вміщається на екрані */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet{
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f3eef8 !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet .title{
    padding: 10px 26px !important;
  }
  /* wewnetrzny <p class="facet-title"> ma wlasny padding 20px/20px (motyw) — to on
     dawal duze odstepy miedzy grupami; zerujemy go, odstep daje tylko .title */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet .title .facet-title{
    padding: 0 !important;
    margin: 0 !important;
  }
  /* mniejszy i lzejszy font naglowkow grup w szufladzie (bylo 18px/700 — za ciezko).
     UWAGA: widoczny w szufladzie jest naglowek .facet-title.hidden-sm-down (bezposrednie
     dziecko .facet), a NIE ten w ukrytym .title — dlatego stylujemy OBA .facet-title */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet .facet-title{
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  /* w mobilnej szufladzie pokazujemy WSZYSTKIE pozycje filtra — przycisk „+ Więcej”
     jest potrzebny tylko w wersji PC (na telefonie i tak sie przewija) */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .dp-facet-more-li{ display: none !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet ul[id^="facet_"] > li:nth-child(n+6):not(.dp-facet-more-li){
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  /* .collapse (без !important-безпечного класу-прив'язки) — під час самої анімації
     розгортання Bootstrap тимчасово міняє клас ul на .collapsing (не .collapse),
     тому селектор не повинен залежати від конкретного стану класу, інакше рядки
     на ~350мс анімації показують старий padding теми (20px) і потім різко стрибають */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet ul{
    padding: 0 26px 10px !important;
  }
  /* слайдер ціни: більший бічний відступ, щоб хендли не торкались краю екрана —
     крайні ~20px на телефоні = зона системного жесту «назад», палець ловив край
     замість хендла при перетягуванні вправо */
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper ul.faceted-slider{
    padding-left: 44px !important;
    padding-right: 44px !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet ul li{
    margin: 0 !important;
    padding: 0 !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet-label{
    padding: 6px 0 !important;
    min-height: 0 !important;
    font-size: 13px !important;
  }

  .dp-filters-toggle{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px !important;
    margin: 0 0 16px !important;
    background: #fff !important;
    border: 1px solid #e2c9f5 !important;
    border-radius: 11px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  }
  /* bez fioletowej ramki focus po kliknieciu (feedback uzytkownika) */
  .dp-filters-toggle:focus,
  .dp-filters-toggle:focus-visible,
  .dp-filters-toggle:active{
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  }
  .dp-filters-toggle i.material-icons{
    font-size: 18px !important;
    color: #BF78EE !important;
    transition: transform .2s ease !important;
  }
  .dp-filters-toggle[aria-expanded="true"] i.material-icons{
    transform: rotate(180deg) !important;
  }

  /* старий зламаний нативний тригер фільтрів — замінений нашою кнопкою в тому ж рядку */
  #search_filter_toggler{ display: none !important; }

  /* рядок "Сортування + Фільтри" — дві однакові пігулки поруч */
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row{
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 0 16px !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .products-sort-order,
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .filter-button{
    flex: 1 1 0 !important;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .products-sort-order .select-title{
    width: 100% !important;
    height: 100% !important;
    justify-content: space-between !important;
    border: 1px solid #e2c9f5 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .dp-filters-toggle{
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    justify-content: space-between !important;
    font-size: 13px !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .dp-filters-toggle i.material-icons,
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .dp-filters-toggle span{
    color: #1d1d1f !important;
  }
  /* без цього рядок успадковує line-height:1.6, і той самий гліф трикутника
     сидить вище/нижче, ніж в іконці сортування (там line-height:1) */
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .dp-filters-toggle i.material-icons{
    line-height: 1 !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .sort-by-row .dp-filters-toggle span{
    font-weight: 400 !important;
  }

  /* nowy pasek nad lista (.dp-list-toolbar-top): „Pokaż filtry” (lewo) + Sortowanie (prawo) w jednym rzedzie */
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top{
    display: flex !important; align-items: stretch !important;
    gap: 10px !important; flex-wrap: nowrap !important; margin: 0 0 16px !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-filter{ flex: 1 1 0 !important; display: flex !important; min-width: 0 !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-sort{ flex: 1 1 0 !important; margin: 0 !important; min-width: 0 !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-filter .dp-filters-toggle{
    width: 100% !important; height: 100% !important; margin: 0 !important; padding: 8px 12px !important;
    border-radius: 10px !important; justify-content: space-between !important; font-size: 13px !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-filter .dp-filters-toggle i.material-icons{ color: #1d1d1f !important; line-height: 1 !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-filter .dp-filters-toggle span{ color: #1d1d1f !important; font-weight: 400 !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-sort .products-sort-order{ width: 100% !important; max-width: none !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-sort .products-sort-order .select-title{
    width: 100% !important; justify-content: space-between !important; border: 1px solid #e2c9f5 !important;
    border-radius: 10px !important; background: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  }
  /* identyczna wysokosc i wyrownanie obu pigulek (filtry + sort) */
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-sort .products-sort-order{ height: 42px !important; }
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-filter .dp-filters-toggle,
  body:is(#category,#new-products,#prices-drop,#best-sales) .dp-list-toolbar-top .dp-lt-sort .products-sort-order .select-title{
    height: 42px !important; min-height: 42px !important;
    padding: 0 12px !important; line-height: 1 !important;
    display: flex !important; align-items: center !important; box-sizing: border-box !important;
  }

  /* нижня закріплена панель: наша "Wyczyść" (жива, з'являється коли є активний фільтр) + "Tak" */
  /* бар контролів: fixed знизу, але їде РАЗОМ зі шторкою (власний transform на самому барі —
     безпечно: fixed ламає лише transform на ПРЕДКУ, не на самому елементі).
     закрита шторка → бар off-screen справа (на звичайному лістингу не видно;
     body overflow-x:clip → без горизонт. скролу) */
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls{
    display: flex !important;
    gap: 10px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    box-shadow: 0 -4px 18px rgba(0,0,0,.12) !important;
    z-index: 1200 !important;
    transform: translateX(100%) !important;
    transition: transform .32s cubic-bezier(.4,0,.2,1) !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #left-column.dp-filters-open #search_filter_controls{
    transform: translateX(0) !important;
  }
  /* нативний (майже завжди порожній — не оновлюється AJAX-ом) блок ховаємо повністю */
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls span#_mobile_search_filters_clear_all{
    display: none !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls .dp-filters-clear,
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls .ok{
    min-width: 0 !important;
    width: auto !important;
    border-radius: 10px !important;
    padding: 11px 8px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls .dp-filters-clear{
    flex: 1 1 0 !important;
    background: #fff !important;
    border: 1px solid #BF78EE !important;
    color: #BF78EE !important;
    font-weight: 600 !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls .ok{
    flex: 2 1 0 !important;
    background: #BF78EE !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(191,120,238,.35) !important;
  }
  body:is(#category,#new-products,#prices-drop,#best-sales) #search_filter_controls .ok i.material-icons{
    display: none !important;
  }
  /* Nowości/Promocje/Bestsellery: grupy filtrów zwinięte domyślnie (jak na kategorii) —
     na tych kontrolerach coś rozwijało je wszystkie naraz; przywracamy stan zwinięty
     (otwarte zostają tylko te z klasą .in — klik/aktywny filtr), bez psucia animacji. */
  body:is(#new-products,#prices-drop,#best-sales) #left-column #search_filters_wrapper .facet ul.collapse:not(.in):not(.collapsing){
    display: none !important;
  }
}

/* ===== DP Quick View (лупа на карточці) — той самий вигляд ціни/кнопки/кількості,
   що на сторінці товару (.dp-product-card), без подвійної картки-в-картці:
   дублюємо ЛИШЕ потрібні дочірні правила з альтернативним селектором,
   не чіпаючи базову рамку/тінь/padding .dp-product-card{} ===== */
.quickview .modal-body .product-prices{ margin:6px 0 4px; }
.quickview .modal-body .product-actions{ margin-top:18px; }

.quickview .modal-body .h1,
.quickview .modal-body h1{
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.quickview .modal-body .product-price.dp-price-flex{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.quickview .modal-body .current-price{ order: 2; }
.quickview .modal-body .current-price-value{
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #1d1d1f;
  letter-spacing: -0.5px !important;
  word-spacing: -4px !important;
}
.quickview .modal-body .product-discount{ order: 1; margin: 0 !important; }
.quickview .modal-body .regular-price{
  font-size: 20px !important;
  color: #1d1d1f !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  margin: 0 !important;
  letter-spacing: -0.4px !important;
  word-spacing: -3px !important;
}
.quickview .modal-body .has-discount .current-price-value{
  color: #e5308a;
  font-weight: 700;
}
.quickview .modal-body .discount{ order: 3; }
.quickview .modal-body .discount-percentage,
.quickview .modal-body .discount-amount{
  background: #e5308a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  margin: 0 !important;
  align-self: center;
}
.quickview .modal-body .product-prices .tax-shipping-delivery-label{ flex-basis: 100%; }

.quickview .modal-body .product-quantity{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.quickview .modal-body .qty{ margin: 0; }
.quickview .modal-body .input-group.bootstrap-touchspin{
  display: flex !important;
  align-items: stretch;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 8px;
  overflow: hidden;
  width: auto;
}
.quickview .modal-body #quantity_wanted{
  border: none !important;
  width: 44px;
  height: 36px !important;
  text-align: center;
  border-radius: 0 !important;
}
.quickview .modal-body .input-group-btn-vertical{
  display: flex !important;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,.15);
  width: 24px;
  height: 36px;
}
.quickview .modal-body .input-group-btn-vertical .btn-touchspin{
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.15);
  background: #fff;
  padding: 0;
}
.quickview .modal-body .input-group-btn-vertical .btn-touchspin:last-child{ border-bottom: none; }
.quickview .modal-body .input-group-btn-vertical .material-icons{ font-size: 14px; }

.quickview .modal-body .add{ margin: 0; }
.quickview .modal-body .add-to-cart{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  height: 36px !important;
  border-radius: 10px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  padding: 0 18px !important;
  box-shadow: 2px -2px 4px 0 rgba(0,0,0,.2) !important;
}
.quickview .modal-body .add-to-cart .material-icons{
  line-height: 1;
  font-size: 18px;
}
.quickview .modal-body .add-to-cart:hover,
.quickview .modal-body .add-to-cart:focus{
  background: #8a4fc9 !important;
  border-color: #8a4fc9 !important;
}

/* ===== DP: sign-in page — two-column layout matching the old site ===== */
body#authentication #content.page-content{
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
  max-width: 940px !important;
  width: 100% !important;
  margin: 0 auto !important;
}
.dp-auth-grid{
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px 0 40px;
}
.dp-auth-col-login{ flex: 1 1 380px; max-width: 400px; margin: 0 auto; width: 100%; }
.dp-auth-col-register{ flex: 1 1 340px; max-width: 360px; }

.dp-auth-heading{ text-align: center; margin-bottom: 18px; }
.dp-auth-heading .dp-auth-hi{
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.dp-auth-heading .dp-auth-sub{
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1d1d1f;
  text-transform: uppercase;
  margin-top: 1px;
}

/* full-width stacked fields (label above input) instead of the native
   label-left/input-right col-md-6 split — matches the old site's longer fields */
.dp-login-form .form-group.row{ display: block !important; margin-bottom: 14px !important; }
.dp-login-form .form-group.row > label,
.dp-login-form .form-group.row > .js-input-column{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  text-align: left !important;
}
.dp-login-form .form-group.row > label{ margin-bottom: 5px !important; font-size: 12.5px; font-weight: 600; }
.dp-login-form input.form-control{
  width: 100% !important;
  height: 40px !important;
  font-size: 13.5px !important;
  padding: 8px 12px !important;
}
/* eye icon sits INSIDE the field itself: input-group becomes the positioning
   context (theme.css makes it display:table by default), the button floats
   absolutely over the input's right edge with a transparent background
   instead of sitting beside it as its own bordered box */
.dp-login-form .input-group{
  display: block !important;
  position: relative !important;
  width: 100%;
}
/* the input itself is float:left from the theme's old table-based input-group —
   without a clearfix the (now display:block) wrapper collapses to 0 height,
   which in turn collapses the absolutely-positioned icon button to 0 height too */
.dp-login-form .input-group::after{
  content: "";
  display: table;
  clear: both;
}
.dp-login-form .input-group input.form-control{
  padding-right: 42px !important;
}
.dp-login-form .input-group-btn{
  display: block !important;
  position: absolute !important;
  top: 0; right: 0; bottom: 0;
  width: auto !important;
}

/* native "Pokaż"/"Ukryj" text button on the password field -> plain eye icon
   (font-size:0 hides whatever text the toggle script keeps swapping in,
   without touching its own show/hide logic) */
.dp-login-form .input-group-btn .btn[data-action="show-password"]{
  font-size: 0 !important;
  width: 40px !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent no-repeat center / 18px auto !important;
  box-shadow: none !important;
  outline: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z'/><circle cx='12' cy='12' r='3'/></svg>") !important;
}
.dp-login-form .input-group-btn .btn[data-action="show-password"]:focus,
.dp-login-form .input-group-btn .btn[data-action="show-password"]:active,
.dp-login-form .input-group-btn .btn[data-action="show-password"]:hover{
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}
.dp-login-form .input-group:has(input#field-password[type="text"]) .input-group-btn .btn[data-action="show-password"]{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3l18 18M10.6 10.6a3 3 0 0 0 4.24 4.24M9.9 4.24A11 11 0 0 1 12 4c7 0 11 7 11 7a13.2 13.2 0 0 1-2.44 3.34M6.1 6.1C3.86 7.64 2 10.2 1 12c0 0 4 7 11 7 1.35 0 2.6-.24 3.72-.66'/></svg>") !important;
}

.dp-login-form .form-footer{ display: flex; flex-direction: column; align-items: center; }
.dp-login-form #submit-login{ width: 100%; max-width: 240px; height: 38px; font-size: 13px; }
.dp-login-form .forgot-password{ text-align: center; margin-top: 12px; font-size: 12.5px; }

.dp-social-login{ display: flex; gap: 8px; margin: 12px 0 16px; flex-wrap: wrap; }
.dp-social-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 130px;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid #e2c9f5;
  text-decoration: none !important;
  cursor: pointer;
}
.dp-social-icon{ width: 16px; height: 16px; flex: 0 0 auto; }
.dp-social-facebook{ background: #1877F2; color: #fff !important; border-color: #1877F2; }
.dp-social-google{ background: #fff; color: #1d1d1f !important; }

.dp-social-login-single .dp-social-btn{
  min-width: 0;
  height: 40px;
  font-size: 13px;
  border-color: #dadce0;
}
.dp-social-login-single .dp-social-icon{ width: 18px; height: 18px; }

.dp-social-login-error{
  color: #ff4c4c;
  font-size: 12px;
  text-align: center;
  margin: -8px 0 16px;
}

.dp-auth-register-box{
  background: #f2f2f4;
  border-radius: 16px;
  padding: 24px 22px;
  text-align: center;
}
.dp-auth-register-lead{
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 12px 0 8px;
  text-align: left;
}
.dp-auth-benefits{
  list-style: disc;
  padding-left: 18px;
  text-align: left;
  margin: 0 0 18px;
}
.dp-auth-benefits li{
  font-size: 12px;
  color: #4a4a4e;
  margin-bottom: 5px;
  line-height: 1.4;
}
.dp-auth-register-btn{
  display: inline-block;
  border: 1px solid #1d1d1f;
  color: #1d1d1f !important;
  border-radius: 20px;
  padding: 9px 24px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .4px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}
.dp-auth-register-btn:hover{ background: #1d1d1f; color: #fff !important; }

@media (max-width: 991px){
  .dp-auth-grid{ flex-direction: column; gap: 24px; padding: 12px 0 30px; }
  .dp-auth-col-login,
  .dp-auth-col-register{ max-width: 100%; width: 100%; }
  .dp-social-btn{ min-width: 0; }
}

/* ===== Registration page (customer-form.tpl, scoped via .register-form) ===== */

/* same "eye inside the field" treatment as the login password field —
   duplicated rather than sharing a selector because customer-form.tpl is
   also rendered (unscoped) on the identity/edit-account page */
.register-form #customer-form .input-group{
  display: block !important;
  position: relative !important;
  width: 100%;
}
.register-form #customer-form .input-group::after{
  content: "";
  display: table;
  clear: both;
}
.register-form #customer-form .input-group input.form-control{
  padding-right: 42px !important;
}
.register-form #customer-form .input-group-btn{
  display: block !important;
  position: absolute !important;
  top: 0; right: 0; bottom: 0;
  width: auto !important;
}
.register-form #customer-form .input-group-btn .btn[data-action="show-password"]{
  font-size: 0 !important;
  width: 40px !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent no-repeat center / 18px auto !important;
  box-shadow: none !important;
  outline: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z'/><circle cx='12' cy='12' r='3'/></svg>") !important;
}
.register-form #customer-form .input-group-btn .btn[data-action="show-password"]:focus,
.register-form #customer-form .input-group-btn .btn[data-action="show-password"]:active,
.register-form #customer-form .input-group-btn .btn[data-action="show-password"]:hover{
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}
.register-form #customer-form .input-group:has(input[type="text"].js-visible-password) .input-group-btn .btn[data-action="show-password"]{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3l18 18M10.6 10.6a3 3 0 0 0 4.24 4.24M9.9 4.24A11 11 0 0 1 12 4c7 0 11 7 11 7a13.2 13.2 0 0 1-2.44 3.34M6.1 6.1C3.86 7.64 2 10.2 1 12c0 0 4 7 11 7 1.35 0 2.6-.24 3.72-.66'/></svg>") !important;
}

/* Klient indywidualny / Firma — checkbox-styled radios, laid out inside the
   same label/col-md-6 grid as every other field row (dp-account-type-row is
   built with that exact markup in dp-custom.js) so it lines up with the
   inputs below it and never runs wider than the input column. */
.dp-account-type-row .js-input-column{ padding-top: 5px; }
.dp-account-type{ display: flex; flex-wrap: wrap; gap: 10px 20px; }
.dp-account-type-item{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  color: #1d1d1f;
}
.dp-account-type-item input{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.dp-account-type-box{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px; height: 19px;
  flex: 0 0 auto;
  border-radius: 4px;
  border: 1.5px solid #c7c7cc;
  background: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.dp-account-type-box i{
  font-size: 14px;
  line-height: 1;
  color: #fff;
  opacity: 0;
  transition: opacity .15s ease;
}
.dp-account-type-item input:checked ~ .dp-account-type-box{
  background: #BF78EE;
  border-color: #BF78EE;
}
.dp-account-type-item input:checked ~ .dp-account-type-box i{ opacity: 1; }
.dp-account-type-item input:focus-visible ~ .dp-account-type-box{
  box-shadow: 0 0 0 3px rgba(191,120,238,.30);
}

/* live password requirements checklist, dropped into the password field's
   own input column so it shares its left/right edges exactly */
.dp-password-checklist{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  padding: 0;
  margin: 8px 0 0;
}
.dp-password-checklist li{
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #9a9a9e;
  transition: color .15s ease;
}
.dp-password-checklist li::before{
  content: "";
  width: 12px; height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1.5px solid #d0d0d4;
  background: transparent center / 7px auto no-repeat;
  transition: background-color .15s ease, border-color .15s ease;
}
.dp-password-checklist li.ok{ color: #1d1d1f; }
.dp-password-checklist li.ok::before{
  border-color: #4cbb6c;
  background-color: #4cbb6c;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
}

/* one-line consent disclaimer + submit button, in the same label/col-md-6
   grid as the fields above so both start flush with the input edge —
   dp-register-footer-row is built with that markup in dp-custom.js */
.dp-register-footer-row .col-md-6{ display: flex; flex-direction: column; }
.dp-register-disclaimer{
  font-size: 11.5px;
  color: #7a7a7e;
  text-align: left;
  margin: 0 0 10px;
}
.dp-register-disclaimer a{
  color: #BF78EE;
  text-decoration: underline;
}
.dp-register-footer-row .form-control-submit{
  align-self: flex-start;
  float: none !important;
}

/* ===== Wishlist heart — pop animation + persistent purple "added" state =====
   Applies to .wishlist-button-add everywhere (product-miniature cards AND
   the product page — same Vue component, just different scoping wrappers).
   dp-wl-checked/dp-wl-pop are toggled from dp-custom.js by watching the
   icon glyph (favorite_border <-> favorite) the Vue component swaps. */
.wishlist-button-add.dp-wl-checked .material-icons{
  color: #BF78EE !important;
  fill: #BF78EE !important;
}
@keyframes dpWlPop{
  0%{ transform: scale(1); }
  35%{ transform: scale(.05); }
  62%{ transform: scale(1.35); }
  80%{ transform: scale(.92); }
  100%{ transform: scale(1); }
}
.wishlist-button-add.dp-wl-pop .material-icons{
  animation: dpWlPop .55s cubic-bezier(.34,1.56,.64,1);
}

/* native blockwishlist confirmation toast (.wishlist-toast, shown via its
   own showToast/isActive Vue state) — restyled from a small top-right
   fade-in into a banner that drops down from the top edge of the screen */
.wishlist-toast{
  left: 50% !important;
  right: auto !important;
  top: 0 !important;
  transform: translate(-50%, -130%) !important;
  border-radius: 0 0 14px 14px !important;
  background: #1d1d1f !important;
  border: none !important;
  padding: 14px 28px !important;
  max-width: calc(100% - 32px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25) !important;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wishlist-toast.isActive{
  transform: translate(-50%, 0) !important;
}
.wishlist-toast .wishlist-toast-text{
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-align: center;
}
.wishlist-toast.success{ background: #1d1d1f !important; }
.wishlist-toast.success::before{
  content: "";
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: #BF78EE url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M12 21s-6.7-4.35-9.3-8.1C.7 9.9 1.6 6.2 4.6 4.9c2.2-1 4.6-.2 6 1.5.6.7 1 .1 1.4-.5 1.4-1.7 3.8-2.5 6-1.5 3 1.3 3.9 5 1.9 8-2.6 3.75-9.3 8.1-9.3 8.1Z'/></svg>") no-repeat center / 13px auto;
  border-radius: 50%;
}
.wishlist-toast.error{ background: #ff4c4c !important; }
@media (max-width: 480px){
  .wishlist-toast{ padding: 12px 18px !important; }
  .wishlist-toast .wishlist-toast-text{ font-size: 12.5px !important; }
}

/* ===== Konto — bieżący sidebar (customer/page.tpl, wszystkie podstrony) =====
   Desktop only (na razie): stały sidebar z linkami zamiast siatki kafelków.
   Na mobile sidebar jest ukryty wszędzie poza stroną "Twoje konto", gdzie
   .links/.col-lg-4 renderuje się dokładnie jak wcześniej (natywny grid). */
.dp-account-sidebar{ display: none; }
.dp-account-home .dp-account-sidebar{ display: block; }
.dp-account-greeting{ display: none; }

/* mobile-only "Wróć" — na desktopie sidebar już to zapewnia */
.dp-account-back-mobile{
  display: inline-flex !important; align-items: center; gap: 4px;
  padding: 8px 14px; margin: 0 0 14px; border-radius: 20px;
  background: #f0f0f2; color: #1d1d1f !important; font-size: 13px; font-weight: 600; text-decoration: none !important;
}
.dp-account-back-mobile .material-icons{ font-size: 18px; }
@media (min-width: 768px){
  .dp-account-back-mobile{ display: none !important; }
}
.dp-account-logout{
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 13px 14px;
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.06);
  font-size: 13.5px; font-weight: 600; color: #ff4c4c !important; text-decoration: none !important;
}
.dp-account-logout .material-icons{ font-size: 19px; }
.dp-account-logout:hover{ color: #e03a3a !important; }
.dp-account-welcome{
  background: #fff; border-radius: 16px; padding: 28px 26px; box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.dp-account-welcome h2{ margin: 0 0 8px; font-size: 19px; }
.dp-account-welcome p{ margin: 0; color: #7a7a7e; font-size: 13.5px; }

@media (min-width: 768px){
  .dp-account-layout{ display: flex; align-items: flex-start; gap: 28px; }
  .dp-account-sidebar{
    display: block !important;
    width: 270px; flex: 0 0 270px;
    background: #fff; border-radius: 16px; box-shadow: 0 2px 14px rgba(0,0,0,.06);
    padding: 22px 16px;
  }
  .dp-account-content{ flex: 1 1 auto; min-width: 0; }
  .dp-account-greeting{
    display: block !important; margin: 0 0 14px; padding: 0 10px;
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #9a9a9e;
  }
  .dp-account-sidebar .row{ margin: 0 !important; }
  .dp-account-sidebar .links{ display: block !important; margin: 0 !important; }
  .dp-account-sidebar .links > a{
    display: block !important; float: none !important;
    width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 0 4px !important;
    outline: none !important; box-shadow: none !important;
  }
  .dp-account-sidebar .links > a:focus,
  .dp-account-sidebar .links > a:active,
  .dp-account-sidebar .links > a:focus-visible{
    outline: none !important; box-shadow: none !important;
  }
  .dp-account-sidebar .links > a:focus .link-item,
  .dp-account-sidebar .links > a:active .link-item,
  .dp-account-sidebar .links > a:focus-visible .link-item{
    outline: none !important; box-shadow: none !important;
  }
  .dp-account-sidebar .links > a .link-item{
    display: flex !important; align-items: center !important; gap: 10px !important;
    height: auto !important; padding: 9px 10px !important; border-radius: 10px;
    font-size: 12px !important; font-weight: 600; font-style: normal;
    text-align: left !important; text-transform: none !important; white-space: normal; line-height: 1.25;
    color: #1d1d1f;
    transition: background .15s ease, color .15s ease;
  }
  .dp-account-sidebar .links > a .link-item .material-icons{
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 18px !important; flex: 0 0 auto !important;
    padding-bottom: 0 !important; margin: 0 !important;
    font-size: 17px !important; line-height: 1 !important; color: inherit !important;
  }
  .dp-account-sidebar .links > a:hover .link-item{ background: #f4ecfb; }
  .dp-account-sidebar .links > a.dp-active .link-item{ background: #BF78EE; color: #fff !important; }
  .dp-account-sidebar .links > a.dp-active .link-item .material-icons{ color: #fff !important; }
  .dp-account-logout{ margin-top: 14px; padding: 12px 12px 0; border-top: 1px solid #eee; background: none; box-shadow: none; border-radius: 0; }
}

/* === DP SHOP — "Informacja" jako strona adresów i danych do faktury === */
.dp-info-lead{color:#6b6b70;font-size:13px;line-height:1.55;margin:0 0 26px;max-width:640px;}
.dp-info-section{margin-bottom:34px;}
.dp-info-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.dp-info-section-head h3{margin:0;font-size:16px;font-weight:700;color:#1d1d1f;}
.dp-info-add-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:10px;border:none;box-shadow:none;-webkit-appearance:none;appearance:none;background:#BF78EE;color:#fff!important;font-size:12px;font-family:inherit;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s ease;}
.dp-info-add-btn:hover,
.dp-info-add-btn:focus{background:#a95fe0;color:#fff!important;outline:none;box-shadow:none;}
.dp-info-add-btn .material-icons{font-size:16px;line-height:1;}
.dp-info-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;}
.dp-info-cards:empty{display:none;}
.dp-info-empty{display:none;color:#9a9a9e;font-size:13px;margin:0;}
.dp-info-cards:empty + .dp-info-empty{display:block;}
/* pusta sekcja (brak adresow / danych do faktury) — przycisk „Dodaj" POD tytulem,
   nie z boku; pokazujemy tez komunikat o pustym stanie. Wykrywanie serwerowe
   (klasa .dp-info-section-empty), bo :empty zawodzi przez whitespace z {foreach}. */
.dp-info-section-empty .dp-info-section-head{flex-direction:column;align-items:flex-start;}
.dp-info-section-empty .dp-info-empty{display:block;margin-top:2px;}
.dp-info-card{position:relative;background:#fff;border:1px solid #ececee;border-radius:14px;padding:18px 18px 16px;box-shadow:0 2px 10px rgba(0,0,0,.04);}
.dp-info-card h4{margin:0 0 8px;padding-right:70px;font-size:14px;font-weight:700;color:#1d1d1f;}
.dp-info-card address{font-style:normal;font-size:13px;line-height:1.5;color:#4c4c50;margin:0 0 6px;}
.dp-info-card .dp-info-phone,
.dp-info-card .dp-info-nip,
.dp-info-card .dp-info-address-line{font-size:13px;line-height:1.5;color:#4c4c50;margin:0 0 4px;}
.dp-info-card.dp-info-card-default{border-color:#BF78EE;box-shadow:0 2px 14px rgba(191,120,238,.18);}
.dp-info-default-badge{position:absolute;top:16px;right:16px;display:inline-flex;align-items:center;gap:4px;background:#f4ecfb;color:#8b3fd1;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;padding:4px 9px;border-radius:20px;}
.dp-info-default-badge .material-icons{font-size:13px;line-height:1;}
.dp-info-card-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;padding-top:12px;border-top:1px solid #f1f1f2;}
.dp-info-card-actions a{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#6b6b70;text-decoration:none;}
.dp-info-card-actions a .material-icons{font-size:15px;line-height:1;}
.dp-info-card-actions a:hover{color:#BF78EE;}
.dp-info-card-actions a[data-link-action="delete-address"]:hover{color:#e0455a;}
.dp-info-personal{padding-top:10px;border-top:1px solid #ececee;}
@media (max-width:767px){
  .dp-info-section-head{flex-wrap:wrap;}
  .dp-info-cards{grid-template-columns:1fr;}
}

/* === DP SHOP — quick-add popups (adres dostawy / dane do faktury) === */
.dp-quickaddr-modal{background:rgba(0,0,0,.0);}
.dp-quickaddr-modal .modal-dialog{max-width:440px;margin:8vh auto;}
.dp-quickaddr-modal .modal-content{background:#fff;border:none;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.18);overflow:hidden;}
.dp-quickaddr-modal .modal-header{position:relative;display:flex;align-items:center;padding:20px 50px 20px 22px;border-bottom:1px solid #f1f1f2;box-sizing:border-box;}
.dp-quickaddr-modal .modal-title{margin:0;font-size:17px;font-weight:700;color:#1d1d1f;}
.dp-quickaddr-close{position:absolute;top:50%;right:20px;transform:translateY(-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:22px;line-height:1;color:#9a9a9e;cursor:pointer;padding:0;}
.dp-quickaddr-close:hover{color:#1d1d1f;}
.dp-quickaddr-modal .modal-body{padding:20px 22px 6px;}
.dp-quickaddr-field{margin-bottom:14px;}
.dp-quickaddr-input{width:100%;box-sizing:border-box;padding:11px 14px;border:1px solid #e2e2e5;border-radius:10px;font-size:13px;color:#1d1d1f;background:#fafafb;transition:border-color .15s ease,background .15s ease;}
.dp-quickaddr-input:focus{outline:none;border-color:#BF78EE;background:#fff;}
.dp-quickaddr-input::placeholder{color:#9a9a9e;}
.dp-quickaddr-hint{margin:6px 2px 0;font-size:11.5px;color:#9a9a9e;display:flex;align-items:center;gap:5px;}
.dp-quickaddr-modal .modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px 22px;border-top:none;}
.dp-quickaddr-cancel{background:none;border:none;padding:10px 16px;font-size:13px;font-weight:600;color:#6b6b70;cursor:pointer;border-radius:20px;}
.dp-quickaddr-cancel:hover{background:#f4f4f5;}
.dp-quickaddr-submit{background:#BF78EE;color:#fff;border:none;padding:10px 20px;border-radius:20px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease;}
.dp-quickaddr-submit:hover{background:#a95fe0;}
.dp-quickaddr-submit:disabled{opacity:.6;cursor:default;}
.dp-quickaddr-alerts:empty{display:none;}
.dp-quickaddr-alerts .alert{margin:0 0 14px;padding:10px 14px;border-radius:10px;font-size:12.5px;}
.dp-quickaddr-alerts .alert-danger{background:#fdecec;color:#c23b4d;}
.dp-quickaddr-alerts .alert-success{background:#eafaf0;color:#1f9d55;}
@media (max-width:480px){
  .dp-quickaddr-modal .modal-dialog{max-width:92%;margin:6vh auto;}
}

/* === DP SHOP — "Dane konta" page (imie/telefon, e-mail, haslo) === */
.dp-acct-section{margin-bottom:22px;}
.dp-acct-heading{margin:0 0 10px;font-size:14px;font-weight:700;color:#1d1d1f;}
.dp-acct-card{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #ececee;border-radius:14px;padding:16px 18px;box-shadow:0 2px 10px rgba(0,0,0,.04);}
.dp-acct-card-main{display:flex;flex-direction:column;gap:4px;min-width:0;}
.dp-acct-card-main strong{font-size:14px;color:#1d1d1f;}
.dp-acct-sub{font-size:12.5px;color:#6b6b70;}
.dp-acct-value{font-size:13px;color:#1d1d1f;word-break:break-all;}
.dp-acct-dots{letter-spacing:2px;font-size:15px;color:#4c4c50;}
.dp-acct-edit-btn{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:8px 14px;border-radius:10px;border:none;box-shadow:none;background:#f4ecfb;color:#8b3fd1!important;font-size:12px;font-family:inherit;font-weight:600;cursor:pointer;transition:background .15s ease;}
.dp-acct-edit-btn:hover{background:#ecdbfa;}
.dp-acct-edit-btn .material-icons{font-size:15px;line-height:1;}
.dp-acct-hint{display:flex;align-items:flex-start;gap:8px;margin:10px 2px 0;padding:12px 14px;background:#f7f4fb;border-radius:10px;font-size:12px;line-height:1.5;color:#6b6b70;}
.dp-acct-hint .material-icons{font-size:16px;line-height:1.4;color:#a479d6;flex:0 0 auto;}
@media (max-width:480px){
  .dp-acct-card{flex-wrap:wrap;}
}

/* === DP SHOP — "Zwroty i reklamacje" === */
.dp-ret-top{display:flex;justify-content:flex-end;margin-bottom:18px;}
.dp-ret-history-btn{text-decoration:none;}
.dp-ret-cards{display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid #ececee;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.04);overflow:hidden;}
.dp-ret-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #f1f1f2;flex-wrap:wrap;}
.dp-ret-card:last-child{border-bottom:none;}
.dp-ret-card-head{display:flex;align-items:center;gap:10px;flex:1 1 260px;min-width:220px;}
.dp-ret-card-head .material-icons{font-size:20px;color:#8b3fd1;flex:0 0 auto;}
.dp-ret-card-head h4{margin:0;font-size:14px;font-weight:700;color:#1d1d1f;}
.dp-ret-card p{flex:2 1 320px;margin:0;font-size:12.5px;line-height:1.55;color:#6b6b70;}
.dp-ret-card p a{color:#8b3fd1;text-decoration:underline;}
.dp-ret-choose-btn{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:10px 18px;border-radius:10px;border:none;box-shadow:none;background:#1d1d1f;color:#fff!important;font-size:12px;font-family:inherit;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s ease;}
.dp-ret-choose-btn:hover{background:#3a3a3d;}
.dp-ret-choose-btn .material-icons{font-size:16px;line-height:1;}

.dp-ret-history-list{display:flex;flex-direction:column;gap:10px;}
.dp-ret-history-item{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #ececee;border-radius:12px;padding:14px 16px;}
.dp-ret-history-main{display:flex;flex-direction:column;gap:3px;min-width:0;}
.dp-ret-history-main strong{font-size:13px;color:#1d1d1f;}
.dp-ret-history-sub{font-size:11.5px;color:#9a9a9e;}
.dp-ret-history-status{flex:0 0 auto;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;padding:5px 11px;border-radius:20px;background:#f4ecfb;color:#8b3fd1;white-space:nowrap;}
.dp-ret-history-status.dp-ret-status-closed{background:#f1f1f2;color:#6b6b70;}

.dp-ret-order-list{display:flex;flex-direction:column;gap:8px;}
.dp-ret-order-pick{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #ececee;border-radius:10px;text-decoration:none;color:#1d1d1f;transition:border-color .15s ease,background .15s ease;}
.dp-ret-order-pick:hover{border-color:#BF78EE;background:#f9f5fd;color:#1d1d1f;}
.dp-ret-order-pick strong{font-size:13px;display:block;}
.dp-ret-order-pick .material-icons{font-size:18px;color:#9a9a9e;flex:0 0 auto;}

select.dp-quickaddr-input{appearance:auto;-webkit-appearance:menulist;background-color:#fafafb;}
textarea.dp-quickaddr-input{resize:vertical;font-family:inherit;}

@media (max-width:640px){
  .dp-ret-card{flex-direction:column;align-items:flex-start;}
  .dp-ret-choose-btn{width:100%;justify-content:center;}
}

/* === DP SHOP — blockwishlist: fix layout (theme override handles sidebar),
   remove leftover blue accent from the wishlist stats topbar toggle === */
.wishlist-stats .wishlist-stats-topbar .btn-group button:hover,
.wishlist-stats .wishlist-stats-topbar .btn-group button.active{background-color:#BF78EE!important;color:#fff!important;}

/* === DP SHOP — blockwishlist: remaining blue leaks (create-list link,
   wishlist name link both use the generic Bootstrap .text-primary blue) === */
.wishlist-add-to-new.text-primary{color:#8b3fd1!important;}
.wishlist-add-to-new.text-primary:hover{color:#6f2ba8!important;}
.wishlist-list-item-link,
.wishlist-list-item-link .wishlist-list-item-title{color:#1d1d1f!important;}
.wishlist-list-item-link:hover,
.wishlist-list-item-link:hover .wishlist-list-item-title{color:#8b3fd1!important;}

/* === DP SHOP — blockwishlist: "Utworz liste zyczen" popup — usunac
   niebieska ramke focus na polu nazwy, kwadratowsze przyciski (jak
   .dp-info-add-btn / sidebar) zamiast pelnej pigulki === */
.wishlist-create .form-control{border-color:#e2e2e5;box-shadow:none;}
.wishlist-create .form-control:focus{border-color:#e2e2e5!important;box-shadow:none!important;outline:none!important;}
.wishlist-create .modal-footer .btn{border-radius:10px!important;}

/* === DP SHOP — cart icon opens a right-side drawer (desktop AND mobile
   header -- #_desktop_cart / #_mobile_cart render the same widget, only
   one has content at a given viewport width, so sharing one selector list
   costs nothing on the side that's empty) === */
#_desktop_cart .blockcart .body.dp-cart-drawer-panel,
#_mobile_cart .blockcart .body.dp-cart-drawer-panel{color:#1d1d1f!important;
  display:flex!important;
  flex-direction:column;
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  height:100dvh;
  width:420px;
  max-width:92vw;
  background:#fff;
  z-index:99999;
  transform:translateX(100%);
  transition:transform .32s cubic-bezier(.22,.68,0,1);
  box-shadow:-8px 0 32px rgba(0,0,0,.14);
  visibility:hidden;
}
#_desktop_cart .blockcart .body.dp-cart-drawer-panel,
#_mobile_cart .blockcart .body.dp-cart-drawer-panel{
  transition:transform .32s cubic-bezier(.22,.68,0,1), visibility 0s linear .32s;
}
#_desktop_cart .blockcart.dp-cart-open .body.dp-cart-drawer-panel,
#_mobile_cart .blockcart.dp-cart-open .body.dp-cart-drawer-panel{
  transform:translateX(0);
  visibility:visible;
  transition:transform .32s cubic-bezier(.22,.68,0,1), visibility 0s linear 0s;
}
/* CRITICAL: .blockcart carries a `transition: transform .15s` (the header
   cart button's hover/tap bounce). The moment it's tapped to open the
   drawer, transform briefly holds a non-`none` value mid-transition -- and
   ANY non-none transform on an element turns it into the containing block
   for its position:fixed descendants. Our drawer panel is position:fixed
   inside .blockcart, so instead of anchoring to the viewport (top:0, full
   height) it anchors to .blockcart, which sits ~54px down (below the header
   banner). Result: the panel starts 54px from the top and its bottom 54px
   -- the totals + checkout button -- overflow off the bottom of the
   screen. Forcing transform:none on the OPEN blockcart removes the
   containing block so the fixed panel snaps back to the viewport. The
   panel's own slide-in transform lives on .body.dp-cart-drawer-panel (a
   child), so this doesn't affect the open animation. */
#_desktop_cart .blockcart.dp-cart-open,
#_mobile_cart .blockcart.dp-cart-open{
  transform:none!important;
}
/* the mobile header's own CSS aggressively hides everything in #_mobile_cart
   down to a bare 27x27 icon, since before this drawer existed the mobile
   cart icon only ever linked straight to the cart page. Two of those rules
   reach our drawer: ".blockcart > *:not(.header){display:none!important}"
   hides our drawer panel (a direct child of .blockcart), and a handful of
   ".material-icons{display:none!important}" rules hide every icon inside
   it too. Nothing else in that mobile CSS matches anything inside the
   drawer (verified: no other selector touches .dp-cart-item, .cart-total,
   .dp-cart-voucher-* etc.), so these two targeted overrides are enough --
   no need to reset every descendant's display. Equal-or-higher specificity
   plus later source order wins both. */
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel{display:flex!important;}
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel .material-icons{
  display:inline-block!important;background:none!important;width:auto!important;height:auto!important;font-size:20px!important;
}
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel .dp-cart-drawer-close .material-icons{font-size:22px!important;}
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel .dp-cart-item-remove .material-icons{font-size:20px!important;}
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel .dp-cart-voucher-remove .material-icons{font-size:18px!important;}
/* #_mobile_cart has its own position:relative;z-index:2 (set elsewhere,
   to layer the header's icon row), same as its siblings #_mobile_user_info
   and #dp-mobile-search-btn -- on that tie, #_mobile_user_info (later in
   the DOM) paints over #_mobile_cart's whole subtree, backdrop and drawer
   panel included (dp-custom.js nests both inside #_mobile_cart while the
   drawer is open specifically to avoid needing to out-rank the backdrop's
   huge z-index directly -- see the comment in getBackdrop()). This only
   needs to beat its OWN siblings' z-index:2, so a small, ordinary bump is
   enough (an earlier version used z-index:100000, which reliably hit a
   Chromium compositing bug on real touch/click input: computed styles and
   z-index came back correct via getComputedStyle/elementFromPoint, but the
   actual paint went stale, leaving text and whole sections invisible or
   stuck behind their own backdrop blur).

   This bump is now UNCONDITIONAL (not gated behind .dp-cart-drawer-active
   the way it first was) because toggling z-index itself on open/close --
   even for this small a value -- turned out to still intermittently
   trigger the same class of stale-paint bug on repeated opens, just less
   reliably than the z-index:100000 version did. #_mobile_cart is a plain
   27x27 icon the rest of the time; z-index:5 instead of 2 has no visible
   effect while closed (nothing else on the page competes at that range),
   so there's no downside to leaving it always on and removing the dynamic
   toggle -- the backdrop's own opacity/visibility transition (.is-open)
   is the only thing that still needs to animate on open/close. */
html body #header #_mobile_cart{z-index:5!important;}
/* "#header #_mobile_cart, #header #_mobile_cart *{background:transparent!important}"
   (mobile-only, meant to strip backgrounds off the plain icon button) also
   wipes out every background our drawer needs -- the panel's own white
   backdrop, thumbnail placeholders, the voucher chip, buttons -- making the
   whole panel invisibly transparent even though it's correctly on top and
   receiving clicks. Restore them with equal-or-higher specificity. */
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel{background:#fff!important;}
html body #header #_mobile_cart .blockcart .dp-cart-item-thumb{background:#f4f4f5!important;}
html body #header #_mobile_cart .blockcart .dp-cart-voucher-item{background:#f6ecff!important;}
html body #header #_mobile_cart .blockcart .dp-cart-voucher-input{background:#fff!important;}
html body #header #_mobile_cart .blockcart .dp-cart-voucher-submit{background:#1d1d1f!important;}
html body #header #_mobile_cart .blockcart .dp-cart-drawer-checkout-btn{background:#BF78EE!important;}
/* the SAME mobile-only rule that squashes the plain cart icon also sets
   font-size:0!important and line-height:0!important directly on .blockcart
   -- the drawer panel's own top-level ancestor. Since font-size/line-height
   are INHERITED properties, that 0 flows down through every element below
   that doesn't set its own (which is most of the drawer), rendering all
   their text invisible even where a specific rule for that element sets a
   real font-size -- e.g. .dp-cart-item-name's own font-size:14px loses to
   .blockcart's font-size:0 by INHERITANCE only when a HIGHER-specificity
   sibling rule (like a blanket "restore <a> tags" rule matching by tag)
   also touches font-size, since inherited values otherwise always lose to
   ANY rule that directly targets the element. Fixing font-size/line-height
   once here, at the panel (the same specificity tier already used
   throughout this block), re-establishes a sane base for the whole
   subtree to inherit, so every element's own font-size rule can just work
   as normal from here down. */
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel{
  font-size:14px!important;line-height:1.4!important;
}
/* several mobile-only rules ALSO squash EVERY <a> inside #_mobile_cart down
   to a bare 27x27 icon button (width/height:27px, padding:0) -- built for
   the plain cart-icon link, but our drawer re-uses <a> for the product
   name, the remove-item icon, the remove-voucher icon and the checkout
   button. Width/height don't inherit, so this needs a per-element fix
   regardless of the font-size fix above. */
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel a{
  width:auto!important;height:auto!important;
}
html body #header #_mobile_cart .blockcart .dp-cart-item-name{
  display:-webkit-box!important;color:#1d1d1f!important;font-size:14px!important;line-height:normal!important;
}
html body #header #_mobile_cart .blockcart .dp-cart-item-remove{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
html body #header #_mobile_cart .blockcart .dp-cart-voucher-remove{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
html body #header #_mobile_cart .blockcart .dp-cart-drawer-checkout-btn{
  display:block!important;font-size:14px!important;padding:14px!important;color:#fff!important;text-align:center!important;
}
/* the voucher submit is a <button>, not an <a> -- unaffected by the rule
   above, but its color:#fff (set without !important in the base rule)
   isn't winning here for reasons not worth chasing further; force it. */
html body #header #_mobile_cart .blockcart .dp-cart-voucher-submit{color:#fff!important;}
/* backdrop-filter:blur() on this overlay used to do the page-blur effect,
   but it reliably hit a Chromium bug where the drawer panel -- itself
   fixed-position, newly visible in the same tick as the backdrop -- got
   sampled INTO the blur instead of composited on top of it: computed
   styles/z-index were always correct (verified via getComputedStyle and
   elementFromPoint) but the actual paint intermittently went stale, so
   the whole drawer looked frosted over, flickering between correct and
   broken across opens/hovers. Neither a forced reflow nor a two-frame
   requestAnimationFrame delay before toggling visibility fully fixed it.
   This project already solved the identical problem for the mobile
   kinetic menu (#dp-drawer) by dropping backdrop-filter there too and
   blurring the actual page content with a plain `filter` instead (see
   "html.dp-blur-page body > main" below) -- filter on real DOM content is
   an ordinary operation with none of backdrop-filter's compositing edge
   cases. This backdrop is now just a plain dark overlay; the blur itself
   comes from .dp-cart-blur-page below. */
.dp-cart-drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:2147482900;
  opacity:0;
  visibility:hidden;
  transition:opacity .28s ease, visibility 0s linear .28s;
}
.dp-cart-drawer-backdrop.is-open{
  transition:opacity .28s ease, visibility 0s linear 0s;
}
.dp-cart-drawer-backdrop.is-open{
  opacity:1;
  visibility:visible;
}
html.dp-cart-drawer-lock{overflow:hidden!important;}
/* The drawer panel is portaled OUT to <body> on open (see dp-custom.js), so
   it's no longer inside <main>. That means we can just blur the whole of
   <main> (header, wrapper, footer -- everything behind the overlay) without
   touching the drawer, exactly like the mobile menu's html.dp-blur-page
   body > main does. */
html.dp-cart-blur-page main{
  filter:blur(4px);
  transition:filter .3s ease;
}

/* === Portaled cart drawer panel ===
   When open, dp-custom.js moves .dp-cart-drawer-panel out to <body> and adds
   .dp-cart-portal. At body level NONE of the in-widget
   "#_desktop_cart/#_mobile_cart .blockcart ..." rules match it and no
   ancestor has a transform/filter to hijack its position:fixed -- so this
   one self-contained block fully defines the open overlay, immune to the
   theme's mobile cart-icon rules that used to blank its text and offset it
   off-screen on real phones. Inner elements (name, price, footer, voucher,
   heading) keep their existing generic .dp-cart-* styles, which apply
   cleanly here with nothing competing. */
body > .dp-cart-drawer-panel.dp-cart-portal{
  display:flex; flex-direction:column;
  position:fixed; top:0; right:0;
  height:100vh; height:100dvh;
  width:420px; max-width:92vw;
  margin:0; padding:0;
  background:#fff;
  color:#1d1d1f;
  font-size:14px; line-height:1.4;
  z-index:2147483000;
  transform:translateX(100%);
  visibility:hidden;
  box-shadow:-8px 0 32px rgba(0,0,0,.14);
  transition:transform .32s cubic-bezier(.22,.68,0,1), visibility 0s linear .32s;
}
body > .dp-cart-drawer-panel.dp-cart-portal.dp-open{
  transform:translateX(0);
  visibility:visible;
  transition:transform .32s cubic-bezier(.22,.68,0,1), visibility 0s linear 0s;
}
body > .dp-cart-drawer-panel.dp-cart-portal,
body > .dp-cart-drawer-panel.dp-cart-portal *{ box-sizing:border-box; }
body > .dp-cart-drawer-panel.dp-cart-portal .material-icons{
  display:inline-block; background:none; width:auto; height:auto;
}

.dp-cart-drawer-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 24px;border-bottom:1px solid #f1f1f2;flex:0 0 auto;
}
.dp-cart-drawer-head span{font-size:22px;font-weight:700;color:#1d1d1f!important;}
.dp-cart-drawer-close{background:none;border:none;padding:0;cursor:pointer;color:#9a9a9e;}
.dp-cart-drawer-close:hover{color:#1d1d1f;}
.dp-cart-drawer-close .material-icons{font-size:24px;}

.dp-cart-drawer-items{flex:1 1 auto;overflow-y:auto;padding:8px 24px;min-height:0;}
.dp-cart-drawer-items ul{list-style:none;margin:0;padding:0;}
.dp-cart-item{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #f1f1f2;}
.dp-cart-item-thumb{flex:0 0 auto;width:56px;height:56px;border-radius:10px;object-fit:cover;background:#f4f4f5;}
.dp-cart-item-main{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;min-width:0;}
.dp-cart-item-name{font-size:14px;color:#1d1d1f!important;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-decoration:none;transition:color .15s ease;}
.dp-cart-item-name:hover{text-decoration:underline;color:#BF78EE!important;}
.dp-cart-item-qty-price{font-size:12.5px;color:#9a9a9e!important;}
.dp-cart-item-qty{color:#1d1d1f;font-weight:500;margin-right:6px;}
.dp-cart-item-price-old{text-decoration:line-through;color:#1d1d1f;margin-right:6px;font-weight:500;}
.dp-cart-item-price-new{color:#e5308a;font-weight:700;font-size:13.5px;}
.dp-cart-item-remove{flex:0 0 auto;display:inline-flex;color:#9a9a9e;text-decoration:none;}
.dp-cart-item-remove:hover{color:#e0455a;}
.dp-cart-item-remove .material-icons{font-size:20px;}
.dp-cart-drawer-empty{padding:40px 0;text-align:center;color:#9a9a9e!important;font-size:14px;}

.dp-cart-drawer-footer{flex:0 0 auto;padding:18px 24px 24px;border-top:1px solid #f1f1f2;}
.dp-cart-drawer-footer .cart-subtotals{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;}
.dp-cart-drawer-footer .cart-subtotals > div,
.dp-cart-drawer-footer .cart-total{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px;}
.dp-cart-drawer-footer .cart-subtotals .label,
.dp-cart-drawer-footer .cart-total .label{font-size:14px;color:#1d1d1f!important;font-weight:600;}
.dp-cart-drawer-footer .cart-subtotals .value{font-size:14px;color:#4c4c50!important;}
.dp-cart-drawer-footer .cart-total{margin-top:10px;padding-top:10px;border-top:1px solid #f1f1f2;}
.dp-cart-drawer-footer .cart-total .value{font-size:20px;font-weight:700;color:#1d1d1f!important;}
.dp-cart-total-value-col{display:flex;flex-direction:column;align-items:flex-end;}
.dp-cart-tax-note{font-size:11px;color:#9a9a9e;font-weight:400;margin-top:2px;}
.dp-cart-total-before{text-decoration:line-through;color:#b3b3b8;font-size:13px;font-weight:500;}

.dp-cart-voucher{margin-top:14px;padding-top:14px;border-top:1px solid #f1f1f2;}
.dp-cart-voucher-list{list-style:none;margin:0;padding:0;}
.dp-cart-voucher-item{display:flex;align-items:center;gap:8px;background:#f6ecff;border:1px solid #e4cffb;border-radius:10px;padding:8px 12px;}
.dp-cart-voucher-name{flex:1 1 auto;font-size:13px;font-weight:600;color:#1d1d1f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.dp-cart-voucher-amount{font-size:13px;font-weight:700;color:#8a3fd1;}
.dp-cart-voucher-remove{display:inline-flex;color:#9a9a9e;text-decoration:none;}
.dp-cart-voucher-remove:hover{color:#e0455a;}
.dp-cart-voucher-form{display:flex;gap:8px;}
.dp-cart-voucher-input{flex:1 1 auto;min-width:0;padding:10px 12px;border:1px solid #e4e4e7;border-radius:10px;font-size:13px;color:#1d1d1f;background:#fff;}
.dp-cart-voucher-input:focus{outline:none;border-color:#BF78EE;}
.dp-cart-voucher-input::placeholder{color:#b3b3b8;}
.dp-cart-voucher-submit{flex:0 0 auto;padding:10px 16px;border:none;border-radius:10px;background:#1d1d1f;color:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s ease;}
.dp-cart-voucher-submit:hover{background:#3a3a3d;}
.dp-cart-voucher-error{margin:8px 0 0;font-size:12px;color:#e0455a;}
.dp-cart-voucher-error[hidden]{display:none;}
.dp-cart-drawer-checkout-btn{
  display:block;margin-top:16px;padding:14px;border-radius:10px;
  background:#BF78EE;color:#fff!important;text-align:center;
  font-size:14px;font-weight:700;text-decoration:none;
  transition:background .15s ease;
}
.dp-cart-drawer-checkout-btn:hover{background:#a95fe0;color:#fff!important;}

/* === DP SHOP — cart drawer text color: must out-specificity
   "#header .header-top-nav2 .blockcart *{color:#fff!important}" === */
#header .header-top-nav2 .blockcart .dp-cart-drawer-panel,
#header .header-top-nav2 .blockcart .dp-cart-drawer-head span,
#header .header-top-nav2 .blockcart .dp-cart-drawer-close,
#header .header-top-nav2 .blockcart .dp-cart-item-name,
#header .header-top-nav2 .blockcart .dp-cart-drawer-footer .label,
#header .header-top-nav2 .blockcart .dp-cart-drawer-footer .cart-total .value,
#header .header-top-nav2 .blockcart .dp-cart-drawer-empty{
  color:#1d1d1f!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-name:hover{
  color:#BF78EE!important;
}
#header .header-top-nav2 .blockcart .dp-cart-drawer-footer .cart-subtotals .value{
  color:#4c4c50!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-qty-price{
  color:#9a9a9e!important;
}
#header .header-top-nav2 .blockcart .dp-cart-tax-note{
  color:#9a9a9e!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-qty{
  color:#1d1d1f!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-price-old{
  color:#1d1d1f!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-price-new{
  color:#e5308a!important;
}
#header .header-top-nav2 .blockcart .dp-cart-total-before{
  color:#b3b3b8!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-name{
  color:#1d1d1f!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-amount{
  color:#8a3fd1!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-input{
  color:#1d1d1f!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-submit{
  color:#fff!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-error{
  color:#e0455a!important;
}
#header .header-top-nav2 .blockcart .dp-cart-drawer-empty{
  color:#9a9a9e!important;
}
#header .header-top-nav2 .blockcart .dp-cart-drawer-checkout-btn{
  color:#fff!important;
}

/* === DP SHOP — cart drawer icons: restore material-icons display, which
   "#header .header-top-nav2 .blockcart .material-icons{display:none!important}"
   (meant only for the header's own SVG-swapped cart glyph) also caught === */
#header .header-top-nav2 .blockcart .dp-cart-drawer-panel .material-icons{
  display:inline-block!important;
  background:none!important;
  width:auto!important;
  height:auto!important;
}
#header .header-top-nav2 .blockcart .dp-cart-drawer-close{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:28px!important;background:none!important;
}
#header .header-top-nav2 .blockcart .dp-cart-drawer-close .material-icons{
  font-size:22px!important;color:#9a9a9e!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-remove{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;height:auto!important;background:none!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-remove .material-icons{
  font-size:20px!important;color:#9a9a9e!important;
  transition:color .15s ease, transform .15s ease!important;
}
#header .header-top-nav2 .blockcart .dp-cart-item-remove:hover .material-icons{
  color:#e0455a!important;transform:scale(1.15)!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-icon,
#header .header-top-nav2 .blockcart .dp-cart-voucher-remove{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;height:auto!important;background:none!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-icon{
  color:#BF78EE!important;font-size:18px!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-remove .material-icons{
  font-size:18px!important;color:#9a9a9e!important;
  transition:color .15s ease, transform .15s ease!important;
}
#header .header-top-nav2 .blockcart .dp-cart-voucher-remove:hover .material-icons{
  color:#e0455a!important;transform:scale(1.15)!important;
}

/* ==================== DP SHOP — FULL CART PAGE (controller=cart) ====================
   Bring the detailed cart lines in line with the side drawer / product card:
   red sale price + pink discount pill, smaller proportionate thumbnails,
   delicate row separators, a clean quantity stepper, and an on-brand promo
   code box. Scoped to .cart-overview / #js-checkout-summary so nothing leaks
   to the mini-cart drawer or elsewhere. */

/* --- rows: delicate separator like the side drawer --- */
.cart-overview .cart-items{list-style:none;margin:0;padding:0;}
.cart-overview .cart-items .cart-item{padding:12px 0;border-bottom:1px solid #f1f1f2;}
.cart-overview .cart-items .cart-item:last-child{border-bottom:0;}
.cart-overview .cart-items > hr{display:none;}

/* --- smaller, proportionate product image --- */
.cart-overview .cart-item .product-line-grid-left{padding-right:8px;}
.cart-overview .cart-item .product-line-grid-left .product-image{display:inline-block;width:auto;}
.cart-overview .cart-item .product-line-grid-left .product-image img{
  width:80px!important;height:80px!important;max-width:80px!important;
  object-fit:contain;border-radius:8px;background:transparent!important;padding:0!important;
}

/* --- product name --- */
.cart-overview .cart-item .product-line-info .label{
  font-size:15px!important;font-weight:600!important;color:#1d1d1f!important;text-decoration:none;
  transition:color .15s ease;
}
.cart-overview .cart-item .product-line-info .label:hover{color:#BF78EE!important;}

/* --- price: card-style, red sale price first, then struck old + pink pill --- */
.cart-overview .cart-item .product-line-info.product-price{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:2px;
}
.cart-overview .cart-item .product-price .current-price{order:1;}
.cart-overview .cart-item .product-price .product-discount{
  order:2;margin:0;display:flex;align-items:center;gap:10px;
}
.cart-overview .cart-item .product-price .current-price .price{
  font-size:17px!important;font-weight:700!important;color:#1d1d1f!important;
}
.cart-overview .cart-item .product-price.has-discount .current-price .price{
  color:#e5308a!important;
}
.cart-overview .cart-item .product-price .product-discount .regular-price{
  font-size:14px!important;color:#9a9a9e!important;text-decoration:line-through!important;font-weight:500!important;
}
.cart-overview .cart-item .product-price .discount.discount-percentage,
.cart-overview .cart-item .product-price .discount.discount-amount{
  background:#e5308a!important;color:#fff!important;font-size:12px!important;font-weight:700!important;
  padding:3px 10px!important;border-radius:999px!important;white-space:nowrap;
  box-shadow:0 2px 8px rgba(0,0,0,.15);line-height:1.4;
}

/* --- right-side line total --- */
.cart-overview .cart-item .product-line-actions .price .product-price strong{
  font-size:16px!important;font-weight:700!important;color:#1d1d1f!important;
}

/* --- quantity stepper: clean rounded group --- */
.cart-overview .cart-item .qty .input-group.bootstrap-touchspin{
  display:inline-flex!important;align-items:stretch;width:auto!important;
  border:1px solid #e4e4e7;border-radius:10px;overflow:hidden;background:#fff;height:38px;
}
.cart-overview .cart-item .qty .bootstrap-touchspin-prefix,
.cart-overview .cart-item .qty .bootstrap-touchspin-postfix{display:none!important;}
.cart-overview .cart-item .qty .js-cart-line-product-quantity{
  border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;
  width:46px!important;height:36px!important;text-align:center;padding:0!important;margin:0!important;
  font-size:14px!important;font-weight:600!important;color:#1d1d1f!important;-moz-appearance:textfield;
}
.cart-overview .cart-item .qty .js-cart-line-product-quantity::-webkit-outer-spin-button,
.cart-overview .cart-item .qty .js-cart-line-product-quantity::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.cart-overview .cart-item .qty .input-group-btn-vertical{
  display:flex!important;flex-direction:column;border-left:1px solid #e4e4e7;width:28px;flex:0 0 28px;
}
.cart-overview .cart-item .qty .input-group-btn-vertical .btn-touchspin{
  border:0!important;background:#fafafb!important;width:28px!important;height:18px!important;padding:0!important;margin:0!important;
  display:flex!important;align-items:center;justify-content:center;color:#6b6b70!important;cursor:pointer;box-shadow:none!important;
  transition:background .12s ease, color .12s ease;
}
.cart-overview .cart-item .qty .input-group-btn-vertical .btn-touchspin:hover{background:#f4ecfd!important;color:#BF78EE!important;}
.cart-overview .cart-item .qty .input-group-btn-vertical .bootstrap-touchspin-up{border-bottom:1px solid #e4e4e7;}
.cart-overview .cart-item .qty .input-group-btn-vertical .material-icons{font-size:16px!important;line-height:1;}

/* --- delete (trash) like the side drawer --- */
.cart-overview .cart-item .cart-line-product-actions .remove-from-cart{
  color:#9a9a9e!important;display:inline-flex;text-decoration:none;transition:color .15s ease, transform .15s ease;
}
.cart-overview .cart-item .cart-line-product-actions .remove-from-cart:hover{color:#e0455a!important;transform:scale(1.1);}
.cart-overview .cart-item .cart-line-product-actions .remove-from-cart .material-icons{font-size:20px!important;}

/* ==================== promo code box (right summary) ==================== */
.cart-voucher .promo-code{padding:8px 0 0;}
.cart-voucher .promo-input,
.cart-voucher input[name="discount_name"]{
  border:1px solid #e4e4e7!important;border-radius:10px!important;box-shadow:none!important;
  height:42px!important;padding:0 14px!important;font-size:13px!important;color:#1d1d1f!important;
}
.cart-voucher .promo-input:focus,
.cart-voucher input[name="discount_name"]:focus{border-color:#BF78EE!important;outline:none!important;}
.cart-voucher .promo-code .btn,
.cart-voucher .promo-code button[type="submit"]{
  background:#BF78EE!important;border:0!important;border-radius:10px!important;color:#fff!important;
  font-weight:700!important;height:42px!important;padding:0 20px!important;box-shadow:none!important;
}
.cart-voucher .promo-code .btn:hover,
.cart-voucher .promo-code button[type="submit"]:hover{background:#a95fe0!important;}
/* applied voucher -> pink chip like the drawer */
.cart-voucher .promo-name{list-style:none;margin:0 0 10px;padding:0;}
.cart-voucher .promo-name .cart-summary-line{
  display:flex!important;align-items:center;justify-content:space-between;gap:8px;
  background:#f6ecff;border:1px solid #e4cffb;border-radius:10px;padding:8px 12px;margin:0;
}
.cart-voucher .promo-name .cart-summary-line .label{
  font-size:13px!important;font-weight:700!important;color:#1d1d1f!important;
}
.cart-voucher .promo-name .cart-summary-line .float-xs-right{
  display:flex!important;align-items:center;gap:8px;float:none!important;
}
.cart-voucher .promo-name .cart-summary-line .float-xs-right > span{
  font-size:13px!important;font-weight:700!important;color:#8a3fd1!important;white-space:nowrap;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"]{
  display:inline-flex;align-items:center;color:#9a9a9e!important;text-decoration:none;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"]:hover{color:#e0455a!important;}
.cart-voucher .promo-name [data-link-action="remove-voucher"] .material-icons{font-size:18px!important;}
.cart-voucher .promo-code-button .collapse-button{color:#BF78EE!important;font-weight:600;}
/* the "Skorzystaj z naszych ofert" discount list codes */
.cart-voucher .js-discount .code,
.cart-voucher .promo-highlighted{color:#8a3fd1!important;}

/* --- FULL CART PAGE: shorter rows --- */
.cart-overview .cart-item .product-line-grid-body br{display:none!important;}
.cart-overview .cart-item .product-line-info{margin:0!important;}
.cart-overview .cart-item .product-line-info .label{line-height:1.25!important;}

/* --- FULL CART PAGE: bigger KOSZYK heading + de-tint the deals zone --- */
.cart-grid h1.h1,
.cart-grid-body .card-block > h1.h1{
  font-size:32px!important;
  font-weight:800!important;
  color:#1d1d1f!important;
  letter-spacing:-0.4px!important;
  line-height:1.1!important;
  margin:0!important;
}
/* "Strefa okazji" on the cart: drop the lavender box background so it blends
   into the page (the inner deal cards keep their own white + shadow) */
#dp-okazje.dp-oz.dp-oz-ctx-cart,
.dp-oz.dp-oz-ctx-cart{
  background:transparent!important;
  padding:0!important;
  border-radius:0!important;
  margin:24px 0 0!important;
}

/* --- FULL CART PAGE: heading moved out of the white products card, so it
   sits on the page background (no white box behind it) and lines up on the
   same left edge as the "Strefa okazji" heading below --- */
.cart-grid-body .cart-page-title{
  margin:0 0 6px!important;
  padding:0!important;
  background:transparent!important;
}
.cart-grid-body .cart-page-subtitle{
  margin:0 0 22px!important;
  padding:0!important;
  font-size:13px!important;
  color:#8a8794!important;
  font-weight:500!important;
  line-height:1.4!important;
}

/* --- FULL CART PAGE: move "Kontynuuj zakupy" to the right, below the list --- */
.cart-grid-body > a.label[href]{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center;
  margin:14px 0 0!important;
  color:#1d1d1f!important;
  font-weight:600!important;
}
.cart-grid-body > a.label[href]:hover{color:#BF78EE!important;}

/* --- FULL CART PAGE: the visual discount-progress bar (dp-db) now shows the
   3/5/7% thresholds, so hide the old plain "Skorzystaj z naszych ofert" text
   list that duplicated it. Keep the voucher input + applied-voucher chip. --- */
.cart-voucher .promo-highlighted,
.cart-voucher ul.promo-discounts,
.cart-voucher ul.js-discount{display:none!important;}
/* the discount bar sits nicely full-width inside the summary card */
.cart-grid-right .dp-db{margin:16px 0 4px!important;}

/* ==================== CART SUMMARY — competitor-style "Podsumowanie" ==================== */
.cart-grid-right .dp-sum-head{margin:0 0 20px;}
.cart-grid-right .dp-sum-title{
  font-size:30px!important;font-weight:800!important;color:#1d1d1f!important;
  letter-spacing:-0.5px!important;line-height:1.1!important;margin:0 0 4px!important;
}
.cart-grid-right .dp-sum-count{
  font-size:14px!important;color:#8a8794!important;font-weight:500!important;margin:0!important;
}
/* itemised subtotals */
.cart-grid-right .cart-detailed-subtotals{padding:0!important;margin:0!important;}
.cart-grid-right .cart-detailed-subtotals .cart-summary-line{
  display:flex!important;align-items:baseline;justify-content:space-between;gap:12px;
  padding:9px 0!important;margin:0!important;border:0!important;
}
.cart-grid-right .cart-detailed-subtotals .cart-summary-line .label{
  font-size:14.5px!important;color:#4c4c50!important;font-weight:500!important;
}
.cart-grid-right .cart-detailed-subtotals .cart-summary-line .value{
  font-size:14.5px!important;color:#1d1d1f!important;font-weight:600!important;white-space:nowrap;
}
.cart-grid-right .cart-detailed-subtotals .dp-sum-discount .value{color:#e5308a!important;}
/* Razem (brutto) — emphasised, separated */
.cart-grid-right .dp-sum-total{
  display:flex!important;align-items:baseline;justify-content:space-between;gap:12px;
  padding:16px 0 4px!important;margin:8px 0 0!important;border-top:1px solid #e7e7ea!important;
}
.cart-grid-right .dp-sum-total .label{
  font-size:18px!important;font-weight:800!important;color:#1d1d1f!important;
}
.cart-grid-right .dp-sum-total .value{
  font-size:20px!important;font-weight:800!important;color:#1d1d1f!important;white-space:nowrap;
}

/* --- CART SUMMARY heading moved OUT of the card (matches KOSZYK / Strefa okazji):
   title styled exactly like the KOSZYK heading, count as a gray subtitle --- */
.cart-grid-right .dp-sum-head{
  margin:0 0 16px!important;
  padding:0!important;
  background:transparent!important;
}
.cart-grid-right .dp-sum-head .dp-sum-title{
  font-size:27px!important;font-weight:800!important;color:#1d1d1f!important;
  letter-spacing:-0.4px!important;line-height:1.1!important;margin:0 0 6px!important;
}
.cart-grid-right .dp-sum-head .dp-sum-count{
  font-size:13px!important;color:#8a8794!important;font-weight:500!important;
  line-height:1.4!important;margin:0!important;
}

/* ==================== CART PAGE — cards & summary polish ====================
   Round + shadow both cards (like the Strefa okazji deal cards), pad the
   summary content away from the edges, and line up every label/value row on
   the same left and right rulers. */

/* both cards: rounded corners + soft shadow, matching .dp-oz-card */
.cart-grid-body .card.cart-container,
.cart-grid-right .card.cart-summary{
  border-radius:14px!important;
  box-shadow:0 2px 10px rgba(29,29,31,.05)!important;
  background:#fff!important;
  border:0!important;
  overflow:hidden;
}

/* summary card: inner padding so nothing hugs the edges */
.cart-grid-right .card.cart-summary{padding:18px 22px 22px!important;}
/* the theme wraps sub-sections in .card-block with their own padding; zero the
   horizontal padding so every row aligns to the card's own 22px padding line */
.cart-grid-right .card.cart-summary > .card-block,
.cart-grid-right .card.cart-summary .cart-detailed-totals,
.cart-grid-right .card.cart-summary .cart-detailed-subtotals,
.cart-grid-right .card.cart-summary .cart-detailed-actions,
.cart-grid-right .card.cart-summary .cart-voucher,
.cart-grid-right .card.cart-summary .dp-sum-total{
  padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;
}

/* label / value rows: label left, value hard-right on one ruler */
.cart-grid-right .cart-summary-line{
  display:flex!important;align-items:baseline;gap:14px;padding:9px 0!important;margin:0!important;border:0!important;
}
.cart-grid-right .cart-summary-line .label{flex:1 1 auto;text-align:left;}
.cart-grid-right .cart-summary-line .value{
  flex:0 0 auto;margin-left:auto!important;float:none!important;text-align:right;
  white-space:nowrap;font-variant-numeric:tabular-nums;
}
/* Razem (brutto) total on the same rulers */
.cart-grid-right .dp-sum-total{
  display:flex!important;align-items:baseline;gap:14px;
  padding:16px 0 4px!important;margin:8px 0 0!important;border-top:1px solid #e7e7ea!important;
}
.cart-grid-right .dp-sum-total .label{flex:1 1 auto;}
.cart-grid-right .dp-sum-total .value{margin-left:auto!important;float:none!important;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}

/* discount bar full width inside the padded card */
.cart-grid-right .card.cart-summary .dp-db{margin-left:0;margin-right:0;}

/* ==================== CART PAGE — batch refinements ==================== */

/* 1) Razem (brutto) label + value on the exact same rulers as the rows above */
.cart-grid-right .card.cart-summary .dp-sum-total{
  padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;
}
.cart-grid-right .dp-sum-total .label{margin:0!important;padding:0!important;}
.cart-grid-right .dp-sum-total .value{margin-left:auto!important;padding:0!important;}

/* 2) hide the "Zamknij" (cancel promo) link — the code field is always open */
.cart-voucher .cancel-promo,
.cart-voucher .promo-code .cancel-promo{display:none!important;}

/* 3) wider promo code input, tighter button */
.cart-voucher .promo-code form{display:flex!important;gap:8px!important;align-items:stretch;}
.cart-voucher .promo-input,
.cart-voucher input[name="discount_name"]{flex:1 1 auto!important;width:auto!important;min-width:0!important;}
.cart-voucher .promo-code .btn,
.cart-voucher .promo-code button[type="submit"]{flex:0 0 auto!important;padding:0 18px!important;}

/* 4) checkout button: nudge down a touch and let the card end right under it */
.cart-grid-right .card.cart-summary{padding-bottom:18px!important;}
.cart-grid-right .cart-detailed-actions{padding:0!important;margin:14px 0 0!important;}
.cart-grid-right .cart-detailed-actions .text-sm-center{margin:0!important;}

/* 5) sticky summary: stays visible while scrolling a long cart */
.cart-grid.row{display:flex!important;flex-wrap:wrap;align-items:stretch;}
.cart-grid.row .cart-grid-right{position:static!important;}
/* Only the summary block (heading + card) is sticky -- short enough to fit the
   viewport so its TOP stays pinned; the reassurance block below it stays in
   normal flow. Starts below the ~91px pinned top menu. */
.cart-grid.row .cart-grid-right .dp-summary-sticky{
  position:sticky!important;
  top:104px!important;
}

/* --- CART PAGE: over-stock quantity feedback (shake + max note) --- */
@keyframes dp-qty-shake{
  0%,100%{transform:translateX(0);}
  15%{transform:translateX(-5px);}
  30%{transform:translateX(5px);}
  45%{transform:translateX(-4px);}
  60%{transform:translateX(4px);}
  75%{transform:translateX(-2px);}
  90%{transform:translateX(2px);}
}
.cart-overview .cart-item .qty{position:relative;}
.cart-overview .cart-item .qty .input-group.dp-qty-shake{animation:dp-qty-shake .5s ease;}
.cart-overview .cart-item .qty .dp-qty-max-msg{
  position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);
  font-size:11px;font-weight:700;color:#e0455a;text-align:center;white-space:nowrap;
  opacity:0;transition:opacity .2s ease;pointer-events:none;z-index:4;
}
.cart-overview .cart-item .qty .dp-qty-max-msg.is-show{opacity:1;}

/* ==================== CART PAGE — voucher chips like the side drawer ==================== */
.cart-voucher .promo-name{list-style:none!important;margin:0 0 12px!important;padding:0!important;}
.cart-voucher .promo-name .cart-summary-line{
  display:flex!important;align-items:center;gap:9px;justify-content:flex-start;
  background:#f6ecff!important;border:1px solid #e4cffb!important;border-radius:12px!important;
  padding:10px 14px!important;margin:0 0 8px!important;
}
.cart-voucher .promo-name .cart-summary-line:last-child{margin-bottom:0!important;}
/* tag icon on the left, like the drawer's local_offer */
.cart-voucher .promo-name .cart-summary-line::before{
  content:"local_offer";font-family:"Material Icons";font-weight:500;
  font-size:18px;line-height:1;color:#BF78EE;flex:0 0 auto;
  -webkit-font-feature-settings:"liga";font-feature-settings:"liga";
}
.cart-voucher .promo-name .cart-summary-line .label{
  flex:1 1 auto;font-size:13px!important;font-weight:700!important;color:#1d1d1f!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important;
}
.cart-voucher .promo-name .cart-summary-line .float-xs-right{
  display:flex!important;align-items:center;gap:9px;float:none!important;flex:0 0 auto;
}
.cart-voucher .promo-name .cart-summary-line .float-xs-right > span{
  font-size:13px!important;font-weight:700!important;color:#8a3fd1!important;white-space:nowrap;
}
/* remove link: an X (close) icon instead of the trash glyph */
.cart-voucher .promo-name [data-link-action="remove-voucher"]{
  display:inline-flex!important;align-items:center;color:#9a9a9e!important;text-decoration:none;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"]:hover{color:#e0455a!important;}
.cart-voucher .promo-name [data-link-action="remove-voucher"] .material-icons{
  font-size:0!important;width:auto!important;height:auto!important;margin:0!important;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"] .material-icons::before{
  content:"close";font-family:"Material Icons";font-size:18px;line-height:1;
  -webkit-font-feature-settings:"liga";font-feature-settings:"liga";
}

/* --- promo "Dodaj" button: keep only the colour change on hover (no lift),
   and match the code input's height --- */
.cart-voucher .promo-code .btn,
.cart-voucher .promo-code button[type="submit"]{
  height:42px!important;transform:none!important;
  transition:background .18s ease!important;box-shadow:none!important;
}
.cart-voucher .promo-code .btn:hover,
.cart-voucher .promo-code button[type="submit"]:hover{
  transform:none!important;background:#a95fe0!important;box-shadow:none!important;
}

/* CART discount-bar gap tighten (cart page only, product page untouched) */
body#cart .card.cart-summary #dp-discount-bar{
  margin-top:2px!important;
  padding-top:8px!important;
}

/* CART upsell — Dobierz do zamowienia */
.dp-cart-upsell{ margin:30px 0 6px; }
.dp-cart-upsell .products-section-title{ margin-bottom:18px !important; }
.dp-cu-row{ overflow:hidden; width:100%; padding:6px 0; }
.dp-cu-track{ display:flex; gap:14px; width:max-content; will-change:transform;
  animation:dp-cu-scroll 60s linear infinite; }
.dp-cart-upsell:hover .dp-cu-track{ animation-play-state:paused; }
.dp-cu-track .js-product{ flex:0 0 230px !important; width:230px !important; max-width:230px !important; margin:0 !important; padding:0 !important; }
.dp-cu-track .product-miniature{ margin:0 !important; }
@keyframes dp-cu-scroll{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
.dp-cu-track--static{ animation:none !important; width:100% !important; flex-wrap:wrap; justify-content:center; }
@media (prefers-reduced-motion: reduce){ .dp-cu-track{ animation:none !important; } }
@media (max-width:767px){
  .dp-cu-track .js-product{ flex-basis:62vw !important; width:62vw !important; max-width:62vw !important; }
  .dp-cu-track{ animation-duration:40s; }
}

/* CART — Naliczone rabaty as plain text (override pill styling) */
.cart-voucher .dp-voucher-head{
  margin:2px 0 9px !important; font-size:13px !important; font-weight:800 !important;
  color:#1d1d1f !important; text-transform:none !important; letter-spacing:.01em;
}
.cart-voucher .promo-name{ list-style:none !important; margin:0 0 12px !important; padding:0 !important; }
.cart-voucher .promo-name .cart-summary-line{
  display:flex !important; align-items:center; gap:10px; justify-content:space-between !important;
  background:transparent !important; border:0 !important; border-radius:0 !important;
  padding:5px 0 !important; margin:0 !important;
}
.cart-voucher .promo-name .cart-summary-line + .cart-summary-line{ border-top:1px solid #f1f1f2 !important; }
/* remove the tag-icon glyph used by the pill style */
.cart-voucher .promo-name .cart-summary-line::before{ content:none !important; display:none !important; }
.cart-voucher .promo-name .cart-summary-line .label{
  flex:1 1 auto !important; font-size:13px !important; font-weight:600 !important; color:#4b4b4f !important;
  margin:0 !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.cart-voucher .promo-name .cart-summary-line .float-xs-right{
  display:flex !important; align-items:center; gap:8px; float:none !important; flex:0 0 auto;
}
.cart-voucher .promo-name .cart-summary-line .float-xs-right > span{
  font-size:13px !important; font-weight:700 !important; color:#8a3fd1 !important; white-space:nowrap;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"]{
  display:inline-flex !important; align-items:center; color:#b3b3b8 !important; text-decoration:none;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"]:hover{ color:#e0455a !important; }
/* restore the native small trash glyph (undo the pill's close-icon swap) */
.cart-voucher .promo-name [data-link-action="remove-voucher"] .material-icons{
  font-size:16px !important; width:auto !important; height:auto !important; margin:0 !important;
}
.cart-voucher .promo-name [data-link-action="remove-voucher"] .material-icons::before{ content:none !important; }

/* CART — coupon breakdown under Rabat(y) (pink amounts, remove after name) */
.dp-voucher-breakdown{ margin:-2px 0 2px; }
.cart-grid-right .cart-detailed-subtotals .dp-voucher-line{ padding:3px 0 !important; }
.dp-voucher-line .label{
  display:flex !important; align-items:center; gap:7px;
  font-size:12.5px !important; font-weight:600 !important; color:#8a8a8f !important; padding-left:18px;
}
.cart-grid-right .cart-detailed-subtotals .dp-voucher-line .value.dp-voucher-amount{
  color:#e5308a !important; font-weight:700 !important; font-size:13px !important;
}
.dp-voucher-remove{ display:inline-flex !important; align-items:center; color:#c2c2c7 !important; text-decoration:none; }
.dp-voucher-remove:hover{ color:#e0455a !important; }
.dp-voucher-remove .material-icons{ font-size:15px !important; line-height:1; }

/* CART — Rabat(y) as group heading (no total value; sub-discounts indented) */
.cart-grid-right .cart-detailed-subtotals .dp-sum-discount{ margin-bottom:2px !important; }
.cart-grid-right .cart-detailed-subtotals .dp-sum-discount .label{
  font-weight:700 !important; color:#1d1d1f !important;
}
.cart-grid-right .cart-detailed-subtotals .dp-sum-discount .value{ display:none !important; }

/* CART — promo code: button inside field, shorter height, placed above Rabat(y) */
.cart-grid-right .cart-voucher{ margin:0 0 4px !important; padding:0 !important; }
.cart-grid-right .cart-voucher .promo-code{ padding:0 !important; }
.cart-grid-right .cart-voucher .promo-code form{
  position:relative !important; display:block !important; gap:0 !important;
}
.cart-grid-right .cart-voucher .promo-input,
.cart-grid-right .cart-voucher input[name="discount_name"]{
  height:36px !important; width:100% !important; box-sizing:border-box !important;
  padding:0 86px 0 14px !important; border-radius:9px !important; flex:none !important;
}
.cart-grid-right .cart-voucher .promo-code .btn,
.cart-grid-right .cart-voucher .promo-code button[type="submit"]{
  position:absolute !important; top:4px !important; right:4px !important; bottom:4px !important;
  height:auto !important; padding:0 16px !important; border-radius:7px !important;
  font-size:12.5px !important; font-weight:700 !important; line-height:1 !important;
  flex:none !important; transform:none !important; box-shadow:none !important;
}
.cart-grid-right .cart-voucher .promo-code .btn:hover,
.cart-grid-right .cart-voucher .promo-code button[type="submit"]:hover{
  transform:none !important; background:#a95fe0 !important; box-shadow:none !important;
}

/* CART — promo head + field-wrapper button alignment */
/* always show the code field; hide the "Have a promo code?" toggle */
.cart-grid-right .cart-voucher #promo-code{ display:block !important; height:auto !important; visibility:visible !important; }
.cart-grid-right .cart-voucher .promo-code-button.display-promo{ display:none !important; }
/* heading above the field */
.cart-grid-right .cart-voucher .dp-promo-head{
  margin:0 0 6px !important; font-size:11px !important; font-weight:500 !important;
  color:#9a9a9e !important; text-transform:none !important; letter-spacing:.02em;
}
/* the field wrapper hugs the input, so the button centres on the input exactly */
.cart-grid-right .cart-voucher .promo-code form{ position:static !important; display:block !important; }
.cart-grid-right .cart-voucher .dp-promo-field{ position:relative !important; display:block !important; }
.cart-grid-right .cart-voucher .dp-promo-field .promo-input,
.cart-grid-right .cart-voucher .dp-promo-field input[name="discount_name"]{
  height:38px !important; width:100% !important; box-sizing:border-box !important; margin:0 !important;
  padding:0 88px 0 14px !important; border-radius:9px !important; flex:none !important;
}
.cart-grid-right .cart-voucher .dp-promo-field .btn,
.cart-grid-right .cart-voucher .dp-promo-field button[type="submit"]{
  position:absolute !important; top:50% !important; right:5px !important; bottom:auto !important;
  transform:translateY(-50%) !important; height:30px !important; margin:0 !important;
  padding:0 16px !important; border-radius:7px !important; font-size:12.5px !important;
  font-weight:700 !important; line-height:30px !important; box-shadow:none !important;
  display:inline-flex !important; align-items:center !important;
}
.cart-grid-right .cart-voucher .dp-promo-field .btn:hover,
.cart-grid-right .cart-voucher .dp-promo-field button[type="submit"]:hover{
  transform:translateY(-50%) !important; background:#a95fe0 !important; box-shadow:none !important;
}

/* CART — promo block symmetric spacing (equal gap above caption and below field) */
.cart-grid-right .cart-detailed-subtotals .block-promo{ margin-top:11px !important; margin-bottom:11px !important; }
.cart-grid-right .cart-detailed-subtotals .cart-voucher{ margin:0 !important; }

/* CART — Razem old price + shorter checkout button */
.cart-grid-right .dp-sum-total{ align-items:flex-end !important; }
.cart-grid-right .dp-sum-total .dp-sum-total-right{
  display:flex !important; flex-direction:column; align-items:flex-end;
  margin-left:auto !important; line-height:1.12; gap:1px;
}
.cart-grid-right .dp-sum-total .dp-sum-total-right .value{ margin-left:0 !important; }
.cart-grid-right .dp-sum-total .dp-sum-old{
  font-size:13px !important; font-weight:600 !important; color:#a7a7ac !important;
  text-decoration:line-through !important; white-space:nowrap; font-variant-numeric:tabular-nums;
}
/* checkout button: wyrazisty CTA — wyzszy, zeby rzucal sie w oczy */
.cart-grid-right .cart-detailed-actions .btn.btn-primary{
  padding:16px 22px !important; font-size:14px !important; line-height:1.2 !important;
  min-height:0 !important; white-space:nowrap !important; font-weight:700 !important;
}
/* wiecej powietrza nad i pod przyciskiem, zeby byl latwo zauwazalny */
.cart-grid-right .cart-detailed-actions{ margin:26px 0 22px !important; }
.cart-grid-right .dp-cart-loyalty{ margin-top:0 !important; }
.cart-grid-right .card.cart-summary #dp-discount-bar{ margin-top:14px !important; }

/* Razem label aligned to final amount line */
.cart-grid-right .dp-sum-total .label{ align-self:flex-end !important; line-height:1.12 !important; padding-bottom:1px !important; }

/* CART — checkout button hover like Dodaj (not black) */
.cart-grid-right .cart-detailed-actions .btn.btn-primary:hover,
.cart-grid-right .cart-detailed-actions .btn.btn-primary:focus,
.cart-grid-right .cart-detailed-actions .btn.btn-primary:active{
  background:#a95fe0 !important; border-color:#a95fe0 !important; color:#fff !important;
  transform:none !important; box-shadow:none !important;
}

/* CART — checkout button less rounded */
.cart-grid-right .cart-detailed-actions .btn.btn-primary{ border-radius:9px !important; }

/* side cart: applied vouchers as plain text like the full cart */
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-head,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-head{
  margin:2px 0 6px !important; padding:0 !important;
  font-size:13px !important; font-weight:700 !important; color:#1d1d1f !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-list,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-list{
  list-style:none !important; margin:0 !important; padding:0 !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-item,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-item{
  display:flex !important; align-items:center !important; gap:7px !important;
  justify-content:flex-start !important;
  background:transparent !important; border:0 !important; border-radius:0 !important;
  padding:4px 0 4px 16px !important; margin:0 !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-item + .dp-cart-voucher-item,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-item + .dp-cart-voucher-item{
  border-top:1px solid #f1f1f2 !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-icon,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-icon{ display:none !important; }
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-name,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-name{
  flex:0 1 auto !important; font-size:12.5px !important; font-weight:600 !important;
  color:#8a8a8f !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-remove,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-remove{
  flex:0 0 auto !important; color:#c2c2c7 !important; background:none !important;
  display:inline-flex !important; align-items:center !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-remove .material-icons,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-remove .material-icons,
html body #header #_mobile_cart .blockcart .dp-cart-drawer-panel .dp-cart-voucher-remove .material-icons{
  font-size:15px !important; color:#c2c2c7 !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-remove:hover .material-icons,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-remove:hover .material-icons{
  color:#e0455a !important; transform:none !important;
}
html body #header .header-top-nav2 .blockcart .dp-cart-voucher-amount,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-amount{
  flex:0 0 auto !important; margin-left:auto !important;
  font-size:13px !important; font-weight:700 !important; color:#e5308a !important; white-space:nowrap;
}

/* side cart DRAWER PANEL (moved to body) vouchers as plain text */
html body .dp-cart-drawer-panel .dp-cart-voucher-head{
  margin:2px 0 6px !important; padding:0 !important;
  font-size:13px !important; font-weight:700 !important; color:#1d1d1f !important;
}
html body .dp-cart-drawer-panel .dp-cart-voucher-list{ list-style:none !important; margin:0 !important; padding:0 !important; }
html body .dp-cart-drawer-panel .dp-cart-voucher-item{
  display:flex !important; align-items:center !important; gap:7px !important; justify-content:flex-start !important;
  background:transparent !important; border:0 !important; border-radius:0 !important;
  padding:4px 0 4px 16px !important; margin:0 !important;
}
html body .dp-cart-drawer-panel .dp-cart-voucher-item + .dp-cart-voucher-item{ border-top:1px solid #f1f1f2 !important; }
html body .dp-cart-drawer-panel .dp-cart-voucher-icon{ display:none !important; }
html body .dp-cart-drawer-panel .dp-cart-voucher-name{
  flex:0 1 auto !important; font-size:12.5px !important; font-weight:600 !important; color:#8a8a8f !important;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
html body .dp-cart-drawer-panel .dp-cart-voucher-remove{
  flex:0 0 auto !important; color:#c2c2c7 !important; background:none !important;
  display:inline-flex !important; align-items:center !important;
}
html body .dp-cart-drawer-panel .dp-cart-voucher-remove .material-icons{ font-size:15px !important; color:#c2c2c7 !important; }
html body .dp-cart-drawer-panel .dp-cart-voucher-remove:hover .material-icons{ color:#e0455a !important; transform:none !important; }
html body .dp-cart-drawer-panel .dp-cart-voucher-amount{
  flex:0 0 auto !important; margin-left:auto !important;
  font-size:13px !important; font-weight:700 !important; color:#e5308a !important; white-space:nowrap;
}

/* CART — remove side drawer separators + pink final price on discount */
/* side cart: no line between Wysylka and Rabat(y) */
.dp-cart-voucher,
#header .header-top-nav2 .blockcart .dp-cart-voucher,
html body #header #_mobile_cart .blockcart .dp-cart-voucher,
html body .dp-cart-drawer-panel .dp-cart-voucher{ border-top:0 !important; padding-top:0 !important; }
/* side cart: no separators between voucher rows */
#header .header-top-nav2 .blockcart .dp-cart-voucher-item + .dp-cart-voucher-item,
html body #header #_mobile_cart .blockcart .dp-cart-voucher-item + .dp-cart-voucher-item,
html body .dp-cart-drawer-panel .dp-cart-voucher-item + .dp-cart-voucher-item{ border-top:0 !important; }
/* discounted final price -> pink like the coupons (side cart) */
html body .dp-cart-drawer-panel .cart-total.dp-has-discount .value,
#header .header-top-nav2 .blockcart .cart-total.dp-has-discount .value,
html body #header #_mobile_cart .blockcart .cart-total.dp-has-discount .value{ color:#e5308a !important; }
/* discounted final price -> pink (full cart) */
.cart-grid-right .dp-sum-total.dp-has-discount .value{ color:#e5308a !important; }

/* product thumbnail arrows: make right arrow clickable (was covered by the
   info .col-md-6 that paints on top -> lift the images column + arrows above it) */
#main .product-container > .col-md-6:first-child{ position:relative; z-index:3; }
.scroll-box-arrows{ position:relative; z-index:4; }
#main .scroll-box-arrows .left,
#main .scroll-box-arrows .right{ z-index:4 !important; }

/* ==================== ORDER HISTORY — monthly cards ==================== */
.dp-oh-intro{ font-size:13.5px; color:#6b6b70; margin:0 0 18px; }
.dp-oh-list{ display:flex; flex-direction:column; gap:8px; }
.dp-oh-month{ font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#a9a9ae; margin:20px 0 6px; }
.dp-oh-month:first-child{ margin-top:0; }
.dp-oh-card{
  position:relative; display:flex; align-items:center; gap:18px;
  background:#fff; border:1px solid #ececf0; border-radius:14px;
  padding:16px 52px 16px 18px; box-shadow:0 2px 10px rgba(29,29,31,.05);
}
.dp-oh-main{ flex:0 0 auto; min-width:150px; display:flex; flex-direction:column; gap:3px; }
.dp-oh-status{ display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:800; color:#1d1d1f; }
.dp-oh-dot{ width:8px; height:8px; border-radius:50%; flex:0 0 auto; }
/* biały kolor statusu («Wysłane» — w adminie bez tła) → kropka z obwódką, żeby była widoczna */
.dp-oh-dot[style*="#FFFFFF" i]{ box-shadow: inset 0 0 0 1px #c4cad3; }
.dp-oh-date{ font-size:12.5px; color:#6b6b70; }
.dp-oh-ref{ font-size:12px; color:#a9a9ae; }
.dp-oh-total{ font-size:15px; font-weight:800; color:#1d1d1f; margin-top:2px; }
.dp-oh-thumbs{ flex:1 1 auto; display:flex; align-items:center; gap:10px; flex-wrap:wrap; text-decoration:none; }
.dp-oh-thumb{ width:64px; height:64px; border-radius:12px; background:#f6f6f7; border:1px solid #eee; overflow:hidden; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.dp-oh-thumb img{ width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.dp-oh-more{ font-size:13px; font-weight:700; color:#8a8a8f; align-self:center; }
.dp-oh-menu{ position:absolute; top:12px; right:12px; }
.dp-oh-menu-btn{
  width:32px; height:32px; border:0; background:transparent; border-radius:9px; cursor:pointer;
  display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  transition:background .15s ease;
}
.dp-oh-menu-btn:hover{ background:#f2f2f4; }
.dp-oh-menu-btn span{ width:4px; height:4px; border-radius:50%; background:#8a8a8f; display:block; }
.dp-oh-menu-pop{
  position:absolute; top:38px; right:0; z-index:20; min-width:236px;
  background:#fff; border:1px solid #ececf0; border-radius:12px;
  box-shadow:0 8px 26px rgba(29,29,31,.14); padding:6px;
}
.dp-oh-menu-pop a{
  display:block; padding:10px 12px; border-radius:8px; font-size:13.5px; font-weight:600;
  color:#1d1d1f; text-decoration:none; white-space:nowrap;
}
.dp-oh-menu-pop a:hover{ background:#f6ecff; color:#8a3fd1; }
@media (max-width:767px){
  .dp-oh-card{ flex-wrap:wrap; padding:14px 48px 14px 14px; gap:12px; }
  .dp-oh-main{ min-width:0; flex:1 1 100%; }
  .dp-oh-thumb{ width:54px; height:54px; }
  .dp-oh-menu-pop{ min-width:200px; }
}

/* order history: whole card clickable + open-menu stacking */
.dp-oh-card{ cursor:pointer; transition:border-color .15s ease, box-shadow .15s ease; }
.dp-oh-card:hover{ border-color:#e4cffb; box-shadow:0 4px 16px rgba(29,29,31,.09); }
.dp-oh-cardlink{ position:absolute; inset:0; z-index:1; border-radius:14px; font-size:0; overflow:hidden; }
.dp-oh-main, .dp-oh-thumbs{ position:relative; z-index:0; }
.dp-oh-menu{ z-index:4; }
.dp-oh-card.dp-oh-menu-open{ z-index:10; }
.dp-oh-card:has(.dp-oh-menu-pop:not([hidden])){ z-index:10; }

/* checkout: show search + full header like other pages */
body#checkout #search_widget{ display:block !important; }

/* checkout: discount-bar gap + summary spacing like cart */
body#checkout .card.cart-summary #dp-discount-bar{ margin-top:14px !important; }
body#checkout .dp-checkout-summary .dp-sum-head{ margin-top:0; }

/* one-page checkout: all steps open */
body#checkout .checkout-step .content{ display:block !important; }
body#checkout .checkout-step .step-title .step-edit{ display:none !important; }

/* checkout personal-info (logged-in): layout + buyer type + KSeF note */
.dp-pi-topline{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:0 0 4px; }
.dp-pi-name{ margin:0; font-size:15px; color:#1d1d1f; }
.dp-pi-name a{ font-weight:700; color:#1d1d1f; text-decoration:none; }
.dp-pi-logout{ margin:0; font-size:13.5px; color:#8a8a8f; white-space:nowrap; }
.dp-pi-logout a{ font-weight:700; color:#BF78EE; text-decoration:none; }
.dp-pi-logout a:hover{ color:#a95fe0; text-decoration:underline; }
.dp-pi-cartnote{ margin:0 0 16px; }
.dp-pi-cartnote small{ color:#a9a9ae; }
/* checkout step 1 (logged-in): contact data uses the same .form-group/.form-control
   look as the guest form, just prefilled; name/email read-only, phone required */
.dp-pi-contact{ margin:2px 0 14px; }
.dp-pi-contact .form-control[readonly]{ cursor:default; }
.dp-pi-contact .dp-pi-phone-input.dp-invalid{ border-color:#e0455a !important; background:#fff6f7; }
.dp-pi-contact .dp-pi-phone-err{ display:block; margin-top:4px; font-size:12.5px; font-weight:600; color:#e0455a; }
.dp-buyer-type{ display:flex; gap:12px; flex-wrap:wrap; margin:6px 0 10px; }
.dp-buyer-opt{ display:inline-flex; align-items:center; gap:9px; cursor:pointer; padding:11px 16px; border:1px solid #e4e4e7; border-radius:11px; font-size:14px; font-weight:600; color:#1d1d1f; transition:border-color .15s ease, background .15s ease; }
.dp-buyer-opt input{ position:absolute; opacity:0; width:0; height:0; }
.dp-buyer-radio{ width:18px; height:18px; border-radius:50%; border:2px solid #cfcfd4; flex:0 0 auto; position:relative; transition:border-color .15s ease; }
.dp-buyer-opt input:checked ~ .dp-buyer-radio{ border-color:#BF78EE; }
.dp-buyer-opt input:checked ~ .dp-buyer-radio::after{ content:""; position:absolute; inset:3px; border-radius:50%; background:#BF78EE; }
.dp-buyer-opt:has(input:checked){ border-color:#BF78EE; background:#f9f4ff; }
.dp-ksef-note{ margin:2px 0 18px; font-size:12.5px; line-height:1.5; color:#e0455a; font-weight:600; }
@media (max-width:767px){ .dp-buyer-type{ flex-direction:column; } .dp-buyer-opt{ justify-content:flex-start; } }

/* checkout personal-info v2: plain checkboxes (no pill) + logout hover + logout modal */
.dp-buyer-type{ gap:22px !important; margin:12px 0 10px !important; }
.dp-buyer-opt{ padding:0 !important; border:0 !important; background:transparent !important; border-radius:0 !important; }
.dp-buyer-opt:has(input:checked){ background:transparent !important; border:0 !important; }
.dp-buyer-radio{ width:20px !important; height:20px !important; border-radius:50% !important; border:2px solid #cfcfd4 !important; background:#fff !important; }
.dp-buyer-opt input:checked ~ .dp-buyer-radio{ border-color:#BF78EE !important; background:#fff !important; }
.dp-buyer-opt input:checked ~ .dp-buyer-radio::after{
  content:"" !important; position:absolute !important;
  top:50% !important; left:50% !important; transform:translate(-50%,-50%) !important;
  width:10px !important; height:10px !important;
  border:0 !important; border-radius:50% !important; background:#BF78EE !important;
}

/* "Nie Ty? Wyloguj się" — red + slightly larger on hover */
.dp-pi-logout a{ display:inline-block; transition:color .15s ease, transform .15s ease; transform-origin:left center; }
.dp-pi-logout a:hover,
.dp-pi-logout a:focus{ color:#e0455a !important; transform:scale(1.06); text-decoration:none !important; }

/* logout confirm modal */
.dp-logout-modal{ position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; background:rgba(29,29,31,.5); padding:20px; }
.dp-logout-modal.is-open{ display:flex; }
.dp-logout-dialog{ background:#fff; border-radius:16px; max-width:430px; width:100%; padding:26px 24px 22px; box-shadow:0 20px 50px rgba(0,0,0,.28); text-align:center; }
.dp-logout-dialog h3{ margin:0 0 10px; font-size:18px; font-weight:800; color:#1d1d1f; }
.dp-logout-dialog p{ margin:0 0 20px; font-size:13.5px; line-height:1.55; color:#4b4b4f; }
.dp-logout-actions{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.dp-logout-actions button{ border:0; border-radius:10px; padding:11px 22px; font-size:14px; font-weight:700; cursor:pointer; transition:background .15s ease; }
.dp-logout-cancel{ background:#f0f0f2; color:#1d1d1f; }
.dp-logout-cancel:hover{ background:#e4e4e7; }
.dp-logout-confirm{ background:#BF78EE; color:#fff; }
.dp-logout-confirm:hover{ background:#a95fe0; }

/* personal-info tweaks: bigger name + gap before buyer type */
.dp-pi-name a{ font-size:17px !important; }
.dp-buyer-type{ margin-top:22px !important; }

/* checkout steps: plain black numbers */
body#checkout .checkout-step .step-title .done{ display:none !important; }
body#checkout .checkout-step .step-title .step-number{
  display:inline-block !important; width:auto !important; height:auto !important; min-width:0 !important;
  line-height:normal !important; background:transparent !important; background-color:transparent !important;
  color:#1d1d1f !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
  font-weight:700 !important; margin:0 8px 0 0 !important; padding:0 !important;
}

/* guest personal-info: only name + email + consents */
body#checkout #checkout-guest-form .form-informations,
body#checkout #checkout-guest-form .form-group:has(#field-id_gender-1),
body#checkout #checkout-guest-form .form-group:has(#field-password),
body#checkout #checkout-guest-form .form-group:has(#field-birthday){ display:none !important; }

/* checkout step-1 tabs: highlight active mode */
body#checkout .checkout-step .nav-inline{ margin:0 0 18px !important; align-items:center; }
body#checkout .checkout-step .nav-inline .nav-link{ color:#8a8a8f !important; font-weight:600 !important; font-size:15px !important; padding:6px 2px !important; border-bottom:2px solid transparent !important; transition:color .15s ease, border-color .15s ease; }
body#checkout .checkout-step .nav-inline .nav-link:hover{ color:#1d1d1f !important; }
body#checkout .checkout-step .nav-inline .nav-link.active{ color:#1d1d1f !important; font-weight:800 !important; border-bottom-color:#BF78EE !important; }
body#checkout .checkout-step .nav-inline .nav-separator{ color:#d0d0d5 !important; margin:0 8px; }

/* checkout steps: title outside + content card (like cart) */
body#checkout .checkout-step{ background:transparent !important; padding:0 !important; margin:0 0 22px !important; }
body#checkout .checkout-step .step-title{ border-bottom:0 !important; padding:0 0 14px 4px !important; margin:0 !important; }
body#checkout .checkout-step .content{
  background:#fff !important; border-radius:14px !important;
  box-shadow:0 2px 10px rgba(29,29,31,.05) !important;
  padding:22px 24px !important; margin:0 !important;
}

/* checkout step titles: size like PODSUMOWANIE */
body#checkout .checkout-step .step-title{ font-size:27px !important; font-weight:800 !important; line-height:1.1 !important; letter-spacing:-0.4px !important; color:#1d1d1f !important; }
body#checkout .checkout-step .step-title .step-number{ font-size:27px !important; font-weight:800 !important; }
body#checkout .checkout-step .step-title .step-number::after{ content:"." !important; }

/* checkout step title: baseline-align number with name */
body#checkout .checkout-step .step-title{ display:flex !important; align-items:baseline !important; flex-wrap:wrap; }
body#checkout .checkout-step .step-title .step-number{ display:inline !important; line-height:1.1 !important; vertical-align:baseline !important; }

/* one-page guest: hide step-1 submit button */
body#checkout #checkout-guest-form .continue,
body#checkout #checkout-guest-form button[type="submit"]{ display:none !important; }

/* checkout inputs: rounded + thin purple focus */
body#checkout .checkout-step .form-control,
body#checkout .checkout-step input:not([type=radio]):not([type=checkbox]),
body#checkout .checkout-step select,
body#checkout .checkout-step textarea{ border-radius:9px !important; }
body#checkout .checkout-step .form-control:focus,
body#checkout .checkout-step input:not([type=radio]):not([type=checkbox]):focus,
body#checkout .checkout-step select:focus,
body#checkout .checkout-step textarea:focus{ border:1px solid #BF78EE !important; box-shadow:none !important; outline:none !important; }

/* ==================== CHECKOUT step 2 — address cards (guest, phase 1) ==================== */
#checkout-addresses-step .dp-addr-cards{ display:flex; flex-direction:column; gap:24px; }
#checkout-addresses-step .dp-addr-head{ font-size:15px; font-weight:800; color:#1d1d1f; margin:0 0 10px; }
#checkout-addresses-step .dp-addr-card{ position:relative; border:1px solid #e4e4e7; border-radius:12px; background:#fff; padding:18px 20px; }
#checkout-addresses-step .dp-addr-name{ font-weight:700; font-size:14px; color:#1d1d1f; margin-bottom:7px; }
#checkout-addresses-step .dp-addr-line{ font-size:13px; color:#6b6b70; line-height:1.55; }
#checkout-addresses-step .dp-addr-edit{ position:absolute; top:15px; right:16px; background:none; border:0; cursor:pointer; color:#8a8a8f; font-size:13px; font-weight:600; display:inline-flex; align-items:center; gap:5px; padding:0; }
#checkout-addresses-step .dp-addr-edit:hover{ color:#BF78EE; }
#checkout-addresses-step .dp-addr-edit .material-icons{ font-size:16px; }
#checkout-addresses-step .dp-addr-card--empty{ display:flex; align-items:center; justify-content:center; border-style:dashed; border-color:#d9d9de; min-height:96px; cursor:pointer; transition:border-color .15s ease, background .15s ease; }
#checkout-addresses-step .dp-addr-card--empty:hover{ border-color:#BF78EE; background:#faf7ff; }
#checkout-addresses-step .dp-addr-add{ width:46px; height:46px; border-radius:50%; border:2px solid #d9d9de; background:#fff; color:#9a9a9e; font-size:26px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:border-color .15s ease, color .15s ease; }
#checkout-addresses-step .dp-addr-card--empty:hover .dp-addr-add{ border-color:#BF78EE; color:#BF78EE; }

/* hide the native address form (kept in DOM; moved into the modal on demand) */
body#checkout #checkout-addresses-step .content > .js-address-form{ display:none !important; }

/* address modal */
.dp-addr-modal{ position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; background:rgba(29,29,31,.5); padding:20px; }
.dp-addr-modal.is-open{ display:flex; }
.dp-addr-dialog{ position:relative; background:#fff; border-radius:16px; max-width:600px; width:100%; max-height:88vh; overflow:auto; padding:24px 26px 20px; box-shadow:0 20px 50px rgba(0,0,0,.28); }
.dp-addr-dialog h3{ margin:0 0 16px; font-size:18px; font-weight:800; color:#1d1d1f; }
.dp-addr-dialog-close{ position:absolute; top:14px; right:14px; width:32px; height:32px; border:0; background:none; cursor:pointer; color:#9a9a9e; font-size:24px; line-height:1; border-radius:8px; }
.dp-addr-dialog-close:hover{ background:#f2f2f4; color:#1d1d1f; }
/* the native form, once inside the modal, is visible + spans the dialog */
.dp-addr-dialog form{ display:block !important; }
.dp-addr-dialog .form-group.row{ margin-bottom:12px; }

/* gościnny formularz adresu — kompaktowy (jak u zalogowanego klienta): chowamy
   zbędne pola natywnego formularza PS. Zostają: Imię, Nazwisko, (Firma+NIP dla firmy),
   Adres, Kod pocztowy, Miasto, Telefon. Adres użyty też do faktury (use_same_address
   zaznaczony, ukryty). */
.dp-addr-formmodal .dp-addr-formhost .form-group:has([name="alias"]),
.dp-addr-formmodal .dp-addr-formhost .form-group:has([name="address2"]),
.dp-addr-formmodal .dp-addr-formhost .form-group:has([name="id_country"]),
.dp-addr-formmodal .dp-addr-formhost .form-group:has([name="use_same_address"]){ display:none !important; }
/* Firma + NIP tylko dla zakupu „jako firma" */
.dp-addr-formmodal.dp-addr-guest--private .dp-addr-formhost .form-group:has([name="company"]),
.dp-addr-formmodal.dp-addr-guest--private .dp-addr-formhost .form-group:has([name="vat_number"]){ display:none !important; }

/* krok „Dane osobowe" (gość): firmowe pola (Nazwa firmy / NIP=siret) zbierane są w popupie
   „Firmowe dane do faktury", więc tutaj je chowamy — zostają Imię, Nazwisko, E-mail, Telefon. */
#checkout-personal-information-step .form-group:has(input[name="company"]),
#checkout-personal-information-step .form-group:has(input[name="siret"]){ display:none !important; }

/* checkout: hide consent checkboxes (confirmed via order button) */
body#checkout #checkout-guest-form .form-group[data-field-name="optin"],
body#checkout #checkout-guest-form .form-group[data-field-name="psgdpr"],
body#checkout #checkout-guest-form .form-group[data-field-name="newsletter"],
body#checkout #checkout-guest-form .form-group[data-field-name="customer_privacy"]{ display:none !important; }

/* checkout DANE OSOBOWE v5: heading -> zachęta -> "Zaloguj się" (stacked; keep ul/li so tab JS works) */
body#checkout .checkout-step .nav-inline{ display:flex !important; flex-direction:column !important; align-items:flex-start !important; justify-content:flex-start !important; gap:0; margin:0 0 30px !important; padding:0 !important; list-style:none !important; }
body#checkout .checkout-step .nav-inline .nav-item{ margin:0 !important; width:auto; }
body#checkout .checkout-step .nav-inline .nav-separator{ display:none !important; }
/* base tab link: neutral dark, NOT purple */
body#checkout .checkout-step .nav-inline .nav-link{ font-size:15px !important; padding:0 !important; border-bottom:0 !important; color:#1d1d1f !important; font-weight:700 !important; }
/* "Zamówienie jako gość" (first item) = section heading */
body#checkout .checkout-step .nav-inline .nav-item:first-child .nav-link{ font-size:22px !important; font-weight:700 !important; color:#1d1d1f !important; }
body#checkout .checkout-step .nav-inline .nav-item:first-child .nav-link:hover{ color:#1d1d1f !important; }
/* zachęta subtitle between heading and the login link */
body#checkout .checkout-step .dp-pi-login-benefits{ margin:16px 0 10px !important; font-size:13px; line-height:1.4; color:#8a8a8f; max-width:460px; }
/* "Zaloguj się" link — NOT purple: dark underlined, under the text */
body#checkout .checkout-step .nav-inline .dp-pi-login-link{ text-decoration:underline !important; text-underline-offset:3px; color:#1d1d1f !important; }
body#checkout .checkout-step .nav-inline .dp-pi-login-link:hover{ color:#000 !important; }
body#checkout .checkout-step .nav-inline .nav-link.active{ border-bottom:0 !important; }
/* no purple focus frame on the guest/login links */
body#checkout .checkout-step .nav-inline .nav-link:focus,
body#checkout .checkout-step .nav-inline .nav-link:focus-visible{ outline:none !important; box-shadow:none !important; }

/* address cards: honor hidden state */
#checkout-addresses-step .dp-addr-card[hidden]{ display:none !important; }

/* address picker: filtered option list (delivery vs invoice) */
.dp-addr-optlist{ display:flex; flex-direction:column; gap:10px; margin-top:2px; }
.dp-addr-opt{ display:flex; gap:12px; align-items:flex-start; text-align:left; width:100%; background:#fff; border:1px solid #e4e4e7; border-radius:12px; padding:14px 16px; cursor:pointer; transition:border-color .15s ease, background .15s ease; }
.dp-addr-opt:hover{ border-color:#BF78EE; background:#faf7ff; }
.dp-addr-opt.selected{ border-color:#BF78EE; background:#faf7ff; }
.dp-addr-opt-radio{ flex:0 0 auto; width:18px; height:18px; border-radius:50%; border:2px solid #cfcfd4; margin-top:2px; position:relative; }
.dp-addr-opt.selected .dp-addr-opt-radio{ border-color:#BF78EE; }
.dp-addr-opt.selected .dp-addr-opt-radio::after{ content:""; position:absolute; inset:3px; border-radius:50%; background:#BF78EE; }
.dp-addr-opt-body{ display:flex; flex-direction:column; gap:3px; }
.dp-addr-opt-title{ font-weight:700; font-size:14px; color:#1d1d1f; }
.dp-addr-opt-lines{ font-size:13px; color:#6b6b70; line-height:1.5; }
.dp-addr-opt-empty{ color:#6b6b70; font-size:14px; margin:6px 0; }
.dp-addr-opt-add{ display:inline-flex; align-items:center; gap:6px; margin-top:8px; color:#BF78EE; font-weight:600; font-size:14px; text-decoration:none; }
.dp-addr-opt-add span{ font-size:18px; line-height:1; }

/* address CRUD picker v2 (add button, per-card edit/delete, footer, form) */
.dp-addr-newbtn{ display:block; width:100%; text-align:center; background:#faf7ff; border:1px dashed #d9c4ee; color:#8e44c9; font-weight:700; font-size:14px; padding:12px; border-radius:12px; cursor:pointer; margin-bottom:14px; transition:background .15s ease, border-color .15s ease; }
.dp-addr-newbtn:hover{ background:#f3e9ff; border-color:#BF78EE; }
.dp-addr-opt{ display:block; border:1px solid #e4e4e7; border-radius:14px; background:#fff; overflow:hidden; padding:0; cursor:default; }
.dp-addr-opt:hover{ border-color:#e4e4e7; background:#fff; }
.dp-addr-opt.selected{ border-color:#BF78EE; box-shadow:0 0 0 1px #BF78EE inset; }
.dp-addr-opt-pick{ display:flex; gap:12px; align-items:flex-start; width:100%; text-align:left; background:none; border:0; padding:16px 16px 12px; cursor:pointer; }
.dp-addr-opt-foot{ display:flex; gap:18px; padding:0 16px 13px 46px; }
.dp-addr-opt-foot button{ background:none; border:0; padding:0; cursor:pointer; color:#8a8a8f; font-size:13px; font-weight:600; display:inline-flex; align-items:center; gap:5px; }
.dp-addr-opt-foot button:hover{ color:#BF78EE; }
.dp-addr-opt-del:hover{ color:#e23b3b !important; }
.dp-addr-opt-foot .material-icons{ font-size:16px; }
.dp-addr-picker-foot, .dp-addr-foot{ display:flex; justify-content:flex-end; gap:10px; margin-top:16px; }
.dp-addr-btn{ border:0; border-radius:10px; padding:10px 20px; font-size:14px; font-weight:700; cursor:pointer; transition:background .15s ease; }
.dp-addr-btn--ghost{ background:#f2f2f4; color:#1d1d1f; }
.dp-addr-btn--ghost:hover{ background:#e7e7ea; }
.dp-addr-btn--primary{ background:#BF78EE; color:#fff; }
.dp-addr-btn--primary:hover{ background:#a95fd9; }
.dp-addr-btn--danger{ background:#e23b3b; color:#fff; }
.dp-addr-btn--danger:hover{ background:#c92f2f; }
.dp-addr-fform{ display:flex; flex-direction:column; gap:10px; margin-top:4px; }
.dp-ff-row{ display:block; margin:0; }
.dp-ff-input{ width:100%; border:1px solid #e0e0e5; border-radius:10px; padding:12px 14px; font-size:14px; color:#1d1d1f; background:#fff; box-sizing:border-box; }
.dp-ff-input:focus{ border-color:#BF78EE; outline:none; box-shadow:none; }
.dp-ff-input.dp-ff-err{ border-color:#e4294b; background:#fff6f7; }
.dp-ff-alert{ margin:10px 0 0; padding:9px 12px; border-radius:10px; background:#fdecef; color:#c21b38; font-size:13px; line-height:1.4; }
/* DP 11.11: etykieta nad polem + komunikat błędu pod polem (format kodu/telefonu/NIP) */
.dp-ff-lab{ display:block; text-align:left; margin:0 0 4px 2px; font-size:12px; font-weight:500; color:#6b6b76; line-height:1.3; }
.dp-ff-msg{ display:block; text-align:left; margin:5px 0 0 2px; font-size:12px; line-height:1.35; color:#c21b38; }
.dp-ff-msg[hidden]{ display:none; }
/* toast-podpowiedź (np. „najpierw uzupełnij dane osobowe") */
.dp-addr-toast{ position:fixed; left:50%; bottom:24px; transform:translate(-50%,16px); z-index:100000;
  max-width:440px; width:calc(100% - 32px); padding:13px 18px; border-radius:12px; background:#1d1d1f;
  color:#fff; font-size:14px; line-height:1.45; box-shadow:0 12px 32px rgba(0,0,0,.28); text-align:center;
  opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease; }
.dp-addr-toast.is-on{ opacity:1; transform:translate(-50%,0); }
.dp-addr-dialog--sm{ max-width:420px; }
.dp-addr-confirm-txt{ color:#6b6b70; font-size:14px; margin:2px 0 4px; }

/* checkout sticky summary — right column follows scroll like a summary panel (desktop only) */
@media (min-width: 992px){
  body#checkout .cart-grid-right{
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
  }
}

/* checkout summary: product list like the side cart drawer */
.dp-sum-products{ margin:0 0 12px; }
.dp-sum-products .dp-sum-products-toggle-wrap{ margin:0; }
.dp-sum-products-toggle{ display:flex !important; align-items:center; justify-content:space-between; gap:8px; width:100%; padding:4px 0; color:#1d1d1f !important; font-weight:700; font-size:14px; text-decoration:none !important; }
.dp-sum-products-toggle:hover{ color:#BF78EE !important; }
.dp-sum-products-toggle .material-icons{ font-size:20px; color:#8a8a8f; transition:transform .2s ease; }
.dp-sum-products-toggle[aria-expanded="true"] .material-icons{ transform:rotate(180deg); }
.dp-sum-item-list{ list-style:none; margin:6px 0 0; padding:0; }
.dp-sum-item-list .dp-cart-item{ padding:12px 0; }
.dp-sum-item-list .dp-cart-item:last-child{ border-bottom:0; padding-bottom:2px; }
.dp-sum-item-list .dp-cart-item-thumb{ width:52px; height:52px; }

/* loyalty note: whole sentence is a link, right-aligned, not full width */
body#checkout .cart-grid-right .dp-cart-loyalty, .dp-cart-loyalty{ text-align:right !important; margin:18px 0 16px !important; }
.dp-cart-loyalty .dp-cart-loyalty-link{ display:block; max-width:none; margin:0; text-align:right !important; font-size:11.5px !important; line-height:1.4 !important; color:#8a8a8f !important; text-decoration:none !important; }
.dp-cart-loyalty .dp-cart-loyalty-link:hover{ color:#BF78EE !important; text-decoration:underline !important; }
.dp-cart-loyalty .dp-cart-loyalty-link strong{ color:#BF78EE; font-weight:700; }

/* no purple focus box on the products toggle */
.dp-sum-products-toggle:focus, .dp-sum-products-toggle:active{ outline:none !important; box-shadow:none !important; border:0 !important; -webkit-tap-highlight-color:transparent; }

/* checkout radios purple accent (carrier selection etc.) */
body#checkout input[type="radio"], body#checkout input[type="checkbox"]{ accent-color:#BF78EE; }
body#checkout .delivery-option input[type="radio"]{ accent-color:#BF78EE !important; }

/* COD (za pobraniem) surcharge label */
.dp-cod-fee{ color:#e5308a; font-weight:700; white-space:nowrap; }
.dp-cod-note{ color:#8a8a8f; font-size:12.5px; line-height:1.45; margin:8px 0 0; }

/* payment options — clean list (purple radio + logo right), like the reference */
body#checkout .payment-options{ margin:0; }
body#checkout .payment-options > div{ margin:0; }
body#checkout .payment-option{ display:flex !important; align-items:center; gap:12px; padding:15px 4px !important; border-bottom:1px solid #f1f1f2; margin:0 !important; cursor:pointer; }
body#checkout .payment-options > div:last-of-type .payment-option{ border-bottom:0; }
body#checkout .payment-option .custom-radio{ float:none !important; position:relative; width:20px; height:20px; margin:0 !important; padding:0 !important; flex:0 0 auto; overflow:visible; }
body#checkout .payment-option .custom-radio input{ position:absolute; top:0; left:0; opacity:0; width:20px; height:20px; margin:0; cursor:pointer; z-index:2; }
body#checkout .payment-option .custom-radio > span{ display:block; width:20px; height:20px; border-radius:50%; border:2px solid #cfcfd4; background:#fff !important; box-shadow:none !important; position:relative; transition:border-color .15s ease; }
body#checkout .payment-option .custom-radio input:checked + span{ border-color:#BF78EE !important; background:#fff !important; }
body#checkout .payment-option .custom-radio input:checked + span::after{ content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:10px; height:10px; border-radius:50%; background:#BF78EE; }
body#checkout .payment-option label{ flex:1 1 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 !important; padding:0; font-size:14.5px; font-weight:600; color:#1d1d1f; cursor:pointer; }
body#checkout .payment-option label > span{ flex:1 1 auto; }
body#checkout .payment-option label img{ flex:0 0 auto; width:auto !important; height:28px !important; max-width:54px; object-fit:contain; }

/* payment options v2: name right after the circle, icon far right, info text */
body#checkout .payment-option label{ display:flex !important; align-items:center !important; flex:1 1 auto !important; justify-content:flex-start !important; gap:10px !important; text-align:left !important; margin:0 !important; }
body#checkout .payment-option label > span{ flex:1 1 auto !important; text-align:left !important; }
body#checkout .payment-option label img{ flex:0 0 auto !important; margin-left:12px !important; }
.additional-information .dp-pay-info, .js-payment-option-form .dp-pay-info{ color:#6b6b70; font-size:13px; line-height:1.55; padding:10px 4px 4px; margin:0; }
#checkout-payment-step .additional-information{ padding:0 4px 8px; }

/* payment radio: kill the theme's outer .custom-radio circle (double-circle fix) */
body#checkout .payment-option .custom-radio{ border:0 !important; background:transparent !important; box-shadow:none !important; padding:0 !important; }
body#checkout .payment-option .custom-radio > span{ top:0 !important; left:0 !important; margin:0 !important; box-shadow:none !important; }

/* payment fee (+4 zł) sits before the icon; icon stays at far right for all rows */
body#checkout .payment-option label > span.dp-cod-fee{ flex:0 0 auto !important; text-align:right !important; }

/* step 3 delivery UI: hide DALEJ, inset+round carrier cards, buyer-type radios */
#checkout-delivery-step button[name="confirmDeliveryOption"]{ display:none !important; }
/* carrier cards: remove Bootstrap row overhang -> inset to content width (like address cards) + delicate rounding */
#checkout-delivery-step .delivery-option{ margin-left:0 !important; margin-right:0 !important; border-radius:14px !important; }
/* delivery radios = same look as buyer-type (private/firma) */
body#checkout .delivery-option .custom-radio{ float:none !important; position:relative; width:20px; height:20px; margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; overflow:visible; }
body#checkout .delivery-option .custom-radio input{ position:absolute; top:0; left:0; opacity:0; width:20px; height:20px; margin:0; cursor:pointer; z-index:2; }
body#checkout .delivery-option .custom-radio > span{ display:block; width:20px; height:20px; border-radius:50%; border:2px solid #cfcfd4; background:#fff !important; box-shadow:none !important; position:relative; top:0 !important; left:0 !important; }
body#checkout .delivery-option .custom-radio input:checked + span{ border-color:#BF78EE !important; }
body#checkout .delivery-option .custom-radio input:checked + span::after{ content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:10px; height:10px; border-radius:50%; background:#BF78EE; }

/* "Wybierz punkt odbioru" button: less rounded (like cards) + shorter */
#checkout-delivery-step .polkurier-parcellocker-button .btn{ border-radius:14px !important; padding:7px 22px !important; font-size:13.5px !important; height:auto !important; line-height:1.3 !important; }

/* remove stray grey right-border on delivery rows */
body#checkout section.checkout-step .delivery-options > .row{ border-right:0 !important; border:0 !important; }

/* ORDER HISTORY — reported-returns branch under an order card */
.dp-oh-item{ display:flex; flex-direction:column; }
.dp-oh-branch{ position:relative; margin:6px 0 0 24px; }
.dp-oh-branch::before{ content:''; position:absolute; left:-13px; top:-6px; width:13px; height:24px; border-left:2px solid #e6d6f5; border-bottom:2px solid #e6d6f5; border-bottom-left-radius:10px; }
.dp-oh-branch-toggle{ display:inline-flex; align-items:center; gap:5px; border:1px solid #ecdcfa; background:#faf5ff; color:#8a3fd1; font-size:13px; font-weight:700; padding:7px 14px 7px 8px; border-radius:11px; cursor:pointer; transition:background .15s ease, border-color .15s ease; }
.dp-oh-branch-toggle:hover{ background:#f3e7ff; border-color:#dcbff5; }
.dp-oh-branch-caret{ font-size:20px; transition:transform .18s ease; }
.dp-oh-branch.dp-open .dp-oh-branch-caret{ transform:rotate(90deg); }
.dp-oh-branch-body{ margin-top:8px; display:flex; flex-direction:column; gap:8px; }
.dp-oh-return{ background:#fff; border:1px solid #ececf0; border-radius:12px; padding:12px 14px; box-shadow:0 2px 8px rgba(29,29,31,.04); }
.dp-oh-return-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dp-oh-return-num{ font-size:13.5px; font-weight:800; color:#1d1d1f; }
.dp-oh-return-status{ font-size:11.5px; font-weight:700; color:#8a3fd1; background:#f6ecff; border-radius:20px; padding:3px 10px; white-space:nowrap; }
.dp-oh-return-date{ font-size:12px; color:#a9a9ae; margin-top:2px; }
.dp-oh-return-products{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
.dp-oh-return-products li{ display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; color:#3a3a3f; border-top:1px solid #f3f3f5; padding-top:6px; }
.dp-oh-return-products li:first-child{ border-top:0; padding-top:0; }
.dp-oh-return-pname{ flex:1 1 auto; }
.dp-oh-return-qty{ color:#8a8a8f; font-weight:700; flex:0 0 auto; }
.dp-oh-return-link{ display:inline-flex; align-items:center; gap:4px; margin-top:10px; font-size:12.5px; font-weight:700; color:#8a3fd1; text-decoration:none; }
.dp-oh-return-link .material-icons{ font-size:16px; }
.dp-oh-return-link:hover{ text-decoration:underline; }
@media (max-width:767px){ .dp-oh-branch{ margin-left:16px; } }

/* dpreturns fixes: toggle focus + mobile cards */
.dp-oh-branch-toggle:focus, .dp-oh-branch-toggle:focus-visible, .dp-oh-branch-toggle:active{ outline:none !important; box-shadow:none !important; }
@media (max-width:767px){
  .dp-ret-card{ flex-direction:column; align-items:flex-start; gap:12px; padding:16px; }
  .dp-ret-card-head{ flex:1 1 auto; min-width:0; }
  .dp-ret-card p{ flex:1 1 auto; }
  .dp-ret-choose-btn{ align-self:flex-start; }
}

/* === DP SHOP — wishlist modal restyle (blockwishlist) === */
.wishlist-modal .modal-dialog{ max-width:440px !important; }
.wishlist-modal .modal-content{ border:none !important; border-radius:16px !important; box-shadow:0 12px 40px rgba(0,0,0,.18) !important; overflow:hidden; }
.wishlist-modal .modal-header{ position:relative; display:flex; align-items:center; justify-content:flex-start; padding:20px 50px 18px 22px !important; border:none !important; border-bottom:1px solid #f1f1f2 !important; }
.wishlist-modal .modal-header h5, .wishlist-modal .modal-title{ margin:0 !important; font-size:17px !important; font-weight:700 !important; color:#1d1d1f !important; line-height:1.3 !important; letter-spacing:0 !important; }
.wishlist-modal .close{ position:absolute !important; top:50%; right:16px; transform:translateY(-50%); width:30px; height:30px; display:flex; align-items:center; justify-content:center; font-size:22px !important; line-height:1; color:#9a9a9e !important; opacity:1 !important; background:none; border:none; border-radius:8px; padding:0; cursor:pointer; transition:background .15s ease,color .15s ease; }
.wishlist-modal .close:hover{ color:#1d1d1f !important; background:#f2f2f4; opacity:1 !important; }
.wishlist-modal .modal-body{ padding:14px 22px 8px !important; }

/* choose-list rows */
.wishlist-chooselist .wishlist-list{ list-style:none !important; margin:0 !important; padding:0 !important; display:flex; flex-direction:column; gap:2px; }
.wishlist-chooselist .wishlist-list-item{ display:flex; align-items:center; gap:11px; padding:12px 14px; border-radius:11px; cursor:pointer; transition:background .15s ease; }
.wishlist-chooselist .wishlist-list-item:hover{ background:#f6ecff; }
.wishlist-chooselist .wishlist-list-item::before{ content:''; width:9px; height:9px; border-radius:50%; border:2px solid #d9c2ef; flex:0 0 auto; transition:border-color .15s ease,background .15s ease; }
.wishlist-chooselist .wishlist-list-item:hover::before{ border-color:#BF78EE; background:#BF78EE; }
.wishlist-chooselist .wishlist-list-item, .wishlist-chooselist .wishlist-list-item p{ color:#1d1d1f !important; }
.wishlist-chooselist .wishlist-list-item p{ margin:0 !important; font-size:14px !important; font-weight:600 !important; }
.wishlist-chooselist .wishlist-list-empty{ margin:6px 2px 10px !important; font-size:13px; color:#9a9a9e; }

/* footer + "create new list" */
.wishlist-modal .modal-footer{ border:none !important; border-top:1px solid #f1f1f2 !important; padding:14px 22px 18px !important; display:flex; justify-content:flex-end; gap:10px; }
.wishlist-add-to .modal-footer{ justify-content:flex-start; }
.wishlist-add-to-new{ display:inline-flex !important; align-items:center; gap:6px; color:#8a3fd1 !important; font-size:13.5px; font-weight:700; cursor:pointer; text-decoration:none !important; margin:0 !important; }
.wishlist-add-to-new:hover{ color:#7a2fc4 !important; }
.wishlist-add-to-new .material-icons{ font-size:20px; color:#8a3fd1; }

/* create / rename modal: input + buttons */
.wishlist-modal .modal-body .form-group, .wishlist-modal .modal-body .form-group-lg{ margin-bottom:0 !important; }
.wishlist-modal .form-control-label{ display:block; font-size:12.5px; font-weight:600; color:#6b6b70; margin:0 0 6px 2px; }
.wishlist-modal .modal-body .form-control{ width:100%; box-sizing:border-box; padding:11px 14px !important; border:1px solid #e2e2e5 !important; border-radius:10px !important; font-size:13px; color:#1d1d1f !important; background:#fafafb !important; }
.wishlist-modal .modal-body .form-control:focus{ outline:none; border-color:#BF78EE !important; background:#fff !important; box-shadow:none !important; }
.wishlist-modal .modal-footer .btn{ text-transform:none !important; border-radius:20px !important; padding:10px 20px !important; font-size:13px; font-weight:600; margin-bottom:0 !important; }
.wishlist-modal .modal-footer .btn-primary{ background:#BF78EE !important; border-color:#BF78EE !important; color:#fff !important; }
.wishlist-modal .modal-footer .btn-primary:hover{ background:#a95fe0 !important; border-color:#a95fe0 !important; }
.wishlist-modal .modal-footer .btn-secondary, .wishlist-modal .modal-cancel{ background:none !important; border:none !important; color:#6b6b70 !important; }
.wishlist-modal .modal-footer .btn-secondary:hover, .wishlist-modal .modal-cancel:hover{ background:#f4f4f5 !important; }

/* backdrop */
.wishlist-modal + .modal-backdrop{ background-color:#000 !important; }
.wishlist-modal + .modal-backdrop.in{ opacity:.45 !important; }
@media (max-width:480px){ .wishlist-modal .modal-dialog{ max-width:92% !important; } }

/* === DP SHOP — mobile account menu (list style) === */
.dp-account-help{ display:none; }
@media (max-width:767px){
  /* home: show greeting + menu as a clean list, hide the redundant welcome card */
  .dp-account-home .dp-account-welcome{ display:none; }
  .dp-account-home .dp-account-content{ display:none; }
  .dp-account-home .dp-account-sidebar{ display:block; padding:0; background:none; box-shadow:none; }

  .dp-account-home .dp-account-greeting{ display:block !important; margin:4px 0 18px; padding:0; font-size:15px; font-weight:500; color:#9a9a9e; text-transform:none; letter-spacing:0; }
  .dp-account-home .dp-account-greeting .dp-greet-name{ display:block; margin-top:2px; font-size:26px; font-weight:800; color:#1d1d1f; line-height:1.15; }

  .dp-account-home .dp-account-sidebar .row{ margin:0 !important; }
  .dp-account-home .dp-account-sidebar .links{ display:block !important; margin:0 !important; }
  .dp-account-home .dp-account-sidebar .links > a{
    position:relative; display:block !important; float:none !important; width:100% !important; max-width:none !important;
    padding:0 !important; margin:0 !important; box-shadow:none !important; outline:none !important;
    border-bottom:1px solid #ececef; text-decoration:none;
  }
  .dp-account-home .dp-account-sidebar .links > a:first-child{ border-top:1px solid #ececef; }
  .dp-account-home .dp-account-sidebar .links > a .link-item{
    display:flex !important; align-items:center; gap:15px;
    height:auto !important; padding:16px 34px 16px 2px !important; margin:0 !important;
    font-size:15px !important; font-weight:600 !important; font-style:normal !important;
    text-align:left !important; text-transform:none !important; white-space:normal; line-height:1.3;
    color:#1d1d1f !important; background:none !important; border:0 !important;
  }
  .dp-account-home .dp-account-sidebar .links > a .link-item .material-icons{
    display:inline-flex !important; align-items:center; justify-content:center;
    width:26px !important; flex:0 0 auto !important; margin:0 !important; padding:0 !important;
    font-size:23px !important; line-height:1 !important; color:#BF78EE !important;
  }
  .dp-account-home .dp-account-sidebar .links > a::after{
    content:'\E5CC'; font-family:'Material Icons'; position:absolute; right:2px; top:50%; transform:translateY(-50%);
    font-size:23px; color:#c9c9cf; pointer-events:none;
  }
  .dp-account-home .dp-account-sidebar .links > a:active .link-item{ background:#faf5ff !important; }
  .dp-account-home .dp-account-sidebar .links > a.dp-active .link-item .material-icons{ color:#BF78EE !important; }

  /* logout as a plain red row under the list */
  .dp-account-home .dp-account-logout{
    display:flex; align-items:center; gap:15px; margin:4px 0 0; padding:16px 2px !important;
    background:none !important; box-shadow:none !important; border:0 !important; border-radius:0 !important;
    font-size:15px; font-weight:600; color:#ff4c4c !important;
  }
  .dp-account-home .dp-account-logout .material-icons{ width:26px; font-size:23px; color:#ff4c4c !important; }

  /* help block */
  .dp-account-home .dp-account-help{ display:block; margin:26px 0 8px; }
  .dp-account-home .dp-account-help h4{ margin:0 0 6px; font-size:18px; font-weight:800; color:#1d1d1f; }
  .dp-account-home .dp-account-help a{ font-size:14px; color:#8a3fd1; text-decoration:none; line-height:1.5; }
  .dp-account-home .dp-account-help a:hover{ text-decoration:underline; }
}
@media (min-width:768px){ .dp-account-help{ display:none !important; } }

/* login: fix field overflow + compact Google button */
.dp-login-form .form-group.row{ margin-left:0 !important; margin-right:0 !important; }
.dp-social-login-single .dp-social-btn{ height:36px !important; font-size:12.5px !important; }
.dp-social-login-single .dp-social-icon{ width:17px !important; height:17px !important; }

/* mobile header: nav bg must cover its content (no 50px clip) */
@media (max-width:767px){
  html body #header .header-nav{ max-height:none !important; height:auto !important; overflow:visible !important; }
  html body #header .header-nav{ transition:box-shadow .2s ease !important; }
}

/* header wishlist heart: no purple focus ring */
.dp-wishlist-nav-link:focus, .dp-wishlist-nav-link:focus-visible, .dp-wishlist-nav-link:active, .dp-wishlist-nav:focus-within{ outline:none !important; box-shadow:none !important; }

/* mobile: product description block align to gutter (no desktop -30 bleed) */
@media (max-width:767px){
  .dp-product-tabs-full{ margin-left:0 !important; margin-right:0 !important; }
}

/* mobile product gallery: swipeable thumbnails + card shadows */
@media (max-width:767px){
  /* big photo as an elevated card */
  #content .images-container .product-cover{ background:#fff !important; border-radius:14px !important; box-shadow:0 2px 14px rgba(29,29,31,.07) !important; overflow:hidden !important; }
  /* thumbnails strip: native finger-swipe + card look */
  #content .images-container .js-qv-mask{
    overflow-x:auto !important; overflow-y:hidden !important; -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    background:transparent !important; padding:4px 0 !important; margin-top:10px !important;
  }
  #content .images-container .js-qv-mask::-webkit-scrollbar{ display:none !important; height:0 !important; }
  #content .images-container .product-images.js-qv-product-images{ display:flex !important; flex-wrap:nowrap !important; width:max-content !important; transform:none !important; margin:0 !important; }
  #content .images-container .product-images.js-qv-product-images li{ float:none !important; flex:0 0 auto !important; }
  #content .images-container .product-images.js-qv-product-images li img.thumb{ box-shadow:0 2px 9px rgba(29,29,31,.12) !important; }
  /* arrows replaced by swipe on touch */
  #content .scroll-box-arrows{ display:none !important; }
}

/* Koszty dostawy: free-shipping threshold note */
.dp-ship-freenote{ display:block; margin-top:3px; font-size:11px; font-weight:600; color:#1e9e5a; line-height:1.3; }

/* mobile product image modal = centered popup with blurred site behind */
@media (max-width:767px){
  .modal-backdrop.in, .modal-backdrop.show{ background:rgba(20,16,30,.45) !important; -webkit-backdrop-filter:blur(6px) !important; backdrop-filter:blur(6px) !important; opacity:1 !important; }
  .js-product-images-modal{ padding:0 !important; }
  .js-product-images-modal .modal-dialog{ width:auto !important; max-width:92% !important; margin:0 auto !important; min-height:100vh !important; display:flex !important; align-items:center !important; }
  .js-product-images-modal .modal-content{ position:relative; width:100%; border:0 !important; border-radius:18px !important; background:#fff !important; box-shadow:0 18px 50px rgba(0,0,0,.35) !important; max-height:92vh; overflow:hidden; }
  .js-product-images-modal .modal-body{ display:flex !important; flex-direction:column !important; gap:12px !important; padding:16px 14px 18px !important; max-height:92vh; overflow-y:auto; overflow-x:hidden; box-sizing:border-box; }
  .js-product-images-modal figure{ touch-action:pan-y; will-change:transform; }
  .js-product-images-modal figure{ display:block !important; margin:0 !important; order:1; }
  .js-product-images-modal figure picture{ display:block !important; width:100% !important; aspect-ratio:1/1 !important; height:auto !important; background:#fff !important; overflow:hidden !important; position:relative; }
  .js-product-images-modal figure figcaption.image-caption{ display:none !important; }
  .js-product-images-modal .product-cover-modal, .js-product-images-modal .js-modal-product-cover{ display:block !important; width:100% !important; height:auto !important; aspect-ratio:1/1 !important; object-fit:cover !important; max-height:none !important; border-radius:12px !important; margin:0 !important; }
  .js-product-images-modal #thumbnails.thumbnails{ order:2; margin:0 !important; padding:0 !important; float:none !important; width:100% !important; }
  .js-product-images-modal .js-modal-mask{ overflow-x:auto !important; overflow-y:hidden !important; -webkit-overflow-scrolling:touch; scrollbar-width:none; margin:0 !important; height:auto !important; }
  .js-product-images-modal .js-modal-mask::-webkit-scrollbar{ display:none; height:0; }
  .js-product-images-modal .js-modal-product-images{ display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important; gap:8px !important; width:max-content !important; margin:0 auto !important; padding:2px !important; transform:none !important; }
  .js-product-images-modal .js-modal-product-images li{ float:none !important; flex:0 0 auto !important; width:auto !important; height:auto !important; margin:0 !important; }
  .js-product-images-modal .js-modal-product-images li img.thumb{ width:70px !important; height:70px !important; object-fit:cover !important; border-radius:10px !important; }
  .js-product-images-modal .arrows.js-modal-arrows{ display:none !important; }
  .js-product-images-modal #product-description-short{ order:3; font-size:12.5px; line-height:1.5; color:#3a3a3f; }
  .dp-modal-close{ position:absolute !important; top:8px; right:8px; z-index:20; width:34px; height:34px; border-radius:50%; border:0; background:rgba(0,0,0,.06); color:#1d1d1f; font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center; cursor:pointer; }
  .js-product-images-modal .dp-modal-title, .js-product-images-modal .dp-zoom-btn{ display:none; }
  /* video slide (dpvideos): the photo hides itself inline, the video takes its square */
  .js-product-images-modal figure picture[style*="display: none"]{ display:none !important; }
  .js-product-images-modal .dpv-modal-vwrap{ width:100% !important; height:auto !important; aspect-ratio:1/1; border-radius:12px !important; }
}

/* desktop product image modal: name on top, close top-right, no description, loupe zoom */
@media (min-width:768px){
  .js-product-images-modal .modal-content{ position:relative; border-radius:18px; }
  .js-product-images-modal .dp-modal-title{ padding:18px 72px 0 24px; font-size:18px; font-weight:700; line-height:1.35; color:#1d1d1f; }
  .js-product-images-modal #product-description-short{ display:none !important; }
  .js-product-images-modal .dp-modal-close{ position:absolute; top:12px; right:12px; left:auto; bottom:auto; z-index:30; width:40px; height:40px; padding:0; border-radius:50%; border:0; background:rgba(0,0,0,.06); color:#1d1d1f; font-size:26px; line-height:1; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .15s; }
  .js-product-images-modal .dp-modal-close:hover{ background:rgba(0,0,0,.12); }
  .js-product-images-modal figure picture{ display:block; position:relative; overflow:hidden; cursor:zoom-in; }
  .js-product-images-modal figure .js-modal-product-cover{ transition:transform .2s ease; transform-origin:50% 50%; }
  .js-product-images-modal figure.dp-zoomed picture{ cursor:zoom-out; }
  .js-product-images-modal figure.dp-zoomed .js-modal-product-cover{ transform:scale(2.2); transition:none; }
  .js-product-images-modal .dp-zoom-btn{ position:absolute; right:12px; bottom:12px; z-index:5; width:40px; height:40px; border-radius:50%; border:0; background:rgba(255,255,255,.92); box-shadow:0 2px 10px rgba(0,0,0,.18); display:flex; align-items:center; justify-content:center; cursor:pointer; color:#1d1d1f; }
  .js-product-images-modal .dp-zoom-btn svg{ width:20px; height:20px; }
  .js-product-images-modal figure.dp-zoomed .dp-zoom-btn{ background:#1d1d1f; color:#fff; }
}
@media (min-width:768px) and (prefers-reduced-motion:reduce){
  .js-product-images-modal figure .js-modal-product-cover{ transition:none; }
}

/* mobile delivery cards: radio | logo | text (compact) */
@media (max-width:767px){
  #checkout-delivery-step .delivery-option.js-delivery-option{ display:flex !important; align-items:center !important; flex-wrap:nowrap !important; gap:12px !important; padding:10px 14px !important; }
  #checkout-delivery-step .delivery-option > .col-sm-1{ flex:0 0 auto !important; width:auto !important; min-width:0 !important; padding:0 !important; }
  #checkout-delivery-step .delivery-option .custom-radio.float-xs-left{ float:none !important; }
  #checkout-delivery-step .delivery-option .delivery-option-2{ flex:1 1 auto !important; width:auto !important; max-width:none !important; padding:0 !important; margin:0 !important; display:grid !important; grid-template-columns:54px 1fr !important; align-items:center !important; column-gap:12px !important; row-gap:1px !important; }
  #checkout-delivery-step .delivery-option .delivery-option-2 > .row,
  #checkout-delivery-step .delivery-option .delivery-option-2 .col-sm-5,
  #checkout-delivery-step .delivery-option .delivery-option-2 .col-sm-4,
  #checkout-delivery-step .delivery-option .delivery-option-2 .col-sm-3,
  #checkout-delivery-step .delivery-option .delivery-option-2 .carrier,
  #checkout-delivery-step .delivery-option .delivery-option-2 .carriere-name-container{ display:contents !important; }
  #checkout-delivery-step .delivery-option .carrier-logo{ grid-column:1; grid-row:1 / span 3; display:flex !important; align-items:center; justify-content:center; width:auto !important; max-width:none !important; padding:0 !important; margin:0 !important; }
  #checkout-delivery-step .delivery-option .carrier-logo img{ width:auto !important; max-width:48px !important; max-height:36px !important; object-fit:contain !important; }
  #checkout-delivery-step .delivery-option .carrier-name{ grid-column:2; grid-row:1; justify-self:start !important; text-align:left !important; font-size:14px !important; font-weight:700 !important; line-height:1.25 !important; }
  #checkout-delivery-step .delivery-option .carrier-delay{ grid-column:2; grid-row:2; justify-self:start !important; text-align:left !important; font-size:12.5px !important; color:#6b6b70 !important; line-height:1.3 !important; }
  #checkout-delivery-step .delivery-option .carrier-price{ grid-column:2; grid-row:3; justify-self:start !important; text-align:left !important; font-size:13px !important; font-weight:700 !important; color:#1e9e5a !important; line-height:1.3 !important; }
}

/* EXPERIMENT: product page mobile — no white card bg, content full width */
@media (max-width:767px){
  #main .dp-product-card{ background:transparent !important; box-shadow:none !important; border:0 !important; border-radius:0 !important; padding:0 !important; }
  #main .dp-product-tabs-full .tabs{ background:transparent !important; box-shadow:none !important; border:0 !important; border-radius:0 !important; padding:0 !important; }
}

/* product description: labelled collapsible sections */
@media (max-width:767px){
  .dp-product-tabs-full .tab-content > .tab-pane + .tab-pane{ border-top:0 !important; margin-top:0 !important; }
  .dp-product-tabs-full .tab-pane{ padding-top:0 !important; }
  .dp-product-tabs-full .tab-pane .dp-sec-head{ padding-top:0 !important; border-top:1px solid #e2e2e6; }
  .dp-product-tabs-full .tab-pane:first-child .dp-sec-head{ border-top:0; padding-top:6px !important; }
  .dp-product-tabs-full .tab-pane .dp-sec-label{ display:inline-block; margin-top:6px; font-size:20px; font-weight:600; color:#1d1d1f; letter-spacing:-0.01em; }
  .dp-product-tabs-full .tab-pane .dp-sec-body{ position:relative; }
  .dp-product-tabs-full .tab-pane .dp-sec-body.dp-collapsed{ max-height:200px; overflow:hidden; }
  /* krotszy fade (byl 200px na 220px bodzie — prawie caly tekst znikal w bieli),
     tekst widoczny prawie do krawedzi, zanika tylko na dole -> przycisk wyzej */
  .dp-product-tabs-full .tab-pane .dp-sec-body.dp-collapsed::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:56px; background:linear-gradient(to bottom, rgba(250,250,250,0) 0%, rgba(250,250,250,.9) 70%, rgba(250,250,250,1) 100%); pointer-events:none; }
  .dp-product-tabs-full .tab-pane .dp-sec-more{ display:flex !important; width:fit-content; margin:4px auto 4px !important; align-items:center; gap:6px; padding:9px 20px; border:1px solid #e2e2e5; border-radius:10px; background:#fff; color:#1d1d1f; font-size:13px; font-weight:700; cursor:pointer; }
  .dp-product-tabs-full .tab-pane .dp-sec-more .material-icons{ font-size:19px; transition:transform .2s ease; }
  .dp-product-tabs-full .tab-pane .dp-sec-more.dp-open .material-icons{ transform:rotate(180deg); }
}
@media (min-width:768px){
  .dp-product-tabs-full .dp-sec-head, .dp-product-tabs-full .dp-sec-more{ display:none !important; }
  .dp-product-tabs-full .dp-sec-body{ max-height:none !important; overflow:visible !important; }
  .dp-product-tabs-full .dp-sec-body::after{ display:none !important; }
}

/* mobile cover carousel */
@media (max-width:767px){
  .images-container .product-cover.dp-cc-on > picture,
  .images-container .product-cover.dp-cc-on .dpv-cover-video,
  .images-container .product-cover.dp-cc-on .dpv-nav{ display:none !important; }
  .dp-cc-viewport{ position:relative; width:100%; overflow:hidden; border-radius:12px; touch-action:pan-y; }
  .dp-cc-track{ display:flex; will-change:transform; }
  .dp-cc-slide{ flex:0 0 100%; width:100%; aspect-ratio:1/1; }
  .dp-cc-slide img, .dp-cc-slide video{ width:100%; height:100%; object-fit:cover; display:block; background:#fff; }
  .dp-cc-slide.dp-cc-vid{ position:relative; overflow:hidden; background:#efeaf3; }
  .dp-cc-vblur{ position:absolute; inset:-8%; background-size:cover; background-position:center; -webkit-filter:blur(20px); filter:blur(20px); transform:scale(1.18); z-index:0; pointer-events:none; }
  .dp-cc-slide.dp-cc-vid video{ position:relative; z-index:1; object-fit:contain !important; background:transparent !important; }
}

/* fav heart on product cover (mobile) */
@media (max-width:767px){
  .images-container .product-cover .wishlist-button-product{
    position:absolute !important; top:10px !important; right:10px !important; left:auto !important; bottom:auto !important;
    z-index:6 !important; margin:0 !important; width:40px !important; height:40px !important; padding:0 !important;
    border-radius:50% !important; background:#fff !important; box-shadow:0 2px 8px rgba(0,0,0,.18) !important; border:0 !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
  }
  .images-container .product-cover .wishlist-button-product .dp-wishlist-tip{ display:none !important; }
  .images-container .product-cover.dp-has-fav{ position:relative; }
}

/* ===== product reviews (productcomments) - site style ===== */
/* primary comment buttons: "Be first" + modal "Send" ONLY (never rating-star wrappers) */
#empty-product-comment .btn-comment,
#post-product-comment-modal .btn-comment,
.product-comment-modal .btn-comment{
  height:auto !important;
  background:#bf78ee !important; background-color:#bf78ee !important;
  border:1px solid #bf78ee !important; color:#fff !important;
  border-radius:10px !important; box-shadow:none !important;
  font-weight:600 !important; font-size:14px !important; padding:12px 22px !important;
  transition:background .2s ease, box-shadow .2s ease, transform .15s ease !important;
}
#empty-product-comment .btn-comment .material-icons,
#post-product-comment-modal .btn-comment .material-icons{ color:#fff !important; }
#empty-product-comment .btn-comment:hover,#empty-product-comment .btn-comment:focus,
#post-product-comment-modal .btn-comment:hover,#post-product-comment-modal .btn-comment:focus,
.product-comment-modal .btn-comment:hover,.product-comment-modal .btn-comment:focus{
  background:#a855d4 !important; background-color:#a855d4 !important;
  border-color:#a855d4 !important; color:#fff !important;
  box-shadow:0 4px 12px rgba(168,85,212,.28) !important;
}
#empty-product-comment .btn-comment:active,
#post-product-comment-modal .btn-comment:active{ transform:translateY(1px) !important; }

/* cancel (inverse) button */
#post-product-comment-modal .btn-comment-inverse,
.product-comment-modal .btn-comment-inverse{
  height:auto !important;
  background:#fff !important; background-color:#fff !important;
  border:1px solid #ddd3ea !important; color:#1d1d1f !important;
  border-radius:10px !important; box-shadow:none !important;
  font-weight:600 !important; font-size:14px !important; padding:12px 22px !important;
}
#post-product-comment-modal .btn-comment-inverse:hover,#post-product-comment-modal .btn-comment-inverse:focus,
.product-comment-modal .btn-comment-inverse:hover{
  background:#f3e8fb !important; background-color:#f3e8fb !important;
  border-color:#bf78ee !important; color:#a855d4 !important;
}

/* clickable rating stars must NEVER get a button pill/background */
.dp-rating .post-product-comment,
.dp-rating-row .post-product-comment,
.dp-rating-clickable,
.post-product-comment:not(.btn-comment){
  background:transparent !important; border:0 !important; box-shadow:none !important;
  padding:0 !important; border-radius:0 !important; min-height:0 !important; color:inherit !important;
}

/* product rating stars: grey empty, golden-yellow when filled */
.dp-rating .star-content div.star{ color:#e2e2e2 !important; }
.dp-rating .star-content div.star-on,
.dp-rating .star-content div.star-hover{ color:#ffb400 !important; }
.dp-rating-clickable:hover .star-content div.star{ color:#d8d8d8 !important; }
.dp-rating-clickable:hover .star-content div.star-on{ color:#e0a200 !important; }

/* rounded input fields */
#post-product-comment-form input[type="text"],
#post-product-comment-form textarea,
.product-comment-modal input[type="text"],
.product-comment-modal textarea{
  border-radius:12px !important; border:1px solid #e2e2e6 !important;
  background:#fff !important; padding:11px 14px !important; box-shadow:none !important;
  transition:border-color .15s ease, box-shadow .15s ease !important;
}
#post-product-comment-form textarea,
.product-comment-modal textarea{ min-height:120px !important; }
#post-product-comment-form input[type="text"]:focus,
#post-product-comment-form textarea:focus,
.product-comment-modal input[type="text"]:focus,
.product-comment-modal textarea:focus{
  border-color:#bf78ee !important; box-shadow:0 0 0 3px rgba(191,120,238,.15) !important; outline:none !important;
}
#post-product-comment-form input.error,
#post-product-comment-form textarea.error{ border-color:#e57373 !important; }

/* product name on the review modal: bold like on a product card */
.product-comment-modal .modal-dialog .h3,
#post-product-comment-modal .modal-body .h3{
  font-size:17px !important; font-weight:700 !important; color:#1d1d1f !important;
  line-height:1.3 !important; margin-bottom:8px !important;
}

/* remove the "Write your review" heading at the top of the modal */
#post-product-comment-modal .modal-header .h2,
.product-comment-modal .modal-header .h2{ display:none !important; }
#post-product-comment-modal .modal-header,
.product-comment-modal .modal-header{ border-bottom:0 !important; padding-bottom:0 !important; min-height:0 !important; }


/* ===== fix: L1 mega-menu long items wrap inside panel ===== */
@media (min-width:768px){
  /* довгі назви підкатегорій переносяться, а не вилазять за фон */
  #header .menu #top-menu .sub-menu a,
  #header .menu #top-menu .sub-menu .dropdown-item,
  #header .menu .top-menu .popover.sub-menu a{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.3 !important;
  }
  /* пункт не розривається між колонками */
  #header .menu #top-menu > li > .sub-menu.js-sub-menu li,
  #header .menu .top-menu > li > .popover.sub-menu li{
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
  }
  /* трохи ширші колонки + гарантований мінімум панелі */
  #header .menu #top-menu > li > .sub-menu.js-sub-menu,
  #header .menu .top-menu > li > .popover.sub-menu{
    columns: 3 240px !important;
    column-gap: 24px !important;
    min-width: 300px !important;
    width: auto !important;
    max-width: 94vw !important;
  }
}

/* ===== cookie consent bar (RODO) ===== */
.dp-cc-overlay{ position:fixed; inset:0; background:rgba(20,18,26,.45); z-index:99990; opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease; }
.dp-cc-overlay.dp-show{ opacity:1; visibility:visible; }
.dp-cc-banner{ position:fixed; left:0; right:0; bottom:0; z-index:99992; background:#faf7fc; box-shadow:0 -8px 30px rgba(0,0,0,.16); border-top:1px solid #ece7f4; transform:translateY(102%); transition:transform .4s cubic-bezier(.22,.61,.36,1); }
.dp-cc-banner.dp-show{ transform:translateY(0); }
.dp-cc-banner-inner{ max-width:1400px; margin:0 auto; padding:26px 28px; }
.dp-cc-title{ margin:0 0 12px; font-size:22px; font-weight:600; color:#2b2730; }
.dp-cc-desc{ margin:0 0 10px; font-size:13.5px; line-height:1.6; color:#4a4650; }
.dp-cc-banner .dp-cc-desc a{ color:#4a4650; text-decoration:underline; }
.dp-cc-banner .dp-cc-desc a:hover{ color:#a855d4; }
.dp-cc-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
.dp-cc-btn{ border-radius:8px; font-weight:600; font-size:12.5px; letter-spacing:.02em; text-transform:uppercase; padding:12px 20px; cursor:pointer; border:1px solid transparent; white-space:nowrap; transition:background .2s ease, border-color .2s ease, color .2s ease; }
.dp-cc-ess, .dp-cc-ghost{ background:#fff; border-color:#d9cdea; color:#6b5a80; }
.dp-cc-ess:hover, .dp-cc-ghost:hover{ background:#f0e6fa; border-color:#bf78ee; color:#8b46c7; }
.dp-cc-all{ background:#bf78ee; border-color:#bf78ee; color:#fff; }
.dp-cc-all:hover{ background:#a855d4; border-color:#a855d4; }
.dp-cc-modal{ position:fixed; inset:0; z-index:99995; display:flex; align-items:flex-start; justify-content:center; padding:40px 16px; overflow-y:auto; opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease; }
.dp-cc-modal.dp-show{ opacity:1; visibility:visible; }
.dp-cc-modal-box{ background:#faf7fc; border-radius:14px; max-width:960px; width:100%; margin:auto; padding:30px 34px; box-shadow:0 20px 60px rgba(0,0,0,.3); }
.dp-cc-modal-intro{ margin:2px 0 18px; font-size:13.5px; line-height:1.6; color:#4a4650; }
.dp-cc-cat{ padding:14px 0; border-top:1px solid #ece2f3; }
.dp-cc-all-row{ padding-bottom:6px; }
.dp-cc-cat-head{ display:flex; align-items:center; gap:12px; cursor:pointer; margin:0; }
.dp-cc-cat-name{ font-size:15px; font-weight:700; color:#2b2730; }
.dp-cc-cat-desc{ margin:8px 0 0 32px; font-size:12.5px; line-height:1.55; color:#5b5664; }
.dp-cc-check, .dp-cc-check-all{ width:19px; height:19px; accent-color:#bf78ee; flex:0 0 auto; cursor:pointer; }
.dp-cc-check[disabled]{ opacity:.7; cursor:not-allowed; }
.dp-cc-actions-modal{ justify-content:flex-end; margin-top:24px; }
.dp-cc-reopen{ text-align:center; padding:10px 16px; }
.dp-cc-reopen a{ font-size:12.5px; color:#8b8b93; text-decoration:underline; }
.dp-cc-reopen a:hover{ color:#bf78ee; }
@media (max-width:600px){
  .dp-cc-banner-inner{ padding:18px 16px; }
  .dp-cc-title{ font-size:19px; }
  .dp-cc-actions{ flex-direction:column; }
  .dp-cc-btn{ width:100%; text-align:center; }
  .dp-cc-modal-box{ padding:20px 16px; }
  .dp-cc-cat-desc{ margin-left:0; }
}

/* ===== DP global navigation loader (site-wide page-transition spinner) ===== */
.dp-nav-overlay{position:fixed;inset:0;top:0;left:0;width:100%;height:100%;background:rgba(25,25,25,.5);z-index:99999;display:none;align-items:center;justify-content:center}
.dp-nav-overlay.dp-show{display:flex}
.dp-nav-overlay .dp-nav-spinner{width:75px;height:75px;display:inline-block;border:2px solid;border-color:#fff rgba(255,255,255,.05) rgba(255,255,255,.05);border-radius:100%;animation:dp-nav-spin 1s linear infinite;will-change:transform}
@keyframes dp-nav-spin{100%{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.dp-nav-overlay .dp-nav-spinner{animation-duration:2.2s}}

/* ===== DP: product cover hover — magnifier WITHOUT dark overlay (match video look) 2026-09-23 ===== */
.images-container .product-cover .layer{ background: transparent !important; }
.images-container .product-cover .layer .zoom-in{
  color:#1d1d1f !important;
  font-size:24px !important;
  width:54px !important; height:54px !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.9) !important;
  box-shadow:0 3px 12px rgba(0,0,0,.18) !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
}

/* ===== DP: sticky left column (photos + Strefa okazji) up to the description 2026-09-23 ===== */
@media (min-width: 992px){
  body#product .product-container.js-product-container > .col-md-6:first-child{
    position: sticky !important;
    top: 70px !important;
    align-self: flex-start !important;
  }
}

/* DP: sticky left column clear the 91px sticky menu bar */
@media (min-width:992px){ body#product .product-container.js-product-container > .col-md-6:first-child{ top:100px !important; } }

/* ===== DP: desktop description like mobile — stacked collapsible sections + sticky tab-anchors, KEEP the card bg 2026-09-23 ===== */
@media (min-width: 768px){
  /* show all panes stacked (tabs become scroll-anchors, like mobile) */
  .dp-product-tabs-full .tab-content > .tab-pane{ display:block !important; opacity:1 !important; padding-top:16px !important; scroll-margin-top:175px; }
  .dp-product-tabs-full .tab-content > .tab-pane + .tab-pane{ border-top:1px solid #ececef; margin-top:14px; }
  .dp-product-tabs-full .tab-content{ padding-top:0 !important; }
  /* sticky tab menu (stays under the fixed top menu), stretched to the card edges */
  /* top = жива висота пасика меню (--dp-menuh із dp-custom.js), -1px = впритул/без щілини;
     меню буває 1 або 2 рядки → фіксований 100px лишав щілину, крізь яку просвічувався контент */
  .dp-product-tabs-full .tabs .nav-tabs{
    position:sticky !important; top:calc(var(--dp-menuh, 91px) - 1px) !important; z-index:20 !important;
    display:flex !important; flex-wrap:nowrap !important; overflow-x:auto !important; scrollbar-width:none;
    gap:0 !important; background:#fff !important; border-bottom:1px solid #e6e6ea !important;
    margin:0 -18px 4px !important; padding:6px 18px 0 !important;
  }
  .dp-product-tabs-full .tabs .nav-tabs::-webkit-scrollbar{ display:none; height:0; }
  .dp-product-tabs-full .tabs .nav-tabs .nav-item{ float:none !important; flex:0 0 auto !important; margin:0 !important; }
  .dp-product-tabs-full .tabs .nav-tabs .nav-link{ display:block !important; white-space:nowrap !important; padding:10px 16px !important; margin:0 !important; border:0 !important; border-bottom:2px solid transparent !important; background:transparent !important; color:#1d1d1f !important; font-size:14px !important; font-weight:500 !important; border-radius:0 !important; }
  .dp-product-tabs-full .tabs .nav-tabs .nav-link.active{ font-weight:600 !important; border-bottom-color:#BF78EE !important; background:transparent !important; }
  /* section labels + collapse + white blur + "Rozwiń" button (override the desktop-off block) */
  .dp-product-tabs-full .dp-sec-head{ display:block !important; }
  .dp-product-tabs-full .dp-sec-label{ display:inline-block; margin-top:8px; font-size:19px; font-weight:600; color:#1d1d1f; letter-spacing:-0.01em; }
  .dp-product-tabs-full .dp-sec-body{ position:relative; }
  .dp-product-tabs-full .dp-sec-body.dp-collapsed{ max-height:300px !important; overflow:hidden !important; }
  .dp-product-tabs-full .dp-sec-body.dp-collapsed::after{ content:'' !important; display:block !important; position:absolute; left:0; right:0; bottom:0; height:180px; background:linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 55%, #fff 92%); pointer-events:none; }
  .dp-product-tabs-full .dp-sec-more{ display:flex !important; width:fit-content; margin:16px auto 4px !important; align-items:center; gap:6px; padding:9px 22px; border:1px solid #e2e2e5; border-radius:10px; background:#fff; color:#1d1d1f; font-size:13px; font-weight:700; cursor:pointer; }
  .dp-product-tabs-full .dp-sec-more:hover{ border-color:#c9c2d6; }
  .dp-product-tabs-full .dp-sec-more .material-icons{ font-size:19px; transition:transform .2s ease; }
  .dp-product-tabs-full .dp-sec-more.dp-open .material-icons{ transform:rotate(180deg); }
}

/* ===== DP order-confirmation restyle (site style) ===== */
body#order-confirmation #wrapper > .container,
body#order-confirmation #content-wrapper { max-width: 860px; margin-left: auto; margin-right: auto; }

/* all confirmation cards -> soft rounded panels */
body#order-confirmation #content-hook_order_confirmation.card,
body#order-confirmation #content.page-order-confirmation.card,
body#order-confirmation #content-hook_payment_return.card,
body#order-confirmation .account-transformation-form-container.card,
body#order-confirmation #content-wrapper > .card {
  background: #fff !important;
  border: 1px solid #ececf0 !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 22px rgba(29,29,31,.05) !important;
  margin: 0 auto 18px !important;
  padding: 0 !important;
  overflow: hidden;
}
body#order-confirmation .card .card-block { padding: 26px 28px !important; }

/* ---- success hero ---- */
body#order-confirmation #content-hook_order_confirmation .card-title,
body#order-confirmation #content-hook_order_confirmation .card-title .material-icons { display: none !important; }
body#order-confirmation #content-hook_order_confirmation > .card-block > .row,
body#order-confirmation #content-hook_order_confirmation > .card-block > .row > .col-md-12 { text-align: center; }
body#order-confirmation #content-hook_order_confirmation p {
  color: #6b6b70 !important; font-size: 14px !important; margin: 4px 0 0 !important;
}
body#order-confirmation #content-hook_order_confirmation p a { color: #8b4fc4 !important; font-weight: 600; text-decoration: none; }
body#order-confirmation #content-hook_order_confirmation p a:hover { text-decoration: underline; }

/* Tpay green success banner -> soft on-brand success card */
body#order-confirmation .payment-confirmation-container.success {
  background: #edfaf1 !important; border: 1px solid #c9edd6 !important; border-radius: 16px !important;
  text-align: center !important;
  padding: 26px 24px 22px !important; margin: 6px auto 4px !important; box-shadow: none !important;
}
body#order-confirmation .payment-confirmation-container .icon-wrapper {
  width: 60px !important; height: 60px !important; display: block !important; float: none !important;
  margin: 0 auto 12px !important;
}
body#order-confirmation .payment-confirmation-container .icon-wrapper img { width: 60px !important; height: 60px !important; display: block !important; margin: 0 auto !important; }
body#order-confirmation .payment-confirmation-container .message { text-align: center !important; display: block !important; width: 100% !important; }
body#order-confirmation .payment-confirmation-container .message .title {
  font-size: 22px !important; font-weight: 800 !important; color: #1d1d1f !important; margin: 0 0 4px !important; letter-spacing: -.3px;
}
body#order-confirmation .payment-confirmation-container .message .subtitle {
  font-size: 14px !important; color: #55786a !important; margin: 0 !important;
}
body#order-confirmation .payment-confirmation-container .underline {
  width: 54px; height: 4px; border-radius: 4px; margin-top: 6px;
  background: linear-gradient(90deg,#3fbf6f,#26a35a) !important;
}

/* ---- order items ---- */
body#order-confirmation #order-items .card-title,
body#order-confirmation #order-items > .row > h3._desktop-title {
  font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .5px;
  color: #9a9aa0 !important; padding-bottom: 12px !important; border: 0 !important;
}
body#order-confirmation #order-items > .row > h3.col-md-6 { font-size: 16px !important; color: #1d1d1f !important; text-transform: none; letter-spacing: 0; }
body#order-confirmation .order-confirmation-table .order-line {
  align-items: center; padding: 14px 0; border-bottom: 1px solid #f1f1f4; margin: 0;
}
body#order-confirmation .order-confirmation-table .order-line .image img {
  border-radius: 12px; border: 1px solid #ececf0; background: #fff; object-fit: cover;
}
body#order-confirmation .order-confirmation-table .order-line .details span { font-weight: 600; color: #1d1d1f; }
body#order-confirmation .order-confirmation-table .order-line .qty .bold { color: #1d1d1f; font-weight: 700; }
body#order-confirmation .order-confirmation-table hr { display: none; }

/* widen: trim bootstrap column padding so all blocks span the same wider width */
body#order-confirmation #order-items,
body#order-confirmation #order-details { padding-left: 2px !important; padding-right: 2px !important; }

/* totals table */
body#order-confirmation .order-confirmation-table table { width: 100%; margin-top: 10px; border-collapse: separate !important; border-spacing: 0 !important; }
body#order-confirmation .order-confirmation-table table tr td { padding: 7px 14px; color: #55555c; font-size: 14px; }
body#order-confirmation .order-confirmation-table table tr td:last-child { text-align: right; font-weight: 600; color: #1d1d1f; }
/* RAZEM -> rounded grey block, same style as the detail boxes, full width */
body#order-confirmation .order-confirmation-table table tr.total-value td {
  background: #fafafa !important; border-top: 1px solid #ececf0 !important; border-bottom: 1px solid #ececf0 !important;
  padding: 16px 16px !important; font-size: 18px !important; color: #1d1d1f !important;
}
body#order-confirmation .order-confirmation-table table tr.total-value td:first-child { border-left: 1px solid #ececf0 !important; border-radius: 12px 0 0 12px !important; }
body#order-confirmation .order-confirmation-table table tr.total-value td:last-child { border-right: 1px solid #ececf0 !important; border-radius: 0 12px 12px 0 !important; color: #8b4fc4 !important; font-weight: 800 !important; font-size: 20px !important; }
body#order-confirmation .order-confirmation-table table tr.total-value td .text-uppercase { font-weight: 800; }

/* ---- order details ---- */
body#order-confirmation #order-details { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
body#order-confirmation #order-details .card-title {
  font-size: 16px !important; font-weight: 800 !important; color: #1d1d1f !important; margin: 0 0 14px !important;
}
body#order-confirmation #order-details ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
body#order-confirmation #order-details ul li {
  background: #fafafa; border: 1px solid #ececf0; border-radius: 12px; padding: 12px 14px; color: #55555c; font-size: 14px;
}
body#order-confirmation #order-details ul li#order-reference-value { color: #1d1d1f; font-weight: 700; }
body#order-confirmation #order-details ul li em { color: #8a8a90; font-style: normal; }

/* ---- footer thanks (tpay-success links) ---- */
body#order-confirmation #tpay-success { text-align: center; }
body#order-confirmation #tpay-success h4 { font-size: 14px !important; font-weight: 500 !important; color: #55555c !important; margin: 4px 0 !important; }
body#order-confirmation #tpay-success a { color: #8b4fc4 !important; font-weight: 700; text-decoration: none; }
body#order-confirmation #tpay-success a:hover { text-decoration: underline; }

/* breadcrumb + page spacing */
body#order-confirmation .breadcrumb { margin-bottom: 14px; }
/* ===== end DP order-confirmation restyle ===== */

/* DP SHOP — pay link in order-history menu */
.dp-oh-menu-pay{ font-weight:800 !important; color:#7c3aed !important; }
.dp-oh-menu-pay:hover{ background:#f3e7ff !important; }


/* DP SHOP — order detail: product thumbnails + document button */
#order-products .dp-od-thumb, .order-items .dp-od-thumb{ float:left; width:52px; height:52px; object-fit:cover; border-radius:8px; border:1px solid #ece9f2; margin-right:12px; background:#fff; }
#order-products td:first-child, .return #order-products td:nth-child(2){ vertical-align:middle; }
.dp-od-docbtn{ display:inline-block; background:#7c3aed; color:#fff !important; padding:9px 16px; border-radius:7px; text-decoration:none; font-weight:700; }
.dp-od-docbtn:hover{ background:#6d28d9; color:#fff !important; }
.dp-od-doc-li{ list-style:none; margin:6px 0; }

/* DP SHOP — klient anuluje zamówienie „Złożone": pozycja w menu ⋮ + przycisk na stronie zamówienia */
.dp-oh-menu-pop .dp-oh-menu-cancel{
  display:block; width:100%; text-align:left; padding:10px 12px; border:0; background:none;
  border-radius:8px; font-size:13.5px; font-weight:700; color:#e5484d; cursor:pointer;
  white-space:nowrap; font-family:inherit;
}
.dp-oh-menu-pop .dp-oh-menu-cancel:hover{ background:#fdecec; color:#c0392b; }
.dp-od-cancelbox{ margin-top:10px; }
.dp-od-cancelbtn{
  display:inline-block; background:#fff; color:#e5484d; border:1.5px solid #f0c7c7;
  padding:9px 18px; border-radius:22px; font-weight:700; font-size:13.5px; cursor:pointer;
  transition:background .15s ease, border-color .15s ease;
}
.dp-od-cancelbtn:hover{ background:#fdecec; border-color:#e5484d; }
/* DP SHOP — „Zwrot / reklamacja" na stronie zamówienia (statusy z dokumentem+etykietą) */
.dp-od-returnbox{ margin-top:10px; }
.dp-od-returnbtn{
  display:inline-block; background:#fff; color:#7c3aed; border:1.5px solid #d8c9f5;
  padding:9px 18px; border-radius:7px; font-weight:700; font-size:13.5px; text-decoration:none !important;
  transition:background .15s ease, border-color .15s ease;
}
.dp-od-returnbtn:hover{ background:#f3eefc; border-color:#7c3aed; color:#6d28d9; }
.dp-od-returninfo{ display:block; margin-top:6px; font-size:12px; color:#8a8a99; }
/* DP SHOP — własny modal zwrotu produktów (profesjonalny: ceny, kwota zwrotu, sposób, P24) */
.dp-return-modal .modal-dialog{ max-width:640px; }
.dp-return-modal .modal-body{ padding:20px 24px 8px; max-height:72vh; overflow-y:auto; }
.dp-return-lead{ font-size:13.5px; color:#5c5c6b; line-height:1.5; margin:0 0 14px; }
.dp-return-alerts:not(:empty){ margin-bottom:12px; }
.dp-return-sec-title{ display:flex; align-items:center; gap:9px; font-size:14.5px; font-weight:800; color:#1d1d1f; margin:16px 0 10px; }
.dp-return-step{ display:inline-flex; align-items:center; justify-content:center; width:23px; height:23px; border-radius:50%; background:#7c3aed; color:#fff; font-size:13px; font-weight:800; flex:0 0 auto; }

.dp-return-list{ margin:0 0 6px; }
.dp-return-row{ display:flex; align-items:center; gap:12px; padding:11px 12px; border:1.5px solid #ececf3; border-radius:12px; margin-bottom:9px; transition:border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.dp-return-row.dp-return-row-on{ border-color:#c9b6f3; background:#faf7ff; box-shadow:0 2px 10px rgba(124,58,237,.08); }
.dp-return-check{ display:flex; align-items:center; gap:11px; flex:1; margin:0; cursor:pointer; font-weight:600; min-width:0; }
.dp-return-cb{ width:19px; height:19px; flex:0 0 auto; cursor:pointer; accent-color:#7c3aed; }
.dp-return-thumb{ width:48px; height:48px; object-fit:cover; border-radius:9px; flex:0 0 auto; border:1px solid #eee; }
.dp-return-name{ font-size:13.5px; line-height:1.35; min-width:0; }
.dp-return-name small{ display:block; color:#9a9aa6; font-weight:500; font-size:11px; margin-top:1px; }
.dp-return-unit{ display:block; color:#7c3aed; font-weight:700; font-size:12px; margin-top:3px; }
.dp-return-qty{ display:flex; flex-direction:column; align-items:center; gap:2px; flex:0 0 auto; font-size:11px; color:#9a9aa6; }
.dp-return-qty-lbl{ font-weight:600; }
.dp-return-qty-input{ width:56px; padding:6px 7px; border:1.5px solid #e0e0e8; border-radius:8px; text-align:center; font-weight:700; font-size:14px; }
.dp-return-qty-input:disabled{ background:#f4f4f7; color:#c2c2cc; }

.dp-return-total{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 16px; background:#f3eefc; border-radius:12px; margin:4px 0 6px; }
.dp-return-total-lbl{ font-weight:700; font-size:14px; color:#4a4a57; }
.dp-return-total-val{ font-size:20px; font-weight:800; color:#7c3aed; }

.dp-return-methods{ display:flex; flex-direction:column; gap:9px; margin-bottom:6px; }
.dp-return-method{ display:flex; align-items:flex-start; gap:12px; padding:13px 14px; border:1.5px solid #ececf3; border-radius:12px; margin:0; cursor:pointer; transition:border-color .15s ease, background .15s ease; }
.dp-return-method:has(.dp-return-method-r:checked),
.dp-return-method.dp-return-method-on{ border-color:#c9b6f3; background:#faf7ff; }
.dp-return-method-r{ margin-top:3px; width:18px; height:18px; flex:0 0 auto; accent-color:#7c3aed; cursor:pointer; }
.dp-return-method-ic{ color:#7c3aed; font-size:26px; flex:0 0 auto; }
.dp-return-method-txt strong{ display:block; font-size:13.5px; color:#1d1d1f; }
.dp-return-method-txt small{ display:block; color:#8a8a99; font-size:12px; line-height:1.4; margin-top:2px; }
.dp-return-free{ display:inline-block; background:#1a7a44; color:#fff; font-size:10.5px; font-weight:800; padding:1px 7px; border-radius:999px; margin-left:4px; vertical-align:middle; text-transform:uppercase; letter-spacing:.3px; }

.dp-return-refund{ background:#f6f7fb; border:1px solid #ededf2; border-radius:12px; padding:13px 15px; margin:14px 0 4px; }
.dp-return-refund-main{ display:flex; align-items:flex-start; gap:10px; }
.dp-return-refund-main i{ color:#1a7a44; font-size:22px; flex:0 0 auto; }
.dp-return-refund-main p{ margin:0; font-size:12.5px; color:#555; line-height:1.5; }
.dp-return-p24{ display:flex; align-items:center; gap:9px; margin-top:11px; padding-top:11px; border-top:1px dashed #e2e2ea; }
.dp-return-p24 span{ font-size:11.5px; color:#8a8a99; font-weight:600; }
.dp-return-p24-logo{ height:22px; width:auto; }

.dp-return-reason-wrap{ margin-top:14px; }
.dp-return-reason-lbl{ display:block; font-weight:700; font-size:13px; margin-bottom:6px; }
.dp-return-reason{ width:100%; border:1.5px solid #e0e0e8; border-radius:10px; padding:10px 12px; font-family:inherit; font-size:13.5px; resize:vertical; box-sizing:border-box; }
.dp-return-submit{ background:#7c3aed; }
.dp-return-submit:hover{ background:#6d28d9; }
@media (max-width:600px){
  .dp-return-modal .modal-dialog{ max-width:94%; }
  .dp-return-row{ flex-wrap:wrap; }
}



/* ============================================================
   BESTSELLERY (home) — jak pozostałe bloki: 5 w rzędzie, bez tła
   Dodano class .dp-bestsellers w theme tpl ps_bestsellers.
   ============================================================ */
#index .featured-products.dp-bestsellers,
.page-home .featured-products.dp-bestsellers,
#index .featured-products.dp-bestsellers:nth-of-type(even){
  background: transparent !important;
}
#index .dp-bestsellers .products,
.page-home .dp-bestsellers .products{
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 24px !important;
}
@media (max-width: 1200px){
  #index .dp-bestsellers .products,
  .page-home .dp-bestsellers .products{ grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px){
  #index .dp-bestsellers .products,
  .page-home .dp-bestsellers .products{ grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
}
@media (max-width: 560px){
  #index .dp-bestsellers .products,
  .page-home .dp-bestsellers .products{ grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}


/* ============================================================
   PAGINACJA — bez fioletowej ramki (box-shadow) przy kliknieciu.
   Nadpisuje globalne `a:focus{box-shadow: rgba(191,120,238,.3) 0 0 0 3px}`.
   ============================================================ */
.pagination a:focus,
.pagination a:active,
.pagination a:focus-visible,
.pagination .page-list a:focus,
.pagination .page-list a:active,
.pagination .page-list a:focus-visible,
.pagination .page-list li a:focus,
.page-link:focus,
.page-link:active,
.page-link:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}


/* ============================================================
   MENU GLOWNE + PODMENU — bez fioletowej ramki (focus) przy kliknieciu.
   Nadpisuje globalne a:focus{box-shadow: rgba(191,120,238,.3) 0 0 0 3px}.
   Obejmuje: top-menu (kategorie glowne), sub-menu (podkategorie),
   dropdown-item/-submenu oraz menu mobilne.
   ============================================================ */
html body #header #top-menu a:focus,
html body #header #top-menu a:active,
html body #header #top-menu a:focus-visible,
html body #header .top-menu a:focus,
html body #header .top-menu a:active,
html body #header .top-menu a:focus-visible,
html body #header .sub-menu a:focus,
html body #header .sub-menu a:active,
html body #header .sub-menu a:focus-visible,
html body #header .popover.sub-menu a:focus,
html body #header .popover.sub-menu a:active,
html body #header .popover.sub-menu a:focus-visible,
html body #header .dropdown-item:focus,
html body #header .dropdown-item:active,
html body #header .dropdown-item:focus-visible,
html body #header a.dropdown-submenu:focus,
html body #header a.dropdown-submenu:active,
html body #header a.dropdown-submenu:focus-visible,
html body #mobile_top_menu_wrapper a:focus,
html body #mobile_top_menu_wrapper a:active,
html body #mobile_top_menu_wrapper a:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}


/* ============================================================
   WYNIKI WYSZUKIWANIA (#search) — brak sidebara → 7 produktow w rzedzie.
   Grid to flex .products.row > .product (nie ma klasy .dp-product-col-5).
   ============================================================ */
@media (min-width: 1200px){
  body#search #content-wrapper .products.row > .product,
  body#search .products.row > .product,
  body#search .products .product{
    flex: 0 0 14.2857% !important;
    max-width: 14.2857% !important;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px){
  body#search #content-wrapper .products.row > .product,
  body#search .products.row > .product,
  body#search .products .product{
    flex: 0 0 25% !important;   /* 4 w rzedzie na tablecie */
    max-width: 25% !important;
  }
}

/* =====================================================================
   A11Y (2026-10-02, PageSpeed): obszary dotyku i linki w tekście
   ===================================================================== */
/* theme.css daje .user-info margin-left:2.5rem (dla desktopu) — na mobile przesuwało to
   klikalny link konta w prawo: lewa część ikony nie reagowała, a link nachodził na koszyk */
@media (max-width: 767.98px) {
  #header .header-nav #_mobile_user_info .user-info { margin-left: 0 !important; }
}
/* link w tekście zgody newslettera — wyróżniony nie tylko kolorem */
#footer .dp-newsletter .dp-nl-consent a, .dp-newsletter .dp-nl-consent a { text-decoration: underline !important; text-underline-offset: 2px; }

/* ===== праві значки шапки (моб.) — трохи менші й тонші (2026-10-09) =====
   нові іконки: кабінет = ikona_konto.svg (round-shoulders), кошик = ikonka_koszyk.svg (візок);
   тут лише РОЗМІР (моб.) + тонший stroke для інлайн-SVG (wishlist/пошук). Форму задають SVG-файли. */
@media (max-width:767px){
  html body #header #_mobile_user_info a,
  html body #header #_mobile_cart .header a.cart-link,
  html body #header #_mobile_cart a.cart-link{ width:24px !important; height:24px !important; background-size:contain !important; }
  html body #header #_mobile_user_info,
  html body #header #_mobile_cart,
  html body #header #_mobile_cart .blockcart,
  html body #header #_mobile_cart .blockcart .header{ width:24px !important; min-width:24px !important; max-width:24px !important; flex:0 0 24px !important; }
  html body #header .dp-mobile-icon{ width:24px !important; height:24px !important; }
  html body #header .dp-mobile-icon svg{ width:22px !important; height:22px !important; }
  html body #header .dp-mobile-icon svg path,
  html body #header .dp-mobile-icon svg circle,
  html body #header .dp-mobile-icon svg line{ stroke-width:1.6 !important; }

  /* ФІКС «подвійний кошик»: раніше SVG-фон був І на контейнері #_mobile_cart, І на
     вкладеному a.cart-link (через .header-специфічність) → два візки з різними боксами
     (24x27 vs 24x24) накладались і виглядали грубо. Лишаємо фон ЛИШЕ на контейнері
     (як у профілю), посилання робимо прозорим. */
  html body #header #_mobile_cart .header a.cart-link,
  html body #header #_mobile_cart .header a,
  html body #header #_mobile_cart a.cart-link,
  html body #header #_mobile_cart a{ background-image:none !important; background:transparent !important; }
}

/* ===== праві значки шапки (ПК) — більші (2026-10-09) =====
   на десктопі були дрібні (сердечко 22x20, кабінет/кошик 26x26) → збільшено й вирівняно. */
@media (min-width:768px){
  #header .header-top-nav2 #_desktop_user_info .user-info a,
  #header .header-top-nav2 .blockcart .header a.cart-link{ width:31px !important; height:31px !important; }
  #header .header-top-nav2 .dp-wishlist-nav-link{ width:30px !important; height:27px !important; }
}

/* ===== Przelewy24: zgoda (checkbox) pod opcją płatności (2026-10-16) =====
   Moduł robi label jako display:flex -> tekst + linki "regulaminem"/"obowiązkiem
   informacyjnym" rozjeżdżały się w jeden rząd i na mobile wychodziły poza ekran. */
.payment-options .przelewy24-checkbox-group,
.payment-options .przelewy24-checkbox__label{
  display:block !important; text-align:left !important; max-width:100% !important;
  white-space:normal !important; line-height:1.45 !important; font-size:14px !important;
}
.payment-options .przelewy24-checkbox__label a{ display:inline !important; color:#8b4fc4 !important; text-decoration:underline !important; }
.payment-options .przelewy24-checkbox__label input[type=checkbox]{
  display:inline-block !important; vertical-align:middle !important; margin:0 8px 0 0 !important; width:18px !important; height:18px !important;
}
.payment-options .przelewy24-repayment__additional-information{ padding:6px 0 2px !important; }

/* ===== DP — order detail: pay button (Przelewy24 repayment) ===== */
.dp-od-paybox{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin-top:8px}
.dp-od-paynote{color:#e74c3c;font-weight:700;font-size:.9rem}
.dp-od-paybtn{display:inline-block;background:#bf78ee;color:#fff !important;font-weight:700;padding:10px 22px;border-radius:999px;text-decoration:none !important;box-shadow:0 6px 18px rgba(191,120,238,.35);transition:background .15s,transform .15s}
.dp-od-paybtn:hover{background:#a85fd9;transform:translateY(-1px)}
.dp-oh-menu-pop .dp-oh-menu-pay{color:#bf78ee;font-weight:700}
@media (max-width:767px){.dp-od-paybox{justify-content:flex-start}}

/* ===== Checkout: przycisk "Złóż zamówienie" — 10px jak reszta przycisków (2026-10-17) ===== */
#payment-confirmation .btn, #payment-confirmation button{ border-radius:10px !important; }

/* ===== Filtry fasetowe: "pokaż 5 + Więcej (N)" z rozwijaniem w dół (2026-10-18) =====
   Zwijanie pozycyjne (nth-child) — odporne na re-render kolumny przez AJAX:
   pozycje 6+ (poza przyciskiem .dp-facet-more-li) sa domyslnie schowane. */
.facet ul[id^="facet_"] > li:nth-child(n+6):not(.dp-facet-more-li){
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .34s ease, opacity .28s ease;
}
.facet.dp-facet-open ul[id^="facet_"] > li:nth-child(n+6):not(.dp-facet-more-li){
  max-height:6em; opacity:1;
}
.facet .dp-facet-more-li{ list-style:none; margin:4px 0 0; padding:0; }
.facet .dp-facet-more{
  display:inline-flex; align-items:center;
  background:none; border:0; padding:5px 0; cursor:pointer;
  font-family:inherit; font-size:14px; font-weight:400; letter-spacing:0;
  color:#232323; transition:color .18s ease;
  outline:none !important; box-shadow:none !important;
}
/* bez fioletowej ramki (focus/active outline) */
.facet .dp-facet-more:focus,
.facet .dp-facet-more:focus-visible,
.facet .dp-facet-more:active{ outline:none !important; box-shadow:none !important; border:0 !important; }
.facet .dp-facet-more:hover{ color:#232323; text-decoration:underline; }

/* ===== Filtr ceny jako pola „od / do zł” zamiast suwaka (PK + mobile) ===== */
/* chowamy natywny suwak jQuery UI i jego etykiete — zostaja tylko nasze pola */
.facet .faceted-slider div[id^="slider-range_"]{ display:none !important; }
.facet .faceted-slider p[id^="facet_label_"]{ display:none !important; }
.facet .dp-price-inputs{ padding:4px 0 2px; }
.facet .dp-price-range{
  font-size:12.5px; color:#8a8a8f; margin:0 0 9px; letter-spacing:.01em;
}
.facet .dp-price-fields{ display:flex; align-items:center; gap:7px; }
.facet .dp-price-field{
  position:relative; display:inline-flex; align-items:center; flex:1 1 0; min-width:0;
}
.facet .dp-price-field input{
  width:100%; min-width:0; box-sizing:border-box;
  height:40px; padding:0 26px 0 12px;
  border:1px solid #e2c9f5; border-radius:10px; background:#fff;
  font-family:inherit; font-size:14px; color:#1d1d1f; line-height:1;
  -moz-appearance:textfield; appearance:textfield;
  transition:border-color .15s ease;
}
.facet .dp-price-field input::-webkit-outer-spin-button,
.facet .dp-price-field input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
/* bez fioletowej ramki focus (feedback uzytkownika) — neutralne podswietlenie */
.facet .dp-price-field input:focus,
.facet .dp-price-field input:focus-visible{
  outline:none !important; box-shadow:none !important; border-color:#c9a7e6 !important;
}
.facet .dp-price-unit{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  font-size:12px; color:#9a96a1; pointer-events:none;
}
.facet .dp-price-dash{ color:#b7b2bd; flex:0 0 auto; }
.facet .dp-price-apply{
  flex:0 0 auto; height:40px; padding:0 14px;
  border:0; border-radius:10px; cursor:pointer;
  background:#BF78EE; color:#fff; font-family:inherit; font-size:13px; font-weight:600;
  transition:background .15s ease;
}
.facet .dp-price-apply:hover{ background:#a95fdb; }
.facet .dp-price-apply:focus,
.facet .dp-price-apply:focus-visible,
.facet .dp-price-apply:active{ outline:none !important; box-shadow:none !important; }

/* ===== Placeholdery pol formularzy — czytelniejszy (ciemniejszy) kolor + znikaja
   po kliknieciu (focus), caly serwis: ceny, adresy dostawy, dane do faktury itd.
   (2026-10-19). Osobne reguly per-prefix — mieszanie standard + vendor
   uniewaznia cala regule w przegladarkach, ktore nie znaja jednego z selektorow. */
input::placeholder,
textarea::placeholder{ color:#6b6b72 !important; opacity:1 !important; }
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{ color:#6b6b72 !important; opacity:1 !important; }
input::-moz-placeholder,
textarea::-moz-placeholder{ color:#6b6b72 !important; opacity:1 !important; }
input:-ms-input-placeholder,
textarea:-ms-input-placeholder{ color:#6b6b72 !important; opacity:1 !important; }
/* Modal „Zaloguj się" z listy życzeń (blockwishlist) — tresc byla za jasna
   (#ddd, nieczytelna). Powod: modal renderuje sie WEWNATRZ #footer (ciemny,
   color:#ddd !important), wiec tekst dziedziczyl #ddd; zwykly selektor klasowy
   (0,2,0) przegrywal z #footer (1,0,0) — dlatego prefiks #footer. (2026-10-19) */
#footer .wishlist-modal .modal-text,
.wishlist-login .wishlist-modal .modal-text,
.wishlist-modal .modal-text{ color:#4a4a4a !important; }

/* Modal „Moja lista życzeń" (wybor listy, zalogowany) — ten sam problem: renderuje
   sie w #footer, wiec pozycje listy i CTA dziedziczyly #ddd (nieczytelne). Ciemny
   tekst dla listy, akcent fioletowy dla „Utwórz nową listę". (2026-10-19) */
#footer .wishlist-modal .modal-body,
#footer .wishlist-modal .modal-body a,
#footer .wishlist-modal .modal-body li,
#footer .wishlist-modal .modal-body span,
#footer .wishlist-modal .modal-body p,
#footer .wishlist-modal .modal-body label,
.wishlist-modal .modal-body,
.wishlist-modal .modal-body a,
.wishlist-modal .modal-body li,
.wishlist-modal .modal-body span,
.wishlist-modal .modal-body p,
.wishlist-modal .modal-body label{ color:#1d1d1f !important; }
#footer .wishlist-modal .wishlist-add-to-new,
#footer .wishlist-modal .wishlist-add-to-new *,
.wishlist-modal .wishlist-add-to-new,
.wishlist-modal .wishlist-add-to-new *{ color:#BF78EE !important; }

/* Podpowiedź (placeholder) ZOSTAJE widoczna po kliknięciu w pole — znika dopiero gdy
   użytkownik zaczyna pisać (domyślne zachowanie przeglądarki). Dzięki temu w popupach
   „Dane do faktury"/„Dane odbiorcy" (gość i zalogowany) widać, co wpisać. Dawniej placeholder
   stawał się przezroczysty na :focus — celowo tego NIE robimy. (2026-10-19) */

/* ===== iOS Safari: brak auto-zoomu przy kliknieciu w pole (2026-10-19) =====
   iOS powieksza cala strone po fokusie, gdy font-size pola < 16px. Fix = font 16px
   na polach tekstowych na telefonie (NIE ruszamy viewport/zoom — to szkodzi
   dostepnosci). Dotyczy wszystkich pol: adresy, faktura, popupy, filtr ceny, szukaj. */
@media (max-width: 767px){
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="password"], input[type="search"], input[type="url"], input[type="date"],
  input:not([type]), textarea, select{
    font-size: 16px !important;
  }
  /* pole wyszukiwania ma wlasna, specyficzna regule z !important (14/15px) —
     nadpisujemy ta sama specyficznoscia, zeby tez nie zoomowalo na iOS */
  html body #header .header-top-right .search-widgets input[type="text"],
  html body #header .header-top-right #search_widget input[type="text"],
  html body #header #search_widget input{
    font-size: 16px !important;
  }
}

/* zaglowki grup filtrow — wieksze i grubsze (jak naglowki) */
#search_filters .facet-title{ font-size:18px !important; font-weight:700 !important; }

/* ===== Aktywne filtry jako "chipy" (2026-10-18) ===== */
#js-active-search-filters.dp-active-filters{
  background:transparent !important; border:0 !important;
  padding:0 !important; margin:0 0 20px !important;
}
#js-active-search-filters.dp-active-filters .active-filter-title{ display:none !important; }
#js-active-search-filters.dp-active-filters ul{
  display:flex !important; flex-wrap:wrap; gap:10px;
  margin:0 !important; padding:0 !important; list-style:none;
}
#js-active-search-filters.dp-active-filters li.filter-block{
  display:inline-flex !important; align-items:center; gap:8px;
  background:#fff !important; border:1px solid #e3e3e8 !important; border-radius:10px !important;
  padding:8px 13px !important; margin:0 !important;
  font-size:14px; line-height:1.2; color:#232323;
  box-shadow:0 1px 2px rgba(29,29,31,.04);
}
#js-active-search-filters.dp-active-filters .dp-af-label{ font-weight:700; color:#1d1d1f; }
#js-active-search-filters.dp-active-filters .dp-af-val{ font-weight:400; color:#232323; }
#js-active-search-filters.dp-active-filters li.filter-block a{
  display:inline-flex; align-items:center; margin:0 !important; padding:0;
  color:#9a95a6; transition:color .18s ease;
}
#js-active-search-filters.dp-active-filters li.filter-block a:hover{ color:#1d1d1f; }
#js-active-search-filters.dp-active-filters .material-icons.close{ font-size:16px; line-height:1; }
/* chip "Wyczysc filtry" — wypelniony szary */
#js-active-search-filters.dp-active-filters li.dp-af-clear{ background:#efeff2 !important; }
#js-active-search-filters.dp-active-filters li.dp-af-clear a{ color:#6b6b73; gap:6px; }
#js-active-search-filters.dp-active-filters li.dp-af-clear a:hover{ color:#1d1d1f; }

/* ===== Pasek listy produktow: sortowanie (lewo) + przelaczanie stron (prawo) — gora i dol (2026-10-18) ===== */
.dp-list-toolbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px 20px; flex-wrap:wrap; margin:0 0 18px;
}
.dp-list-toolbar-bottom{ margin:26px 0 44px; }
.dp-list-toolbar .dp-lt-sort{ display:flex; align-items:center; gap:8px; flex:0 1 auto; min-width:0; }
.dp-list-toolbar .dp-lt-pag{ flex:0 0 auto; margin-left:auto; }
/* sort-orders: z bootstrapowych kolumn -> kompaktowy inline */
.dp-list-toolbar .dp-lt-sort .sort-by{
  width:auto !important; max-width:none !important; padding:0 !important;
  float:none !important; white-space:nowrap; margin:0;
}
.dp-list-toolbar .dp-lt-sort .products-sort-order{
  width:auto !important; max-width:none !important; padding:0 !important; margin:0;
}
/* paginacja w pasku: tylko przyciski stron, do prawej, bez podsumowania "Showing..." */
.dp-list-toolbar .dp-lt-pag .pagination{ display:flex; justify-content:flex-end; margin:0; padding:0; border:0; }
.dp-list-toolbar .dp-lt-pag .pagination .col-md-4{ display:none !important; }
.dp-list-toolbar .dp-lt-pag .pagination .col-md-6{
  width:auto !important; max-width:none !important; margin:0 !important; padding:0 !important; float:none !important;
}
.dp-list-toolbar .dp-lt-pag .page-list{
  display:flex !important; align-items:center; flex-wrap:wrap; gap:4px;
  justify-content:flex-end; margin:0 !important; padding:0 !important; list-style:none;
}
.dp-list-toolbar .dp-lt-pag .page-list li{
  float:none !important; margin:0 !important; padding:0 !important;
  display:flex; align-items:center;
}
.dp-list-toolbar .dp-lt-pag .page-list li a,
.dp-list-toolbar .dp-lt-pag .page-list li span{
  display:inline-flex !important; align-items:center; justify-content:center;
  min-width:30px; height:30px; padding:0 9px; line-height:1 !important;
  float:none !important; margin:0 !important; border-radius:7px;
}
.dp-list-toolbar .dp-lt-pag .page-list li.current a,
.dp-list-toolbar .dp-lt-pag .page-list li.current span{ font-weight:700; }
.dp-list-toolbar .dp-lt-pag .page-list li .material-icons{ font-size:18px; line-height:1; margin:0 2px; }
@media (max-width:767px){
  .dp-list-toolbar{ gap:10px 12px; }
  .dp-list-toolbar .dp-lt-pag{ margin-left:0; width:100%; }
  .dp-list-toolbar .dp-lt-pag .pagination,
  .dp-list-toolbar .dp-lt-pag .page-list{ justify-content:center; }
  /* mobile: paginacja tylko na dole listy — gorny pasek bez przyciskow stron */
  .dp-list-toolbar-top .dp-lt-pag{ display:none !important; }
}
.facet .dp-facet-more span{ color:inherit; }

/* ===== Przycisk "Wyczysc wszystko" w filtrach — szary jak chip nad lista (2026-10-18) ===== */
#search_filters .js-search-filters-clear-all,
#_desktop_search_filters_clear_all .js-search-filters-clear-all{
  display:inline-flex !important; align-items:center; gap:6px;
  background:#efeff2 !important; border:1px solid #e3e3e8 !important;
  color:#6b6b73 !important; border-radius:10px !important;
  font-weight:400 !important; padding:8px 13px !important;
  box-shadow:none !important;
}
#search_filters .js-search-filters-clear-all:hover,
#_desktop_search_filters_clear_all .js-search-filters-clear-all:hover{
  background:#e6e6ea !important; color:#1d1d1f !important; transform:none !important;
}
#search_filters .js-search-filters-clear-all .material-icons{ font-size:16px; line-height:1; }

/* ===== Etykieta zwrotna (konto: Zwroty i reklamacje) — Paczkomat InPost, bez druku ===== */
.dp-ret-label-btn{
  display:inline-flex; align-items:center; gap:8px; margin-top:12px;
  padding:10px 18px; border:0; border-radius:10px; cursor:pointer;
  background:#BF78EE; color:#fff; font-family:inherit; font-size:13px; font-weight:700;
  line-height:1.2; transition:background .15s ease;
}
.dp-ret-label-btn:hover{ background:#a95fdb; }
.dp-ret-label-btn:focus, .dp-ret-label-btn:focus-visible, .dp-ret-label-btn:active{ outline:none !important; box-shadow:none !important; }
.dp-ret-label-btn .material-icons{ font-size:18px; }
.dp-ret-label{
  margin-top:12px; padding:14px 16px; border:1px solid #d9f0e0; border-radius:12px; background:#f3fbf6;
}
.dp-ret-label-title{ display:flex; align-items:center; gap:7px; font-size:14px; font-weight:700; color:#1d1d1f; }
.dp-ret-label-title .material-icons{ font-size:19px; color:#2e9e5b; }
.dp-ret-label-info{ margin:6px 0 10px; font-size:13px; color:#4c4c50; line-height:1.5; }
.dp-ret-label-code{ font-size:14px; color:#1d1d1f; margin-bottom:6px; }
.dp-ret-label-code strong{ letter-spacing:.03em; font-size:15px; }
.dp-ret-label-point{ display:flex; align-items:center; gap:5px; font-size:13px; color:#4c4c50; margin-bottom:8px; }
.dp-ret-label-point .material-icons{ font-size:16px; color:#8a8a8f; }
.dp-ret-label-track{ display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:600; color:#BF78EE !important; text-decoration:none !important; }
.dp-ret-label-track .material-icons{ font-size:16px; }
.dp-ret-label-refund{ margin:10px 0 0; padding-top:10px; border-top:1px dashed #cfe9d6; font-size:12.5px; color:#5a5a5e; line-height:1.5; }

/* wybór sposobu zwrotu (modal) + info o zwrocie pieniędzy */
.dp-ret-refund-info{ display:flex; gap:10px; align-items:flex-start; padding:12px 14px; margin:0 0 16px; border-radius:10px; background:#f6f0fc; border:1px solid #ecdcfb; }
.dp-ret-refund-info .material-icons{ font-size:20px; color:#BF78EE; flex:0 0 auto; margin-top:1px; }
.dp-ret-refund-info p{ margin:0; font-size:13px; color:#4c4c50; line-height:1.55; }
.dp-ret-method-list{ display:flex; flex-direction:column; gap:10px; }
.dp-ret-method-opt{ display:flex; align-items:center; gap:12px; width:100%; text-align:left; padding:14px 16px; border:1px solid #e4e4e7; border-radius:12px; background:#fff; cursor:pointer; transition:border-color .15s ease, background .15s ease; }
.dp-ret-method-opt:hover{ border-color:#BF78EE; background:#faf7ff; }
.dp-ret-method-opt:focus, .dp-ret-method-opt:focus-visible, .dp-ret-method-opt:active{ outline:none !important; box-shadow:none !important; }
.dp-ret-method-ic{ font-size:26px !important; color:#BF78EE; flex:0 0 auto; }
.dp-ret-method-main{ display:flex; flex-direction:column; gap:3px; flex:1 1 auto; min-width:0; }
.dp-ret-method-main strong{ font-size:14px; font-weight:700; color:#1d1d1f; }
.dp-ret-method-main small{ font-size:12.5px; color:#6b6b70; line-height:1.45; }
.dp-ret-method-chev{ font-size:20px !important; color:#b7b2bd; flex:0 0 auto; }
.dp-ret-personal-info{ margin-top:14px; padding:14px 16px; border:1px solid #e2c9f5; border-radius:12px; background:#faf7ff; }
.dp-ret-personal-addr{ font-size:14px; color:#1d1d1f; line-height:1.6; }
.dp-ret-personal-note{ margin:10px 0 0; font-size:12.5px; color:#5a5a5e; line-height:1.55; }

/* CMS "Zwroty i reklamacje" (id 13): returns guide with illustrated steps — .dprg */
.page-cms .dprg{ --dprg-p:#7c3aed; --dprg-p2:#8A4FC9; --dprg-soft:#f6f3fd; --dprg-line:#ece6f7; --dprg-ink:#1d1d1f; --dprg-mut:#6f6a7d; color:var(--dprg-ink); font-size:15px; line-height:1.6; }
.page-cms .dprg p{ margin:0 0 12px; }
.page-cms .dprg p, .page-cms .dprg li, .page-cms .dprg span, .page-cms .dprg b, .page-cms .dprg summary{ text-align:left !important; }
.page-cms .dprg h3, .page-cms .dprg summary, .page-cms .dprg b{ text-transform:none !important; }
.page-cms .dprg h2, .page-cms .dprg h3{ text-align:left !important; }
.page-cms .dprg .dprg-contact p{ text-align:center !important; }
.page-cms .dprg a{ color:var(--dprg-p); font-weight:600; }
.page-cms .dprg .dprg-lead{ font-size:17px; line-height:1.55; margin:0 0 22px; max-width:760px; }
.page-cms .dprg h2.dprg-h2{ margin:44px 0 18px; padding:0 0 10px; border:0; position:relative; font-size:22px; }
.page-cms .dprg h2.dprg-h2::after{ content:""; position:absolute; left:0; bottom:0; width:64px; height:3px; border-radius:3px; background:linear-gradient(90deg,var(--dprg-p),#c4a6f3); }

.page-cms .dprg-facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.page-cms .dprg-fact{ background:var(--dprg-soft); border:1px solid var(--dprg-line); border-radius:14px; padding:16px; display:flex; flex-direction:column; gap:4px; }
.page-cms .dprg-fact-ico{ font-size:22px; line-height:1; }
.page-cms .dprg-fact b{ font-size:20px; font-weight:800; color:var(--dprg-p); }
.page-cms .dprg-fact span:last-child{ font-size:13px; color:var(--dprg-mut); line-height:1.45; }

.page-cms .dprg-step{ display:grid; grid-template-columns:1fr 340px; gap:28px; align-items:center; padding:22px 0; border-bottom:1px solid var(--dprg-line); }
.page-cms .dprg-step:last-of-type{ border-bottom:0; }
.page-cms .dprg-step-text h3{ font-size:18px; font-weight:800; margin:8px 0 8px; text-transform:none; }
.page-cms .dprg-num{ display:inline-flex; width:34px; height:34px; border-radius:50%; background:var(--dprg-p); color:#fff; font-weight:800; align-items:center; justify-content:center; font-size:15px; }
.page-cms .dprg-note{ font-size:12px; color:var(--dprg-mut); margin-top:6px; }

/* screen mockups */
.page-cms .dprg-screen{ background:#fff; border:1px solid #e4e0ec; border-radius:14px; box-shadow:0 10px 30px rgba(60,30,110,.10); overflow:hidden; font-size:13px; line-height:1.4; }
.page-cms .dprg-sc-bar{ display:flex; align-items:center; gap:5px; padding:9px 12px; background:#f4f2f8; border-bottom:1px solid #ebe7f2; }
.page-cms .dprg-sc-bar i{ width:8px; height:8px; border-radius:50%; background:#d8d2e3; }
.page-cms .dprg-sc-bar span{ margin-left:8px; font-size:11.5px; color:var(--dprg-mut); font-weight:600; }
.page-cms .dprg-sc-body{ padding:14px; display:flex; flex-direction:column; gap:9px; }
.page-cms .dprg-m-row{ display:flex; justify-content:space-between; align-items:center; gap:8px; }
.page-cms .dprg-m-badge{ font-size:11px; font-weight:700; padding:3px 9px; border-radius:20px; background:#e6f6ee; color:#1a7a44; }
.page-cms .dprg-m-badge-ok{ background:#eceff3; color:#4a5563; }
.page-cms .dprg-m-prod{ display:flex; gap:10px; align-items:center; }
.page-cms .dprg-m-prod b{ display:block; font-size:12.5px; }
.page-cms .dprg-m-prod small{ color:var(--dprg-mut); font-size:11.5px; }
.page-cms .dprg-m-thumb{ width:38px; height:38px; border-radius:9px; flex:0 0 38px; background:linear-gradient(135deg,#f5b7c9,#c0385f); }
.page-cms .dprg-m-thumb2{ background:linear-gradient(135deg,#f3e6dc,#cfa98f); }
.page-cms .dprg-m-btn{ align-self:flex-start; background:var(--dprg-p); color:#fff; font-weight:700; border-radius:22px; padding:8px 16px; font-size:12.5px; }
.page-cms .dprg-m-pulse{ box-shadow:0 0 0 6px rgba(124,58,237,.16); }
.page-cms .dprg-m-check{ display:flex; align-items:center; gap:9px; padding:8px 10px; border:1px solid #ebe7f2; border-radius:10px; }
.page-cms .dprg-m-check em{ margin-left:auto; font-style:normal; color:var(--dprg-mut); font-size:11.5px; }
.page-cms .dprg-m-check.on{ border-color:#c9b2f3; background:#faf7ff; }
.page-cms .dprg-m-box{ width:17px; height:17px; border-radius:5px; border:1.5px solid #c9c2d6; display:inline-flex; align-items:center; justify-content:center; font-size:11px; color:#fff; }
.page-cms .dprg-m-check.on .dprg-m-box{ background:var(--dprg-p); border-color:var(--dprg-p); }
.page-cms .dprg-m-label{ font-size:11px; text-transform:uppercase; letter-spacing:.4px; color:var(--dprg-mut); font-weight:700; margin-top:2px; }
.page-cms .dprg-m-radio{ display:flex; align-items:center; gap:9px; font-size:12.5px; }
.page-cms .dprg-m-radio span{ width:15px; height:15px; border-radius:50%; border:1.5px solid #c9c2d6; }
.page-cms .dprg-m-radio.on span{ border:5px solid var(--dprg-p); }
.page-cms .dprg-m-sum{ display:flex; justify-content:space-between; background:var(--dprg-soft); border-radius:10px; padding:8px 10px; font-size:12.5px; }
.page-cms .dprg-m-timeline{ list-style:none; margin:0; padding:0 0 0 4px; }
.page-cms .dprg-m-timeline li{ display:block !important; float:none !important; width:auto !important; margin:0 !important; position:relative; padding:0 0 10px 22px; font-size:12.5px; color:var(--dprg-mut); }
.page-cms .dprg-m-timeline li::before{ content:""; position:absolute; left:0; top:3px; width:12px; height:12px; border-radius:50%; background:#d9d3e4; }
.page-cms .dprg-m-timeline li::after{ content:""; position:absolute; left:5px; top:16px; width:2px; height:calc(100% - 14px); background:#e6e1ee; }
.page-cms .dprg-m-timeline li:last-child::after{ display:none; }
.page-cms .dprg-m-timeline li.done{ color:var(--dprg-ink); }
.page-cms .dprg-m-timeline li.done::before{ background:var(--dprg-p); }
.page-cms .dprg-m-timeline li.now{ font-weight:700; color:#1a7a44; }
.page-cms .dprg-m-timeline li.now::before{ background:#1a7a44; box-shadow:0 0 0 4px rgba(26,122,68,.15); }

.page-cms .dprg-screen-phone{ background:transparent; border:0; box-shadow:none; display:flex; justify-content:center; }
.page-cms .dprg-phone{ width:230px; border-radius:30px; background:#1d1d1f; padding:12px 10px 18px; box-shadow:0 14px 34px rgba(0,0,0,.25); display:flex; flex-direction:column; gap:8px; }
.page-cms .dprg-ph-notch{ width:70px; height:16px; border-radius:10px; background:#000; margin:0 auto 4px; }
.page-cms .dprg-ph-msg{ background:#fff; border-radius:14px; padding:9px 11px; display:flex; flex-direction:column; gap:2px; }
.page-cms .dprg-ph-msg small{ font-size:10.5px; color:var(--dprg-mut); font-weight:700; text-transform:uppercase; letter-spacing:.3px; }
.page-cms .dprg-ph-msg b{ font-size:12.5px; }
.page-cms .dprg-ph-msg span{ font-size:11.5px; color:#55506a; }
.page-cms .dprg-ph-mail{ border-left:4px solid var(--dprg-p); }
.page-cms .dprg-ph-sms{ border-left:4px solid #ffcd00; }

.page-cms .dprg-screen-locker{ background:transparent; border:0; box-shadow:none; display:flex; justify-content:center; }
.page-cms .dprg-locker{ width:250px; background:#ffcd00; border-radius:14px; padding:12px; display:grid; grid-template-columns:1.1fr 1fr; gap:10px; box-shadow:0 14px 30px rgba(0,0,0,.18); }
.page-cms .dprg-lk-screen{ background:#1d1d1f; color:#fff; border-radius:9px; padding:10px; display:flex; flex-direction:column; gap:5px; font-size:11px; }
.page-cms .dprg-lk-screen b{ font-size:12.5px; }
.page-cms .dprg-lk-screen span{ color:#cfcfd6; }
.page-cms .dprg-lk-code{ display:flex; gap:3px; }
.page-cms .dprg-lk-code i{ flex:1; height:16px; border-radius:3px; background:#3a3a40; }
.page-cms .dprg-lk-ok{ align-self:flex-start; background:#ffcd00; color:#1d1d1f; font-weight:800; border-radius:6px; padding:3px 9px; }
.page-cms .dprg-lk-boxes{ display:grid; grid-template-columns:1fr 1fr; gap:5px; }
.page-cms .dprg-lk-boxes i{ background:#e8b800; border-radius:4px; min-height:30px; }
.page-cms .dprg-lk-boxes i.open{ background:#fff; box-shadow:inset 0 0 0 2px #1d1d1f; }

.page-cms .dprg-pack{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
.page-cms .dprg-pack li{ display:flex; gap:10px; align-items:flex-start; background:#fff; border:1px solid var(--dprg-line); border-radius:12px; padding:12px 14px; font-size:14px; }
.page-cms .dprg-pack li span{ font-size:20px; line-height:1.2; }

.page-cms .dprg-ways{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.page-cms .dprg-way{ background:#fff; border:1px solid var(--dprg-line); border-radius:12px; padding:14px 16px; }
.page-cms .dprg-way b{ display:block; margin-bottom:6px; }
.page-cms .dprg-way p{ font-size:14px; margin:0; color:#3a3a3f; }

.page-cms .dprg-rules{ margin:0; padding-left:22px; }
.page-cms .dprg-rules li{ margin:0 0 10px; padding-left:4px; }
.page-cms .dprg-except{ margin-top:16px; background:#fff7e6; border:1px solid #f3dfb4; border-radius:12px; padding:14px 18px; }
.page-cms .dprg-except > b{ display:block; margin-bottom:6px; }
.page-cms .dprg-except ul{ margin:0 0 8px; padding-left:20px; }
.page-cms .dprg-except p{ margin:0; font-size:14px; }
.page-cms .dprg-claim{ background:var(--dprg-soft); border:1px solid var(--dprg-line); border-radius:14px; padding:16px 20px; }
.page-cms .dprg-claim ol{ margin:0 0 12px; padding-left:22px; }
.page-cms .dprg-claim li{ margin-bottom:6px; }

.page-cms .dprg-faq details{ border:1px solid var(--dprg-line); border-radius:12px; margin-bottom:8px; background:#fff; }
.page-cms .dprg-faq summary{ cursor:pointer; padding:12px 44px 12px 16px; font-weight:700; list-style:none; position:relative; }
.page-cms .dprg-faq summary::-webkit-details-marker{ display:none; }
.page-cms .dprg-faq summary::after{ content:"+"; position:absolute; right:16px; top:50%; transform:translateY(-50%); font-size:20px; color:var(--dprg-p); font-weight:700; }
.page-cms .dprg-faq details[open] summary::after{ content:"−"; }
.page-cms .dprg-faq details p{ padding:0 16px 14px; margin:0; color:#3a3a3f; }
.page-cms .dprg-contact{ margin-top:36px; text-align:center; background:var(--dprg-soft); border-radius:14px; padding:20px; }
.page-cms .dprg-contact b{ font-size:16px; }
.page-cms .dprg-contact p{ margin:6px 0 0; }

@media (max-width:991px){
  .page-cms .dprg-facts{ grid-template-columns:repeat(2,1fr); }
  .page-cms .dprg-ways{ grid-template-columns:1fr; }
  .page-cms .dprg-step{ grid-template-columns:1fr; gap:14px; }
  .page-cms .dprg-screen{ max-width:360px; }
}
@media (max-width:480px){
  .page-cms .dprg{ font-size:14.5px; }
  .page-cms .dprg-fact{ padding:12px; }
  .page-cms .dprg-fact b{ font-size:17px; }
}

/* =====================================================================
   WYNIKI WYSZUKIWANIA / PRODUCENT / DOSTAWCA — jak kategoria (2026-11-07):
   tytuł jak h1 kategorii; na mobile pigułka sortowania na pełną szerokość
   (te strony nie mają filtrów, więc pusty .dp-lt-filter znika)
   ===================================================================== */
body:is(#search,#manufacturer,#supplier) h1#js-product-list-header{
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  margin: 0 0 18px !important;
  color: #1d1d1f;
}
@media (max-width: 767.98px){
  body:is(#search,#manufacturer,#supplier) .dp-list-toolbar-top{
    display: flex !important; align-items: stretch !important;
    gap: 10px !important; flex-wrap: nowrap !important; margin: 0 0 16px !important;
  }
  body:is(#search,#manufacturer,#supplier) .dp-list-toolbar-top .dp-lt-filter:not(:has(button)){ display: none !important; }
  body:is(#search,#manufacturer,#supplier) .dp-list-toolbar-top .dp-lt-sort{ flex: 1 1 0 !important; margin: 0 !important; min-width: 0 !important; }
  body:is(#search,#manufacturer,#supplier) .dp-list-toolbar-top .dp-lt-sort .products-sort-order{
    width: 100% !important; max-width: none !important; height: 42px !important; padding: 0 !important; float: none !important;
  }
  body:is(#search,#manufacturer,#supplier) .dp-list-toolbar-top .dp-lt-sort .products-sort-order .select-title{
    width: 100% !important; height: 42px !important; min-height: 42px !important;
    padding: 0 12px !important; line-height: 1 !important; box-sizing: border-box !important;
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    border: 1px solid #e2c9f5 !important; border-radius: 10px !important;
    background: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  }
}

/* CART — "Nie jesteś zalogowany" bar under the Koszyk heading (guests only) */
.cart-grid-body .dp-cart-login{
  display:flex; align-items:center; gap:16px;
  margin:0 0 18px; padding:16px 20px;
  background:#fff; border-radius:14px; box-shadow:0 2px 10px rgba(29,29,31,.05);
  border-left:4px solid #bf78ee;
}
.cart-grid-body .dp-cart-login__icon{
  flex:0 0 44px; width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#f4ebfc; color:#a95fe0;
}
.cart-grid-body .dp-cart-login__text{ flex:1 1 auto; min-width:0; line-height:1.4; }
.cart-grid-body .dp-cart-login__text strong{ display:block; font-size:15px; font-weight:700; color:#1d1d1f; margin-bottom:2px; }
.cart-grid-body .dp-cart-login__text span{ display:block; font-size:13px; color:#8a8794; }
.cart-grid-body .dp-cart-login__actions{ flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:6px; }
.cart-grid-body .dp-cart-login__btn{
  display:inline-block; padding:11px 22px; border-radius:9px;
  background:#bf78ee; color:#fff !important; font-size:14px; font-weight:700; line-height:1.2;
  white-space:nowrap; text-decoration:none !important; transition:background .15s ease;
}
.cart-grid-body .dp-cart-login__btn:hover{ background:#a95fe0; }
.cart-grid-body .dp-cart-login__link{
  font-size:12px; color:#1d1d1f !important; text-decoration:underline !important; text-underline-offset:3px;
}
.cart-grid-body .dp-cart-login__btn:focus,
.cart-grid-body .dp-cart-login__link:focus{ outline:none; box-shadow:none; }
@media (max-width:575px){
  .cart-grid-body .dp-cart-login{ flex-wrap:wrap; gap:12px; padding:14px 16px; }
  .cart-grid-body .dp-cart-login__text{ flex:1 1 calc(100% - 60px); }
  .cart-grid-body .dp-cart-login__actions{ flex:1 1 100%; flex-direction:row; justify-content:space-between; }
  .cart-grid-body .dp-cart-login__btn{ flex:1 1 auto; text-align:center; }
  .cart-grid-body .dp-cart-login__link{ flex:0 0 auto; padding:0 6px; }
}

/* Menu near the right edge of the window (class set by dp-custom.js): dropdown aligned to the item's
   right edge, nested flyout opens on the left. */
html body #header .menu #top-menu > li.dp-dd-right > .sub-menu,
html body #header .menu #top-menu > li.dp-dd-right > .popover.sub-menu{ left:auto !important; right:0 !important; }
html body #header .menu #top-menu .sub-menu li.category.dp-fly-left > .collapse,
html body #header .menu #top-menu .sub-menu li.category.dp-fly-left > .sub-menu.js-sub-menu{
  left:auto !important; right:100% !important; border-radius:8px 0 0 8px !important;
}


/* ===== Product carousels (Nowości, Popularne …): arrows on the computer, shown on hover ===== */
.dp-mq-arrow{ display:none; }
@media (min-width: 768px){
  html body .dp-marquee-row.dp-mq-arrows{ position:relative !important; }
  html body .dp-marquee-row.dp-mq-arrows .dp-mq-arrow{
    display:flex; align-items:center; justify-content:center; position:absolute; top:38%; transform:translateY(-50%);
    width:46px; height:46px; border-radius:50%; border:0; padding:0; z-index:20; cursor:pointer;
    background:rgba(255,255,255,.96); color:#1d1d1f; box-shadow:0 6px 18px rgba(0,0,0,.16);
    opacity:0; pointer-events:none; transition:opacity .2s ease, background .2s ease, color .2s ease, transform .2s ease;
  }
  html body .dp-marquee-row.dp-mq-arrows .dp-mq-prev{ left:10px; }
  html body .dp-marquee-row.dp-mq-arrows .dp-mq-next{ right:10px; }
  html body .dp-marquee-row.dp-mq-arrows:hover .dp-mq-arrow{ opacity:1; pointer-events:auto; }
  html body .dp-marquee-row.dp-mq-arrows .dp-mq-arrow:hover{ background:#bf78ee; color:#fff; transform:translateY(-50%) scale(1.06); }
  html body .dp-marquee-row.dp-mq-arrows .dp-mq-arrow:focus,
  html body .dp-marquee-row.dp-mq-arrows .dp-mq-arrow:focus-visible{ outline:none !important; box-shadow:0 6px 18px rgba(0,0,0,.16) !important; }
  html body .dp-marquee-row.dp-swipe .dp-mq-arrow{ display:none !important; }
}

/* ===== DP: password recovery page (/password-recovery) — same look as the sign-in page ===== */
body#password #content.page-content{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 10px 0 30px !important;
}
body#password .forgotten-password .send-renew-password-link{
  text-align: center;
  font-size: 14px;
  color: #55555c;
  margin-bottom: 18px;
}
body#password .forgotten-password .center-email-fields{
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin: 0 !important;
}
body#password .forgotten-password .center-email-fields > label{
  flex: 0 0 100% !important;
  max-width: 400px !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 -4px !important;
}
body#password .forgotten-password .center-email-fields > .email{
  flex: 1 1 260px !important;
  max-width: 400px !important;
  width: auto !important;
  padding: 0 !important;
}
body#password .forgotten-password input.form-control,
body#password .forgotten-password input.form-control:focus,
body#password .forgotten-password input.form-control:focus-visible{
  height: 42px !important;
  font-size: 13.5px !important;
  padding: 8px 12px !important;
  background: #f6f6f6 !important;
  border: 1px solid rgba(0, 0, 0, .25) !important;
  border-radius: 10px !important;
  outline: none !important;
  box-shadow: none !important;
}
body#password .forgotten-password .form-control-submit.btn{
  height: 42px !important;
  border-radius: 10px !important;
  padding: 0 22px !important;
  font-size: 13px !important;
  text-transform: uppercase;
  margin: 0 !important;
}
body#password .forgotten-password .form-control-submit.btn:focus,
body#password .forgotten-password .form-control-submit.btn:focus-visible{
  outline: none !important;
}
body#password #back-to-login{ display: inline-flex; align-items: center; gap: 4px; color: #55555c; }
body#password #back-to-login:hover{ color: #bf78ee; }
@media (max-width: 575px){
  body#password .forgotten-password .center-email-fields > .email{ flex: 1 1 100% !important; max-width: 100% !important; }
  body#password .forgotten-password .center-email-fields > label{ max-width: 100% !important; }
}
body#password .dp-mail-hint{
  display: flex; align-items: flex-start; justify-content: center; gap: 8px;
  max-width: 560px; margin: 0 auto 18px; padding: 10px 14px;
  background: #f6f0fc; border-radius: 10px;
  font-size: 13px; line-height: 1.5; color: #55555c; text-align: left;
}
body#password .dp-mail-hint svg{ flex: 0 0 auto; margin-top: 2px; color: #bf78ee; }
body#password .dp-mail-hint b{ color: #1d1d1f; }
body#password .ps-alert-success + .dp-mail-hint{ margin-top: 14px; }

/* ===== DP: new password page (link from the e-mail) — one centred column, same look as sign-in ===== */
body#password .renew-password{
  max-width: 400px;
  margin: 0 auto;
  padding: 6px 0 10px;
}
body#password .renew-password .email{
  text-align: center;
  font-size: 14px;
  color: #55555c;
  margin-bottom: 18px;
}
body#password .renew-password .field-password-policy{ padding: 0 !important; }
body#password .renew-password .row.form-group{
  display: block !important;
  margin: 0 0 14px !important;
}
body#password .renew-password .row.form-group > label,
body#password .renew-password .row.form-group > div{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
body#password .renew-password .row.form-group > label{
  font-size: 12.5px !important;
  font-weight: 600 !important;
  margin-bottom: 5px !important;
}
body#password .renew-password input.form-control,
body#password .renew-password input.form-control:focus,
body#password .renew-password input.form-control:focus-visible{
  width: 100% !important;
  height: 42px !important;
  font-size: 13.5px !important;
  padding: 8px 12px !important;
  background: #f6f6f6 !important;
  border: 1px solid rgba(0, 0, 0, .25) !important;
  border-radius: 10px !important;
  outline: none !important;
  box-shadow: none !important;
}
/* password policy hints under the field: compact, full width */
body#password .renew-password .password-strength-feedback,
body#password .renew-password .password-requirements{ font-size: 12.5px !important; margin-top: 8px; }
body#password .renew-password progress,
body#password .renew-password .progress{ border-radius: 10px; overflow: hidden; margin-top: 8px; }
body#password .renew-password .row.form-group > .offset-md-5{
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  text-align: center !important;
}
body#password .renew-password button.btn-primary{
  width: auto;
  min-width: 200px;
  margin-left: 0 !important;
  height: 40px !important;
  border-radius: 10px !important;
  padding: 0 22px !important;
  font-size: 13px !important;
  text-transform: uppercase;
  margin-top: 4px;
}
body#password .renew-password button.btn-primary:focus,
body#password .renew-password button.btn-primary:focus-visible{ outline: none !important; }
body#password .page-footer ul{ list-style: none; padding: 0; text-align: center; }
body#password .page-footer ul a{ color: #55555c; }
body#password .page-footer ul a:hover{ color: #bf78ee; }

/* DP 11.11: link do regulaminu przy zgodzie w kasie wyglądał jak zwykły tekst */
#conditions-to-approve a, #conditions-to-approve label a{ color:#9b4fd6 !important; text-decoration:underline !important; text-underline-offset:2px; font-weight:500; }
#conditions-to-approve a:hover{ color:#7c3ab3; }
.dp-ship-later{ font-weight:500; color:#6b6b76; font-size:13px; }
/* DP 11.11: błędy pól „Dane osobowe" (gość) */
.dp-s1-err{ margin:5px 0 0; font-size:12px; line-height:1.35; color:#c21b38; text-align:left; }
.dp-s1-err[hidden]{ display:none; }
#checkout-guest-form input.dp-s1-bad{ border-color:#e4294b !important; background:#fff6f7 !important; }
/* DP 11.11: telefon, kasa — dymek czatu zasłaniał pola i płatności. Mniejszy, chowa się podczas
   wpisywania (klasa dp-typing z dp-custom.js), a strona ma miejsce na dole, żeby nic nie zostało pod nim. */
@media (max-width: 767px){
  body#checkout .dpchat-root:not(.dpchat-open){ transform:scale(.8); transform-origin:bottom right; transition:opacity .15s ease; }
  body#checkout.dp-typing .dpchat-root:not(.dpchat-open){ opacity:0; pointer-events:none; }
  body#checkout #wrapper{ padding-bottom:84px; }
}
/* DP 11.11: blok płatności odświeżany w tle po zmianie dostawy */
#checkout-payment-step .content.dp-pay-loading{ opacity:.45; pointer-events:none; transition:opacity .15s ease; }

/* ===== SEO-tekst pod listą produktów kategorii (category_lang.additional_description) ===== */
/* tema ma h2/a z !important — tu też !important tylko na spornych właściwościach */
#js-product-list-footer .card { border: 0; border-radius: 14px; background: #faf8fd; box-shadow: none; margin-top: 28px; }
#js-product-list-footer .category-additional-description { max-width: 920px; padding: 24px 28px; color: #3a3a3f; font-size: 15px; line-height: 1.7; }
#js-product-list-footer .category-additional-description h2 { font-size: 22px !important; font-weight: 700 !important; color: #1d1d1f; margin: 0 0 12px; text-transform: none !important; letter-spacing: 0; }
#js-product-list-footer .category-additional-description h3 { font-size: 17px !important; font-weight: 700 !important; color: #1d1d1f; margin: 20px 0 8px; text-transform: none !important; letter-spacing: 0; }
#js-product-list-footer .category-additional-description p,
#js-product-list-footer .category-additional-description li { color: #3a3a3f !important; font-size: 15px !important; line-height: 1.7; }
#js-product-list-footer .category-additional-description p { margin: 0 0 12px; }
#js-product-list-footer .category-additional-description ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
#js-product-list-footer .category-additional-description li { margin-bottom: 4px; }
#js-product-list-footer .category-additional-description a { color: #8a5cc4 !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#js-product-list-footer .category-additional-description a:hover { color: #6e3fae !important; }
@media (max-width: 767px) {
  #js-product-list-footer .category-additional-description { padding: 18px 16px; }
  #js-product-list-footer .category-additional-description h2 { font-size: 19px !important; }
  #js-product-list-footer .category-additional-description p,
  #js-product-list-footer .category-additional-description li { font-size: 14px !important; }
}

/* ===== DP 12.11 — poprawki po teście agentów ===== */
/* podtytuł modala adresu nie wchodzi pod krzyżyk */
.dp-addr-dialog-title{ padding-right:40px; }
/* bańka czatu nie zasłania banera cookies ani ustawień zgód */
body:has(.dp-cc-banner.dp-show) .dpchat-root,
body:has(.dp-cc-modal.dp-show) .dpchat-root{ display:none; }
@media (max-width:767px){
  /* telefon: bez bańki na potwierdzeniu zamówienia (zasłaniała ceny) i przy otwartych filtrach („Zobacz produkty") */
  body#order-confirmation .dpchat-root,
  body:has(.dp-filters-open) .dpchat-root{ display:none; }
}

/* ===== product reviews: guests + no title (13.11) ===== */
/* «Tytuł» nie jest już wpisywany (ukryte pole wypełniane z treści) → nie pokazujemy go w liście opinii */
#product-comments-list .product-comment-list-item .comment-content p.h4{ display:none !important; }
#post-product-comment-modal .dp-rv-guest{ margin:4px 0 10px; }
#post-product-comment-modal .dp-rv-guest input{ max-width:320px; }
#post-product-comment-modal .dp-rv-login{ font-size:13px; color:#6b7280; margin:6px 0 0; }
#post-product-comment-modal .dp-rv-login a{ color:#9b4fd6; font-weight:600; text-decoration:underline; }
#post-product-comment-modal .dp-rv-note{ font-size:12px; color:#6b7280; margin:6px 0 10px; line-height:1.45; }
#post-product-comment-modal .dp-rv-note a{ color:#9b4fd6; text-decoration:underline; }

/* 13.11: pierwsza zatwierdzona opinia — gwiazdki pluginu productcomments są position:absolute, a kontener miał min-width:auto
   (szerokość 0) → ocena «5.0» wchodziła pod gwiazdki (widać było samo «0»). Kontener = 5 gwiazdek po 28 px + 4 odstępy po 2 px. */
.dp-rating .grade-stars{ position: relative; width: 148px; flex: 0 0 148px; }

/* 14.11: ПК — список podpowiedzi wyszukiwarki był POD paskiem menu (header z-index 1000 > lista 999), więc zaczynał się
   wizualnie pod menu, a mysz zjeżdżając do wyników zahaczała «Nowości / Promocje…» i otwierała je. Lista nad nagłówkiem
   = zaczyna się zaraz pod polem i zakrywa menu. Tylko komputer (telefon ma wyszukiwarkę w szufladzie). */
@media (min-width: 992px) {
  .ui-autocomplete.searchbar-autocomplete { z-index: 1001 !important; }
}

/* 14.11: podpowiedzi wyszukiwarki — karta z cieniem (lista jest dzieckiem <body>, więc stare reguły „#header … .ui-autocomplete" nie działały).
   Miniatury 44 px, nazwa 14 px / 500 w 2 liniach, najechanie = jasny fiolet + fioletowa nazwa. Bez obwódki fokusu. */
body > ul.ui-autocomplete.searchbar-autocomplete {
  background: #fff !important;
  border: 1px solid #ece6f3 !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 48px rgba(40, 20, 60, .18), 0 4px 12px rgba(0, 0, 0, .06) !important;
  padding: 6px !important;
  margin-top: 8px !important;
  min-height: 0 !important;
  max-height: min(70vh, 640px);
  overflow-y: auto;
  overflow-x: hidden;
}
body > ul.searchbar-autocomplete .ui-menu-item { list-style: none; }
body > ul.searchbar-autocomplete .ui-menu-item a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 6px 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  outline: none !important;
  cursor: pointer;
  transition: background .12s ease;
}
body > ul.searchbar-autocomplete .autocomplete-thumbnail {
  float: none !important;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f3f8;
}
body > ul.searchbar-autocomplete .product {
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.35;
  color: #1d1d1f !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body > ul.searchbar-autocomplete .ui-menu-item a:hover,
body > ul.searchbar-autocomplete .ui-menu-item a.ui-state-focus,
body > ul.searchbar-autocomplete .ui-menu-item a.ui-state-active {
  background: #f6effc !important;
}
body > ul.searchbar-autocomplete .ui-menu-item a:hover .product,
body > ul.searchbar-autocomplete .ui-menu-item a.ui-state-focus .product,
body > ul.searchbar-autocomplete .ui-menu-item a.ui-state-active .product {
  color: #8b4fc4 !important;
}
body > ul.searchbar-autocomplete::-webkit-scrollbar { width: 8px; }
body > ul.searchbar-autocomplete::-webkit-scrollbar-thumb { background: #ddd2ea; border-radius: 8px; border: 2px solid #fff; }

/* 14.11: ПК — powiększenie zdjęcia / wideo produktu: KWADRAT na prawie całą wysokość ekranu (było max 900 px, kwadrat 540 px).
   --dps = bok kwadratu (wysokość okna minus nagłówek); okno ma szerokość kwadratu + kolumna miniatur. Telefon bez zmian. */
@media (min-width: 992px) {
  #product-modal { --dps: min(calc(96vh - 104px), calc(96vw - 180px)); }
  #product-modal .modal-dialog { max-width: none !important; width: calc(var(--dps) + 160px) !important; margin: 2vh auto !important; }
  #product-modal .modal-content { display: flex; flex-direction: column; }
  #product-modal .dp-modal-title { flex: 0 0 auto; }
  #product-modal .modal-body { display: flex !important; align-items: flex-start !important; gap: 16px; padding: 14px 20px 20px !important; }
  #product-modal .modal-body figure { flex: 0 0 var(--dps); margin: 0 !important; }
  #product-modal .modal-body figure picture { display: flex; align-items: center; justify-content: center; width: var(--dps) !important; height: var(--dps) !important; border-radius: 12px; }
  #product-modal .modal-body figure picture img { max-width: 100%; max-height: 100%; }
  #product-modal .modal-body .dpv-modal-vwrap { width: var(--dps) !important; height: var(--dps) !important; border-radius: 12px; }
  #product-modal .modal-body figure figcaption.image-caption { display: none !important; }
  #product-modal #thumbnails { flex: 0 0 104px; width: 104px !important; max-height: var(--dps); margin: 0 !important; padding: 0 !important; float: none !important; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
  #product-modal #thumbnails .js-modal-mask { max-height: none !important; height: auto !important; margin: 0 !important; overflow: visible !important; }
  #product-modal #thumbnails .js-modal-product-images { display: flex !important; flex-direction: column !important; gap: 8px; width: auto !important; margin: 0 !important; padding: 2px !important; transform: none !important; }
  #product-modal #thumbnails .js-modal-product-images li { float: none !important; width: auto !important; height: auto !important; margin: 0 !important; }
  #product-modal #thumbnails .js-modal-product-images li img.thumb { width: 96px !important; height: 96px !important; object-fit: cover; border-radius: 10px; }
  #product-modal .arrows.js-modal-arrows { display: none !important; }
}

/* 14.11: ПК — duże okno zdjęcia: bez ciemnej obwódki (ciemne tło #0b0b0b prześwitywało na zaokrąglonych brzegach) i zdjęcie zawsze na cały
   kwadrat: małe pliki rozciągnięte, a białe pole, którym PrestaShop dopełnia małe zdjęcia, obcięte (dp-custom.js fitWhite → --dpk/--dpx/--dpy). */
@media (min-width: 992px) {
  #product-modal .modal-body figure picture { background: #fff !important; }
  #product-modal .modal-body figure picture img.js-modal-product-cover { width: 100% !important; height: 100% !important; max-width: none; max-height: none; object-fit: contain; background: transparent !important;
    transform: translate(var(--dpx, 0%), var(--dpy, 0%)) scale(var(--dpk, 1)); transition: none !important; }
  #product-modal .modal-body figure.dp-zoomed picture img.js-modal-product-cover { transform: translate(var(--dpx, 0%), var(--dpy, 0%)) scale(calc(var(--dpk, 1) * 2.2)); }
}

/* 14.11: karta produktu (komputer/tablet) — główne zdjęcie / wideo z zaokrąglonymi rogami jak blok z nazwą i ceną (20 px) + cień pod spodem */
@media (min-width: 768px) {
  #main .images-container .product-cover { border-radius: 20px; overflow: hidden; background: #fff;
    box-shadow: 0 12px 28px -6px rgba(29, 29, 31, .18), 0 2px 8px rgba(29, 29, 31, .06); }
  #main .images-container .product-cover img.js-qv-product-cover { border-radius: 20px; }
}
/* 14.11: miniatury pod głównym zdjęciem — cień (bez zaokrąglenia); maska ma overflow:hidden, więc dół dostaje miejsce na cień */
@media (min-width: 768px) {
  #main .images-container .js-qv-mask { padding-bottom: 14px; }
  #main .images-container .js-qv-product-images img.thumb { box-shadow: 0 6px 14px -4px rgba(29, 29, 31, .22), 0 1px 4px rgba(29, 29, 31, .06); }
}
/* 14.11: nagłówki sekcji pod kartą produktu (Opis, Dane techniczne, Koszty dostawy, Opinie…) — większe, grubsze, więcej miejsca do treści */
.dp-product-tabs-full .tab-pane .dp-sec-head { margin-bottom: 18px !important; }
.dp-product-tabs-full .tab-pane .dp-sec-label { font-size: 23px !important; font-weight: 800 !important; letter-spacing: -0.015em !important; }
@media (max-width: 767px) {
  .dp-product-tabs-full .tab-pane .dp-sec-head { margin-bottom: 12px !important; }
  .dp-product-tabs-full .tab-pane .dp-sec-label { font-size: 21px !important; }
}

/* ===== DP 16.11.2026: telefon — pełnoekranowy podgląd zdjęć produktu (assets/js/dp-lightbox.js) ===== */
/* bez overflow:hidden na html — resetował przewijanie strony do góry; tło i tak nie przewija się (touch-action:none na całym podglądzie) */
.dplb { position: fixed; inset: 0; z-index: 999998; display: none; flex-direction: column; height: 100vh; height: 100dvh;
  background: rgba(255,255,255,var(--dplb-bg,1)); touch-action: none; -webkit-user-select: none; user-select: none;
  overscroll-behavior: contain; -webkit-tap-highlight-color: transparent; }
.dplb.dplb-show { display: flex; }
.dplb-top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); }
.dplb-count { font-size: 14px; font-weight: 600; color: #2b2730; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.dplb-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f3f0f6; color: #2b2730; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dplb-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dplb button:focus, .dplb button:focus-visible, .dplb button:active { outline: none !important; box-shadow: none !important; }
.dplb-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.dplb-track { display: flex; height: 100%; will-change: transform; }
.dplb-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }
.dplb-img { position: absolute; left: 50%; top: 50%; max-width: none !important; max-height: none !important;
  transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; }
.dplb-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.dplb-thumbs { flex: 0 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom)); touch-action: pan-x; scrollbar-width: none; }
.dplb-thumbs::-webkit-scrollbar { display: none; }
.dplb-thumb { position: relative; flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 8px;
  overflow: hidden; background: #f3f0f6; opacity: .5; cursor: pointer; transition: opacity .2s ease; }
.dplb-thumb:first-child { margin-left: auto; }
.dplb-thumb:last-child { margin-right: auto; }
.dplb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dplb-thumb.dplb-on { opacity: 1; }
.dplb-thumb.dplb-on::after { content: ''; position: absolute; inset: 0; border: 2px solid #2b2730; border-radius: 8px; }
.dplb-thumb-vid::before { content: ''; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px; z-index: 1;
  border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.dplb-single .dplb-thumbs { display: none; }
