/** Shopify CDN: Minification failed

Line 13:16 Unexpected "{"
Line 13:25 Expected ":"
Line 19:38 Unexpected "{"
Line 19:47 Expected ":"
Line 120:12 Expected identifier but found whitespace
Line 120:13 Unexpected "2px"
Line 120:24 Unexpected "{"
Line 120:38 Expected ":"

**/
#store-locator-{{ section.id }} .store-locator-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
  }
  
  body.locator-loaded #store-locator-{{ section.id }} .store-locator-wrapper {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }
  
  .store-results-title {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
  }
  
  .store-search-container {
    position: relative;
    margin-bottom: 10px;
    padding-right: 10px;
  }
  
  .store-search-input {
    width: 100%;
    padding: 10px 35px 10px 15px;
    border: 1px solid #ddd;
    font-size: 12px;
  }
  
  .store-search-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    opacity: 0.5;
    transition: opacity 0.2s;
  }
  
  .store-search-clear:hover {
    opacity: 1;
  }
  
  .store-locator-wrapper {
    max-width: 1420px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
    margin-bottom: 50px;
  }
  
  .store-locator-title {
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
    font-size: 1.8rem;
  }
  
  .store-locator-controls {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: stretch;
  }
  
  .search-input-wrapper {
    position: relative;
    flex-grow: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
  }
  
  .store-locator-address-input {
    width: 100%;
    padding: 10px 42px 10px 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
    height: 44px;
    box-sizing: border-box;
  }
  
  .store-locator-search-icon {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
    background: var(--button-color, #000);
    color: var(--button-text-color, #fff);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
  }
  
  .store-locator-address-input:focus,
  .store-locator-search-icon:focus,
  .store-locator-location-btn:focus {
    outline: 2px solid {{ button_color }};
    outline-offset: 2px;
  }
  
  .store-locator-search-icon svg {
    width: 18px;
    height: 16px;
  }
  
  .store-locator-controls button {
    padding: 0px 16px;
    background-color: var(--button-color, #000);
    color: var(--button-text-color, #fff);
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    height: 44px;
    flex-shrink: 0;
    font-size: 1rem;
    white-space: nowrap;
  }
  
  .store-locator-search-icon:hover, .store-locator-controls button:hover {
    opacity: 0.9;
  }
  
  .locator-container {
    display: flex;
    gap: 20px;
  }
  
  .store-locator-results {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 10px;
  }
  
  .no-stores-message {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
    color: #666;
  }
  
  .no-location-message {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .nearby-stores {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    height: calc(var(--map-height) - 60px);
  }
  .all-stores {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    height: calc(var(--map-height) - 60px);
  }
  
  .store-locator-map-column {
    flex: 2;
  }
  
  .store-locator-map {
    width: 100%;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* --- START: Added for smooth map loading --- */
    opacity: 0;
    transition: opacity 0.5s ease;
    /* --- END: Added for smooth map loading --- */
  }
  
  /* --- START: Added for smooth map loading --- */
  .store-locator-map.loaded {
    opacity: 1;
  }
  /* --- END: Added for smooth map loading --- */
  
  .store-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }
  
  .store-results-header h3 {
    margin: 0;
    font-size: 1.2rem;
  }
  
  
  .stores-scroll-container {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 10px;
    min-height: 200px;
    contain: strict;
    display: flex;
    flex-direction: column;
    will-change: transform;
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    overflow-anchor: none;
  }
  
  .stores-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
    transform: translateZ(0);
  }
  
  .store-item {
    margin-bottom: 20px;
    padding: 15px;
    font-size: 12px;
    border: 1px solid #eee;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .store-item.highlighted {
    animation: highlight-pulse 1.5s ease-in-out;
    border-left: 4px solid var(--button-color);
  }
  
  .store-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
  }
  
  .store-distance {
    color: #666;
    font-weight: bold;
    margin: 5px 0;
  }
  
  .store-hours {
    margin: 8px 0;
    color: #555;
  }
  
  .operating-hours {
    margin: 10px 0;
  }
  
  .operating-hours p {
    margin: 3px 0;
    font-size: 12px;
  }
  
  .store-item button.store-view-btn {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: var(--button-color, #000);
    color: var(--button-text-color, #fff);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .store-item button.store-view-btn:hover {
    opacity: 0.9;
  }
  
  .no-stores-message {
    color: #666;
    font-style: italic;
    padding: 10px;
    text-align: center;
  }
  
  .error-message {
    color: #d32f2f;
    padding: 15px;
    background-color: #ffebee;
    text-align: center;
    margin: 10px 0;
  }
  
  .map-error {
    padding: 20px;
    text-align: center;
    background-color: #ffebee;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .map-error p {
    margin-bottom: 15px;
  }
  
  .map-error button {
    padding: 8px 16px;
    background-color: #d32f2f;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  body.locator-loaded .store-locator-wrapper {
    opacity: 1;
  }

  .operating-hours-split .brand-hours-group {
    margin-top: 10px;
}

.operating-hours-split .brand-hours-group:first-child {
    margin-top: 5px;
}

.operating-hours-split p {
    margin: 3px 0 3px 10px; /* Indents the hours under the brand name */
}

.operating-hours-split strong {
    font-size: 12px; /* Ensures the brand name isn't too large */
}
  
  .province-filter-container {
    margin-top: 15px;
    width: 100%;
    margin-bottom: 20px
  }
  
  
  .province-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
  }
  
  .province-filter-toggle .toggle-icon {
    transition: transform 0.3s ease;
  }
  
  .province-filter-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
  }
  
  .province-filter-options {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    background: white;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    
    &[aria-hidden="false"] {
      max-height: 500px;
      opacity: 1;
      overflow: visible;
    }
  }
  
  .province-filter-options[aria-hidden="false"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
  }
  
  .province-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  
  .province-option input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }
  
  .province-option input:checked + span {
    font-weight: bold;
    color: var(--button-color);
  }
  
  /* ---------- Sub-brand (Refinery / Junior) filter ---------- */
  .subbrand-filter-container {
    margin-top: 15px;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .subbrand-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
  }
  
  .subbrand-filter-toggle .toggle-icon {
    transition: transform 0.3s ease;
  }
  
  .subbrand-filter-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
  }
  
  .subbrand-filter-options {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    background: white;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
  
  .subbrand-filter-options[aria-hidden="false"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    max-height: 500px;
    opacity: 1;
    overflow: visible;
  }
  
  .subbrand-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  
  .subbrand-option input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
  }
  
  .subbrand-option input:checked + span {
    font-weight: bold;
    color: var(--button-color);
  }
  
  .cluster-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cluster-content {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    border: 2px solid white;
  }
  
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes highlight-pulse {
    0% { background-color: rgba(var(--button-color-rgb), 0.1); }
    50% { background-color: rgba(var(--button-color-rgb), 0.2); }
    100% { background-color: rgba(var(--button-color-rgb), 0.1); }
  }
  
  @media (max-width: 768px) {
    .locator-container {
      flex-direction: column;
      gap: 8px;
      height: auto;
    }
  
    .store-locator-location-btn {
      width: 100%;
      border-radius: 0;
    }
  
    .store-locator-map-column {
      order: -1; 
      height: 50vh;
      flex: none;
      padding-bottom: 30px;
    }  
    
    .store-locator-controls {
      flex-direction: column;
      gap: 12px;
    }
  
    .search-input-wrapper {
      display: flex;
      width: 100%;
      padding: 0;
      position: relative;
      align-items: center;
      gap: 0;
    }
  
    .store-results-title {
      padding-top: 30px;
    }
  
    .store-locator-address-input {
      flex: 1;
      padding: 12px 16px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 0;
      box-sizing: border-box;
      margin: 0;
    }
  
    .store-locator-search-icon {
      width: 48px;
      height: 48px;
      border: none;
      margin: 0;
      padding: 0;
      background-color: var(--button-color, #002f34);
      color: var(--button-text-color, #ffffff);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 0;
      cursor: pointer;
    }
  
    .store-locator-search-icon svg {
      stroke: var(--button-text-color, #ffffff);
    }
  
    .store-locator-map-column,
    .store-locator-results {
      height: 50vh;
      flex: none;
    }
  
    .stores-scroll-container {
      height: calc(50vh - 60px);
    }
    .province-filter-options {
      grid-template-columns: 1fr;
    }
    .subbrand-filter-options {
      grid-template-columns: 1fr;
    }
  }