/* Shared presentation only. The existing popup and consent controllers own visibility. */
@font-face { font-family: "Mont"; src: url("/local/templates/new_index/assets/fonts/mont/Mont-Regular.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mont"; src: url("/local/templates/new_index/assets/fonts/mont/Mont-SemiBold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Mont"; src: url("/local/templates/new_index/assets/fonts/mont/Mont-Bold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

.velo-picker.taste-popup,
body .velo-age,
body .js-age-require-screen,
.cookie-notification-wrapper .cookie-notification {
  font-family: "Mont", sans-serif;
  font-weight: 600;
  font-synthesis: none;
  line-height: 1.1;
  color: #282828;
  text-transform: none;
  letter-spacing: 0;
}
.velo-picker *, .velo-age *, .cookie-notification-wrapper * { box-sizing: border-box; }
.velo-picker.taste-popup {
  box-sizing: border-box;
  width: 1190px;
  max-width: calc(100vw - 48px);
  min-height: 0;
  margin: 24px auto;
  padding: 48px;
  border-radius: 32px;
  background: #fff;
  box-shadow: none;
  align-items: stretch;
}
.velo-picker.taste-popup > .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  font: inherit;
}
.velo-picker.taste-popup .page-title,
.velo-picker.taste-popup .taste .page-title,
.velo-picker.taste-popup .review-popup__title {
  width: 100%;
  max-width: none;
  margin: 0 0 48px !important;
  padding: 0;
  color: #005589;
  font: 700 48px/1.1 "Mont", sans-serif;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}
.velo-picker.taste-popup .mfp-close {
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: url("../images/dialogs/close.svg") center / contain no-repeat;
  opacity: 1;
  font-size: 0;
  color: transparent;
}
.velo-picker.taste-popup :is(.btn, .a1, .a2, .a3, .a4, .a5, .a6),
body .velo-age :is(.confirm-btn, .age-popup__button),
body .js-age-require-screen :is(.confirm-btn, .age-popup__button) {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  height: auto;
  min-height: 70px;
  margin: 0 !important;
  padding: 21px 43px;
  border: 1px solid #006eb2 !important;
  border-radius: 35px;
  background: #006eb2 !important;
  box-shadow: none;
  color: #fff !important;
  font: 600 24px/1.1 "Mont", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  opacity: 1;
}
.velo-picker.taste-popup :is(.a2, .a6, .review-popup__btns .a1) {
  background: #fff !important;
  color: #006eb2 !important;
}
.velo-picker a:focus-visible, .velo-picker button:focus-visible,
.velo-age [tabindex]:focus-visible, .velo-age a:focus-visible {
  outline: 2px solid #005589;
  outline-offset: 4px;
}
.velo-picker__mobile-break { display: none; }
.velo-age__number { white-space: nowrap; }

/* Selection: preserve .taste__product as the click target and the CMS order. */
#taste-popup3.velo-picker .page-title { margin-bottom: 32px !important; }
#taste-popup3.velo-picker .buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; }
#taste-popup3.velo-picker .taste-button { display: block; width: auto; margin: 0; padding: 0; text-decoration: none; }
#taste-popup3.velo-picker .taste__product {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 20px;
  row-gap: 12px;
  align-content: center;
  align-items: center;
  width: 100%;
  min-height: 126px;
  margin: 0;
  padding: 16px;
  border-radius: 24px;
  background: #f2f6f8 !important;
  box-shadow: none;
}
#taste-popup3.velo-picker .taste__product-img { grid-column: 1; grid-row: 1 / 3; width: 80px; height: 80px; margin: 0; padding: 0; }
#taste-popup3.velo-picker .taste__product-info { grid-column: 2; grid-row: 1; min-width: 0; max-width: none !important; margin: 0; padding: 0; }
#taste-popup3.velo-picker .taste__product-info-title { margin: 0; color: #282828; font: 800 20px/1.1 "Mont", sans-serif; text-transform: uppercase; }
#taste-popup3.velo-picker .product-slide__level { grid-column: 2; grid-row: 2; }
.velo-picker.taste-popup .taste__product-img img { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; object-fit: contain; }
.velo-picker.taste-popup .product-slide__level { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; width: auto; height: 16px; margin: 0; padding: 0; }
.velo-picker.taste-popup .product-slide__level > div { position: relative; flex: 0 0 16px; width: 16px; height: 16px; margin: 0 !important; border: 1px solid #d12c38; border-radius: 50%; background: transparent; overflow: hidden; }
.velo-picker.taste-popup .product-slide__level.one > div:nth-child(-n+1),
.velo-picker.taste-popup .product-slide__level.two > div:nth-child(-n+2),
.velo-picker.taste-popup .product-slide__level.two-half > div:nth-child(-n+2),
.velo-picker.taste-popup .product-slide__level.three > div:nth-child(-n+3),
.velo-picker.taste-popup .product-slide__level.four > div:nth-child(-n+4),
.velo-picker.taste-popup .product-slide__level.five > div:nth-child(-n+5),
.velo-picker.taste-popup .product-slide__level.six > div:nth-child(-n+6) { background: #d12c38; }
.velo-picker.taste-popup .product-slide__level.two-half > div:nth-child(3)::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 50%; height: 100%; background: #d12c38; border-radius: 0; }

/* Review uses the same form fields and radio sibling ordering as the legacy UI. */
#taste-popup5.velo-picker .review-popup__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 40px; row-gap: 0; padding: 0 !important; }
#taste-popup5.velo-picker .review-popup__title { grid-column: 1 / -1; grid-row: 1; }
#taste-popup5.velo-picker .review-popup__good-img { grid-column: 1; grid-row: 2 / 7; width: 280px; height: 280px; margin: 0; }
#taste-popup5.velo-picker .review-popup__good-image { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
#taste-popup5.velo-picker .review-popup__text_good__title { grid-column: 2; grid-row: 2; margin: 0 0 4px; color: #282828; font: 800 36px/1.1 "Mont", sans-serif; text-align: left; text-transform: uppercase; }
#taste-popup5.velo-picker .velo-picker__description { grid-column: 2; grid-row: 3; margin: 0; font-size: 24px; }
#taste-popup5.velo-picker .review-popup__rating { grid-column: 2; grid-row: 4; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 12px; margin: 32px 0; padding: 0; }
#taste-popup5.velo-picker .review-popup__rating input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#taste-popup5.velo-picker .review-popup__rating label { display: block; width: 40px; height: 40px; margin: 0; padding: 0; background: url("../images/dialogs/star.svg") center / contain no-repeat; cursor: pointer; }
#taste-popup5.velo-picker .review-popup__rating label::before { content: none; }
#taste-popup5.velo-picker .review-popup__rating input:checked ~ label,
#taste-popup5.velo-picker .review-popup__rating label:hover,
#taste-popup5.velo-picker .review-popup__rating label:hover ~ label { background-color: #006eb2; background-image: none; -webkit-mask: url("../images/dialogs/star.svg") center / contain no-repeat; mask: url("../images/dialogs/star.svg") center / contain no-repeat; }
#taste-popup5.velo-picker .review-popup__rating input:focus-visible + label { outline: 2px solid #005589; outline-offset: 3px; }
#taste-popup5.velo-picker .review-popup__text { grid-column: 2; grid-row: 5; width: auto; max-width: none; margin: 0 0 12px; color: #282828; font: 600 24px/1.1 "Mont", sans-serif; text-align: left; }
#taste-popup5.velo-picker .review-popup__message { grid-column: 2; grid-row: 6; width: 100%; max-width: none; margin: 0; }
#taste-popup5.velo-picker textarea { display: block; width: 100%; min-height: 120px; margin: 0; padding: 16px; border: 1px solid #e4e8ee; border-radius: 24px; background: #fff; color: #282828; font: 600 16px/1.1 "Mont", sans-serif; resize: none; }
#taste-popup5.velo-picker textarea::placeholder { color: #777; }
#taste-popup5.velo-picker .review-popup__btns { grid-column: 1 / -1; grid-row: 7; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: none; margin: 48px 0 0; }
#taste-popup5.velo-picker .review-popup__btns .btn { margin: 0 !important; }

#taste-popup4.velo-picker > .taste { display: grid; grid-template-columns: 200px 200px 1fr; gap: 0 16px; }
#taste-popup4.velo-picker .page-title { grid-column: 1 / -1; }
#taste-popup4.velo-picker .a6 { justify-self: end; }
#taste-popup6.velo-picker .container1 { width: 100%; margin: 0; padding: 0; }
#taste-popup6.velo-picker .checket-block { display: flex; gap: 24px; width: 100%; margin: 0 0 48px; padding: 0; }
#taste-popup6.velo-picker .checket-block > div { flex: 1 1 0; width: 100%; min-width: 0; margin: 0 !important; padding: 0; border: 0; border-radius: 32px; --taste-color: #24c8c4; --taste-bg: rgba(36,200,196,.15); }
#taste-popup6.velo-picker .checket-block > .berry { --taste-color: #9858d7; --taste-bg: rgba(152,88,215,.15); }
#taste-popup6.velo-picker .checket-block > .fruit { --taste-color: #fe8501; --taste-bg: rgba(254,133,1,.15); }
/* Legacy handlers write label colors/font inline; only these visual properties need !important. */
#taste-popup6.velo-picker .checket-label { position: relative; display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 100px; width: 100%; margin: 0; padding: 31px 12px; border: 1px solid transparent; border-radius: 32px; background: var(--taste-bg) !important; color: #282828 !important; font: 600 32px/1.1 "Mont", sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; }
#taste-popup6.velo-picker .checket-label:has(input:checked) { border-color: var(--taste-color); }
#taste-popup6.velo-picker .checket-label > label { display: block; flex: 0 0 32px; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 1px solid #e4e8ee; border-radius: 8px; background: #fff !important; }
#taste-popup6.velo-picker .custom-checkbox + label::before { content: none; }
#taste-popup6.velo-picker .custom-checkbox:checked + label { border-color: var(--taste-color); background: var(--taste-color) url("../images/dialogs/check.svg") center / 24px 24px no-repeat !important; }
#taste-popup6.velo-picker .custom-checkbox:focus-visible + label { outline: 2px solid #005589; outline-offset: 3px; }
#taste-popup6.velo-picker .btn_next__color { align-self: flex-start; }

/* Keep result containers and display styles under the original controller's ownership. */
#taste-list.velo-picker .taste__products { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 32px; width: 100%; margin: 0; padding: 0; background: transparent; }
#taste-list.velo-picker .taste__product { align-items: center; gap: 32px; flex: 0 0 calc((100% - 32px) / 2); width: calc((100% - 32px) / 2); min-width: 0; margin: 0; padding: 0; background: transparent; box-shadow: none; }
#taste-list.velo-picker .taste__product-img { flex: 0 0 136px; width: 136px; height: 136px; margin: 0; padding: 0; }
#taste-list.velo-picker .taste__product-info { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; margin: 0; padding: 0; }
#taste-list.velo-picker .taste__product-info-title { margin: 0 0 4px; color: #282828; font: 800 24px/1.1 "Mont", sans-serif; text-transform: uppercase; }
#taste-list.velo-picker .taste__product-info > span { order: 1; margin: 0 0 24px; color: #282828; font: 600 20px/1.1 "Mont", sans-serif; }
#taste-list.velo-picker .product-slide__strong { order: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 0; justify-content: flex-start; }
#taste-list.velo-picker .product-slide__strong > span { flex: 1 1 auto; width: auto; margin: 0; padding: 0 0 0 8px; border-left: 1px solid #777; color: #777; font: 600 20px/1.1 "Mont", sans-serif; font-size: 20px !important; font-weight: 600 !important; }
#taste-list.velo-picker .empty-search { width: 100%; margin: 0; padding: 0; font-size: 24px; }
#taste-list.velo-picker .taste__empty, #taste-list.velo-picker .variant_1, #taste-list.velo-picker .variant_2 { margin: 0; color: #282828; font: inherit; text-align: left; }
#taste-list.velo-picker .taste__products__11 { width: 100%; margin: 48px 0 0; padding: 48px 0 0; border-top: 1px solid #e4e8ee; }
#taste-list.velo-picker .taste__products__title { margin: 0 0 48px; font-size: 32px; text-align: left; }
#taste-list.velo-picker :is(.qwe, .container-btn) { width: 100%; max-width: none; margin: 48px 0 0; padding: 0; gap: 16px; text-align: right; }

#taste-list.velo-picker .a1 { float: right; }
#taste-list.velo-picker .a2 { float: left; min-width: 0; }
#taste-list.velo-picker .container-btn { flex-direction: row-reverse; justify-content: space-between; }

/* Age gate: BAT retains its distinct #age-popup controller and button classes. */
body :is(#confirm.velo-age, #age-popup.velo-age) { box-sizing: border-box; position: relative; width: 1190px; max-width: calc(100vw - 32px); margin: 24px auto; padding: 48px; border-radius: 32px; background: #fff; box-shadow: none; }
body #confirm.velo-age > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
body #confirm.velo-age .confirm, body #age-popup.velo-age .age-popup__main { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 0; background: transparent; }
body #confirm.velo-age .confirm-question, body #age-popup.velo-age .age-popup__main > p { order: 0; margin: 0 0 32px; padding: 0; color: #005589; font: 600 32px/1.1 "Mont", sans-serif; text-align: center; text-transform: none; }
body #confirm.velo-age .confirm-warn, body #age-popup.velo-age .age-popup__main > span { order: 1; width: 100%; margin: 0 0 48px; padding: 0; color: #777; font: 600 24px/1.1 "Mont", sans-serif; text-align: center; }
body #confirm.velo-age .confirm-btn__block, body #age-popup.velo-age .age-popup__buttons { order: 2; display: flex; flex-direction: row; justify-content: center; gap: 16px; width: 100%; margin: 0; padding: 0; }
body #confirm.velo-age .confirm-btn { min-width: 200px; min-height: 70px; padding: 21px 43px; border-radius: 35px; background: #006eb2 !important; box-shadow: none; font: 600 24px/1.1 "Mont", sans-serif; }
body #age-popup.velo-age .age-popup__button { width: 200px; }
/* Consent is presented by slam.cookie; the old BAT notice stays out of the age card. */
body #age-popup.velo-age .age-popup__bottom { display: none; }
body #confirm.velo-age > .mfp-close { display: none; }
body .js-age-require-screen .popup__reject-text { color: #005589; font: 600 32px/1.1 "Mont", sans-serif; text-transform: none; }
body .js-age-require-screen .popup__reject-back { margin-top: 32px; }

/* Consent module markup and visibility classes are intentionally unchanged. */
.cookie-notification-wrapper .cookie-notification { box-sizing: border-box; bottom: 48px; width: calc(100% - 48px); max-width: 1495px; max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 32px 48px; border-radius: 32px; background: #fff; box-shadow: 0 0 24px rgba(0,85,137,.35); }
.cookie-notification-wrapper .cookie-notification__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.cookie-notification-wrapper .cookie-notification__header { justify-content: flex-start; color: #282828; font: 600 32px/1.1 "Mont", sans-serif; }
.cookie-notification-wrapper .cookie-notification__footer { display: flex; align-items: center; gap: 16px; }
.cookie-notification-wrapper .cookie-notification__control,
.cookie-notification-wrapper .cookie-notification__settings { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: auto; min-width: 219px; height: auto; min-height: 70px; margin: 0; padding: 21px 43px; border: 1px solid #006eb2; border-radius: 35px; background: #006eb2; box-shadow: none; color: #fff; font: 600 24px/1.1 "Mont", sans-serif; text-transform: none; cursor: pointer; }
.cookie-notification-wrapper .cookie-notification__settings { gap: 16px; }
.cookie-notification-wrapper .cookie-notification__settings::before { width: 32px; height: 32px; background: url("../images/dialogs/settings.svg") center / contain no-repeat; }
.cookie-notification-wrapper .cookie-notification__body.visible { grid-column: 1 / -1; margin: 0; padding: 0; }
.cookie-notification-wrapper .cookie-notification__title { margin: 0 0 24px; color: #282828; font: 600 32px/1.1 "Mont", sans-serif; }
.cookie-notification-wrapper .cookie-notification__flex { margin: 0; gap: 24px; font: 600 24px/1.1 "Mont", sans-serif; }
.cookie-notification-wrapper .cookie-notification__form-control { padding: 20px; gap: 20px; border: 1px solid #e4e8ee; border-radius: 24px; }
.cookie-notification-wrapper .cookie-notification__checkbox { align-items: flex-start; margin: 0; padding: 0; }
.cookie-notification-wrapper .cookie-notification__checkbox-label { gap: 12px; font: 600 24px/1.1 "Mont", sans-serif; }
.cookie-notification-wrapper .cookie-notification__checkbox-label::before { flex: 0 0 24px; width: 24px; height: 24px; border-color: #e4e8ee; border-radius: 4px; }
.cookie-notification-wrapper .cookie-notification__checkbox input:checked + label::before { border-color: #006eb2; background-color: #006eb2; }
.cookie-notification-wrapper .cookie-notification__checkbox input:checked:disabled + label::before { border-color: #e4e8ee; background-color: #e4e8ee; }
.cookie-notification-wrapper .cookie-notification__mini:empty { display: none; }
.cookie-notification-wrapper .cookie-notification__mini { color: #777; font-size: 16px; }
.cookie-notification-wrapper .cookie-notification__header.hidden,
.cookie-notification-wrapper .cookie-notification__settings.hidden { display: none; }

@media (max-width: 1199px) and (min-width: 768px) {
  .velo-picker.taste-popup { padding: 40px 32px; }
  .velo-picker.taste-popup .page-title, .velo-picker.taste-popup .taste .page-title, .velo-picker.taste-popup .review-popup__title { font-size: 36px; }
  #taste-popup3.velo-picker .buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #taste-popup5.velo-picker .review-popup__inner { grid-template-columns: 224px minmax(0, 1fr); gap: 0 24px; }
  #taste-popup5.velo-picker .review-popup__good-img { width: 224px; height: 224px; }
  #taste-popup5.velo-picker .review-popup__text_good__title { font-size: 28px; }
  #taste-popup6.velo-picker .checket-block { gap: 12px; }
  #taste-popup6.velo-picker .checket-label { gap: 12px; font-size: 24px !important; }
  #taste-list.velo-picker .taste__product { gap: 16px; }
  #taste-list.velo-picker .taste__product-img { flex-basis: 100px; width: 100px; height: 100px; }
  #taste-list.velo-picker .taste__product-info-title { font-size: 20px; }
}
@media (max-width: 1399px) and (min-width: 768px) {
  .cookie-notification-wrapper .cookie-notification__inner { grid-template-columns: 1fr; }
  .cookie-notification-wrapper .cookie-notification__footer { justify-content: flex-start; flex-wrap: wrap; }
  .cookie-notification-wrapper .cookie-notification__control, .cookie-notification-wrapper .cookie-notification__settings { min-width: 0; }
}
@media (max-width: 767px) {
  .mfp-container:has(.velo-picker) { padding: 0; }
  .mfp-content:has(.velo-picker) { vertical-align: top; }
  .velo-picker.taste-popup { width: 100%; max-width: none; min-height: 100vh; min-height: 100dvh; margin: 0; padding: 36px 16px 24px; border-radius: 0; }
  .velo-picker.taste-popup > .container { flex: 1; width: 100%; min-height: 0; }
  .velo-picker.taste-popup .mfp-close { top: 16px; right: 16px; width: 20px; height: 20px; }
  .velo-picker.taste-popup .page-title, .velo-picker.taste-popup .taste .page-title, .velo-picker.taste-popup .review-popup__title { margin-bottom: 24px !important; font-size: 24px; }
  .velo-picker.taste-popup :is(.btn, .a1, .a2, .a3, .a4, .a5, .a6),
  body .velo-age :is(.confirm-btn, .age-popup__button), body .js-age-require-screen :is(.confirm-btn, .age-popup__button) { min-width: 0; min-height: 42px; padding: 11px 21px; border-radius: 35px; font-size: 16px; }
  #taste-popup3.velo-picker .page-title { margin-bottom: 24px !important; }
  #taste-popup3.velo-picker .velo-picker__mobile-break { display: block; }
  #taste-popup3.velo-picker .buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #taste-popup3.velo-picker .taste__product { grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; min-height: 87px; padding: 12px 8px; border-radius: 20px; }
  #taste-popup3.velo-picker .taste__product-img { width: 40px !important; height: 40px; margin: 0 !important; }
  #taste-popup3.velo-picker .taste__product-info-title { font-size: 14px !important; overflow-wrap: anywhere; }
  #taste-popup3.velo-picker .product-slide__level { gap: 6px; height: 10px; }
  .velo-picker.taste-popup .product-slide__level > div { flex-basis: 10px; width: 10px; height: 10px; }
  #taste-popup5.velo-picker .review-popup__inner { display: flex; align-items: stretch; }
  #taste-popup5.velo-picker .review-popup__good-img { order: 1; align-self: center; width: 224px; height: 224px; margin-bottom: 24px; }
  #taste-popup5.velo-picker .review-popup__title { order: 0; }
  #taste-popup5.velo-picker .review-popup__text_good__title { order: 2; font-size: 24px; }
  #taste-popup5.velo-picker .velo-picker__description { order: 3; font-size: 14px; }
  #taste-popup5.velo-picker .review-popup__rating { order: 4; gap: 12px; margin: 16px 0 24px; }
  #taste-popup5.velo-picker .review-popup__rating label { width: 32px; height: 32px; }
  #taste-popup5.velo-picker .review-popup__text { order: 5; margin-bottom: 8px; font-size: 16px; }
  #taste-popup5.velo-picker .review-popup__message { order: 6; }
  #taste-popup5.velo-picker textarea { min-height: 99px; padding: 12px; font-size: 14px; }
  #taste-popup5.velo-picker .review-popup__btns { order: 7; gap: 12px; margin-top: 24px; }
  #taste-popup5.velo-picker .review-popup__btns > .btn { flex: 1 1 0; }
  #taste-popup4.velo-picker > .taste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 12px; }
  #taste-popup4.velo-picker .page-title { margin-bottom: 12px !important; }
  #taste-popup4.velo-picker .a6 { grid-column: 1 / -1; justify-self: stretch; }
  #taste-popup6.velo-picker > .taste { justify-content: center !important; }
  #taste-popup6.velo-picker .checket-block { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  #taste-popup6.velo-picker .checket-block > div { flex: 0 0 auto; border-radius: 20px; }
  #taste-popup6.velo-picker .checket-label { min-height: 64px; gap: 16px; padding: 19px 12px; border-radius: 20px; font-size: 20px !important; }
  #taste-popup6.velo-picker .checket-label > label { flex-basis: 24px; width: 24px; height: 24px; }
  #taste-popup6.velo-picker .btn_next__color { align-self: stretch; width: 100%; }
  #taste-list.velo-picker .taste__products { flex-direction: column; gap: 20px; }
  #taste-list.velo-picker .taste__product { flex: 0 0 auto; width: 100%; gap: 24px; }
  #taste-list.velo-picker .taste__product-img { flex-basis: 88px; width: 88px; height: 88px; }
  #taste-list.velo-picker .taste__product-info-title { font-size: 16px !important; }
  #taste-list.velo-picker .taste__product-info > span { margin-bottom: 16px; font-size: 14px; }
  #taste-list.velo-picker .product-slide__strong { flex-direction: column; align-items: flex-start; gap: 8px; }
  #taste-list.velo-picker .product-slide__strong > span { flex: 0 0 auto; font-size: 14px !important; }
  #taste-list.velo-picker .product-slide__level { gap: 6px; height: 10px; }
  #taste-list.velo-picker .empty-search { font-size: 16px; }
  #taste-list.velo-picker .taste__products__11 { margin-top: 24px; padding-top: 24px; }
  #taste-list.velo-picker .taste__products__title { display: none; }
  #taste-list.velo-picker :is(.qwe, .container-btn) { margin-top: auto; padding-top: 24px; }
  #taste-list.velo-picker .velo-picker__empty-content { display: flex; flex-direction: column; min-height: calc(100dvh - 136px); }
  #taste-list.velo-picker .container-btn { flex-direction: column; gap: 12px; }
  #taste-list.velo-picker :is(.a1, .a2) { float: none; width: 100% !important; margin-left: 0 !important; }
  #taste-list.velo-picker .a2 { margin-top: 0 !important; }
  body :is(#confirm.velo-age, #age-popup.velo-age) { width: 328px; max-width: calc(100vw - 32px); margin: 16px auto; padding: 24px; border-radius: 24px; }
  body #confirm.velo-age .confirm-question, body #age-popup.velo-age .age-popup__main > p { margin-bottom: 16px; font-size: 20px; }
  body #confirm.velo-age .confirm-warn, body #age-popup.velo-age .age-popup__main > span { margin-bottom: 24px; font-size: 14px; }
  body #confirm.velo-age .confirm-btn__block, body #age-popup.velo-age .age-popup__buttons { gap: 12px; }
  body #confirm.velo-age .confirm-btn, body #age-popup.velo-age .age-popup__button { flex: 1 1 0; width: auto; min-width: 0; min-height: 42px; padding: 11px 12px; font-size: 16px; }
  body .js-age-require-screen .popup__reject-text { font-size: 20px; }
  .cookie-notification-wrapper .cookie-notification { bottom: 0; width: 100%; max-height: 100vh; max-height: 100dvh; padding: 16px; border-radius: 24px 24px 0 0; }
  .cookie-notification-wrapper .cookie-notification__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cookie-notification-wrapper .cookie-notification__header { font-size: 20px; }
  .cookie-notification-wrapper .cookie-notification__footer { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .cookie-notification-wrapper .cookie-notification__control, .cookie-notification-wrapper .cookie-notification__settings { flex: 0 0 auto; width: 100%; min-width: 0; min-height: 42px; padding: 11px 21px; font-size: 16px; }
  .cookie-notification-wrapper .cookie-notification__settings { gap: 10px; }
  .cookie-notification-wrapper .cookie-notification__settings::before { width: 20px; height: 20px; }
  .cookie-notification-wrapper .cookie-notification__title { margin-bottom: 16px; font-size: 20px; }
  .cookie-notification-wrapper .cookie-notification__flex { gap: 16px; font-size: 16px; }
  .cookie-notification-wrapper .cookie-notification__form-control { padding: 16px; gap: 16px; }
  .cookie-notification-wrapper .cookie-notification__checkbox-label { align-items: flex-start; font-size: 16px; }
  .cookie-notification-wrapper .cookie-notification__checkbox-label::before { flex-basis: 20px; width: 20px; height: 20px; }
}

/* Shared homepage palette. Keep service pages and homepage actions in sync. */
:root {
  --velo-blue: #005589;
  --velo-cyan: #1b9cce;
  --velo-button: #006eb2;
  --velo-button-hover: #167dbb;
  --velo-ink: #282828;
  --velo-muted: #777;
  --velo-white: #fff;
  --velo-paper: #f2f6f8;
  --velo-tab: #e4e8ee;
}

/* Service-page brand overrides. Scope by existing markup; no template changes. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) {
  --velo-pin-mask: url('/local/templates/new_index/assets/images/veloNew/pin-hover.svg');
}

body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(a, button, input, textarea, .map-page__search-btn,
  .map-page__map-open, .map-page__shop-item, .sort-item__icon, .left-menu li) {
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.page-title, .faq-page .title, .contact-page .title,
  .map-page__shop-count, .map-page__map-open) {
  color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.breadcrumbs, .breadcrumbs-old) ul li a,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.faq-page, .contact-page) a,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(#reglament-popup, #file-load-popup) a {
  color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.breadcrumbs, .breadcrumbs-old) ul li:last-child :is(a, span) {
  color: var(--velo-muted);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--velo-cyan);
  outline-offset: 3px;
}

/* Shared chrome in the legacy template uses the same palette, without layout changes. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .header .logo {
  background-image: none;
  background-color: var(--velo-blue);
  -webkit-mask: url('/local/templates/redesign/assets/images/blue/logo.svg') center / contain no-repeat;
  mask: url('/local/templates/redesign/assets/images/blue/logo.svg') center / contain no-repeat;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.header, .header-logo) svg path[fill="#1E665A"] {
  fill: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.navbar, .mobile-navbar, .header__menu) a {
  color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .footer:not(.footer--blue) {
  background-color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .footer:not(.footer--blue) :is(.footer-link, .footer-menu a, .footer-copyright) {
  color: var(--velo-white);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .confirm-btn,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .cookie-check .confirm-btn {
  background-color: var(--velo-button);
  color: var(--velo-white);
  box-shadow: none;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .cookie-check {
  box-shadow: 0 5px 25px rgb(0 85 137 / 20%);
}

/* Search and actions, including the telephone buttons. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__search-input .search {
  background-color: var(--velo-blue);
  color: var(--velo-white);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__search-input .search::placeholder {
  color: var(--velo-white);
  opacity: 1;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__search-btn,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .age-popup__button.green {
  background-color: var(--velo-button);
  color: var(--velo-white);
  box-shadow: none;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__search-btn:focus-visible,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .age-popup__button.green:focus-visible {
  background-color: var(--velo-button-hover);
  color: var(--velo-white);
  opacity: 1;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__map {
  background-color: var(--velo-paper);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__map::before {
  background-image: none;
  background-color: var(--velo-blue);
  -webkit-mask: var(--velo-pin-mask) center / contain no-repeat;
  mask: var(--velo-pin-mask) center / contain no-repeat;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green .sort-item__icon path {
  fill: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green.active .sort-item__icon {
  background-color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green.active .sort-item__icon path {
  fill: var(--velo-white);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green:focus-visible .sort-item__icon {
  background-color: var(--velo-paper);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green:focus-visible .sort-item__icon path {
  fill: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green.active .sort-item__name {
  color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item .map-page__shop-location i {
  background-image: none;
  background-color: var(--velo-muted);
  -webkit-mask: var(--velo-pin-mask) center / contain no-repeat;
  mask: var(--velo-pin-mask) center / contain no-repeat;
}
/* Override legacy unqualified :hover rules, including on touch devices. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:is(:hover, .active, :focus-visible) {
  border-color: var(--velo-blue);
  background-color: var(--velo-paper);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:is(:hover, .active, :focus-visible) .map-page__shop-address *,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:is(:hover, .active, :focus-visible) .map-page__shop-location p {
  color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:is(:hover, .active, :focus-visible) .map-page__shop-location i {
  background-image: none;
  background-color: var(--velo-blue);
}

/* FAQ navigation retains its current active-state and content switching. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page .left-menu ul li,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page .left-menu ul li a {
  background-color: var(--velo-blue);
  color: var(--velo-white);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page .left-menu ul li:is(:hover, .active, :focus-within),
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page .left-menu ul li:is(:hover, .active, :focus-within) a {
  background-color: var(--velo-paper);
  color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page summary {
  color: var(--velo-blue);
}

/* Form validation remains red; only valid fields receive the brand focus. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form .form-item.focus :is(input, textarea):not(.error),
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form :is(input, textarea):focus:not(.error) {
  border-color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form input[type='checkbox'] {
  accent-color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form input[type='checkbox']:checked:not(.error) + label::before {
  border-color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form input[type='checkbox']:checked + label::after {
  background-color: var(--velo-blue);
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form input[type='checkbox']:focus-visible + label::before,
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .contact-form .form-item.file:focus-within {
  outline: 3px solid var(--velo-cyan);
  outline-offset: 3px;
}
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(#reglament-popup, #file-load-popup) .popup__title {
  color: var(--velo-blue);
}

@media (hover: hover) {
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.navbar, .mobile-navbar, .header__menu) a:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .footer:not(.footer--blue) :is(.footer-link, .footer-menu a):hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) a:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.breadcrumbs, .breadcrumbs-old) ul li a:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(.faq-page .answer, .contact-page) a:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) :is(#reglament-popup, #file-load-popup) a:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__map-open:hover {
    color: var(--velo-cyan);
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .confirm-btn:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .cookie-check .confirm-btn:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__search-btn:hover,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .age-popup__button.green:hover {
    background-color: var(--velo-button-hover);
    color: var(--velo-white);
    opacity: 1;
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green:not(.active):hover .sort-item__icon {
    background-color: var(--velo-paper);
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .sort-item.green:not(.active):hover .sort-item__icon path {
    fill: var(--velo-cyan);
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:hover .map-page__shop-location i {
    background-color: var(--velo-cyan);
  }
}

/* Neutralize legacy hover-only styling on devices without hover. */
@media (hover: none) {
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page .left-menu ul li:hover:not(.active):not(:focus-within),
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .faq-page .left-menu ul li:hover:not(.active):not(:focus-within) a {
    background-color: var(--velo-blue);
    color: var(--velo-white);
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:hover:not(.active):not(:focus-visible) {
    border-color: transparent;
    background-color: transparent;
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:hover:not(.active):not(:focus-visible) .map-page__shop-address *,
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:hover:not(.active):not(:focus-visible) .map-page__shop-location p {
    color: var(--velo-ink);
  }
  body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .map-page__shop-item:hover:not(.active):not(:focus-visible) .map-page__shop-location i {
    background-color: var(--velo-muted);
  }
}

/* Leaflet keeps its original marker URLs, dimensions, and interaction handlers. */
body:has(.map-page) .map-page__map img.leaflet-marker-icon[src$="/placemark.svg"] {
  content: url("data:image/svg+xml,%3Csvg%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2036%2036%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18%2032L17.0196%2033.1352L18.0255%2034.004L19.009%2033.1099L18%2032ZM18%2032C19.009%2033.1099%2019.0092%2033.1097%2019.0095%2033.1095L19.0103%2033.1088L19.0125%2033.1067L19.02%2033.0998L19.0468%2033.0754C19.0697%2033.0543%2019.1027%2033.0238%2019.1452%2032.9842C19.2302%2032.9052%2019.3531%2032.7899%2019.5084%2032.6417C19.8189%2032.3453%2020.2596%2031.9165%2020.7874%2031.3808C21.8411%2030.3111%2023.2499%2028.8066%2024.6629%2027.0725C26.0717%2025.3435%2027.5102%2023.3552%2028.603%2021.3186C29.6829%2019.306%2030.5%2017.1101%2030.5%2015C30.5%208.09644%2024.9036%202.5%2018%202.5C11.0964%202.5%205.5%208.09644%205.5%2015C5.5%2017.2203%206.30615%2019.4718%207.39346%2021.5229C8.48948%2023.5904%209.93262%2025.5683%2011.3459%2027.2706C12.7631%2028.9777%2014.176%2030.4384%2015.2329%2031.4712C15.7622%2031.9885%2016.2045%2032.4007%2016.5164%2032.6853C16.6724%2032.8276%2016.7959%2032.9381%2016.8815%2033.014C16.9243%2033.052%2016.9577%2033.0813%2016.9809%2033.1016L17.0081%2033.1253L17.0158%2033.132L17.0182%2033.1341L17.019%2033.1348C17.0193%2033.135%2017.0196%2033.1352%2018%2032Z%22%20fill%3D%22%23005589%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%2F%3E%0A%3C%2Fsvg%3E%0A");
}

/* Lighter brand blue separates the small medal from the blue footer. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .medal.medal--small .medal__inner {
  background-color: var(--velo-cyan);
}

/* Keep the current page distinct even in templates without an active class. */
body:has(:is(.map-page, .faq-page, .contact-page, .info-main)) .header__menu ul li.active a,
body:has(.map-page) .header__menu a[href="/map/"],
body:has(.faq-page) .header__menu a[href="/faq/"],
body:has(.contact-page) .header__menu a[href="/contacts/"],
body:has(.info-main) .header__menu a[href="/velologia/"] {
  color: var(--velo-cyan);
}

/* Velologia: reuse the homepage palette while retaining the existing layout. */
body:has(.info-main) :is(.info-main__title, .info-table__title, .info-adv__title,
  .accardion-block__title, .accordion-title) {
  color: var(--velo-blue);
}
body:has(.info-main) :is(.info-main__title, .info-table__title) span {
  color: var(--velo-cyan);
}
body:has(.info-main) :is(.info-main__text, .info-adv__text) {
  color: var(--velo-ink);
}
body:has(.info-main) .info-expl {
  background-color: var(--velo-blue);
  color: var(--velo-white);
}
body:has(.info-main) .info-expl :is(.info-expl__title, .info-expl__subtext, .info-expl__text) {
  color: var(--velo-white);
}
body:has(.info-main) :is(#info-main, #info-table, #info-adv, #info-accardion) a:not(.btn-info) {
  color: var(--velo-blue);
}
body:has(.info-main) .btn-info {
  background-color: var(--velo-button);
  border-color: var(--velo-button);
  color: var(--velo-white);
}
body:has(.info-main) .info-expl .btn-info {
  border-color: var(--velo-white);
}
body:has(.info-main) .btn-info:focus-visible {
  background-color: var(--velo-button-hover);
  color: var(--velo-white);
}
body:has(.info-main) .accordion-title.active {
  color: var(--velo-cyan);
}
body:has(.info-main) .accordion-title::after {
  background: var(--velo-blue);
  -webkit-mask: url('/local/templates/new_index/assets/images/infoPage/plus.svg') center / contain no-repeat;
  mask: url('/local/templates/new_index/assets/images/infoPage/plus.svg') center / contain no-repeat;
}
body:has(.info-main) .accordion-title.active::after {
  background: var(--velo-cyan);
  -webkit-mask-image: url('/local/templates/new_index/assets/images/infoPage/line.svg');
  mask-image: url('/local/templates/new_index/assets/images/infoPage/line.svg');
}
@media (hover: hover) {
  body:has(.info-main) .btn-info:hover {
    background-color: var(--velo-button-hover);
    color: var(--velo-white);
  }
  body:has(.info-main) :is(#info-main, #info-table, #info-adv, #info-accardion) a:not(.btn-info):hover,
  body:has(.info-main) .accordion-title:hover {
    color: var(--velo-cyan);
  }
  body:has(.info-main) .accordion-title:hover::after {
    background-color: var(--velo-cyan);
  }
}
