.dz-page {
  --dz-primary: #6b3fa0;
  --dz-ink: #25202b;
  --dz-muted: #756f7a;
  --dz-soft: #f7f4fa;
  color: var(--dz-ink);
}
.dz-page h1,
.dz-page h2,
.dz-page h3 {
  color: var(--dz-ink);
}
.dz-hero {
  padding: 42px 48px;
  margin-bottom: 36px;
  border-radius: 20px;
  background: linear-gradient(120deg, #f6effd, #fff 65%);
  border: 1px solid #eee4f7;
  position: relative;
  overflow: hidden;
}
.dz-hero:after {
  content: "\f0d1";
  font: 150px FontAwesome;
  position: absolute;
  right: 35px;
  top: 5px;
  color: rgba(107, 63, 160, 0.06);
}
.dz-hero h1 {
  font-size: 38px;
  margin: 8px 0 14px;
}
.dz-hero p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 780px;
  margin: 0;
}
.dz-eyebrow {
  color: var(--dz-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dz-delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 48px;
}
.dz-delivery-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid #ece8ee;
  border-radius: 15px;
  box-shadow: 0 7px 24px rgba(40, 25, 55, 0.06);
}
.dz-delivery-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ddf1;
  border-radius: 15px;
  background: linear-gradient(145deg, #fbf8fd, #f1e9f8);
  color: var(--dz-primary);
  box-shadow: 0 6px 14px rgba(107, 63, 160, 0.12);
  font-size: 21px;
}
.dz-delivery-icon > i {
  width: 1.25em;
  line-height: 1;
  text-align: center;
}
.dz-delivery-card-head {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
}
.dz-delivery-card-body {
  width: 100%;
  min-width: 0;
}
.dz-delivery-card h3 {
  min-width: 0;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}
.dz-delivery-card strong {
  display: block;
  color: var(--dz-primary);
}
.dz-free-badge,
.dz-free-condition {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #bfe5cc;
  border-radius: 20px;
  background: #edf9f1;
  color: #237642;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.dz-free-badge {
  flex: 0 0 auto;
  align-self: stretch;
  justify-content: center;
  margin-top: auto;
  padding: 5px 9px;
}
.dz-free-condition {
  margin-top: 6px;
  padding: 4px 8px;
}
.dz-delivery-card p {
  color: var(--dz-muted);
  margin: 5px 0 0;
}
.dz-stores {
  margin: 8px 0 50px;
  padding: 32px;
  border: 1px solid #eee7f4;
  border-radius: 20px;
  background: linear-gradient(145deg, #fbf9fd 0%, #f7f2fb 100%);
}
.dz-stores-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}
.dz-stores-head h2 {
  margin: 7px 0 0;
}
.dz-stores-head p {
  max-width: 440px;
  margin: 0;
  color: var(--dz-muted);
  line-height: 1.6;
}
.dz-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dz-store-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e9e2ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(50, 31, 67, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dz-store-card:hover {
  transform: translateY(-3px);
  border-color: #dacbe7;
  box-shadow: 0 14px 34px rgba(50, 31, 67, 0.11);
}
.dz-store-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 21px 22px 17px;
  border-bottom: 1px solid #f0ebf3;
}
.dz-store-pin {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--dz-primary), #8e62bd);
  color: #fff;
  box-shadow: 0 7px 15px rgba(107, 63, 160, 0.22);
  font-size: 19px;
}
.dz-store-type {
  display: block;
  margin-bottom: 3px;
  color: var(--dz-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.dz-store-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}
.dz-store-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
}
.dz-store-detail {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  font-style: normal;
}
.dz-store-detail-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--dz-soft);
  color: var(--dz-primary);
}
.dz-store-detail strong,
.dz-store-detail div > span {
  display: block;
}
.dz-store-detail strong {
  margin-bottom: 4px;
  color: var(--dz-muted);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.dz-store-detail div > span {
  line-height: 1.55;
}
.dz-store-card-footer {
  padding: 0 22px 20px;
}
.dz-store-map-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border: 1px solid #e3d7ed;
  border-radius: 10px;
  background: #faf7fc;
  color: var(--dz-primary);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dz-store-map-button:hover,
.dz-store-map-button:focus {
  border-color: var(--dz-primary);
  outline: 0;
  background: var(--dz-primary);
  color: #fff;
}
.dz-store-map-button:focus {
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.18);
}
.dz-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dz-section-head p {
  max-width: 420px;
  color: var(--dz-muted);
}
.dz-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  border: 1px solid #e7e1ea;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 35px rgba(40, 25, 55, 0.07);
}
.dz-map-wrap {
  position: relative;
}
.dz-map-fullscreen {
  position: absolute;
  z-index: 501;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background: #fff;
  color: #333;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  font-size: 15px;
  line-height: 30px;
  text-align: center;
}
.dz-map-fullscreen:hover,
.dz-map-fullscreen:focus {
  outline: 0;
  background: #f4f4f4;
  color: var(--dz-primary);
}
.dz-map-fullscreen:focus {
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.3);
}
.dz-map-wrap.is-fullscreen,
.dz-map-wrap:fullscreen,
.dz-map-wrap:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #fff;
}
.dz-map-wrap.is-fullscreen .dz-map,
.dz-map-wrap:fullscreen .dz-map,
.dz-map-wrap:-webkit-full-screen .dz-map {
  height: 100vh;
}
.dz-map-wrap.is-fullscreen {
  position: fixed;
  z-index: 10000;
  inset: 0;
}
body.dz-map-fullscreen-open {
  overflow: hidden;
}
.dz-map {
  height: var(--dz-map-height);
  background: #eee;
}
.dz-map .leaflet-attribution-flag {
  display: none !important;
}
.dz-map .dz-store-marker-wrap {
  border: 0;
  background: transparent;
}
.dz-map .dz-store-marker {
  position: relative;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 14px 14px 14px 3px;
  background: linear-gradient(135deg, var(--dz-primary), #9264c3);
  color: #fff;
  box-shadow: 0 8px 20px rgba(67, 38, 91, 0.35);
  font-size: 17px;
  transform: rotate(-45deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dz-map .dz-store-marker i {
  transform: rotate(45deg);
}
.dz-map .dz-store-marker-wrap:hover .dz-store-marker,
.dz-map .dz-store-marker-wrap:focus .dz-store-marker {
  box-shadow: 0 10px 25px rgba(67, 38, 91, 0.48);
  transform: rotate(-45deg) scale(1.08);
}
.dz-map .dz-store-leaflet-popup .leaflet-popup-content-wrapper {
  overflow: hidden;
  padding: 0;
  border: 1px solid #e7deed;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(43, 25, 56, 0.22);
}
.dz-map .dz-store-leaflet-popup .leaflet-popup-content {
  width: auto !important;
  margin: 0;
  color: var(--dz-ink);
  font-family: inherit;
}
.dz-map .dz-store-leaflet-popup .leaflet-popup-tip {
  box-shadow: 3px 3px 8px rgba(43, 25, 56, 0.12);
}
.dz-map .dz-store-leaflet-popup .leaflet-popup-close-button {
  top: 9px;
  right: 9px;
  width: 28px;
  height: 28px;
  padding: 3px 0 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #765c85;
  font-size: 20px;
  line-height: 22px;
}
.dz-store-popup-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 45px 18px 20px;
  background: linear-gradient(135deg, #f8f1fc, #fff);
}
.dz-store-popup-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--dz-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(107, 63, 160, 0.22);
}
.dz-store-popup-type {
  display: block;
  margin-bottom: 3px;
  color: var(--dz-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dz-store-popup-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}
.dz-store-popup-details {
  display: grid;
  gap: 15px;
  padding: 18px 20px 20px;
}
.dz-store-popup-detail {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.dz-store-popup-detail > i {
  width: 28px;
  flex: 0 0 28px;
  padding-top: 2px;
  color: var(--dz-primary);
  font-size: 17px;
  text-align: center;
}
.dz-store-popup-detail strong,
.dz-store-popup-detail span {
  display: block;
}
.dz-store-popup-detail strong {
  margin-bottom: 3px;
  color: var(--dz-muted);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.dz-store-popup-detail span {
  font-size: 12px;
  line-height: 1.5;
}
.dz-map-legend {
  position: absolute;
  z-index: 500;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  max-width: calc(100% - 28px);
}
.dz-legend-item {
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 20px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.dz-legend-item span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.dz-legend-item:hover,
.dz-legend-item:focus,
.dz-legend-item.is-active {
  outline: 0;
  border-color: var(--dz-primary);
  box-shadow: 0 0 0 2px rgba(107, 63, 160, 0.18);
}
.dz-zone-info {
  padding: 30px;
  background: linear-gradient(180deg, #fff, var(--dz-soft));
  overflow: auto;
  max-height: var(--dz-map-height);
}
.dz-zone-info h3 {
  font-size: 25px;
}
.dz-zone-info .dz-info-color {
  width: 28px;
  height: 5px;
  border-radius: 3px;
}
.dz-zone-info .dz-info-rate {
  padding: 16px 0;
  border-bottom: 1px solid #e8e1ec;
}
.dz-zone-info .dz-info-rate b {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  color: var(--dz-primary);
}
.dz-zone-info .dz-info-rate > strong {
  display: block;
  margin-bottom: 8px;
}
.dz-zone-info .dz-info-time {
  margin-bottom: 8px;
  color: var(--dz-muted);
}
.dz-zone-info .dz-info-time .fa,
.dz-delivery-card-body strong .fa,
.dz-rate-row > span .fa-clock-o {
  margin-right: 4px;
}
.dz-zone-info .dz-info-rate + h4 {
  margin-top: 24px;
}
.dz-empty {
  text-align: center;
  color: var(--dz-muted);
  padding-top: 110px;
}
.dz-empty i {
  font-size: 36px;
}
.dz-zone-fallback {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 45px;
}
.dz-zone-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #ece8ee;
  border-radius: 15px;
}
.dz-zone-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dz-zone-title span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dz-zone-title h3 {
  margin: 0;
}
.dz-rate-chips span {
  display: block;
  margin: 7px 0;
}
.dz-rate-chips .dz-free-condition {
  display: table;
}
.dz-location-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 7px;
}
.dz-location-list button {
  background: var(--dz-soft);
  border: 1px solid #e8dff0;
  border-radius: 15px;
  padding: 5px 10px;
}
.dz-location-list button:focus {
  outline: 2px solid var(--dz-primary);
}
.dz-zone-card .dz-location-list {
  flex-wrap: nowrap;
  max-width: 100%;
  padding: 3px 1px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #c9b4dc var(--dz-soft);
  -webkit-overflow-scrolling: touch;
}
.dz-zone-card .dz-location-list.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.dz-zone-card .dz-location-list li {
  flex: 0 0 auto;
}
.dz-zone-card .dz-location-list::-webkit-scrollbar {
  height: 8px;
}
.dz-zone-card .dz-location-list::-webkit-scrollbar-track {
  border-radius: 4px;
  background: var(--dz-soft);
}
.dz-zone-card .dz-location-list::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #c9b4dc;
}
.dz-rate-table {
  border: 1px solid #e8e3eb;
  border-radius: 15px;
  overflow: hidden;
  margin: 20px 0 45px;
}
.dz-rate-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 1.4fr;
  border-top: 1px solid #eee9f0;
}
.dz-rate-row:first-child {
  border: 0;
}
.dz-rate-row > span {
  padding: 15px;
}
.dz-rate-row small {
  display: block;
  color: var(--dz-muted);
}
.dz-rate-head {
  background: var(--dz-soft);
  font-weight: 700;
}
.dz-cost {
  font-weight: 700;
  color: var(--dz-primary);
}
.dz-notice {
  display: flex;
  gap: 18px;
  margin: 35px 0;
  padding: 24px;
  border-radius: 14px;
  background: #f1f7ff;
  border: 1px solid #d7e9ff;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}
.dz-notice > i {
  font-size: 25px;
  color: #3179bb;
}
.dz-map-fallback {
  padding: 15px;
}
@media (min-width: 992px) {
  .dz-map {
    height: 100%;
    min-height: var(--dz-map-height);
  }
}
@media (max-width: 991px) {
  .dz-delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dz-store-grid { grid-template-columns: repeat(2, 1fr); }
  .dz-map-layout {
    grid-template-columns: 1fr;
  }
  .dz-zone-info {
    max-height: none;
    min-height: 220px;
  }
  .dz-empty {
    padding-top: 45px;
  }
}
@media (max-width: 600px) {
  .dz-stores {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .dz-stores-head {
    display: block;
  }
  .dz-stores-head p {
    margin-top: 10px;
  }
  .dz-hero {
    padding: 28px 22px;
  }
  .dz-hero h1 {
    font-size: 29px;
  }
  .dz-hero p {
    font-size: 16px;
  }
  .dz-delivery-grid,
  .dz-zone-fallback,
  .dz-store-grid {
    grid-template-columns: 1fr;
  }
  .dz-section-head {
    display: block;
  }
  .dz-map {
    height: var(--dz-map-mobile-height);
  }
  .dz-map-legend {
    position: static;
    padding: 10px;
    max-width: none;
  }
  .dz-rate-head {
    display: none;
  }
  .dz-rate-row {
    display: block;
    padding: 12px;
  }
  .dz-rate-row > span {
    display: grid;
    grid-template-columns: 105px 1fr;
    padding: 5px;
  }
  .dz-rate-row > span:before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--dz-muted);
  }
  .dz-notice {
    padding: 18px;
  }
}
