/* DealIndia Custom CSS - Responsive & Premium Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #1e68d7;
  --primary-blue-hover: #1557b7;
  --accent-yellow: #fbc02d;
  --accent-yellow-hover: #f9a825;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --card-border: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(30, 104, 215, 0.05), 0 4px 6px -2px rgba(30, 104, 215, 0.02);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 16px -6px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 20px 25px -5px rgba(30, 104, 215, 0.1), 0 10px 10px -6px rgba(30, 104, 215, 0.05);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-page-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.home-page-loader.is-active {
  display: block;
}

.home-page-loader__overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
}

.home-page-loader__spinner {
  width: 3rem;
  height: 3rem;
}

.home-page-loader__text {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Header Section (BEM: .header) --- */
.header {
  background-color: var(--primary-blue);
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.header__search {
  position: relative;
  flex-grow: 1;
  max-width: 680px;
}

.header__search-input {
  width: 100%;
  padding: 0.75rem 1.25rem 0.75rem 3rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid transparent;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.header__search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.header__search-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), var(--shadow-md);
}

.header__search-btn {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.header__search-btn:hover {
  color: var(--primary-blue);
}

.header__search-form {
  position: relative;
}

.header__search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.header__search-input--with-chip {
  padding-left: 8.5rem;
}

.header-search__brand-chip {
  position: absolute;
  left: 2.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 7.5rem;
  padding: 0.2rem 0.55rem;
  border: none;
  border-radius: 999px;
  background-color: rgba(30, 104, 215, 0.12);
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.header-search__brand-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search__brand-chip i {
  font-size: 0.65rem;
  flex-shrink: 0;
}

.header-search__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 1200;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
}

.header-search__section + .header-search__section {
  border-top: 1px solid var(--card-border);
}

.header-search__section-title {
  padding: 0.65rem 1rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header-search__item {
  width: 100%;
  border: none;
  background: none;
  padding: 0.75rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.header-search__item:hover,
.header-search__item.is-active {
  background-color: #f1f5f9;
}

.header-search__item-icon {
  color: var(--text-muted);
  font-size: 0.85rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.header-search__item-text {
  font-size: 0.95rem;
  line-height: 1.35;
}

.header-search__item-text strong {
  font-weight: 700;
}

.header-search__empty {
  padding: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.header-search__footer {
  border-top: 1px solid var(--card-border);
}

.header-search__see-all {
  width: 100%;
  border: none;
  background: none;
  padding: 0.85rem 1rem;
  min-height: 44px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-blue);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.header-search__see-all:hover,
.header-search__see-all.is-active {
  background-color: #f1f5f9;
}

@media (max-width: 767.98px) {
  .header__search-input--with-chip {
    padding-left: 7.5rem;
  }

  .header-search__brand-chip {
    max-width: 5.5rem;
    left: 2.5rem;
  }
}

.header__city {
  position: relative;
}

.header__city-btn {
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: auto;
  justify-content: center;
  transition: all var(--transition-fast);
}

.header__city-icon {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.9;
}

.header__city-btn::after {
  display: none;
  /* Hide default bootstrap chevron */
}

.header__city-btn:hover,
.header__city-btn:focus,
.header__city-btn[aria-expanded="true"] {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: none;
}

.header__city-chevron {
  font-size: 0.75rem;
  color: var(--white);
  opacity: 0.8;
  transition: transform var(--transition-fast);
}

.header__city-btn[aria-expanded="true"] .header__city-chevron {
  transform: rotate(180deg);
}

/* --- Hero Section (BEM: .hero) --- */
.hero {
  margin-top: 2rem;
}

.hero__carousel-inner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__banner {
  position: relative;
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 40%, rgba(15, 23, 42, 0.15) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 700px;
}

.hero__title {
  color: var(--white);
  font-size: 2.0rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom Carousel Controls */
.hero__control {
  width: auto;
  padding: 0;
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.hero__control:hover {
  opacity: 1;
}

.hero__control--prev {
  left: 2rem;
}

.hero__control--next {
  right: 2rem;
}

.hero__control-icon {
  color: var(--white);
  font-size: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Custom Carousel Indicators (Dots) */
.hero__indicators {
  margin-bottom: 1.5rem;
  z-index: 10;
}

.hero__indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 6px;
  transition: all var(--transition-fast);
}

.hero__indicators .active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* --- Partner Brands Section (BEM: .brands) --- */
.brands {
  margin-top: 3rem;
}

/* Common Section Heading Sizing & Colors */
.brands__title,
.retailers__title,
.brands-header__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.brands__title,
.retailers__title {
  margin-bottom: 1.5rem;
}

.brands-header__title {
  margin-bottom: 0;
}

.brand-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  height: 80px;
  max-width: 220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-decoration: none;
  padding: 0.75rem 1rem;
  overflow: hidden;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(30, 104, 215, 0.3);
}

.brand-card__content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.brand-card__logo {
  max-height: 48px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card__name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.brands__view-all-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brands__view-all-link i {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.brands__view-all-link:hover {
  color: var(--primary-blue-hover);
}

.brands__view-all-link:hover i {
  transform: translateX(4px);
}

/* --- Popular Retailers Section (BEM: .retailers) --- */
.retailers {
  margin-top: 3.5rem;
}

/* Common Card Base Structure & Shadow Transitions */
.retailer-card,
.brand-directory-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.retailer-card:hover,
.brand-directory-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(30, 104, 215, 0.2);
}

.retailer-card {
  border-radius: 20px;
  overflow: hidden;
  max-width: 350px;
  margin: 0 auto;
}

.brand-directory-card {
  border-radius: 16px;
  overflow: hidden;
}

.retailer-card__img-container {
  height: 260px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.retailer-card__img-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.retailer-card:hover .retailer-card__img-container::after {
  opacity: 0.85;
}

.retailer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.retailer-card:hover .retailer-card__img {
  transform: scale(1.05);
}

.retailer-card__img-container--placeholder::after {
  display: none;
}

.retailer-card__img--placeholder {
  object-fit: cover;
  padding: 0;
  transform: none !important;
}

.retailer-card__no-image-text {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.store-detail__profile-img--placeholder {
  object-fit: contain;
  background: #f8fafc;
  padding: 0.75rem;
}

.retailer-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.retailer-card__field {
  margin-bottom: 1rem;
  min-width: 0;
}

.retailer-card__field:last-of-type {
  margin-bottom: 1.5rem;
}

.retailer-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
  display: block;
}

.retailer-card__value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.retailer-card__value--bold {
  font-weight: 700;
  font-size: 1.0rem;
}

.retailer-card__value--truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Common Card Button Layout & Sizes */
.retailer-card__btn,
.brand-directory-card__btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  transition: all var(--transition-fast);
  margin-top: auto;
}

.retailer-card__btn,
.brand-directory-card__btn {
  background-color: var(--accent-yellow);
  color: #000000;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-transform: none;
  letter-spacing: 0.01em;
}

.retailer-card__btn:hover,
.retailer-card__btn:focus,
.brand-directory-card__btn:hover,
.brand-directory-card__btn:focus {
  background-color: var(--accent-yellow-hover);
  color: #000000;
  box-shadow: 0 4px 12px rgba(251, 192, 45, 0.3);
}

/* --- Footer --- */
.footer {
  background-color: #0f172a;
  color: var(--white);
  padding: 3rem 0 2rem 0;
  margin-top: 5rem;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer__text {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: 0.5rem;
}

.footer__link:hover {
  color: var(--accent-yellow);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__social-link i {
  width: 1.1rem;
  text-align: center;
  font-size: 1rem;
}

.footer__social-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer__social-link:hover {
  color: var(--accent-yellow);
}

.footer__copyright {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  margin-top: 2rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer__link-list {
  display: flex;
  flex-direction: column;
}

.footer__view-all {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--accent-yellow);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.footer__view-all:hover {
  color: #fff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  .hero__banner {
    height: 320px;
  }

  .hero__content {
    padding: 0 2.5rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .header__container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header__search {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .header__logo {
    order: 1;
  }

  .header__city {
    order: 2;
  }

  .hero__banner {
    height: 260px;
    border-radius: 12px;
  }

  .hero__content {
    padding: 0 1.5rem;
  }

  .hero__title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .header__container {
    justify-content: space-between;
  }

  .header__city-btn {
    min-width: auto;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  .brand-card {
    height: 80px;
  }
}

/*
@media (min-width: 992px) {
  .brands__view-all-link {
    display: none !important;
  }
}
*/

/* --- Breadcrumb Navigation --- */
.breadcrumb-container {
  background-color: transparent;
  overflow: hidden;
}

.breadcrumb {
  flex-wrap: wrap;
  min-width: 0;
}

.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--primary-blue);
}

.breadcrumb-item {
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 100%;
}

.breadcrumb-item--truncate {
  min-width: 0;
  max-width: min(280px, 45vw);
  overflow: hidden;
}

.breadcrumb-text--truncate {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.stores-page-heading-row {
  min-width: 0;
}

.stores-page-heading--truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  min-width: 0;
}

.breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-light);
  content: ">" !important;
  font-size: 0.8rem;
  font-weight: 700;
}

/* --- Sidebar Filters (.filter-card) --- */
.filter-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.filter-card__header {
  border-bottom: 1.5px solid var(--card-border);
  padding-bottom: 0.75rem;
}

.filter-card__title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text-dark);
}

.filter-card__reset-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-card__reset-btn:hover {
  color: var(--primary-blue);
  background-color: rgba(30, 104, 215, 0.08);
}

.filter-card__reset-btn:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.filter-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.filter-section__toggle {
  min-width: 0;
}

.filter-section__clear {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.filter-section__clear:hover {
  background-color: rgba(30, 104, 215, 0.08);
  color: var(--primary-blue-hover);
}

.filter-section__clear:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.filter-chips {
  margin-bottom: 0.85rem;
}

.filter-chips__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.filter-chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow-x: hidden;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(30, 104, 215, 0.22);
  background: rgba(30, 104, 215, 0.06);
  color: var(--primary-blue);
  border-radius: 999px;
  padding: 0.28rem 0.55rem 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  max-width: 100%;
  min-width: 0;
}

.filter-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

.filter-chip:hover {
  background: rgba(30, 104, 215, 0.12);
  border-color: rgba(30, 104, 215, 0.35);
}

.filter-chip:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.filter-chip__remove {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.75;
  flex-shrink: 0;
}

.filter-chip:hover .filter-chip__remove {
  opacity: 1;
}

.filter-group {
  margin-top: 1.5rem;
}

.filter-group__subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-card-spacer {
  height: 52px;
}

.filter-group__location {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Premium Custom Checkbox Styles */
.filter-checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.4rem;
  margin-left: -0.4rem;
  margin-right: -0.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  min-width: 0;
}

.filter-checkbox:hover {
  background-color: rgba(30, 104, 215, 0.04);
}

.filter-checkbox:focus-within .filter-checkbox__input {
  box-shadow: 0 0 0 3px rgba(30, 104, 215, 0.2);
}

.filter-checkbox:last-child {
  margin-bottom: 0;
}

.filter-checkbox__input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--card-border);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform 0.15s ease;
  background-color: var(--white);
  margin-top: 0.1rem;
}

.filter-checkbox__input:focus-visible {
  box-shadow: 0 0 0 3px rgba(30, 104, 215, 0.2);
}

.filter-checkbox__input:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.filter-checkbox__input::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--white);
  font-size: 0.65rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform var(--transition-fast) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-checkbox__input:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

.filter-checkbox__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-left: 0.75rem;
  cursor: pointer;
  user-select: none;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.filter-checkbox__label-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.filter-checkbox__input:hover {
  border-color: var(--primary-blue);
}

.filter-checkbox__input:checked:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
}

.filter-group__divider {
  border-top: 1px solid var(--card-border);
  margin: 0.75rem 0 1rem;
}

.filter-search-input {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.55rem 0.85rem 0.55rem 2.15rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 512 512' fill='%2394a3b8'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") no-repeat 0.75rem center;
  margin-bottom: 0.85rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-search-input:focus {
  outline: none;
  border-color: rgba(30, 104, 215, 0.45);
  box-shadow: 0 0 0 3px rgba(30, 104, 215, 0.12);
  background-color: var(--white);
}

.filter-list {
  overflow-x: hidden;
  overflow-y: visible;
  max-height: none;
}

.filter-list--scrollable {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.filter-list--scrollable::-webkit-scrollbar {
  width: 6px;
}

.filter-list--scrollable::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.filter-area-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.filter-area-list::-webkit-scrollbar {
  width: 6px;
}

.filter-area-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.filter-list__item--collapsed,
.filter-list__item--search-hidden {
  display: none;
}

.filter-checkbox__count {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(30, 104, 215, 0.08);
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.filter-toggle-btn:hover {
  background: rgba(30, 104, 215, 0.14);
  color: var(--primary-blue-hover);
}

.stores-results--loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

@media (max-width: 991.98px) {
  .filter-list--scrollable {
    max-height: 260px;
  }

  .filter-checkbox {
    padding: 0.45rem 0.4rem;
  }
}

/* --- Brand Directory Cards (.brand-directory-card) --- */
.brand-directory-card {
  padding: 2.25rem 1.75rem 2rem 1.75rem;
  align-items: center;
  position: relative;
  border-radius: 20px;
}

.brand-directory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(30, 104, 215, 0.08);
  border-color: rgba(30, 104, 215, 0.25);
}

.brand-directory-card__top {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-directory-card__logo-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  padding: 1rem;
  overflow: hidden;
}

.brand-directory-card__name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.brand-directory-card:hover .brand-directory-card__logo-container {
  background-color: var(--white);
  transform: scale(1.08);
  border-color: rgba(30, 104, 215, 0.2);
  box-shadow: 0 10px 20px rgba(30, 104, 215, 0.04);
}

.brand-directory-card__body {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}

.brand-directory-card__badge {
  background-color: rgba(30, 104, 215, 0.08);
  color: var(--primary-blue);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-directory-card__badge--deal {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.brand-directory-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.brand-directory-card__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.brand-directory-card__footer {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* --- Stores Page Specific Styles --- */
.cursor-pointer {
  cursor: pointer;
}

.filter-chevron {
  transition: transform var(--transition-fast);
}

[aria-expanded="false"] .filter-chevron {
  transform: rotate(180deg);
}

/* --- Pagination (Stores & Brands) --- */
.deal-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}

.deal-pagination__bar {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.deal-pagination__section {
  display: flex;
  align-items: center;
}

.deal-pagination__section--prev,
.deal-pagination__section--next {
  flex-shrink: 0;
}

.deal-pagination__section--pages {
  flex: 1;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.deal-pagination__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.deal-pagination__nav:hover {
  color: var(--primary-blue);
  background-color: rgba(30, 104, 215, 0.04);
}

.deal-pagination__nav--disabled {
  color: var(--text-light);
  cursor: not-allowed;
  pointer-events: none;
}

.deal-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.deal-pagination__page:hover {
  color: var(--primary-blue);
}

.deal-pagination__page--active {
  color: var(--primary-blue);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.2);
}

.deal-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  user-select: none;
}

button.deal-pagination__page {
  background: none;
  cursor: pointer;
}

button.deal-pagination__nav {
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 575.98px) {
  .deal-pagination__bar {
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
  }

  .deal-pagination__section--pages {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    order: -1;
  }

  .deal-pagination__section--prev,
  .deal-pagination__section--next {
    flex: 1;
    justify-content: center;
  }

  .deal-pagination__nav {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}

/* --- Select City Page Custom Styles --- */
body.page-select-city {
  background-color: #f4f6f9;
}

/* Explore Card (Left Sidebar) */
.explore-card {
  background-color: var(--white);
  border-radius: 20px;
  border: 1px solid var(--card-border);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 10;
}

.explore-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.explore-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

/* Autocomplete search UI */
.city-search {
  position: relative;
  margin-bottom: 0.75rem;
  z-index: 100;
}

.city-search__input-wrapper {
  position: relative;
}

.city-search__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.city-search__input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 3rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background-color: #f8fafc;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.city-search__input:focus {
  background-color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(30, 104, 215, 0.15);
}

.city-location {
  margin: 0 0 1.35rem;
}

.city-location-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background-color: #f8fafc;
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.city-location-btn i {
  font-size: 1rem;
  color: var(--primary-blue);
}

.city-location-btn:hover:not(:disabled),
.city-location-btn:focus-visible {
  background-color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(30, 104, 215, 0.12);
  outline: none;
}

.city-location-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.city-location-status {
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
}

.city-search__autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  display: none;
  /* Hidden by default */
  z-index: 110;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.city-search__autocomplete::-webkit-scrollbar {
  width: 6px;
}

.city-search__autocomplete::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 999px;
}

.city-search__autocomplete::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

.city-search__autocomplete.is-open {
  display: block;
}

.city-search__item {
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.city-search__item:hover,
.city-search__item.is-active {
  background-color: #f1f5f9;
}

.city-search__item-icon {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Popular Cities section inside card */
.popular-cities-section {
  margin-top: 1.5rem;
}

.popular-cities-section__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.popular-city-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.popular-city-btn:hover {
  color: var(--primary-blue);
  border-color: rgba(30, 104, 215, 0.35);
  background-color: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -8px rgba(30, 104, 215, 0.2);
}

.city-search__option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.city-search__empty {
  color: var(--text-muted);
  cursor: default;
}

.city-search__empty:hover {
  background-color: transparent;
}

.popular-city-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem 0.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.popular-city-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 104, 215, 0.3);
  box-shadow: 0 12px 20px -5px rgba(30, 104, 215, 0.08), 0 8px 8px -6px rgba(30, 104, 215, 0.03);
}

.popular-city-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.popular-city-card__icon svg {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-normal);
}

.popular-city-card:hover .popular-city-card__icon svg {
  transform: scale(1.08);
}

.popular-city-card__icon circle {
  transition: fill var(--transition-normal), fill-opacity var(--transition-normal);
}

.popular-city-card:hover .popular-city-card__icon circle {
  fill-opacity: 0.15;
}

.popular-city-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0;
  transition: color var(--transition-fast);
}

.popular-city-card:hover .popular-city-card__name {
  color: var(--primary-blue);
}

.popular-city-card--skeleton {
  pointer-events: none;
  background-color: var(--white);
  border-color: var(--card-border);
}

.popular-city-card__icon-skeleton {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite linear;
  margin-bottom: 0.5rem;
}

.popular-city-card__name-skeleton {
  width: 60px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite linear;
}

@keyframes loading-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Split Background Layout */
.select-city-layout {
  min-height: calc(100vh - 72px - 220px);
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('../img/select_city_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.select-city-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(244, 246, 249, 0.88);
  /* Subtle premium overlay for text and card readability */
  z-index: 1;
}

.select-city-layout>.container {
  position: relative;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .select-city-layout {
    min-height: auto;
    padding: 3rem 0;
  }

  .explore-card {
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   Store Detail Page Styles (.store-header, .store-gallery, .store-info)
   ============================================================ */

/* --- Store Title Header --- */
.store-header {
  padding: 0.5rem 0 0.25rem 0;
}

.store-header__inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.store-header__title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.25;
}

.store-header__title--truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.store-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  max-width: 100%;
  transition: all var(--transition-fast);
}

.store-header__badge-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.store-header__badge:hover {
  background-color: #e2e8f0;
  color: var(--text-dark);
}

.store-header__badge-icon {
  font-size: 0.7rem;
  color: var(--primary-blue);
  flex-shrink: 0;
}

/* --- Main Layout Spacing --- */
.store-detail-main {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* --- Image Gallery --- */
.store-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.store-gallery__featured {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.store-gallery__img--main {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: opacity 0.2s ease, transform 0.4s ease;
  cursor: zoom-in;
}

.store-gallery__img--main:hover {
  transform: scale(1.015);
}

.store-gallery__side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.store-gallery__side-item {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.store-gallery__img--side {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.store-gallery__img--side:hover {
  transform: scale(1.04);
}

/* Bottom Thumbnail Strip */
.store-gallery__thumbs {
  display: flex;
  gap: 0.75rem;
}

.store-gallery__thumb {
  flex: 1;
  max-width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  padding: 0;
  background: none;
  transition: all var(--transition-fast);
  position: relative;
}

.store-gallery__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.15);
  border-radius: 10px;
  opacity: 1;
  transition: opacity var(--transition-fast);
}

.store-gallery__thumb:hover::after,
.store-gallery__thumb--active::after {
  opacity: 0;
}

.store-gallery__thumb--active {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 104, 215, 0.15);
}

.store-gallery__thumb:hover {
  border-color: rgba(30, 104, 215, 0.4);
  transform: translateY(-2px);
}

.store-gallery__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}

/* --- Right Column: Store Info Panel --- */
.store-info {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.store-info__section {
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--card-border);
}

.store-info__section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.store-info__section-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.01em;
}

.store-info__section-icon {
  font-size: 1rem;
  color: var(--primary-blue);
  opacity: 0.85;
}

.store-info__section-meta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Details Rows */
.store-info__details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.store-info__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.5rem;
  align-items: start;
}

.store-info__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding-top: 1px;
}

.store-info__label-icon {
  font-size: 0.75rem;
  color: var(--primary-blue);
  opacity: 0.7;
  width: 14px;
  text-align: center;
}

.store-info__value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
}

.store-info__phone {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.store-info__phone:hover {
  color: var(--primary-blue-hover);
  text-decoration: underline;
}

/* Business Hours */
.store-info__row--hours {
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.store-info__hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.store-info__hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background-color: #f8fafc;
  transition: background-color var(--transition-fast);
}

.store-info__hours-item:hover {
  background-color: #f1f5f9;
}

.store-info__hours-day {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
}

.store-info__hours-time {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
}

.store-info__hours-time--closed {
  color: #ef4444;
  font-weight: 700;
  font-size: 0.78rem;
  background-color: rgba(239, 68, 68, 0.08);
  padding: 0.15rem 0.65rem;
  border-radius: 50px;
}

/* Brands Grid */
.store-info__brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.store-info__brand-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.store-info__brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 104, 215, 0.3);
  box-shadow: 0 8px 16px -4px rgba(30, 104, 215, 0.08);
}

.store-info__brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.store-info__brand-card:hover .store-info__brand-logo {
  background-color: rgba(30, 104, 215, 0.06);
  transform: scale(1.08);
}

.store-info__brand-name {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.01em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-info__brand-card:hover .store-info__brand-name {
  color: var(--text-dark);
}

/* Map Container */
.store-info__map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.store-info__map iframe {
  display: block;
  border-radius: 14px;
}

/* --- Store Detail Responsive --- */
@media (max-width: 991.98px) {
  .store-header__title {
    font-size: 1.55rem;
  }

  .store-gallery__grid {
    grid-template-columns: 1fr 0.5fr;
  }

  .store-gallery__img--main {
    min-height: 280px;
  }

  .store-info {
    margin-top: 0.5rem;
  }

  .store-info__row {
    grid-template-columns: 115px 1fr;
  }
}

@media (max-width: 767.98px) {
  .store-header__title {
    font-size: 1.35rem;
  }

  .store-gallery__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .store-gallery__side {
    flex-direction: row;
  }

  .store-gallery__img--main {
    min-height: 220px;
  }

  .store-gallery__thumbs {
    gap: 0.5rem;
  }

  .store-gallery__thumb {
    max-width: 100px;
  }

  .store-info {
    padding: 1.5rem;
  }

  .store-info__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .store-info__brands {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .store-header__title {
    font-size: 1.2rem;
  }

  .store-gallery__img--main {
    min-height: 180px;
  }

  .store-gallery__thumb {
    max-width: 80px;
  }

  .store-info__brands {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-info__brand-card {
    padding: 0.85rem 0.4rem;
  }
}

/* --- Fullscreen Image Lightbox --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox__content {
  position: relative;
  z-index: 2001;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox__counter {
  margin-top: 1rem;
  color: var(--white);
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-normal), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2005;
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg) scale(1.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev {
  left: -70px;
}

.lightbox__nav--next {
  right: -70px;
}

/* Responsive adjustments for lightbox */
@media (max-width: 991.98px) {
  .lightbox__nav--prev {
    left: -50px;
  }

  .lightbox__nav--next {
    right: -50px;
  }
}

@media (max-width: 767.98px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox__nav--prev {
    left: -20px;
    background-color: rgba(15, 23, 42, 0.6);
  }

  .lightbox__nav--next {
    right: -20px;
    background-color: rgba(15, 23, 42, 0.6);
  }

  .lightbox__close {
    top: 1rem;
    right: 1rem;
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
  }
}

/* --- Retailer Detail (Blade) --- */
.store-detail__section {
  margin-top: 2.5rem;
}

.store-detail__section--about {
  margin-top: 2.75rem;
}

.store-detail__section-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.store-gallery--spaced {
  margin-bottom: 0.5rem;
}

.store-detail__hero {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}

.store-detail__hero-img {
  width: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.store-detail__profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  margin-bottom: 0.85rem;
}

.store-detail__profile-name {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--text-dark);
}

.store-detail__profile-name--truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.store-detail__about {
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.92rem;
}

.store-detail__gallery-empty,
.store-detail__map-placeholder,
.store-detail__no-image-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 340px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: #f8fafc;
  color: var(--text-muted);
  box-shadow: var(--shadow-card);
}

.store-detail__no-image-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  min-height: 280px;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.store-detail__no-image-text {
  font-weight: 700;
  color: #64748b;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.store-detail__map-placeholder-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.store-detail__empty-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.store-info__brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
  font-size: 0;
  color: transparent;
}

@media (max-width: 991.98px) {
  .store-detail__no-image-card {
    min-height: 260px;
  }
}

/* About / Legal CMS page sections */
.about-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--card-border);
}

.transition-hover {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.transition-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover) !important;
}

.fs-5-light {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
}

.tracking-wider {
  letter-spacing: 0.08em;
}

/* CMS Pages */
.cms-page {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.cms-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  margin-bottom: 0;
}

.cms-page__content {
  color: var(--text-muted, #475569);
  font-size: 1rem;
  line-height: 1.75;
}

.cms-page__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.cms-page__content p {
  margin-bottom: 1rem;
}

.cms-page__content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.cms-page__content li {
  margin-bottom: 0.5rem;
}

/* --- Header Extension Styles --- */
.header__nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.header__nav-link:hover {
  color: var(--accent-yellow);
}

.footer__disclaimer {
  font-size: 0.75rem;
  line-height: 1.4;
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  left: auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 104, 215, 0.2);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  background-color: var(--accent-yellow);
  color: #1e293b;
  box-shadow: 0 6px 16px rgba(251, 192, 45, 0.4);
}

.scroll-to-top:focus {
  outline: none;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 6.5rem;
  right: 2.5rem;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-float i {
  font-size: 1.75rem;
  line-height: 1;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus {
  outline: none;
  color: #fff;
}

@media (max-width: 575.98px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.25rem;
  }

  .whatsapp-float {
    bottom: 5.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float i {
    font-size: 1.6rem;
  }
}