@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');

/* Modal Styles */
#lwp-store-selector-modal,
.lwp-store-selector-modal,
.lwp-modern-popup,
.lwp-classic-popup,
.lwp-location-info-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lwp-store-selector-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 90%;
}

.lwp-store-selector-content h2 {
  margin-bottom: 20px;
}

#lwp-store-selector-modal-dropdown {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}

#lwp-store-selector-submit {
  background: #0071a1;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

#lwp-store-selector-submit:hover {
  background: #005f87;
}

/* Modern Popup Styles */
#lwp-store-selector-modal.lwp-modern-popup,
.lwp-store-selector-modal.lwp-modern-popup {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lwp-modern-popup {
  --lwp-modern-bg: #f7f1e8;
  --lwp-modern-surface: #ffffff;
  --lwp-modern-ink: #1d1b16;
  --lwp-modern-muted: #5f5d57;
  --lwp-modern-accent: #f26419;
  --lwp-modern-accent-2: #2a9d8f;
  --lwp-modern-border: #e7e0d6;
  --lwp-modern-shadow: 0 18px 45px rgba(24, 24, 24, 0.18);
  --lwp-modern-font: 'Space Grotesk', 'Trebuchet MS', sans-serif;
}

.lwp-modern-popup__panel {
  width: min(1080px, 94vw);
  max-height: 90vh;
  background: var(--lwp-modern-bg);
  border-radius: 20px;
  box-shadow: var(--lwp-modern-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--lwp-modern-font);
  color: var(--lwp-modern-ink);
  animation: lwpModernPanelIn 0.45s ease;
}

.lwp-modern-popup__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 100, 25, 0.12), transparent 45%),
    radial-gradient(circle at 88% 0%, rgba(42, 157, 143, 0.12), transparent 45%);
  pointer-events: none;
}

.lwp-modern-popup__hero {
  background: linear-gradient(135deg, #2a9d8f 0%, #f4a261 100%);
  padding: 28px 32px;
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
  color: #fff;
}

.lwp-modern-popup__hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.lwp-modern-popup__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.lwp-modern-popup__heading h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.lwp-modern-popup__subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: 0.9;
}

.lwp-modern-popup__body {
    padding: 24px 32px 32px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
}

.lwp-modern-popup__search {
  background: var(--lwp-modern-surface);
  border: 1px solid var(--lwp-modern-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lwp-modern-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lwp-modern-muted);
}

.lwp-modern-search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.lwp-modern-search-row input {
  width: 100%;
  border: 1px solid var(--lwp-modern-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--lwp-modern-font);
  background: #fff;
  color: var(--lwp-modern-ink);
}

.lwp-modern-search-row input:focus {
  outline: none;
  border-color: var(--lwp-modern-accent-2);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.2);
}

.lwp-modern-button {
  border: none;
  background: var(--lwp-modern-accent);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lwp-modern-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(242, 100, 25, 0.25);
}

.lwp-modern-ghost-button {
  border: 1px dashed var(--lwp-modern-border);
  background: transparent;
  color: var(--lwp-modern-muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lwp-modern-ghost-button:hover {
  border-color: var(--lwp-modern-accent-2);
  color: var(--lwp-modern-accent-2);
}

.lwp-modern-search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lwp-modern-status {
  font-size: 13px;
  color: var(--lwp-modern-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lwp-modern-status[data-state="loading"]::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--lwp-modern-accent-2);
  border-right-color: transparent;
  animation: lwpModernSpin 0.8s linear infinite;
}

.lwp-modern-status[data-state="error"] {
  color: #b9382f;
}

.lwp-modern-status[data-state="ready"] {
  color: #1d675a;
}

.lwp-modern-suggestions {
  border: 1px solid var(--lwp-modern-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.12);
  max-height: 220px;
  overflow-y: auto;
}

.lwp-modern-suggestion {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0ebe2;
  font-size: 13px;
  color: var(--lwp-modern-ink);
}

.lwp-modern-suggestion:last-child {
  border-bottom: none;
}

.lwp-modern-suggestion:hover {
  background: #f8f2e8;
}

.lwp-modern-popup__results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lwp-modern-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.lwp-modern-section-header h3,
.lwp-modern-section-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.lwp-modern-section-header--compact h4 {
  font-size: 16px;
}

.lwp-modern-origin {
  display: inline-flex;
  margin-top: 4px;
  font-size: 13px;
  color: var(--lwp-modern-muted);
}

.lwp-modern-featured,
.lwp-modern-list {
  display: grid;
  gap: 14px;
}

.lwp-modern-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.lwp-modern-card {
  background: var(--lwp-modern-surface);
  border: 1px solid var(--lwp-modern-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.08);
  animation: lwpModernFadeUp 0.4s ease both;
  animation-delay: calc(var(--stagger) * 0.05s);
  overflow: hidden;
}

.lwp-modern-card--simple {
  padding: 0;
}

.lwp-modern-card--featured {
  border-color: rgba(42, 157, 143, 0.4);
  box-shadow: 0 16px 34px rgba(42, 157, 143, 0.18);
}

.lwp-modern-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lwp-modern-card__headline {
  flex: 1;
}

.lwp-modern-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f3ede3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  color: var(--lwp-modern-accent-2);
}

.lwp-modern-card__logo--placeholder {
  background: #efe6da;
}

.lwp-modern-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lwp-modern-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lwp-modern-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.lwp-modern-card__select {
  border: none;
  background: none;
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.lwp-modern-card__select:focus-visible {
  outline: 2px solid rgba(42, 157, 143, 0.6);
  outline-offset: -6px;
  border-radius: 12px;
}

.lwp-modern-popup--simple .lwp-modern-card__logo {
  width: 42px;
  height: 42px;
}

.lwp-modern-popup--simple .lwp-modern-card__title {
  font-size: 15px;
}

/* Classic Popup Styles */
#lwp-store-selector-modal.lwp-classic-popup,
.lwp-store-selector-modal.lwp-classic-popup {
  background: rgba(10, 16, 24, 0.55);
}

.lwp-classic-popup {
  --lwp-classic-bg: #fbf8f2;
  --lwp-classic-surface: #ffffff;
  --lwp-classic-ink: #1f1b16;
  --lwp-classic-muted: #5b5248;
  --lwp-classic-accent: #8b5e34;
  --lwp-classic-border: #e7dccb;
  --lwp-classic-font-title: 'Libre Baskerville', 'Times New Roman', serif;
  --lwp-classic-font-body: 'Space Grotesk', 'Trebuchet MS', sans-serif;
}

.lwp-classic-popup__panel {
  width: min(900px, 92vw);
  max-height: 90vh;
  background: var(--lwp-classic-bg);
  border-radius: 16px;
  border: 1px solid var(--lwp-classic-border);
  box-shadow: 0 20px 45px rgba(20, 20, 20, 0.18);
  display: flex;
  flex-direction: column;
  padding: 22px 26px 24px;
  font-family: var(--lwp-classic-font-body);
  color: var(--lwp-classic-ink);
}

.lwp-classic-popup__header {
  margin-bottom: 18px;
}

.lwp-classic-popup__title {
  margin: 0 0 6px;
  font-size: 26px;
  font-family: var(--lwp-classic-font-title);
  font-weight: 700;
  color: var(--lwp-classic-ink);
}

.lwp-classic-popup__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--lwp-classic-muted);
}

.lwp-classic-popup__search {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.lwp-classic-popup__search label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lwp-classic-muted);
  font-weight: 600;
}

.lwp-classic-popup__search input {
  border: 1px solid var(--lwp-classic-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--lwp-classic-font-body);
  background: var(--lwp-classic-surface);
}

.lwp-classic-popup__search input:focus {
  outline: none;
  border-color: var(--lwp-classic-accent);
  box-shadow: 0 0 0 3px rgba(139, 94, 52, 0.15);
}

.lwp-classic-popup__status {
  font-size: 13px;
  color: var(--lwp-classic-muted);
  margin-bottom: 10px;
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lwp-classic-popup__status[data-state="loading"]::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--lwp-classic-accent);
  border-right-color: transparent;
  animation: lwpModernSpin 0.8s linear infinite;
}

.lwp-classic-popup__status[data-state="error"] {
  color: #a13b2c;
}

.lwp-classic-popup__status[data-state="approximate"] {
  color: #7a5a3a;
}

.lwp-classic-popup__status[data-state="ready"] {
  color: #1c5a47;
}

.lwp-classic-popup__list {
  background: var(--lwp-classic-surface);
  border: 1px solid var(--lwp-classic-border);
  border-radius: 12px;
  padding: 8px;
  overflow-y: auto;
  min-height: 180px;
  max-height: 48vh;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lwp-classic-location {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.lwp-classic-location:hover {
  border-color: var(--lwp-classic-border);
  background: #f6efe4;
}

.lwp-classic-location.selected {
  border-color: var(--lwp-classic-accent);
  background: rgba(139, 94, 52, 0.08);
}

.lwp-classic-location__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1e7d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--lwp-classic-accent);
  overflow: hidden;
  flex-shrink: 0;
}

.lwp-classic-location__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lwp-classic-location__info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.lwp-classic-location__title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lwp-classic-location__status {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.lwp-classic-location__status--open {
  background: #e2f3ea;
  color: #1c5a47;
}

.lwp-classic-location__status--closed {
  background: #f9e0dc;
  color: #a13b2c;
}

.lwp-classic-location__distance {
  font-size: 11px;
  font-weight: 600;
  color: var(--lwp-classic-muted);
}

.lwp-classic-location__distance.has-distance {
  color: var(--lwp-classic-accent);
}

.lwp-classic-location__address {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--lwp-classic-muted);
}

.lwp-classic-select {
  border: 1px solid var(--lwp-classic-border);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lwp-classic-accent);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lwp-classic-select:hover {
  border-color: var(--lwp-classic-accent);
  background: rgba(139, 94, 52, 0.12);
}

.lwp-classic-empty {
  padding: 18px;
  text-align: center;
  color: var(--lwp-classic-muted);
  font-size: 13px;
}

.lwp-classic-popup__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.lwp-classic-popup__footer #lwp-store-selector-submit {
  background: var(--lwp-classic-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}

/* Location Info Popup (Tabs/Grid/Compact) */
#lwp-store-selector-modal.lwp-location-info-popup,
.lwp-store-selector-modal.lwp-location-info-popup {
  background: rgba(9, 15, 20, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lwp-location-info-popup {
  --lwp-layout-bg: #f6f3ee;
  --lwp-layout-surface: #ffffff;
  --lwp-layout-ink: #1f2a2a;
  --lwp-layout-muted: #6b6b63;
  --lwp-layout-accent: #0f766e;
  --lwp-layout-border: #e5e2da;
  --lwp-layout-font: 'Space Grotesk', 'Trebuchet MS', sans-serif;
}

.lwp-location-info-popup__panel {
  width: min(1100px, 94vw);
  max-height: 90vh;
  background: var(--lwp-layout-bg);
  border-radius: 18px;
  border: 1px solid var(--lwp-layout-border);
  box-shadow: 0 22px 50px rgba(20, 25, 23, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--lwp-layout-font);
  color: var(--lwp-layout-ink);
}

.lwp-location-info-popup__header {
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(245, 158, 11, 0.16));
  border-bottom: 1px solid var(--lwp-layout-border);
}

.lwp-location-info-popup__title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
}

.lwp-location-info-popup__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--lwp-layout-muted);
}

.lwp-location-info-popup__content {
  padding: 18px 24px 24px;
  overflow-y: auto;
}

.lwp-location-info-popup__footer {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--lwp-layout-border);
  display: flex;
  justify-content: flex-end;
}

.lwp-location-info-popup__footer #lwp-store-selector-submit {
  background: var(--lwp-layout-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}

.lwp-location-info-popup__empty {
  margin: 0;
  font-size: 14px;
  color: var(--lwp-layout-muted);
}

.lwp-location-info-popup .mulopimfwc-shortcode-locations-wrapper {
  margin: 0;
}

.lwp-location-info-popup .mulopimfwc-tabbed-locations-wrapper,
.lwp-location-info-popup .mulopimfwc-grid-locations-wrapper {
  background: transparent;
  padding: 0;
}

.lwp-location-info-popup .mulopimfwc-shortcode-header {
  margin-bottom: 16px;
}

.lwp-location-info-popup .mulopimfwc-locations-heading {
  font-size: 20px;
}

.lwp-location-info-popup .mulopimfwc-locations-tabs-container {
  border-radius: 14px;
  border: 1px solid var(--lwp-layout-border);
  box-shadow: none;
}

.lwp-location-info-popup .mulopimfwc-tabs-sidebar {
  max-height: 60vh;
}

.lwp-location-info-popup .mulopimfwc-tabs-content {
  min-height: 480px;
}

.lwp-location-info-popup .mulopimfwc-map-info-overlay {
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.18);
}

.lwp-location-info-popup .mulopimfwc-tab-item::before {
  background: var(--lwp-layout-accent);
}

.lwp-location-info-popup .mulopimfwc-tab-item.active {
  border-left-color: var(--lwp-layout-accent);
}

.lwp-location-info-popup .mulopimfwc-tab-item.is-selected {
  box-shadow: inset 4px 0 0 var(--lwp-layout-accent);
}

.lwp-location-info-popup .mulopimfwc-grid-location-item {
  cursor: pointer;
}

.lwp-location-info-popup .mulopimfwc-grid-location-item.is-selected .mulopimfwc-location-compact {
  border-color: var(--lwp-layout-accent);
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.18);
}

.lwp-location-info-popup--compact .mulopimfwc-locations-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 700px) {
  .lwp-location-info-popup__panel {
    border-radius: 14px;
  }

  .lwp-location-info-popup__header {
    padding: 18px;
  }

  .lwp-location-info-popup__content {
    padding: 16px;
  }

  .lwp-location-info-popup__footer {
    padding: 12px 16px 18px;
  }

  .lwp-location-info-popup .mulopimfwc-tabs-content {
    min-height: 360px;
  }

  .lwp-classic-popup__panel {
    padding: 18px;
  }

  .lwp-classic-location {
    grid-template-columns: auto 1fr;
  }

  .lwp-classic-select {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
}

.lwp-modern-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.lwp-modern-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5efe6;
  color: var(--lwp-modern-muted);
  font-size: 12px;
  font-weight: 600;
}

.lwp-modern-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.lwp-modern-status-badge--open {
  background: #daf4ec;
  color: #1d675a;
}

.lwp-modern-status-badge--closed {
  background: #fbe3df;
  color: #b9382f;
}

.lwp-modern-card__address {
  font-size: 13px;
  color: var(--lwp-modern-muted);
  line-height: 1.4;
}

.lwp-modern-card__meta {
  font-size: 12px;
  color: var(--lwp-modern-muted);
}

.lwp-modern-card__meta-label {
  font-weight: 600;
  color: var(--lwp-modern-ink);
}

.lwp-modern-card__actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

.lwp-modern-location-select {
  border: none;
  background: var(--lwp-modern-accent-2);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lwp-modern-card--simple .lwp-modern-location-select{
  background: #fff;
}

.lwp-modern-location-select:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(42, 157, 143, 0.25);
}

.lwp-modern-empty {
  background: var(--lwp-modern-surface);
  border: 1px dashed var(--lwp-modern-border);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: var(--lwp-modern-muted);
  text-align: center;
}

@keyframes lwpModernPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lwpModernFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lwpModernSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .lwp-modern-popup__hero {
    padding: 24px;
  }

  .lwp-modern-popup__body {
    grid-template-columns: 1fr;
    padding: 20px 22px 24px;
  }

  .lwp-modern-search-row {
    flex-direction: column;
  }

  .lwp-modern-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .lwp-modern-popup__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .lwp-modern-popup__panel {
    border-radius: 16px;
  }
}

/* Header Dropdown */
#lwp-header-store-selector {
  display: inline-block;
  margin-left: 20px;
}

#lwp-store-selector-header {
  padding: 5px;
}

/* Shortcode Styles */
.lwp-shortcode-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.lwp-selector-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lwp-location-dropdown {
  flex: 1;
  min-width: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.lwp-shortcode-submit {
  padding: 8px 15px;
  background-color: #0071a1;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lwp-shortcode-submit:hover {
  background-color: #005f87;
}

@media (max-width: 480px) {
  .lwp-selector-form {
    flex-direction: column;
  }

  .lwp-location-dropdown,
  .lwp-shortcode-submit {
    width: 100%;
  }
}

.location-loop-details {
  margin: 8px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.stock-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.stock-badge.in-stock {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.stock-badge.out-of-stock {
  background-color: #ffebee;
  color: #c62828;
}

.stock-badge.on-backorder {
  background-color: #fff3e0;
  color: #ef6c00;
}

.location-price-loop {
  font-size: 14px;
}

.location-price-loop small {
  opacity: 0.7;
}

.location-specific-info {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.location-specific-info h4 {
  margin-top: 0;
  color: #333;
  font-size: 16px;
  margin-bottom: 10px;
}

.location-stock,
.location-price {
  margin-bottom: 8px;
}

.in-stock {
  color: #7cb342;
  font-weight: bold;
}

.out-of-stock {
  color: #d32f2f;
  font-weight: bold;
}

.on-backorder {
  color: #ff9800;
  font-weight: bold;
}

.location-specific-info-loop {
  font-size: 13px;
  margin: 5px 0;
}

.location-stock-loop {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  background-color: #f8f8f8;
}

.product-location-unavailable {
  margin: 15px 0;
  padding: 15px;
  background-color: #f8d7da;
  border-left: 5px solid #dc3545;
  color: #721c24;
  font-weight: bold;
}
.unavailable-notice {
  margin: 0;
  font-size: 16px;
}
.button.unavailable-product {
  background-color: #f5f5f5 !important;
  color: #888 !important;
  cursor: not-allowed;
  border: 1px solid #ddd !important;
}

.select2-container--open {
  z-index: 99999;
}
.select2-selection__rendered {
  text-align: left;
}
form#lwp-store-selector-form-modal > div,
form#lwp-store-selector-form-modal > select,
form#lwp-store-selector-form-modal > .select2 {
  margin-bottom: 1rem;
}
form#lwp-store-selector-form-modal > div * {
  width: 100% !important;
}

/* Add this to your assets/css/style.css file */

.lwp-location-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lwp-popup-content {
  background-color: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lwp-popup-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lwp-popup-header h3 {
  margin: 0;
  font-size: 18px;
}

.lwp-close-popup {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.lwp-popup-body {
  flex: 1;
  overflow: auto;
}

.lwp-location-step {
  height: 100%;
}

.lwp-map-container {
  position: relative;
  height: 70vh;
}

.lwp-location-map {
  height: 100%;
  width: 100%;
}

.lwp-map-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  z-index: 99999999999999999;
}

.lwp-location-details {
  padding: 20px;
  overflow-y: auto;
  height: 75vh;
  max-height: min-content;
  scrollbar-width: thin;
}

.lwp-details-header {
  margin-bottom: 20px;
}

.lwp-details-header h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.lwp-address-preview {
  margin: 0;
  color: #666;
  font-size: 14px;
  display: inline-block;
}

.lwp-form-group {
  margin-bottom: 15px;
}

.lwp-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.lwp-form-group input,
.lwp-form-group select,
.lwp-form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.lwp-form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.lwp-form-actions .button {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.lwp-form-actions .button-primary {
  background-color: #0073aa;
  color: white;
  border: none;
}

.lwp-form-actions .button-primary:hover {
  background-color: #005a87;
}

.lwp-user-location-features {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.lwp-saved-locations-dropdown {
  flex: 1;
}

.lwp-saved-locations-dropdown label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.lwp-saved-locations {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Add this to your assets/css/style.css file */

/* Address content button */
.address-content {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.address-content:hover {
  background-color: #f5f5f5;
}

.address-label-icon {
  margin-right: 8px;
}

.header-order-button-content {
  font-weight: 500;
}

/* Tooltip popup */
.lwp-location-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 5px;
}

.bds-c-modal__content {
  padding: 16px;
}

.where-component-search-form {
  margin-bottom: 16px;
}

.LocationSearchForm-component {
  display: flex;
  flex-direction: column;
}

.search-form {
  display: flex;
  flex-direction: row;
}

.address-search-container {
  flex: 1;
}

.validation-wrapper {
  position: relative;
}

.search-input-container {
  position: relative;
}

.search-input-container input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-input-container label {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.2s;
}

.search-input-container input:focus + label,
.search-input-container input:not(:placeholder-shown) + label {
  top: -8px;
  left: 8px;
  font-size: 12px;
  background-color: #fff;
  padding: 0 4px;
}

.bds-c-btn-circular-cursor {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.bds-c-btn-circular {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.bds-c-btn-circular:hover {
  background-color: #f5f5f5;
}

.location-search-button-Mweb {
  margin-top: 12px;
}

.location-search-go-icon {
  width: 100%;
}

.saved-address-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.saved-address-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.saved-address-list-item-container {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.saved-address-list-item-container:hover {
  background-color: #f5f5f5;
}

.saved-address-list-item-container.focused {
  background-color: #f0f7ff;
  border: 1px solid #0073aa;
}

.saved-address-icon {
  margin-right: 12px;
}

.saved-address-list-item {
  flex: 1;
}

.two-lines {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-address-tooltip {
  margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .lwp-location-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    max-height: 80vh;
    overflow-y: auto;
  }
}

.mulopimfwc-product-location-selector-wrapper {
    display: block;
    clear: both;
    padding-bottom: 14px;
}

/* Grouped Cart Styles */
.mulopimfwc-grouped-cart {
    margin-bottom: 2rem;
}

.mulopimfwc-location-group {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mulopimfwc-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mulopimfwc-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mulopimfwc-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-location-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-location-items {
    padding: 0;
}

.mulopimfwc-location-items .shop_table {
    margin: 0;
    border: none;
    border-radius: 0;
}

.mulopimfwc-location-items .shop_table thead th {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #555;
    padding: 12px 15px;
}

.mulopimfwc-location-items .shop_table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.mulopimfwc-location-items .shop_table tbody tr:last-child {
    border-bottom: none;
}

.mulopimfwc-location-items .shop_table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.mulopimfwc-location-items .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.mulopimfwc-location-items .product-name {
    font-weight: 500;
}

.mulopimfwc-location-items .product-name a {
    color: #333;
    text-decoration: none;
}

.mulopimfwc-location-items .product-name a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-location-items .product-price {
    font-weight: 600;
    color: #333;
}

.mulopimfwc-location-items .product-subtotal {
    font-weight: 600;
    color: #333;
}

.mulopimfwc-location-items .product-remove a {
    color: #dc3545;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.mulopimfwc-location-items .product-remove a:hover {
    background: #dc3545;
    color: #fff;
}

/* Responsive adjustments for grouped cart */
@media (max-width: 768px) {
    .mulopimfwc-location-header {
        padding: 12px 15px;
    }
    
    .mulopimfwc-location-name {
        font-size: 16px;
    }
    
    .mulopimfwc-location-items .shop_table thead {
        display: none;
    }
    
    .mulopimfwc-location-items .shop_table tbody tr {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        background: #fff;
    }
    
    .mulopimfwc-location-items .shop_table tbody td {
        display: block;
        padding: 5px 0;
        border: none;
        text-align: left;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-thumbnail {
        float: left;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-name {
        clear: right;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-price,
    .mulopimfwc-location-items .shop_table tbody .product-quantity,
    .mulopimfwc-location-items .shop_table tbody .product-subtotal {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .mulopimfwc-location-items .shop_table tbody .product-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

/* Cart location notice styling */
.mulopimfwc-cart-location-notice {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: #0066cc;
}

.mulopimfwc-cart-location-notice strong {
    color: #004499;
}

/* Cart actions styling for grouped cart */
.mulopimfwc-grouped-cart .actions {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: right;
}

.mulopimfwc-grouped-cart .actions .button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.mulopimfwc-grouped-cart .actions .button:hover {
    background: #005a87;
}

@media (max-width: 768px) {
    .mulopimfwc-grouped-cart .actions {
        text-align: center;
    }
    
    .mulopimfwc-grouped-cart .actions .button {
        width: 100%;
        max-width: 200px;
    }
}

/* Grouped Checkout Cart Styles */
.mulopimfwc-grouped-checkout-cart {
    margin-bottom: 2rem;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-group {
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-grouped-checkout-cart .mulopimfwc-location-items {
    padding: 0;
}

.mulopimfwc-grouped-checkout-cart .shop_table {
    margin: 0;
    border: none;
    border-radius: 0;
}

.mulopimfwc-grouped-checkout-cart .shop_table thead th {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #555;
    padding: 10px 15px;
    font-size: 14px;
}

.mulopimfwc-grouped-checkout-cart .shop_table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.mulopimfwc-grouped-checkout-cart .shop_table tbody tr:last-child {
    border-bottom: none;
}

.mulopimfwc-grouped-checkout-cart .shop_table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

.mulopimfwc-grouped-checkout-cart .product-name {
    font-weight: 500;
}

.mulopimfwc-grouped-checkout-cart .product-name a {
    color: #333;
    text-decoration: none;
}

.mulopimfwc-grouped-checkout-cart .product-name a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-grouped-checkout-cart .product-total {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.mulopimfwc-grouped-checkout-cart .product-quantity {
    color: #666;
    font-size: 13px;
}

/* Responsive adjustments for grouped checkout cart */
@media (max-width: 768px) {
    .mulopimfwc-grouped-checkout-cart .mulopimfwc-location-header {
        padding: 10px 12px;
    }
    
    .mulopimfwc-grouped-checkout-cart .mulopimfwc-location-name {
        font-size: 14px;
    }
    
    .mulopimfwc-grouped-checkout-cart .shop_table thead {
        display: none;
    }
    
    .mulopimfwc-grouped-checkout-cart .shop_table tbody tr {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        margin-bottom: 10px;
        padding: 12px;
        background: #fff;
    }
    
    .mulopimfwc-grouped-checkout-cart .shop_table tbody td {
        display: block;
        padding: 5px 0;
        border: none;
        text-align: left;
    }
    
    .mulopimfwc-grouped-checkout-cart .product-total {
        text-align: left;
        font-weight: 600;
        margin-top: 8px;
    }
}

/* Grouped Mini Cart Styles */
.mulopimfwc-grouped-mini-cart {
    margin-bottom: 1rem;
}

.mulopimfwc-mini-location-group {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.mulopimfwc-mini-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-mini-location-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mulopimfwc-mini-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mulopimfwc-mini-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-mini-location-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-mini-location-items {
    padding: 0;
}

.mulopimfwc-mini-location-items .mini_cart_item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.mulopimfwc-mini-location-items .mini_cart_item:last-child {
    border-bottom: none;
}

.mulopimfwc-mini-location-items .mini_cart_item .remove {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #dc3545;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.mulopimfwc-mini-location-items .mini_cart_item .remove:hover {
    background: #dc3545;
    color: #fff;
}

.mulopimfwc-mini-location-items .mini_cart_item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    float: left;
}

.mulopimfwc-mini-location-items .mini_cart_item_details {
    margin-left: 50px;
    padding-right: 30px;
}

.mulopimfwc-mini-location-items .mini_cart_item_details a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.mulopimfwc-mini-location-items .mini_cart_item_details a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-mini-location-items .mini_cart_item_quantity {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.mulopimfwc-mini-location-items .mini_cart_item_quantity .quantity {
    font-weight: 600;
}

/* Responsive adjustments for grouped mini cart */
@media (max-width: 768px) {
    .mulopimfwc-mini-location-header {
        padding: 6px 10px;
    }
    
    .mulopimfwc-mini-location-name {
        font-size: 12px;
    }
    
    .mulopimfwc-mini-location-items .mini_cart_item {
        padding: 8px 10px;
    }
    
    .mulopimfwc-mini-location-items .mini_cart_item img {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .mulopimfwc-mini-location-items .mini_cart_item_details {
        margin-left: 43px;
        padding-right: 25px;
    }
}

/* Grouped Cart Block Styles */
.mulopimfwc-grouped-cart-block {
    margin-bottom: 2rem;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-group {
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-group:last-child {
    margin-bottom: 0;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-header, .mulopimfwc-group-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mulopimfwc-group-header {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: .75rem 0 .25rem;
	padding: .375rem .5rem;
	font-weight: 600;
	border-radius: .5rem;
}

.mulopimfwc-location-icon {
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-icon svg {
    width: 100%;
    height: 100%;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.mulopimfwc-grouped-cart-block .mulopimfwc-location-items {
    padding: 0;
}

.mulopimfwc-grouped-cart-block .woocommerce-cart-form__cart-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.mulopimfwc-grouped-cart-block .woocommerce-cart-form__cart-item:last-child {
    border-bottom: none;
}

.mulopimfwc-grouped-cart-block .product-remove {
    flex-shrink: 0;
}

.mulopimfwc-grouped-cart-block .product-remove a {
    color: #dc3545;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.2s;
}

.mulopimfwc-grouped-cart-block .product-remove a:hover {
    background: #dc3545;
    color: #fff;
}

.mulopimfwc-grouped-cart-block .product-thumbnail {
    flex-shrink: 0;
}

.mulopimfwc-grouped-cart-block .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.mulopimfwc-grouped-cart-block .product-name {
    flex: 1;
    font-weight: 500;
}

.mulopimfwc-grouped-cart-block .product-name a {
    color: #333;
    text-decoration: none;
}

.mulopimfwc-grouped-cart-block .product-name a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.mulopimfwc-grouped-cart-block .product-price {
    flex-shrink: 0;
    font-weight: 600;
    color: #333;
    min-width: 80px;
    text-align: right;
}

.mulopimfwc-grouped-cart-block .product-quantity {
    flex-shrink: 0;
    min-width: 100px;
}

.mulopimfwc-grouped-cart-block .product-subtotal {
    flex-shrink: 0;
    font-weight: 600;
    color: #333;
    min-width: 100px;
    text-align: right;
}

/* Widget Location Styles */
.mulopimfwc-widget-location {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 5px 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mulopimfwc-widget-location-icon {
    font-size: 14px;
}

/* Responsive adjustments for cart block */
@media (max-width: 768px) {
    .mulopimfwc-grouped-cart-block .mulopimfwc-location-header {
        padding: 12px 15px;
    }
    
    .mulopimfwc-grouped-cart-block .mulopimfwc-location-name {
        font-size: 16px;
    }
    
    .mulopimfwc-grouped-cart-block .woocommerce-cart-form__cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .mulopimfwc-grouped-cart-block .product-thumbnail {
        align-self: flex-start;
    }
    
    .mulopimfwc-grouped-cart-block .product-thumbnail img {
        width: 50px;
        height: 50px;
    }
    
    .mulopimfwc-grouped-cart-block .product-name {
        width: 100%;
    }
    
    .mulopimfwc-grouped-cart-block .product-price,
    .mulopimfwc-grouped-cart-block .product-quantity,
    .mulopimfwc-grouped-cart-block .product-subtotal {
        width: 100%;
        text-align: left;
        min-width: auto;
    }
    
    .mulopimfwc-grouped-cart-block .product-remove {
        position: absolute;
        top: 12px;
        right: 15px;
    }
}



/* Location Business Hours Restriction Styles */

/* Closed location notice on single product */
.mulopimfwc-closed-location-notice {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.mulopimfwc-closed-location-notice strong {
    font-weight: 600;
}

/* Disabled add to cart button when location closed */
.single-product .product .cart .button.disabled,
.single-product .product .cart .button:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.65;
}

/* Shop page closed notice */
.woocommerce-info.mulopimfwc-shop-closed {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

/* Disable add to cart buttons in loops when closed */
.woocommerce ul.products li.product .button.disabled,
.woocommerce ul.products li.product .button:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.65;
    pointer-events: none;
}

/* Add visual indicator for closed products */
.mulopimfwc-location-closed .product {
    position: relative;
    opacity: 0.7;
}

.mulopimfwc-location-closed .product::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

/* Closed badge overlay */
.mulopimfwc-closed-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mulopimfwc-closed-location-notice {
        padding: 12px;
        font-size: 13px;
    }
    
    .mulopimfwc-closed-badge {
        top: 5px;
        right: 5px;
        padding: 4px 8px;
        font-size: 11px;
    }
}



/* transfer cost style */

.mulopimfwc-transfer-cost-notice {
    background: #e0f2fe;
    border-left: 4px solid #3b82f6;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.mulopimfwc-transfer-cost-notice svg {
    color: #3b82f6;
}

.mulopimfwc-order-transfer-costs table {
    margin-top: 10px;
    width: 100%;
}

.mulopimfwc-order-transfer-costs th,
.mulopimfwc-order-transfer-costs td {
    padding: 10px;
    text-align: left;
}

.mulopimfwc-order-transfer-costs thead {
    background: #f1f5f9;
}

.mulopimfwc-order-transfer-costs tbody tr:hover {
    background: #f8fafc;
}

.mulopimfwc-location-info-wrapper a {
    text-decoration: none !important;
}








/* Lightbox Container */
.mulopimfwc-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mulopimfwc-lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* Overlay */
.mulopimfwc-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Content Container */
.mulopimfwc-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* Close Button */
.mulopimfwc-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mulopimfwc-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mulopimfwc-lightbox-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Navigation Buttons */
.mulopimfwc-lightbox-prev,
.mulopimfwc-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
}

.mulopimfwc-lightbox-prev {
  left: 20px;
}

.mulopimfwc-lightbox-next {
  right: 20px;
}

.mulopimfwc-lightbox-prev:hover,
.mulopimfwc-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.mulopimfwc-lightbox-prev:active,
.mulopimfwc-lightbox-next:active {
  transform: translateY(-50%) scale(1.05);
}

.mulopimfwc-lightbox-prev svg,
.mulopimfwc-lightbox-next svg {
  width: 24px;
  height: 24px;
  opacity: 0.9;
  transform: translate(-50%, -10%);
}

/* Image Wrapper */
.mulopimfwc-lightbox-image-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image */
.mulopimfwc-lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

/* Loader */
.mulopimfwc-lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
}

.mulopimfwc-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Counter */
.mulopimfwc-lightbox-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 25px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mulopimfwc-lightbox-current {
  font-weight: 700;
  font-size: 16px;
}

.mulopimfwc-lightbox-total {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mulopimfwc-lightbox-content {
    width: 95%;
    height: 95vh;
  }

  .mulopimfwc-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .mulopimfwc-lightbox-prev,
  .mulopimfwc-lightbox-next {
    width: 44px;
    height: 44px;
  }

  .mulopimfwc-lightbox-prev {
    left: 10px;
  }

  .mulopimfwc-lightbox-next {
    right: 10px;
  }

  .mulopimfwc-lightbox-counter {
    bottom: 20px;
    font-size: 13px;
    padding: 8px 16px;
  }

  .mulopimfwc-lightbox-current {
    font-size: 15px;
  }

  .mulopimfwc-lightbox-image {
    max-height: 80vh;
  }
}

@media (max-width: 480px) {
  .mulopimfwc-lightbox-prev,
  .mulopimfwc-lightbox-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
  }

  .mulopimfwc-lightbox-prev svg,
  .mulopimfwc-lightbox-next svg {
    width: 20px;
    height: 20px;
  }
}

/* Accessibility */
.mulopimfwc-lightbox-close:focus,
.mulopimfwc-lightbox-prev:focus,
.mulopimfwc-lightbox-next:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Animation for image transition */
.mulopimfwc-lightbox-image.fade-out {
  opacity: 0;
}

.mulopimfwc-lightbox-image.fade-in {
  opacity: 1;
}
.mulopimfwc-buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.plugincy-btn-secondary {
    border: 1px solid;
    background: none;
    color: #334155;
}