.store-locator-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #e30613;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  height: 50px; }
  .store-locator-btn:hover {
    background: #c00510; }
  .store-locator-btn svg {
    flex-shrink: 0; }

.store-locator-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 9998; }
  .store-locator-overlay.active {
    opacity: 1;
    visibility: visible; }

.store-locator-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 9999;
  display: flex;
  flex-direction: column; }
  .store-locator-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1); }
  .store-locator-popup .store-locator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee; }
    .store-locator-popup .store-locator-header h3 {
      margin: 0;
      font-size: 18px;
      font-weight: 600; }
    .store-locator-popup .store-locator-header .store-locator-close {
      width: 32px;
      height: 32px;
      border: none;
      background: none;
      font-size: 24px;
      cursor: pointer;
      color: #666;
      transition: color 0.3s; }
      .store-locator-popup .store-locator-header .store-locator-close:hover {
        color: #000; }
  .store-locator-popup .store-locator-filters {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee; }
    .store-locator-popup .store-locator-filters select {
      flex: 1;
      padding: 10px 12px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 14px;
      background: #fff;
      cursor: pointer; }
  .store-locator-popup .store-locator-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px; }
    .store-locator-popup .store-locator-list .store-locator-item {
      padding: 16px 0;
      border-bottom: 1px solid #eee; }
      .store-locator-popup .store-locator-list .store-locator-item:last-child {
        border-bottom: none; }
      .store-locator-popup .store-locator-list .store-locator-item .store-locator-item-header {
        margin-bottom: 8px; }
        .store-locator-popup .store-locator-list .store-locator-item .store-locator-item-header .store-locator-name {
          font-size: 16px;
          font-weight: 700; }
      .store-locator-popup .store-locator-list .store-locator-item .store-locator-address {
        font-size: 14px;
        color: #333;
        margin-bottom: 4px; }
      .store-locator-popup .store-locator-list .store-locator-item .store-locator-time {
        font-size: 13px;
        color: #333;
        margin-bottom: 12px; }
      .store-locator-popup .store-locator-list .store-locator-item .store-locator-actions {
        display: flex;
        gap: 16px; }
        .store-locator-popup .store-locator-list .store-locator-item .store-locator-actions a {
          display: inline-flex;
          align-items: center;
          gap: 6px;
          font-size: 13px;
          color: #333;
          text-decoration: underline;
          transition: color 0.3s; }
          .store-locator-popup .store-locator-list .store-locator-item .store-locator-actions a svg {
            width: 16px;
            height: 16px; }
          .store-locator-popup .store-locator-list .store-locator-item .store-locator-actions a:hover {
            color: #e30613; }
    .store-locator-popup .store-locator-list .store-locator-loading {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 40px 20px;
      text-align: center;
      color: #666; }
      .store-locator-popup .store-locator-list .store-locator-loading .store-locator-spinner {
        width: 32px;
        height: 32px;
        border: 3px solid #eee;
        border-top-color: #e30613;
        border-radius: 50%;
        animation: spin 0.8s linear infinite; }
    .store-locator-popup .store-locator-list .store-locator-empty, .store-locator-popup .store-locator-list .store-locator-error {
      padding: 40px 20px;
      text-align: center;
      color: #666; }
    .store-locator-popup .store-locator-list .store-locator-error {
      color: #dc3545; }

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

@media (max-width: 600px) {
  .store-locator-popup {
    width: 95%;
    max-height: 95vh; }
    .store-locator-popup .store-locator-filters {
      flex-direction: column;
      gap: 12px; } }

.store-locator-btn {
  background: #fff;
  color: #e30613;
  border: 1px solid #e30613; }

.store-locator-btn:hover {
  background: #c00510;
  color: #fff; }
