/* ===========================
   FindStoreModal — BEM
   =========================== */

.kitchen-pdp {
  position: relative;
}

body.no-scroll{
  overflow: hidden;
}

/* Backdrop */
body.no-scroll::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  animation: backdropFadeIn 0.3s ease forwards;
}

@keyframes backdropFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal panel — slides in from the right */
.find-store-modal-pdp {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #EEEAF3;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -6px 0 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.find-store-modal-pdp.active {
  transform: translateX(0);
}

@media (max-width: 767px) {
  .find-store-modal-pdp {
    max-width: 100%;
  }
}

.find-store-modal-pdp .icon {
  width: 18px;
}
.find-store-modal-pdp .icon-24 {
  width: 24px;
}

/* ---------- Header ---------- */

.find-store-modal-pdp__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 16px;
}

.find-store-modal-pdp__title {
  font-size: 24px;
  font-weight: 600;
  color: #1D1D1F;
}

.find-store-modal-pdp__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  bottom: 21px;
}

/* ---------- Search ---------- */

.find-store-modal-pdp__search-wrapper {
  position: relative;
  padding: 20px 20px 16px;
}

.find-store-modal-pdp__search {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  padding: 13px;
  gap: 8px;
  background-color: #fff;
}

.find-store-modal-pdp__search-clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.find-store-modal-pdp__search-clear img {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}


/* ---------- Search Dropdown ---------- */

.find-store-modal-pdp__search-dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 10;
  max-height: 220px;
  overflow-y: auto;
}

.find-store-modal-pdp__search-dropdown::-webkit-scrollbar {
  width: 4px;
}

.find-store-modal-pdp__search-dropdown::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.find-store-modal-pdp__dropdown-item {
  padding: 12px 16px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2;
  line-height: 1.4;
  margin: 0;
  transition: background 0.15s ease;
}

.find-store-modal-pdp__dropdown-item:last-child {
  border-bottom: none;
}

.find-store-modal-pdp__dropdown-item:hover {
  background: #f5f0fa;
  color: #7345B2;
}

/* ---------- No Store Found ---------- */

.find-store-modal-pdp__no-store {
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background-color: #fff;
  display: none;
}

.find-store-modal-pdp__no-store:not(.dsp-none) {
  display: flex;
}

.find-store-modal-pdp__no-store-text {
  font-size: 14px;
  color: #75787B;
  text-align: center;
  line-height: 1.6;
}

.find-store-modal-pdp__search-icon {
  width: 18px;
  height: 18px;
  color: #999;
  flex-shrink: 0;
}

.find-store-modal-pdp__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12px;
  color: #222222;
}

.find-store-modal-pdp__search-input::placeholder {
  color: #222222;
}

.find-store-modal-pdp__search-btn {
  background: #7345B2;
  color: #fff;
  font-family: 'Lato';
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}


.find-store-modal-pdp__search-btn:disabled {
  background: #c4aedd;
  cursor: not-allowed;
}

/* ---------- Section Label ---------- */

.find-store-modal-pdp__section-label {
  font-family: 'Archivo';
  padding: 28px 20px 10px;
  font-size: 16px;
  letter-spacing: 1%;
  line-height: 130%;
  font-weight: 600;
  color: #75787B;
  background-color: #fff;
}

/* ---------- Store List ---------- */

.find-store-modal-pdp__list {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px;
  background-color: #fff;
}

.find-store-modal-pdp__list::-webkit-scrollbar {
  width: 4px;
}

.find-store-modal-pdp__list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* ---------- Store Card ---------- */

.find-store-modal-pdp__card {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.find-store-modal-pdp__card:last-child {
  border-bottom: none;
}

.find-store-modal-pdp__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.find-store-modal-pdp__card-name {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  line-height: 0;
  flex: 1;
}

.find-store-modal-pdp__card-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.find-store-modal-pdp__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 2px;
}

.find-store-modal-pdp__icon-btn:hover {
  color: #666;
}

.find-store-modal-pdp__icon-btn svg {
  width: 18px;
  height: 18px;
}

.find-store-modal-pdp__card-address {
  font-size: 14px;
  color: #000000;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 15px;
}

.find-store-modal-pdp__card-meta {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
}

/* ---------- Status ---------- */

.find-store-modal-pdp__status {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 35px;

}

.find-store-modal-pdp__status-text {
  color: #74798A;
  font-size: 12px;
  line-height: 150%;
  font-weight: 300;
}


.find-store-modal-pdp__status-hours {
  color: #74798A;
}

/* ---------- Call ---------- */

.find-store-modal-pdp__call {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  text-decoration: none;
}

.find-store-modal-pdp__call:hover {
  color: #333;
}

.find-store-modal-pdp__call-icon {
  width: 14px;
  height: 14px;
}