.intouch-find-instore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: .618em 1em;
  background: var(--intouch-btn-color, var(--wp--preset--color--primary, #7f54b3));
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  line-height: 1;
}
.intouch-find-instore-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.intouch-findinstore-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.intouch-findinstore-overlay.open {
  display: block;
  opacity: 1;
}

.intouch-findinstore-panel {
  display: block;
  position: fixed;
  top: 20px;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: calc(100% - 40px);
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.intouch-findinstore-panel.open {
  transform: translateX(0);
}

.intouch-findinstore-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e5e5;
  background: #f8f8f8;
  position: sticky;
  top: 0;
  z-index: 1;
}
.intouch-findinstore-panel-header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #000;
}
@media (prefers-color-scheme: dark) {
  .intouch-findinstore-panel-header h3 {
    color: #ccc;
  }
}

.intouch-findinstore-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0 4px;
}
.intouch-findinstore-close:hover {
  color: #333;
}

.intouch-findinstore-panel-body {
  padding: 20px;
  padding-bottom: 60px;
}

.intouch-findinstore-loading {
  text-align: center;
  padding: 40px 0;
  color: #999;
  font-style: italic;
}

.intouch-findinstore-error {
  padding: 20px;
  background: #fce4e4;
  color: #c0392b;
  border-radius: 4px;
}

.intouch-findinstore-comments {
  margin-bottom: 16px;
  padding: 12px 12px 12px 32px;
  background: #f0f8ff;
  font-size: 13px;
  color: #555;
  position: relative;
}
.intouch-findinstore-comments::before {
  content: "\2139";
  position: absolute;
  left: 10px;
  top: 11px;
  font-size: 16px;
}

.intouch-findinstore-stores {
  display: flex;
  flex-direction: column;
}

.intouch-findinstore-store {
  padding: 14px 0;
  cursor: pointer;
}

.intouch-findinstore-store + .intouch-findinstore-store {
  border-top: 1px solid #e5e5e5;
}

.intouch-findinstore-store-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 2px;
}
.intouch-findinstore-store-name {
  font-weight: 700;
  font-size: 14px;
  color: #333;
}
.intouch-findinstore-store-region {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
}
.intouch-findinstore-store-phone {
  font-size: 12px;
  color: #666;
  margin-left: auto;
}

.intouch-findinstore-store-address {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.intouch-findinstore-store-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.intouch-findinstore-stock-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.intouch-findinstore-stock-dot.green {
  background: #2e7d32;
}
.intouch-findinstore-stock-dot.orange {
  background: #e65100;
}
.intouch-findinstore-stock-dot.red {
  background: #c0392b;
}

.intouch-findinstore-store-hours {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  line-height: 1.4;
}

.intouch-findinstore-selected-hours {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.intouch-findinstore-no-stores {
  text-align: center;
  padding: 40px 0;
  color: #999;
}

body.intouch-findinstore-open {
  overflow: hidden;
}

.intouch-findinstore-warning {
  padding: 10px 14px;
  margin: 10px 0;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  border-radius: 4px;
  font-size: 14px;
}

.intouch-findinstore-selected-store {
  padding: 14px 16px;
  margin: 10px 0;
  width: 100%;
  box-sizing: border-box;
  background: #f9f9f9;
  border: 1px solid #add8e6;
  border-radius: 4px;
}

.intouch-findinstore-selected-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
}
.intouch-findinstore-selected-name svg {
  flex-shrink: 0;
  color: #666;
}

.intouch-findinstore-selected-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}
.intouch-findinstore-selected-address svg {
  flex-shrink: 0;
}
.intouch-findinstore-selected-address a {
  color: inherit;
  text-decoration: none;
}
.intouch-findinstore-selected-address a:hover {
  text-decoration: underline;
}

.intouch-findinstore-selected-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  margin: 4px 0 6px;
}
.intouch-findinstore-selected-stock svg {
  flex-shrink: 0;
}

.intouch-findinstore-selected-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.intouch-findinstore-selected-tel,
.intouch-findinstore-selected-email {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.intouch-findinstore-selected-tel .dashicons,
.intouch-findinstore-selected-email .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #666;
}
.intouch-findinstore-selected-tel a,
.intouch-findinstore-selected-email a {
  color: #333;
  text-decoration: none;
}
.intouch-findinstore-selected-tel a:hover,
.intouch-findinstore-selected-email a:hover {
  text-decoration: underline;
}
