/* ============================================================
   find_store.css  –  MODAL version (replaces slide-out tray)
   ============================================================ */

/* Prevent body scroll when modal is open */
body.openpopup {
  overflow: hidden;
}

#find_sc_header_wrap {
  position: relative;
  z-index: 5;
}

/* ============================================================
   MODAL OVERLAY  (was: fixed left-side tray)
   ============================================================ */
.find_store_block_pop_wrap {
  display: none;             /* hidden by default */
  position: fixed;
  inset: 0;
  z-index: 9999999999;
  background: rgba(0, 0, 0, .55);   /* dim backdrop */
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* The white dialog box */
.find_store_block_pop_wrap .fsbpw-modal-box {
  background: #eeeeee;
  border: 2px solid #595959;
  border-radius: 8px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* When open – switch display to flex so the overlay & box appear */
body.openpopup .find_store_block_pop_wrap {
  display: flex !important;
}

/* ============================================================
   MODAL HEADER BAR
   ============================================================ */
.fsbpw-header {
  padding: 12px 16px;
  font-size: 18px;
  line-height: 1em;
  background: #1d2644;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

span#closefsbhw-x {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .15s;
}

span#closefsbhw-x:hover {
  background: rgba(255,255,255,.2);
}

/* ============================================================
   FIND-NEAREST BUTTON
   ============================================================ */
.fsbpw-search {
  flex-shrink: 0;
}

.fsbpws {
  padding: 8px 16px;
  background: #B2944B;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fsbpws svg#LocationActive {
  width: 20px;
  flex-shrink: 0;
}

.fsbpws svg#LocationActive path {
  fill: #FFFFFF;
}

.fsbpws span {
  font-size: 14px;
  text-transform: uppercase;
}

/* ============================================================
   CURRENTLY SHOPPING BANNER  –  full-width, above the two columns
   ============================================================ */
.fsbpw-active-store-banner {
  flex-shrink: 0;
  padding: 12px 16px 0;
}

/* Collapse padding when empty */
.fsbpw-active-store-banner:has(.panel-body-active-sc:empty) {
  padding: 0;
}

/* Banner card */
.fsbpw-active-store-banner .panel-body-active-sc {
  display: block;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}

.fsbpw-active-store-banner .panel-body-active-sc:empty {
  display: none;
}

/* The card inside the banner: horizontal flex layout */
.fsbpw-active-store-banner .fsbpwl-uncont {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 0;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
}

/* Thumbnail – 16:9, fixed width on the left */
.fsbpw-active-store-banner .fs-active-thumb {
  flex: 0 0 220px;
  width: 220px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: #1d2644;
  align-self: stretch;
}

.fsbpw-active-store-banner .fs-active-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info column – takes remaining width */
.fsbpw-active-store-banner .fsbpwl-colmn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
}

/* Hide the SHOP pill inside the banner card */
.panel-body-active-sc .shop-sc {
  display: none !important;
}

/* SHOP NOW button – match the SHOP pill style */
.fsbpw-active-store-banner .sc_findstore_btn_wrap_pop {
  display: block;
  margin-top: 10px;
}

.fsbpw-active-store-banner .sc_findstore_btn_wrap_pop a {
  display: inline-block;
  font-size: 12px !important;
  font-weight: bold !important;
  color: #fff !important;
  background-color: #1d2644 !important;
  border: 2px solid #B2944B !important;
  border-radius: 10px !important;
  padding: 4px 14px !important;
  line-height: 1 !important;
  letter-spacing: .5px;
  text-decoration: none;
  transition: background-color 150ms ease-in-out;
}

.fsbpw-active-store-banner .sc_findstore_btn_wrap_pop a:hover {
  background-color: #B2944B !important;
}

/* "CURRENTLY SHOPPING:" label */
.fsbpw-active-store-banner .fsbpwl-colmn::before {
  position: static !important;
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: .06em;
}

/* Brand name */
.fsbpw-active-store-banner .fs-brand {
  margin: 0 0 2px !important;
  padding: 0 !important;
}

/* Store name */
.fsbpw-active-store-banner .t-entry-title a {
  font-size: 22px !important;
  line-height: 1.1 !important;
  font-weight: 700;
}

/* Address */
.fsbpw-active-store-banner .fs-address {
  margin: 4px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

/* Links row */
.fsbpw-active-store-banner .fs-links {
  margin-top: 8px;
}

.fsbpw-active-store-banner .fs-meta {
  margin-top: 6px;
  font-size: 11px;
}

/* ============================================================
   LOCATIONS AREA  –  two-column grid (MA | IL)
   ============================================================ */
.fsbpw-locations {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Two-column state layout */
.fsbpw-state-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}


@media (max-width: 780px) {
  .fsbpw-state-columns {
    grid-template-columns: 1fr;
  }
}


/* State heading */
.fsbpw-state-col h2.fsbpw-state-title {
  font-size: 18px !important;
  font-weight: 800;
  text-transform: uppercase;
  color: #132451;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #1d2644;
}

/* ============================================================
   STORE CARDS  (preserved from original)
   ============================================================ */
.fsbpw-locations h3,
.fsbpw-locations .entry-title-span {
  font-size: 14px;
  line-height: 1em;
  color: #1d2644;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 800;
}

.fsbpwl-colmn {
  padding-left: 4px;
  margin-bottom: 0px;
  position: relative;
}

.uncont.fsbpwl-uncont {
  padding-bottom: 0;
}

/* ── Card spacing: scoped to modal only ── */

.fsbpwl-uncont {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.fsbpwl-uncont:last-of-type {
  border-bottom: none;
  margin-bottom: 5px;
  padding-bottom: 0;
}

.fsbpwl-uncont-active .fsbpwl-colmn::before {
  content: 'CURRENTLY SHOPPING:';
  font-size: 12px;
  line-height: 1em;
  color: #f2a225;
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}

/* SHOP pill */
span.shop-sc {
  position: absolute;
  font-size: 12px;
  color: #fff;
  background-color: #1d2644;
  border: 2px solid #B2944B;
  border-radius: 10px;
  padding: 3px 11px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  right: 0px;
  letter-spacing: .5px;
  top: 10px;
  font-weight: bold;
  transition: background-color 150ms ease-in-out;
}

span.shop-sc:hover {
  background: #B2944B;
}

/* SHOP NOW button */
.sc_findstore_btn_wrap_pop {
  display: none;
}

.fsbpwl-uncont-active .sc_findstore_btn_wrap_pop {
  display: block;
}

.sc_findstore_btn_wrap_pop span.btn-container a {
  font-size: 12px;
  padding: 5px 16px !important;
  background: #0E2453 !important;
  border: none !important;
  color: #fff !important;
  border-radius: 25px;
  font-weight: normal;
}

.sc_findstore_btn_wrap_pop span.btn-container a:hover {
  background: #F2A225 !important;
}

.sc_findstore_btn_wrap_pop span.btn-container a:after {
  display: none;
}

/* Address / meta */
.fsbpw-locations .style-light p {
  color: #4d79a7;
  font-size: 12px;
  line-height: 1.3em;
  padding-bottom: 5px;
  margin-bottom: 0;
}

.fs-address {
  margin: 0 0 4px !important;
  line-height: 1.15 !important;
  color: #4d79a7;
  font-size: 12px;
}

.fs-address .fs-phone {
  line-height: inherit !important;
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
}

.fsbpwl-uncont p.fs-address {
  margin-bottom: 4px !important;
  padding-bottom: 0 !important;
}

.fs-brand {
  padding: 0 !important;
  margin: 0;
  text-transform: uppercase;
  font-size: 11px;
  color: #4d79a7;
}

.fs-meta {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.2;
  color: #555;
}

/* Store links row */
.fs-links {
  margin-top: 5px;
  padding-top: 0px !important;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.fs-links .fs-link {
  position: relative;
  display: inline-block;
  padding: 2px 2px;
  margin: 0 2px;
  color: #0E2453;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background .15s ease, color .15s ease;
}

.fs-links .fs-link:hover,
.fs-links .fs-link:focus-visible {
  background: rgba(14,36,83,.08);
  text-decoration: underline;
}

.fs-links .fs-link:focus-visible {
  outline: 2px solid rgba(14,36,83,.35);
  outline-offset: 2px;
}

/* t-entry-title (store name) */
.t-entry-title {
  display: block;
  margin-top: 0 !important;
}

.fsbpw-locations .t-entry-title a {
  font-size: 20px !important;
  line-height: 1em;
  font-weight: 700;
}

/* Active store card highlight */
.fsbpwl-uncont-active .fs-brand {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 20px !important;
  margin-bottom: 2px !important;
}

.fsbpwl-uncont-active .t-entry-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide active store from main list (shown as "currently shopping" label) */
.fsbpwl-uncont.is-active-store-hidden {
  display: none !important;
}

/* Suppress active-store styles inside the store list — only show them in the banner */
.panel-body .fsbpwl-uncont-active .fsbpwl-colmn::before {
  display: none !important;
}

.panel-body .fsbpwl-uncont-active .sc_findstore_btn_wrap_pop {
  display: none !important;
}

/* ============================================================
   CURRENTLY SHOPPING trigger in header bar
   ============================================================ */
.find_store_block_header_wrap .fsbhw-xactive {
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.currently_shopping_wrap {
  position: relative;
  display: inline-block;
}

.currently_shopping_wrap span {
  display: block;
  line-height: 1.3em;
}

.currently_shopping_wrap span.dashicons.dashicons-arrow-down-alt2 {
  position: absolute;
  bottom: -2px;
  color: #fff;
  right: -22px;
  font-size: 14px;
}

.fsbhw-xactive a.select-store {
  font-size: 16px;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 3px;
  width: 220px;
  display: block;
  text-align: center;
}

/* ============================================================
   OVERLAY BACKDROP (the .scajaxwraploader-pin close target)
   ============================================================ */
.scajaxwraploader-pin {
  position: fixed;
  inset: 0;
  background: transparent;  /* modal backdrop is on .find_store_block_pop_wrap now */
  z-index: 99999;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
  background-color: #fff;
}

::-webkit-scrollbar-track {
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #05dee4;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d2644;
}

/* ============================================================
   MISC PRESERVED STYLES
   ============================================================ */
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0%   { top:36px; left:36px; width:0; height:0; opacity:0; }
  4.9% { top:36px; left:36px; width:0; height:0; opacity:0; }
  5%   { top:36px; left:36px; width:0; height:0; opacity:1; }
  100% { top:0;    left:0;    width:72px; height:72px; opacity:0; }
}

.sc_loc_rpesa .btn-container {
  display: inline-block;
  margin-bottom: 15px;
}

/* Pills / buttons */
.pill-button {
  display: inline-block;
  background-color: #1f335f;
  color: #ffffff !important;
  padding: 5px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.pill-button:hover {
  background-color: #F2A225;
  transform: translateY(-1px);
}

/* Image helpers */
.square-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.rect-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}

/* All-stores-accordion (asa) grid used elsewhere */
.asa-state {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.asa-state summary {
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.asa-state summary::-webkit-details-marker {
  display: none;
}

.asa-city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
  margin-top: 15px;
}

.asa-city-grid a {
  text-decoration: none;
  padding: 3px 0;
}

@media (max-width: 1024px) { .asa-city-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .asa-city-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .asa-city-grid { grid-template-columns: 1fr; } }


/* Elementor kit override */
.elementor-kit-6214 .t-entry-title {
  font-family: "filson-pro", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--e-global-color-primary);
  margin: 0.5rem 0 1rem 0;
}

.entry-title-span {
  display: block;
}