/* ── DA Store Stock ─────────────────────────────────────────────────── */
/* Button */
.da-storestock__btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  background: #FDF6DB;
  border: 2px solid #EECE4B;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.da-storestock__btn:hover {
  border-color: #59358C;
  box-shadow: 0 4px 14px rgba(89, 53, 140, 0.15);
}

.da-storestock__btn-icon {
  flex-shrink: 0;
}

.da-storestock__btn-text {
  font-size: 14px;
  line-height: 16px;
  color: black;
}

.da-storestock__btn-text strong {
  display: block;
  font-weight: 700;
}

/* Overlay + modal */
.da-storestock__overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(45, 45, 45, 0.55);
}

.da-storestock__overlay[hidden] {
  display: none;
}

.da-storestock__modal {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.da-storestock__modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.da-storestock__modal-title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #2d2d2d;
}

.da-storestock__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f1f1f1;
  color: #2d2d2d;
  cursor: pointer;
}

.da-storestock__close:hover {
  background: #59358C;
  color: #fff;
}

/* Store list */
.da-storestock__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.da-storestock__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.da-storestock__item:last-child {
  border-bottom: none;
}

.da-storestock__store-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #2d2d2d;
}

.da-storestock__store-address {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

.da-storestock__status {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.da-storestock__status--in {
  background: #e6f4ea;
  color: #1e7e34;
}

.da-storestock__status--out {
  background: #f1f1f1;
  color: #888;
}

.da-storestock__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 17px;
  color: #888;
}

@media (max-width: 480px) {
  .da-storestock__btn {
    width: 100%;
  }
}

/* ── Siatka sklepów (shortcode [da_stores] na stronach CMS) ─────────── */
.dss-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
  margin: 1.5rem 0;
}

.dss-stores__map {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #00000014;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
}

.dss-stores__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.dss-stores__name {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.dss-stores__address {
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.dss-stores__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.dss-stores__icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #59358c;
}

.dss-stores__link {
  color: inherit;
  text-decoration: none;
}

.dss-stores__link:hover {
  color: #59358c;
}

.dss-stores__note {
  display: block;
  font-size: 0.8125rem;
  color: #6c757d;
}

.dss-stores__hours-title {
  display: block;
  margin-bottom: 0.375rem;
}

.dss-stores__hours {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.25rem 1.5rem;
  width: fit-content;
  margin: 0;
  font-size: 0.875rem;
}

.dss-stores__hours dt {
  font-weight: 400;
  color: #6c757d;
}

.dss-stores__hours dd {
  margin: 0;
}

.dss-stores__fb {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: #59358c;
  border-color: #59358c;
  color: #fff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.dss-stores__fb:hover {
  background: #47296f;
  border-color: #47296f;
  color: #fff;
}

@media (max-width: 767.98px) {
  .dss-stores {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
