button.wc-block-components-checkout-place-order-button.qapla-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button.wc-block-components-checkout-place-order-button.qapla-disabled .wc-block-components-button__text {
  display: none;
}

.qaplapudo.pudo-map.pudo-list {
  overflow: scroll;
}

.leaflet-image-layer,
.leaflet-layer,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-pane,
.leaflet-pane>canvas,
.leaflet-pane>svg,
.leaflet-tile,
.leaflet-tile-container,
.leaflet-zoom-box {
  left: 0;
  position: absolute;
  top: 0;
}

.leaflet-container {
  overflow: hidden;
}

.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile::selection {
  background: transparent;
}

.leaflet-safari .leaflet-tile {
  image-rendering: -webkit-optimize-contrast;
}

.leaflet-safari .leaflet-tile-container {
  height: 1600px;
  -webkit-transform-origin: 0 0;
  width: 1600px;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

.leaflet-container .leaflet-overlay-pane svg {
  max-height: none !important;
  max-width: none !important;
}

.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer {
  max-height: none !important;
  max-width: none !important;
  padding: 0;
  width: auto;
}

.leaflet-container img.leaflet-tile {
  mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
  -ms-touch-action: pan-x pan-y;
  touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
  -ms-touch-action: pinch-zoom;
  touch-action: none;
  touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
  -ms-touch-action: none;
  touch-action: none;
}

.leaflet-container {
  -webkit-tap-highlight-color: transparent;
}

.leaflet-container a {
  -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}

.leaflet-tile {
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-zoom-box {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 0;
  width: 0;
  z-index: 800;
}

.leaflet-overlay-pane svg {
  -moz-user-select: none;
}

.leaflet-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-map-pane canvas {
  z-index: 100;
}

.leaflet-map-pane svg {
  z-index: 200;
}

.leaflet-vml-shape {
  height: 1px;
  width: 1px;
}

.lvml {
  behavior: url(#default#VML);
  display: inline-block;
  position: absolute;
}

.leaflet-control {
  pointer-events: visiblePainted;
  pointer-events: auto;
  position: relative;
  z-index: 800;
}

.leaflet-bottom,
.leaflet-top {
  pointer-events: none;
  position: absolute;
  z-index: 1000;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control {
  clear: both;
  float: left;
}

.leaflet-right .leaflet-control {
  float: right;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

.leaflet-fade-anim .leaflet-popup {
  opacity: 0;
  -webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
  opacity: 1;
}

.leaflet-zoom-animated {
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
  will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
  -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
  transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-pan-anim .leaflet-tile,
.leaflet-zoom-anim .leaflet-tile {
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
  visibility: hidden;
}

.leaflet-interactive {
  cursor: pointer;
}

.leaflet-grab {
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}

.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
  cursor: crosshair;
}

.leaflet-control,
.leaflet-popup-pane {
  cursor: auto;
}

.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
  cursor: move;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

.leaflet-image-layer,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-pane>svg path,
.leaflet-tile-container {
  pointer-events: none;
}

.leaflet-image-layer.leaflet-interactive,
.leaflet-marker-icon.leaflet-interactive,
.leaflet-pane>svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
  pointer-events: visiblePainted;
  pointer-events: auto;
}

.leaflet-container {
  background: #ddd;
  outline-offset: 1px;
}

.leaflet-container a {
  color: #0078a8;
}

.leaflet-zoom-box {
  background: hsla(0, 0%, 100%, 0.5);
  border: 2px dotted #38f;
}

.leaflet-container {
  font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
}

.leaflet-bar {
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.leaflet-bar a {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  color: #000;
  display: block;
  height: 26px;
  line-height: 26px;
  text-align: center;
  text-decoration: none;
  width: 26px;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: block;
}

.leaflet-bar a:focus,
.leaflet-bar a:hover {
  background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
  border-bottom: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.leaflet-bar a.leaflet-disabled {
  background-color: #f4f4f4;
  color: #bbb;
  cursor: default;
}

.leaflet-touch .leaflet-bar a {
  height: 30px;
  line-height: 30px;
  width: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font: 700 18px Lucida Console, Monaco, monospace;
  text-indent: 1px;
}

.leaflet-touch .leaflet-control-zoom-in,
.leaflet-touch .leaflet-control-zoom-out {
  font-size: 22px;
}

.leaflet-control-layers {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.leaflet-control-layers-toggle {
  background-image: url(../img/layers.png);
  height: 36px;
  width: 36px;
}

.leaflet-retina .leaflet-control-layers-toggle {
  background-image: url(../img/layers-2x.png);
  background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
  height: 44px;
  width: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
  display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
  display: block;
  position: relative;
}

.leaflet-control-layers-expanded {
  background: #fff;
  color: #333;
  padding: 6px 10px 6px 6px;
}

.leaflet-control-layers-scrollbar {
  overflow-x: hidden;
  overflow-y: scroll;
  padding-right: 5px;
}

.leaflet-control-layers-selector {
  margin-top: 2px;
  position: relative;
  top: 1px;
}

.leaflet-control-layers label {
  display: block;
  font-size: 13px;
  font-size: 1.08333em;
}

.leaflet-control-layers-separator {
  border-top: 1px solid #ddd;
  height: 0;
  margin: 5px -10px 5px -6px;
}

.leaflet-default-icon-path {
  background-image: url(../img/marker-icon.png);
}

.leaflet-container .leaflet-control-attribution {
  background: #fff;
  background: hsla(0, 0%, 100%, 0.8);
  margin: 0;
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
  color: #333;
  line-height: 1.4;
  padding: 0 5px;
}

.leaflet-control-attribution a {
  text-decoration: none;
}

.leaflet-control-attribution a:focus,
.leaflet-control-attribution a:hover {
  text-decoration: underline;
}

.leaflet-attribution-flag {
  display: inline !important;
  height: 0.6669em;
  vertical-align: baseline !important;
  width: 1em;
}

.leaflet-left .leaflet-control-scale {
  margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
  margin-bottom: 5px;
}

.leaflet-control-scale-line {
  background: hsla(0, 0%, 100%, 0.8);
  border: 2px solid #777;
  border-top: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.1;
  padding: 2px 5px 1px;
  text-shadow: 1px 1px #fff;
  white-space: nowrap;
}

.leaflet-control-scale-line:not(:first-child) {
  border-bottom: none;
  border-top: 2px solid #777;
  margin-top: -2px;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
  border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-bar,
.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers {
  box-shadow: none;
}

.leaflet-touch .leaflet-bar,
.leaflet-touch .leaflet-control-layers {
  background-clip: padding-box;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.leaflet-popup {
  margin-bottom: 20px;
  position: absolute;
  text-align: center;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 1px;
  text-align: left;
}

.leaflet-popup-content {
  font-size: 13px;
  font-size: 1.08333em;
  line-height: 1.3;
  margin: 13px 24px 13px 20px;
  min-height: 1px;
}

.leaflet-popup-content p {
  margin: 1.3em 0;
}

.leaflet-popup-tip-container {
  height: 20px;
  left: 50%;
  margin-left: -20px;
  margin-top: -1px;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 40px;
}

.leaflet-popup-tip {
  height: 17px;
  margin: -10px auto 0;
  padding: 1px;
  pointer-events: auto;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 17px;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  color: #333;
}

.leaflet-container a.leaflet-popup-close-button {
  background: transparent;
  border: none;
  color: #757575;
  font: 16px/24px Tahoma, Verdana, sans-serif;
  height: 24px;
  position: absolute;
  right: 0;
  text-align: center;
  text-decoration: none;
  top: 0;
  width: 24px;
}

.leaflet-container a.leaflet-popup-close-button:focus,
.leaflet-container a.leaflet-popup-close-button:hover {
  color: #585858;
}

.leaflet-popup-scrolled {
  overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
  -ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
  margin: 0 auto;
  width: 24px;
}

.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
  border: 1px solid #999;
}

.leaflet-div-icon {
  background: #fff;
  border: 1px solid #666;
}

.leaflet-tooltip {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  color: #222;
  padding: 6px;
  pointer-events: none;
  position: absolute;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.leaflet-tooltip.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before,
.leaflet-tooltip-top:before {
  background: transparent;
  border: 6px solid transparent;
  content: "";
  pointer-events: none;
  position: absolute;
}

.leaflet-tooltip-bottom {
  margin-top: 6px;
}

.leaflet-tooltip-top {
  margin-top: -6px;
}

.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
  left: 50%;
  margin-left: -6px;
}

.leaflet-tooltip-top:before {
  border-top-color: #fff;
  bottom: 0;
  margin-bottom: -12px;
}

.leaflet-tooltip-bottom:before {
  border-bottom-color: #fff;
  margin-left: -6px;
  margin-top: -12px;
  top: 0;
}

.leaflet-tooltip-left {
  margin-left: -6px;
}

.leaflet-tooltip-right {
  margin-left: 6px;
}

.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  margin-top: -6px;
  top: 50%;
}

.leaflet-tooltip-left:before {
  border-left-color: #fff;
  margin-right: -12px;
  right: 0;
}

.leaflet-tooltip-right:before {
  border-right-color: #fff;
  left: 0;
  margin-left: -12px;
}

@media print {
  .leaflet-control {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

div#qaplapudo-wrapper-v2 {
  position: relative;
}

div#qaplapudo-wrapper-v2 .spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

div#qaplapudo-wrapper-v2 div.overlay {
  background-color: #000;
  height: 100%;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

div#qaplapudo-wrapper-v2 div.overlay .overlay_inner {
  color: #fff;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

div#qaplapudo-wrapper-v2 div.overlay .overlay_inner .material-icons {
  font-size: 60px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .text-decoration-underline {
  text-decoration-line: underline;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .filter-title {
  color: #000;
  font-size: 10px;
  font-weight: 400;
  line-height: normal;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .filter {
  background-color: #efefef;
  border: 1px solid #d3d3d3;
  height: 15px;
  line-height: 0;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .filter span {
  font-size: 10px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .filter.selected {
  background-color: #0d5079;
  border: none;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .filter.selected span {
  color: #fff;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-filters .filter:not(:first-of-type) {
  margin-left: 3px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map {
  height: 400px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map .float-right {
  float: right;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map .float-left {
  float: left;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map .border-right {
  border-right: 1px solid #000;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo {
  min-width: 375px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map.pudo-google_maps div.pudo {
  min-width: 335px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo p {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .float-right {
  float: right;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .float-left {
  float: left;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .text-right {
  text-align: right;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-icon {
  max-height: 44px;
  max-width: 44px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-name {
  color: #0d5079;
  font-size: 20px;
  font-weight: 700;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button {
  background-color: #ffffff;
  border: 1px solid #0d5079;
  color: #0d5079;
  cursor: pointer;
  display: inline-grid;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 8px;
  position: relative;
  z-index: 10;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button span {
  padding: 6px 15px;
  grid-area: 1 / 1;
  text-align: center;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button--confirmed {
  background-color: #ea6030;
  border: 1px solid #ea6030;
  color: #ffffff;
  opacity: 0.85;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button .pudo-confirm-button--confirmed-label {
  visibility: hidden;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button--confirmed .pudo-confirm-button--confirmed-label {
  visibility: visible;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button--confirmed .pudo-confirm-button--to-confirm-label {
  visibility: hidden;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-confirm-button:hover {
  opacity: 0.85;
}

/* ===== Group Popup (Leaflet/Google Maps popups render outside #qaplapudo-wrapper-v2) ===== */
.pudo-group-popup .pudo-address-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #666;
}

.pudo-group-popup .pudo-address {
  font-size: 13px;
  color: #333;
}

.pudo-group-popup .pudo-name {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.pudo-group-popup .pudo-carrier {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}

.pudo-group-popup .pudo-confirm-button {
  background-color: #ffffff;
  border: 1px solid #0d5079;
  color: #0d5079;
  cursor: pointer;
  display: inline-grid;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 8px;
  position: relative;
}

.pudo-group-popup .pudo-confirm-button span {
  padding: 6px 15px;
  grid-area: 1 / 1;
  text-align: center;
}

.pudo-group-popup .pudo-confirm-button--confirmed {
  background-color: #ea6030;
  border: 1px solid #ea6030;
  color: #ffffff;
  opacity: 0.85;
}

.pudo-group-popup .pudo-confirm-button .pudo-confirm-button--confirmed-label {
  visibility: hidden;
}

.pudo-group-popup .pudo-confirm-button--confirmed .pudo-confirm-button--confirmed-label {
  visibility: visible;
}

.pudo-group-popup .pudo-confirm-button--confirmed .pudo-confirm-button--to-confirm-label {
  visibility: hidden;
}

.pudo-group-popup .pudo-confirm-button:hover {
  opacity: 0.85;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-carrier {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-carrier img {
  display: inline-block;
  max-height: 15px;
  vertical-align: text-bottom;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-distance {
  color: #000;
  font-size: 10px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-distance .pudo-distance-value {
  font-size: 14px;
  font-weight: 500;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-address-title {
  border-bottom: 1px solid #dbdbdb;
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-address {
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-times-title {
  border-bottom: 1px solid #dbdbdb;
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-times .day {
  color: #0d5079;
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-times .day:first-letter {
  text-transform: capitalize;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-times .hours {
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 15px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.pudo .pudo-times p {
  margin-bottom: 0;
}

div#qaplapudo-wrapper-v2 select[name="selected_pudo"],
#pudo-map-template-v2,
#pudo-list-template-v2,
#pudo-map-openingtimes-template-v2 {
  display: none !important;
}

#qapla-pudo-map-filter-v2 .filter.btn {
  background-color: #efefef;
  border: 1px solid #d3d3d3;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  padding: 9px 9px;
  border-radius: 5px;
  line-height: 0;
  margin-right: 3px;
  cursor: pointer;
}

#qapla-pudo-map-filter-v2 .filter.btn.active-filter {
  background-color: #0d5079;
  border: none;
  color: #fff;
}

.wc-block-components-address-form__qapla-pudo-pudo-id,
.wc-block-components-address-form__qapla-pudo-pudo-data {
  display: none;
}

.card.pudo {
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, .16);
  box-sizing: border-box;
  overflow-y: hidden;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: max-height .5s ease;
}

.card.pudo:not(.selected) {
  height: 84px;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-map div.card.pudo {
  min-width: unset;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .text-right {
  text-align: right;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .float-right {
  float: right;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo p {
  margin-bottom: .5rem;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-distance {
  color: #000;
  font-size: 10px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-more {
  color: #ea6030;
  font-size: 10px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-less {
  color: #ea6030;
  display: none;
  font-size: 10px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo p {
  margin-bottom: .5rem;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-name {
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-carrier {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-carrier img {
  display: inline-block;
  max-height: 15px;
  vertical-align: text-bottom;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-address-title {
  border-bottom: 1px solid #dbdbdb;
  color: #000;
  font-size: 14px;
  font-weight: 700;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-address {
  color: #3f3f3f;
  font-size: 14px;
  font-weight: 400;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo.selected {
  border: 3px solid #0d5079;
  max-height: inherit;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo:hover {
  background-color: #f6f6f6;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo.selected .pudo-more {
  display: none;
}

div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo.selected .pudo-less {
  display: inline;
}

#shipping+.shipping-edit-form-button {
  margin-top: 1rem;
}

.gm-style img {
  max-width: none !important;
}

/* Google Maps InfoWindow: fallback CSS (JS domready fa il lavoro vero) */
.gm-style-iw-c { padding: 12px !important; }
.gm-style-iw-d { padding: 0 !important; overflow: auto !important; }

@media screen and (max-width: 767px) {

  div#qapla-pudo-map-filter-v2 {
    height: 50px !important;
  }

  div#qaplapudo-wrapper-v2 div.qaplapudo.pudo-list div.pudo .pudo-name {
    font-size: 18px;
  }

  .card.pudo {
    max-height: 50px;
  }

}

/* Advanced Map Markers v2 */
.qapla-marker {
  position: relative;
  width: 40px;
  height: 48px;
  background: #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
  overflow: visible !important;
  /* Allow badge to stick out */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fix rotation for content */
.qapla-marker .marker-content {
  transform: rotate(45deg);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qapla-marker img.carrier-logo {
  max-width: 28px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.qapla-marker .type-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #ccc;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  /* Counteract parent rotation if applied to parent */
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.qapla-marker .type-badge img {
  width: 12px;
  height: 12px;
}

/* Group Marker */
.qapla-marker-group {
  background: #0d5079;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transform: none;
  /* Round circle */
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: sans-serif;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.qapla-marker-group .count {
  font-size: 14px;
}

/* Selection Popup in Group */
.pudo-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.pudo-group-item {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pudo-group-item:last-child {
  border-bottom: none;
}

.pudo-group-item img.mini-logo {
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.pudo-group-item .pudo-info {
  flex-grow: 1;
  font-size: 12px;
  line-height: 1.2;
}

.pudo-group-item button.select-pudo-btn {
  background: #0d5079;
  color: #fff;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}

.pudo-group-item button.select-pudo-btn:hover {
  background: #093a58;
}

/* ===== Redesigned Popup Styles ===== */
.qapla-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-width: 280px;
  max-width: 360px;
}

.qapla-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
}

.qapla-popup-header .qapla-popup-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.qapla-popup-header .qapla-popup-info {
  flex: 1;
  min-width: 0;
}

.qapla-popup-header .qapla-popup-name {
  font-size: 15px;
  font-weight: 700;
  color: #0d5079;
  line-height: 1.2;
}

.qapla-popup-header .qapla-popup-carrier {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
}

.qapla-popup-header .qapla-popup-carrier img {
  height: 14px;
  vertical-align: middle;
  margin-left: 3px;
}

.qapla-popup-header .qapla-popup-distance {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0;
}

.qapla-popup-address {
  border-top: 1px solid #e0e0e0;
  padding: 8px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.qapla-popup-address .qapla-popup-address-icon {
  margin-right: 4px;
}

.qapla-popup .pudo-confirm-button {
  background-color: #ffffff;
  border: 1px solid #0d5079;
  color: #0d5079;
  cursor: pointer;
  display: grid;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 8px 15px;
  min-width: 90px;
}

.qapla-popup .pudo-confirm-button span {
  grid-area: 1 / 1;
  text-align: center;
}

.qapla-popup .pudo-confirm-button:hover {
  opacity: 0.85;
}

.qapla-popup .pudo-confirm-button--confirmed {
  background-color: #ea6030;
  border: 1px solid #ea6030;
  color: #ffffff;
  opacity: 0.85;
}

.qapla-popup .pudo-confirm-button .pudo-confirm-button--confirmed-label {
  visibility: hidden;
}

.qapla-popup .pudo-confirm-button--confirmed .pudo-confirm-button--confirmed-label {
  visibility: visible;
}

.qapla-popup .pudo-confirm-button--confirmed .pudo-confirm-button--to-confirm-label {
  visibility: hidden;
}

/* Group popup redesign */
.qapla-popup-group-address {
  font-size: 13px;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.qapla-popup-group-address .qapla-popup-address-icon {
  margin-right: 4px;
}

.qapla-popup-carrier-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.qapla-popup-carrier-card:last-child {
  margin-bottom: 0;
}

.qapla-popup-carrier-card .qapla-card-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.qapla-popup-carrier-card .qapla-card-carrier-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.qapla-popup-carrier-card .pudo-confirm-button {
  flex-shrink: 0;
  width: auto;
  display: inline-grid;
  margin-top: 0;
  padding: 6px 14px;
  font-size: 13px;
  min-width: 90px;
}

.qapla-popup-carrier-card .pudo-confirm-button span {
  grid-area: 1 / 1;
  text-align: center;
}

.qapla-popup-carrier-card .pudo-confirm-button .pudo-confirm-button--confirmed-label {
  visibility: hidden;
}

.qapla-popup-carrier-card .pudo-confirm-button--confirmed .pudo-confirm-button--confirmed-label {
  visibility: visible;
}

.qapla-popup-carrier-card .pudo-confirm-button--confirmed .pudo-confirm-button--to-confirm-label {
  visibility: hidden;
}

/* Courier logo marker */
.qapla-courier-marker {
  position: relative;
  width: 36px;
  height: 46px;
}

.qapla-courier-marker .marker-circle {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.qapla-courier-marker .marker-circle img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.qapla-courier-marker .marker-pin {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #ccc;
  margin: -2px auto 0;
  position: relative;
  z-index: 0;
}

.qapla-courier-marker.selected .marker-circle {
  border-color: #ea6030;
}

.qapla-courier-marker.selected .marker-pin {
  border-top-color: #ea6030;
}

/* ===== Loading Spinner ===== */
.qapla-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  gap: 12px;
}

.qapla-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #0d5079;
  border-radius: 50%;
  animation: qapla-spin 0.8s linear infinite;
}

@keyframes qapla-spin {
  to { transform: rotate(360deg); }
}

.qapla-loading-text {
  font-size: 13px;
  color: #666;
}

/* ===== List View — Unified Card Layout ===== */
.qapla-list-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.qapla-list-card:hover { border-color: #bbb; }
.qapla-list-card--selected {
  border-color: #ea6030;
  box-shadow: inset 0 0 0 1px #ea6030;
}

/* Header: nome + tooltip + distanza */
.qapla-list-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 0;
}
.qapla-list-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #0d5079;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.qapla-list-card-distance {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Indirizzo */
.qapla-list-card-address {
  font-size: 13px;
  color: #666;
  padding: 4px 16px 0;
  line-height: 1.4;
}

/* Contenitore carrier rows */
.qapla-list-card-carriers {
  border-top: 1px solid #eee;
  margin-top: 10px;
}

/* Singola carrier row */
.qapla-list-carrier-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid #f5f5f5;
}
.qapla-list-carrier-row:first-child { border-top: none; }

.qapla-list-carrier-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.qapla-list-carrier-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  flex: 1;
  min-width: 0;
}

/* Bottone dentro carrier row */
.qapla-list-carrier-row .pudo-confirm-button {
  flex-shrink: 0;
  display: inline-grid;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  min-width: 90px;
  background-color: #fff;
  border: 1px solid #0d5079;
  color: #0d5079;
  border-radius: 4px;
  cursor: pointer;
}
.qapla-list-carrier-row .pudo-confirm-button span {
  grid-area: 1 / 1;
  text-align: center;
}
.qapla-list-carrier-row .pudo-confirm-button:hover {
  opacity: 0.85;
}
.qapla-list-carrier-row .pudo-confirm-button--confirmed {
  background-color: #ea6030;
  border-color: #ea6030;
  color: #fff;
}
.qapla-list-carrier-row .pudo-confirm-button .pudo-confirm-button--confirmed-label {
  visibility: hidden;
}
.qapla-list-carrier-row .pudo-confirm-button--confirmed .pudo-confirm-button--confirmed-label {
  visibility: visible;
}
.qapla-list-carrier-row .pudo-confirm-button--confirmed .pudo-confirm-button--to-confirm-label {
  visibility: hidden;
}

/* ===== Leaflet Marker Cluster Override (brand colors) ===== */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(0, 60, 113, 0.3);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: #003C71;
  color: #fff;
  font-weight: 600;
}

/* ===== Info Tooltip ===== */
.qapla-info-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  align-self: center;
  margin: 0 2px;
}

.qapla-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 20px;
  line-height: 1;
  color: #0d5079;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.qapla-info-trigger:hover .qapla-info-icon {
  opacity: 1;
}

.qapla-info-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 12px 14px;
  min-width: 220px;
  max-width: 300px;
  z-index: 9999;
  text-align: left;
  white-space: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Arrow pointing up */
.qapla-info-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: #ddd;
}

.qapla-info-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #fff;
  margin-bottom: -1px;
}

/* Show on hover (desktop) and tap (mobile) */
.qapla-info-trigger:hover .qapla-info-tooltip,
.qapla-info-trigger.qapla-info-active .qapla-info-tooltip {
  display: block;
}

/* Tooltip sections */
.qapla-info-section {
  display: block;
  margin-bottom: 8px;
}

.qapla-info-section:last-child {
  margin-bottom: 0;
}

.qapla-info-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0d5079;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.qapla-info-hours {
  display: block;
}

.qapla-info-day-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 0;
  font-size: 12px;
  line-height: 1.5;
}

.qapla-info-day {
  color: #0d5079;
  font-weight: 500;
  white-space: nowrap;
}

.qapla-info-day::first-letter {
  text-transform: capitalize;
}

.qapla-info-time {
  color: #333;
  text-align: right;
  white-space: nowrap;
}

.qapla-info-phone-row {
  display: block;
  font-size: 12px;
  color: #333;
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid #eee;
}

.qapla-info-value {
  display: block;
  font-size: 12px;
  color: #333;
  line-height: 1.4;
}

.qapla-info-notes {
  font-style: italic;
}

/* Positioning override: group address tooltip (map popup) */
.qapla-popup-group-address .qapla-info-tooltip {
  left: 0;
  transform: none;
}

.qapla-popup-group-address .qapla-info-tooltip::before,
.qapla-popup-group-address .qapla-info-tooltip::after {
  left: 14px;
  transform: none;
}

/* Positioning override: list card header */
.qapla-list-card-header .qapla-info-tooltip {
  left: auto;
  right: 0;
  transform: none;
}

.qapla-list-card-header .qapla-info-tooltip::before,
.qapla-list-card-header .qapla-info-tooltip::after {
  left: auto;
  right: 12px;
  transform: none;
}

/* Positioning override: single popup header — anchor right to avoid overflow */
.qapla-popup-header .qapla-info-tooltip {
  left: auto;
  right: -10px;
  transform: none;
}

.qapla-popup-header .qapla-info-tooltip::before,
.qapla-popup-header .qapla-info-tooltip::after {
  left: auto;
  right: 14px;
  transform: none;
}

/* Mobile adjustments */
@media screen and (max-width: 767px) {
  .qapla-info-tooltip {
    min-width: 180px;
    max-width: 250px;
    padding: 10px 12px;
  }

  .qapla-info-day-row {
    font-size: 11px;
  }

  .qapla-info-value {
    font-size: 11px;
  }
}

/* ===== Font-size increase for readability (+2px from original) ===== */
.qapla-popup-header .qapla-popup-name {
  font-size: 17px;
}

.qapla-popup-header .qapla-popup-carrier {
  font-size: 14px;
}

.qapla-popup-header .qapla-popup-distance {
  font-size: 15px;
}

.qapla-popup-address {
  font-size: 15px;
}

.qapla-popup .pudo-confirm-button {
  font-size: 16px;
}

.qapla-popup-group-address {
  font-size: 15px;
}

.qapla-popup-carrier-card .qapla-card-carrier-name {
  font-size: 16px;
}

.qapla-list-card-name {
  font-size: 17px;
}

.qapla-list-card-distance {
  font-size: 15px;
}

.qapla-list-card-address {
  font-size: 15px;
}

.qapla-list-carrier-name {
  font-size: 15px;
}

.qapla-list-carrier-row .pudo-confirm-button {
  font-size: 15px;
}

.qapla-popup-carrier-card .pudo-confirm-button {
  font-size: 15px;
}