.authmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 22, 40, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 24px;
}

.authmodal {
  width: 820px;
  max-width: 100%;
  background: var(--white);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 10px 30px rgba(13, 31, 60, 0.2);
  position: relative;
  overflow: hidden;
}

.authmodal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
}

.authmodal-left {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authmodal-left h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.authmodal-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.authmodal-right {
  padding: 28px 32px;
}

.authmodal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.authmodal-tabs button {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
}

.authmodal-tabs button.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.authmodal-error {
  background: #fff1f2;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.authmodal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.authmodal-form label {
  font-size: 12px;
  color: var(--text-secondary);
}

.authmodal-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.btn.primary {
  margin-top: 6px;
  padding: 10px 12px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 8px;
}

.btn.primary.full {
  width: 100%;
}

.authmodal-form input:focus {
  outline: none;
  border-color: var(--teal-mid);
  box-shadow: 0 6px 18px rgba(0, 191, 174, 0.08);
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 6px 8px;
  cursor: pointer;
}

.pwd-strength {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwd-bar {
  height: 8px;
  flex: 1 1 auto;
  background: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
}

.pwd-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #00bfae);
  transition: width 220ms ease;
}

.pwd-bar.s0::after {
  width: 6%;
  background: #ef4444;
}
.pwd-bar.s1::after {
  width: 28%;
  background: #f97316;
}
.pwd-bar.s2::after {
  width: 50%;
  background: #f59e0b;
}
.pwd-bar.s3::after {
  width: 76%;
  background: #10b981;
}
.pwd-bar.s4::after {
  width: 100%;
  background: #00bfae;
}

.pwd-label {
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 70px;
  text-align: right;
}

@media (max-width: 720px) {
  .authmodal {
    grid-template-columns: 1fr;
  }
  .authmodal-left {
    display: none;
  }
  .authmodal {
    padding: 12px;
  }
}

@media (max-width: 720px) {
  .authmodal {
    grid-template-columns: 1fr;
  }
  .authmodal-left {
    display: none;
  }
}
/* Navbar - Mobile First Responsive Design */

/* ===== MOBILE VIEW (Default) ===== */

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar__inner {
  max-width: 100%;
  padding: 0 12px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Hamburger Menu */
.navbar__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #1d3a85;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.navbar__hamburger:hover {
  background-color: #f0f4ff;
}

/* ── Logo ── */
.navbar__logo {
  flex: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
}

.navbar__logo img {
  height: 36px;
  object-fit: contain;
}

.navbar__logo-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 3px;
  font-size: 14px;
}

.logo-svg-check {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  flex-shrink: 0;
}

.logo-check {
  color: #52c41a;
  font-weight: 900;
  font-size: 14px;
}

.logo-make {
  font-size: 14px;
  font-weight: 700;
  color: #1d3a85;
  letter-spacing: 0.2px;
  font-family: "Inter", sans-serif;
}

.logo-easy {
  font-size: 12px;
  font-weight: 500;
  color: #4cc9ca;
  letter-spacing: 0.2px;
  font-family: "Inter", sans-serif;
}

/* ── Search ── */
.navbar__search {
  display: none;
}

.navbar__search input {
  background: none;
  border: none;
  color: #1d3a85;
  font-size: 13px;
  outline: none;
  flex: 1;
  min-width: 0;
}

.navbar__search input::placeholder {
  color: #9ca3af;
  font-size: 13px;
}

.search-divider {
  display: none;
}

.search-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  flex-shrink: 0;
}

.search-btn:hover {
  color: #1d3a85;
}

/* ── Right actions ── */
.navbar__actions {
  display: none;
}

.navbar__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1d3a85;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.navbar__phone:hover {
  color: #4cc9ca;
}

.navbar__phone-section {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.navbar__phone-label {
  font-size: 10px;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  position: relative;
  color: #1d3a85;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}

.icon-btn:hover {
  color: #4cc9ca;
}

.badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #4cc9ca;
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.navbar__signin {
  display: none;
}

/* Mobile Search Icon */
.navbar__mobile-search {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #1d3a85;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.navbar__mobile-search:hover {
  background-color: #f0f4ff;
}

/* Mobile Menu Dropdown */
.navbar__mobile-menu {
  display: block;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 0;
  animation: slideDown 0.3s ease-out;
  max-height: 70vh;
  overflow-y: auto;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu Sections */
.mobile-menu__section {
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu__section:last-child {
  border-bottom: none;
}

.mobile-menu__section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #6b7280;
  text-transform: uppercase;
  padding: 12px 16px 8px;
  margin: 0;
}

/* Categories Container */
.mobile-menu__categories {
  display: flex;
  flex-direction: column;
}

/* Category Item */
.mobile-menu__category-item {
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu__category-item:last-child {
  border-bottom: none;
}

/* Category Header (name + toggle) */
.mobile-menu__category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile-menu__category-name {
  flex: 1;
  background: none;
  border: none;
  text-align: left;
  color: #1d3a85;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.mobile-menu__category-name:hover {
  background-color: #f0f4ff;
  color: #4cc9ca;
}

/* Category Toggle Button */
.mobile-menu__category-toggle {
  background: none;
  border: none;
  color: #6b7280;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s,
    transform 0.2s;
}

.mobile-menu__category-toggle:hover {
  color: #4cc9ca;
}

.mobile-menu__category-toggle.expanded {
  transform: rotate(180deg);
  color: #4cc9ca;
}

/* Subcategories Container */
.mobile-menu__subcategories {
  display: flex;
  flex-direction: column;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  animation: expandDown 0.3s ease-out;
}

@keyframes expandDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

/* Subcategory Item */
.mobile-menu__subcategory-item {
  background: none;
  border: none;
  text-align: left;
  color: #4b5563;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 16px 10px 40px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__subcategory-item:hover {
  background-color: #e8ecf1;
  color: #1d3a85;
  padding-left: 44px;
}

.subcategory-bullet {
  font-size: 16px;
  flex-shrink: 0;
}

/* Regular Mobile Menu Items */
.mobile-menu-item {
  display: block;
  color: #1d3a85;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
  transition:
    background-color 0.2s,
    color 0.2s;
  font-weight: 500;
}

.mobile-menu-item:hover {
  background-color: #f0f4ff;
  color: #4cc9ca;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

/* ===== TABLET VIEW (768px and above) ===== */

@media (min-width: 768px) {
  .navbar__inner {
    max-width: 1400px;
    padding: 0 20px;
    height: 56px;
    gap: 16px;
    margin: 0 auto;
    justify-content: flex-start;
  }

  .navbar__hamburger {
    display: none;
  }

  .navbar__logo {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .navbar__logo-text {
    font-size: 16px;
  }

  .logo-check {
    font-size: 16px;
  }

  .logo-make {
    font-size: 16px;
  }

  .navbar__logo img {
    height: 42px;
  }

  .navbar__search {
    display: flex;
    flex: 1;
    max-width: 380px;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    height: 40px;
    padding: 0;
    transition: border-color 0.15s;
    gap: 0;
  }

  .navbar__search:focus-within {
    border-color: #4cc9ca;
  }

  .navbar__search input {
    display: block;
    flex: 1;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    background: transparent;
    height: 100%;
  }

  .search-divider {
    display: block;
    width: 1px;
    height: 20px;
    background: #d1d5db;
    flex-shrink: 0;
  }

  .search-btn {
    padding: 6px 12px;
  }

  .navbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .navbar__phone {
    display: flex;
    font-size: 13px;
    gap: 6px;
    font-weight: 600;
  }

  .navbar__phone-section {
    display: flex;
  }

  .navbar__icons {
    gap: 14px;
  }

  .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .navbar__signin {
    display: flex;
    align-items: center;
    font-size: 13px;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    transition:
      background 0.15s,
      color 0.15s,
      transform 0.12s;
    font-weight: 700;
    background: var(--teal);
    color: white;
    box-shadow: 0 6px 18px rgba(0, 191, 174, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.04);
  }

  .navbar__signin:hover {
    transform: translateY(-2px);
    filter: brightness(0.98);
  }

  .navbar__signin:active {
    transform: translateY(0);
  }

  .user-logged {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--teal) 0%, var(--teal-mid) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(0, 191, 174, 0.12);
  }

  /* Logged-in: make only the avatar visible (no pill button around it) */
  .navbar__signin.user-logged {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
  }

  /* container becomes positioning root for the logout popover */
  .user-logged {
    position: relative;
  }

  .logout-btn {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(13, 31, 60, 0.12);
    color: var(--text-primary);
    margin-left: 0;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    white-space: nowrap;
    z-index: 60;
    font-weight: 600;
  }

  /* reveal logout as a small popover below the avatar */
  .user-logged:hover .logout-btn {
    opacity: 1;
    transform: translateY(0);
  }

  /* smaller avatar on compact layouts */
  @media (max-width: 767px) {
    .user-avatar {
      width: 32px;
      height: 32px;
      font-size: 13px;
    }
  }

  .navbar__mobile-search {
    display: none;
  }

  .navbar__mobile-menu {
    display: none;
  }
}

/* ===== DESKTOP VIEW (1024px and above) ===== */

@media (min-width: 1024px) {
  .navbar__inner {
    max-width: 1400px;
    padding: 0 28px;
    height: 62px;
    gap: 22px;
  }

  .navbar__search {
    max-width: 480px;
    height: 42px;
  }

  .navbar__search input {
    font-size: 14px;
    padding: 0 16px;
  }

  .search-btn {
    padding: 6px 10px;
    width: auto;
    height: auto;
  }

  .navbar__actions {
    gap: 22px;
  }

  .navbar__phone-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar__phone-label {
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }

  .navbar__phone {
    font-size: 13.5px;
    gap: 8px;
    font-weight: 600;
  }

  .icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .navbar__signin {
    font-size: 13.5px;
    padding: 8px 16px;
    gap: 8px;
    display: flex;
  }

  .navbar__logo-text {
    font-size: 18px;
  }

  .logo-check {
    font-size: 16px;
  }

  .logo-make {
    font-size: 16px;
  }

  .navbar__logo img {
    height: 54px;
  }

  .badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -8px;
    right: -8px;
  }
}

/* ===== BOTTOM MOBILE NAVIGATION (Mobile Only) ===== */

.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  height: 56px;
  z-index: 99;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #6b7280;
  text-decoration: none;
  font-size: 10px;
  transition: color 0.2s;
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: 500;
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item.active {
  color: #4cc9ca;
}

.mobile-bottom-nav__item svg {
  width: 20px;
  height: 20px;
}

.mobile-bottom-nav__badge {
  position: absolute;
  top: 6px;
  right: 10px;
  background: #4cc9ca;
  color: white;
  font-size: 8px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Body padding for mobile to account for fixed bottom nav */
@media (max-width: 767px) {
  body {
    padding-bottom: 56px;
  }
}
/* ========================================
   CATEGORY BAR - MAIN CONTAINER
   ======================================== */
.category-bar {
  background: linear-gradient(
    90deg,
    #1d3a85 0%,
    #2a52a0 20%,
    #2e8fa0 45%,
    #38b8b8 70%,
    #4cc9ca 100%
  );
  position: sticky;
  top: 50px;
  z-index: 98;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out;
}

/* Show state - navbar visible */
.category-bar--visible {
  transform: translateY(0);
  opacity: 1;
}

/* Hide state - navbar translates up */
.category-bar--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.category-bar__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
}

/* ========================================
   CATEGORY LIST
   ======================================== */
.category-bar__list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  position: relative;
}

.category-bar__list::-webkit-scrollbar {
  display: none;
}

/* ========================================
   CATEGORY ITEM WRAPPER
   ======================================== */
.category-bar__item-wrapper {
  position: relative;
  flex-shrink: 0;
  /* Create new stacking context for dropdown */
  z-index: auto;
}

/* ========================================
   CATEGORY ITEM BUTTON
   ======================================== */
.category-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  height: 46px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.1px;
  position: relative;
  border-radius: 5px;
}

.category-bar__item-text {
  pointer-events: none;
}

.category-bar__item-icon {
  transition: transform 0.2s ease;
  opacity: 0.7;
  pointer-events: none;
}

.category-bar__item-icon.rotated {
  transform: rotate(180deg);
  opacity: 1;
}

/* Hover state */
.category-bar__item:hover,
.category-bar__item.hovered {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* Active state */
.category-bar__item.active {
  color: #ffffff;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.18);
  height: 38px;
  padding: 0 18px;
}

.category-bar__item.active .category-bar__item-icon {
  opacity: 1;
}

/* Focus state for accessibility */
.category-bar__item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* ========================================
   SCROLL ARROW BUTTON
   ======================================== */
.category-bar__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 4px;
}

.category-bar__arrow:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

.category-bar__arrow:active {
  transform: scale(0.95);
}

/* ========================================
   DROPDOWN MENU
   ======================================== */
.category-bar__dropdown {
  position: fixed;
  top: auto;
  left: auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 10px 20px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  min-width: 240px;
  max-width: 320px;
  z-index: 9999;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  margin-top: 8px;
}

/* Dropdown arrow pointer */
.category-bar__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 3px rgba(0, 0, 0, 0.05);
  z-index: -1;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   DROPDOWN HEADER
   ======================================== */
.category-bar__dropdown-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-bar__dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.2px;
}

.category-bar__dropdown-count {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ========================================
   DROPDOWN LIST
   ======================================== */
.category-bar__dropdown-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 4px 0;
}

/* Custom scrollbar for dropdown */
.category-bar__dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.category-bar__dropdown-list::-webkit-scrollbar-track {
  background: transparent;
}

.category-bar__dropdown-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.category-bar__dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ========================================
   SUBCATEGORY ITEMS
   ======================================== */
.category-bar__subcategory {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  position: relative;
}

.subcategory-bullet {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.subcategory-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subcategory-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.15s ease;
  color: #1d3a85;
  flex-shrink: 0;
}

/* Hover state */
.category-bar__subcategory:hover {
  background: linear-gradient(90deg, #f1f5f9 0%, #e0f2fe 100%);
  color: #1d3a85;
  padding-left: 20px;
}

.category-bar__subcategory:hover .subcategory-bullet {
  color: #1d3a85;
}

.category-bar__subcategory:hover .subcategory-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Active/pressed state */
.category-bar__subcategory:active {
  background: linear-gradient(90deg, #e0f2fe 0%, #bfdbfe 100%);
  transform: scale(0.98);
}

/* Focus state for accessibility */
.category-bar__subcategory:focus-visible {
  outline: 2px solid #1d3a85;
  outline-offset: -2px;
  background: #f1f5f9;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 767px) {
  .category-bar {
    display: none;
  }
}

@media (min-width: 768px) {
  .category-bar {
    display: block;
  }

  .category-bar__inner {
    max-width: 1400px;
    padding: 0 20px;
    gap: 10px;
  }

  .category-bar__item {
    padding: 0 16px;
    font-size: 13px;
  }

  .category-bar__arrow {
    width: 36px;
    height: 36px;
  }

  .category-bar__dropdown {
    min-width: 250px;
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .category-bar__inner {
    max-width: 1400px;
    padding: 0 28px;
  }

  .category-bar__item {
    padding: 0 20px;
    font-size: 13px;
  }

  .category-bar__arrow {
    width: 36px;
    height: 36px;
  }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .category-bar__item,
  .category-bar__subcategory,
  .category-bar__dropdown,
  .category-bar__item-icon,
  .subcategory-arrow {
    transition: none;
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .category-bar__item {
    border: 1px solid transparent;
  }

  .category-bar__item:hover,
  .category-bar__item.active {
    border-color: currentColor;
  }

  .category-bar__dropdown {
    border: 2px solid currentColor;
  }
}

/* ========================================
   LOADING STATE (OPTIONAL)
   ======================================== */
.category-bar__item.loading {
  pointer-events: none;
  opacity: 0.5;
}

.category-bar__item.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.footer {
  position: relative;
}

.footer__main {
  background: #e8f8f5;
  padding: 48px 0 32px;
  border-top: 1px solid #c6f0e8;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 32px;
}

/* Brand */
.footer__brand {}

.footer__logo {
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.footer-logo-make {
  color: var(--navy);
}

.footer-logo-easy {
  color: var(--teal-mid);
}

.footer__contact {}

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer__phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__call-label {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 2px;
}

.footer__phone {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.footer__email,
.footer__hours {
  font-size: 12px;
  color: #374151;
  margin-bottom: 4px;
}

/* Columns */
.footer__col {}

.footer__col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.footer__col-underline {
  width: 36px;
  height: 2.5px;
  background: var(--teal-mid);
  border-radius: 2px;
  margin-bottom: 14px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links li a {
  font-size: 13px;
  color: #374151;
  transition: color 0.2s;
}

.footer__links li a:hover {
  color: var(--teal-mid);
}

/* Bottom bar */
.footer__bottom {
  background: #e8f8f5;
  border-top: 1px solid #c6f0e8;
  padding: 14px 0;
}

.footer__bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__copyright {
  font-size: 12px;
  color: #6b7280;
}

/* Payments bar */
.footer__payments-bar {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 12px 0;
}

.footer__payments-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__chat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef08a;
  border-radius: 24px;
  padding: 8px 16px 8px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  transition: background 0.2s;
}

.footer__chat-btn:hover {
  background: #fde047;
}

.footer__chat-icon {
  width: 32px;
  height: 32px;
  background: var(--teal-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer__payment-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-icon {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6b7280;
}

.social-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #374151;
  transition: all 0.2s;
}

.social-icon:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--teal-mid);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
}

.scroll-top:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .footer__inner { grid-template-columns: 200px repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__payments-inner { flex-wrap: wrap; }
}
.hero {
  background: #fff;
  padding: 16px 0 24px;
}

.hero__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

/* ── Sidebar ── */
.hero__sidebar {
  display: none;
  padding-top: 8px;
}

.sidebar__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sidebar__list {
  list-style: none;
  margin-bottom: 16px;
}

.sidebar__item {
  border-bottom: 1px solid var(--border);
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  font-size: 14px;
  color: var(--text-primary);
  transition: color 0.2s;
}

.sidebar__link:hover {
  color: var(--teal);
}

.sidebar__icon {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.sidebar__label {
  flex: 1;
  font-weight: 500;
}

.sidebar__count {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.sidebar__view-all {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: all 0.2s;
}

.sidebar__view-all:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.sidebar__verify-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.verify-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.verify-card__sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ── Hero Main ── */
.hero__main {
  background: linear-gradient(145deg, #f0f9ff 0%, #e8f5f3 100%);
  border-radius: 12px;
  padding: 24px 16px 28px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dbeafe;
}

.hero__badge {
  display: inline-flex;
  margin-bottom: 14px;
}

.hero__badge span {
  background: rgba(0, 191, 174, 0.12);
  color: var(--teal-mid);
  border: 1px solid rgba(0, 191, 174, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.hero__title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.title-accent {
  color: var(--teal);
}

.title-teal {
  color: var(--teal);
  display: inline;
}

.hero__subtext {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  max-width: 100%;
  margin-bottom: 16px;
  flex: 1;
}

.hero__buttons {
  display: flex;
  gap: 8px;
  flex-direction: column;
  flex-wrap: nowrap;
}

.btn {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.2px;
  font-family: var(--font);
  width: 100%;
}

.btn--primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.btn--primary:hover {
  background: #162d52;
  border-color: #162d52;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: white;
}

/* ── Promo Card ── */
.hero__promo {
  position: relative;
}

.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #6b7280;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.promo-nav:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.promo-nav--left {
  left: -18px;
}

.promo-nav--right {
  right: -18px;
}

.promo-card {
  border-radius: 16px;
  padding: 28px 24px 24px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.promo-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-card__discount {
  display: inline-flex;
  background: var(--teal);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  width: fit-content;
}

.promo-card__title {
  font-size: 24px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
}

.promo-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.promo-card__benefits {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-card__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.promo-card__cta {
  display: block;
  background: white;
  color: var(--navy);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  margin-top: auto;
}

.promo-card__cta:hover {
  background: #f0f9ff;
}

.promo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.promo-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.promo-dot.active {
  background: var(--navy);
  width: 32px;
}

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 260px 1fr 260px;
  }
  .hero__title {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__sidebar {
    display: none;
  }
  .promo-nav--left {
    left: 8px;
  }
  .promo-nav--right {
    right: 8px;
  }
}

/* ===== TABLET VIEW (768px and above) ===== */
@media (min-width: 768px) {
  .hero {
    padding: 20px 0 28px;
  }

  .hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    grid-template-columns: 1fr 280px;
    gap: 18px;
  }

  .hero__sidebar {
    display: block;
    order: 3;
  }

  .hero__main {
    padding: 32px 32px 36px;
    min-height: auto;
    border-radius: 14px;
  }

  .hero__badge span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero__title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .hero__subtext {
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 400px;
  }

  .hero__buttons {
    gap: 10px;
    flex-direction: row;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
    width: auto;
  }

  .promo-card {
    min-height: 380px;
  }

  .promo-card__title {
    font-size: 22px;
  }

  .promo-card__desc {
    font-size: 13px;
  }
}

/* ===== DESKTOP VIEW (1024px and above) ===== */
@media (min-width: 1024px) {
  .hero {
    padding: 24px 0 32px;
  }

  .hero__inner {
    max-width: 1400px;
    padding: 0 24px;
    grid-template-columns: 260px 1fr 300px;
    gap: 20px;
  }

  .hero__sidebar {
    order: 0;
    padding-top: 8px;
  }

  .hero__main {
    order: 0;
    padding: 40px 44px 44px;
    min-height: 420px;
    border-radius: 16px;
  }

  .hero__badge {
    margin-bottom: 20px;
  }

  .hero__badge span {
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 30px;
  }

  .hero__title {
    font-size: 46px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
  }

  .title-teal {
    display: block;
  }

  .hero__subtext {
    font-size: 16px;
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 32px;
  }

  .hero__buttons {
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
    width: auto;
  }

  .promo-card {
    min-height: 420px;
  }

  .promo-card__title {
    font-size: 24px;
  }

  .promo-card__desc {
    font-size: 14px;
  }

  .promo-nav--left {
    left: -18px;
  }

  .promo-nav--right {
    right: -18px;
  }
}

/* ─── Mount entrance animations ─────────────────────────────────────────── */

/* Base: elements start invisible; .hero--mounted triggers them */
.hero-anim {
  opacity: 0;
}

.hero--mounted .hero-anim {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-duration: 0.55s;
  animation-delay: var(--delay, 0s);
}

/* Badge — pops in with a scale bounce */
.hero--mounted .hero-anim--badge {
  animation-name: anim-badge;
}
@keyframes anim-badge {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Title — slides up */
.hero--mounted .hero-anim--title {
  animation-name: anim-slide-up;
}
@keyframes anim-slide-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Generic fade-up (subtext, buttons, view-all, verify card) */
.hero--mounted .hero-anim--fade {
  animation-name: anim-fade-up;
}
@keyframes anim-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sidebar items — slide in from left */
.hero--mounted .hero-anim--sidebar {
  animation-name: anim-slide-left;
  animation-delay: var(--delay, 0s);
}
@keyframes anim-slide-left {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Promo card panel — slides in from right */
.hero--mounted .hero-anim--promo {
  animation-name: anim-slide-right;
}
@keyframes anim-slide-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Promo slider transitions ───────────────────────────────────────────── */

.promo-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Floating pulse on the active card */
.promo-card--float {
  animation: promo-float 4s ease-in-out infinite;
}
@keyframes promo-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Slide-in from the right (next) */
.promo-card--enter-next {
  animation: enter-from-right 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes enter-from-right {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Slide-in from the left (prev) */
.promo-card--enter-prev {
  animation: enter-from-left 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes enter-from-left {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Exit to left (next direction) */
.promo-card--exit-next {
  position: absolute;
  inset: 0;
  animation: exit-to-left 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}
@keyframes exit-to-left {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-30px) scale(0.97);
  }
}

/* Exit to right (prev direction) */
.promo-card--exit-prev {
  position: absolute;
  inset: 0;
  animation: exit-to-right 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}
@keyframes exit-to-right {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(30px) scale(0.97);
  }
}

/* Benefit list items stagger in when card enters */
.promo-card--enter-next .promo-card__benefits li,
.promo-card--enter-prev .promo-card__benefits li {
  animation: benefit-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.18s + var(--benefit-delay, 0s));
}
@keyframes benefit-pop {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Promo dot animation ─────────────────────────────────────────────────── */

.promo-dot {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.promo-dot.active {
  animation: dot-activate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes dot-activate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

/* ─── Verification card shimmer ──────────────────────────────────────────── */

.verify-shimmer {
  position: relative;
  overflow: hidden;
}
.verify-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* ─── Sidebar link hover micro-interaction ───────────────────────────────── */

.sidebar__link {
  transition:
    padding-left 0.2s ease,
    background 0.2s ease;
}
.sidebar__link:hover {
  padding-left: 4px; /* subtle nudge right on hover */
}

.sidebar__icon {
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.2s ease;
}
.sidebar__link:hover .sidebar__icon {
  transform: scale(1.25) rotate(-8deg);
}

.sidebar__count {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.sidebar__link:hover .sidebar__count {
  transform: scale(1.1);
}

/* ─── Primary CTA ripple ─────────────────────────────────────────────────── */

.btn--ripple {
  position: relative;
  overflow: hidden;
}
.btn--ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0s;
}
.btn--ripple:hover::after {
  transform: translateX(110%) skewX(-15deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Promo nav button hover ─────────────────────────────────────────────── */

.promo-nav {
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease,
    opacity 0.2s ease;
}
.promo-nav:hover {
  transform: scale(1.15);
}
.promo-nav:active {
  transform: scale(0.92);
}
.promo-slider {
  padding: 20px 0 8px;
  background: #fff;
}

.promo-slider__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Card shell ── */
.promo-slider__card {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* exact 50 / 50 split */
  overflow: hidden;
  min-height: 260px; /* fixed card height so image can't enlarge it */
}

/* container that holds stacked cards for cross-fade */
.promo-slider__cards {
  position: relative;
  height: 260px; /* must match .promo-slider__card height */
}

/* stacked cards; only the active one is visible via opacity */
.promo-slider__card {
  position: absolute;
  inset: 0;
  margin: 0;
  transition:
    opacity 0.6s ease-in-out,
    transform 0.6s ease-in-out;
  opacity: 0;
  pointer-events: none;
  background: transparent;
}
.promo-slider__card.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Left text half ── */
.promo-slider__text {
  padding: 32px 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: #fff;
}

.promo-slider__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.badge-grey {
  background: #f3f4f6;
  color: #374151;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.badge-teal {
  background: #4cc9ca;
  color: #ffffff;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

.promo-slider__title {
  font-size: 26px;
  font-weight: 800;
  color: #1d3a85;
  margin-bottom: 12px;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
}

.promo-slider__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 400px;
  font-family: "Inter", sans-serif;
}

.promo-slider__cta {
  display: inline-block;
  background: #1d3a85;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  transition: background 0.2s;
}

.promo-slider__cta:hover {
  background: #162d6e;
}

/* ── Right image half ── */
.promo-slider__image {
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
  min-height: 260px;
  height: 100%; /* fill the right half of each card */
}

.promo-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none; /* prevent images from shrinking/expanding layout */
}

.promo-slider__img-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1d3a85 0%, #2e8fa0 100%);
}

/* Discount badge overlaid on top-right of image */
.promo-slider__corner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #4cc9ca;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.2px;
}

/* ── Dot indicators ── */
.promo-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.promo-slider__dot {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.promo-slider__dot.active {
  background: #1d3a85;
  width: 34px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .promo-slider__card {
    grid-template-columns: 1fr;
    position: absolute;
    inset: 0;
  }
  .promo-slider__cards {
    height: 200px;
  }
  .promo-slider__image {
    height: 100%;
    min-height: 200px;
  }
  .promo-slider__text {
    padding: 24px 20px;
  }
}
.wishlist-btn {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 220ms ease;
}

.wishlist-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: scale(1.08);
}

.wishlist-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 191, 174, 0.12);
}

.wishlist-btn.active:hover {
  filter: brightness(0.96);
}

.wishlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wishlist-btn.loading {
  animation: pulse-heart 600ms ease-in-out;
}

@keyframes pulse-heart {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
  padding: 12px 16px;
  font-size: 15px;
}

.wishlist-btn--loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.wishlist-btn--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-top-color: #ef4444;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.product-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* ========================================
   GRID VIEW (DEFAULT)
   ======================================== */
.product-card__image {
  height: 160px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image .wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

.product-card__vendor-badge {
  position: absolute;
  top: 8px;
  right: 48px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 9;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  letter-spacing: 0.3px;
  text-transform: capitalize;
}

.product-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.product-card__body {
  padding: 16px;
}

.product-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.product-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 14px;
  min-height: 42px;
}

.product-card__price-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.product-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.product-card__btn {
  display: block;
  width: 100%;
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  transition: background 0.2s;
  text-decoration: none;
}

.product-card__btn:hover {
  background: #162d52;
}

/* Skeleton */
.product-card--skeleton {
  pointer-events: none;
}

.product-card--skeleton .product-card__image {
  background: #f0f0f0;
}

/* ========================================
   LIST VIEW (HORIZONTAL LAYOUT)
   ======================================== */
.product-card--list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.product-card--list:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Left: Image section */
.product-card__image--list {
  flex: 0 0 220px;
  width: 220px;
  height: auto;
  min-height: 160px;
  position: relative;
}

.product-card__image--list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1e293b;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-card__image--list .product-card__vendor-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
}

/* Middle: Info section */
.product-card__body--list {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.product-card__stars {
  display: flex;
  gap: 1px;
}

.product-card__star-icon {
  font-size: 16px;
  color: #fbbf24;
}

.product-card__star-icon.empty {
  color: #d1d5db;
}

.product-card__rating-score {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.product-card__review-count {
  font-size: 12px;
  color: #94a3b8;
}

.product-card__description {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right: Price & CTA section */
.product-card__footer--list {
  flex: 0 0 220px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 24px;
  border-left: 1px solid #f1f5f9;
  gap: 10px;
  text-align: left;
}

.product-card__footer--list .product-card__price-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0;
}

.product-card__footer--list .product-card__price {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 0;
}

.product-card__fee-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 2px;
}

.product-card__footer--list .product-card__btn {
  width: 100%;
  padding: 10px 16px;
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  text-transform: uppercase;
  margin-top: 6px;
}

.product-card__footer--list .product-card__btn:hover {
  background: #1e3a8a;
  transform: translateY(-1px);
}
.product-section {
  padding: 40px 0;
  background: #fff;
}

.product-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.product-section__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.product-section__sub {
  font-size: 14px;
  color: var(--text-secondary);
}

.product-section__see-all {
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.product-section__see-all:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg-light);
}

.product-section__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .product-section__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .product-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .product-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.special-banner {
  padding: 8px 0 32px;
  background: #fff;
}

.special-banner__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.special-banner__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #f0fdf9 0%, #e8f8f5 100%);
  border: 1.5px solid #c6f0e8;
  border-radius: 14px;
  padding: 22px 28px;
}

.special-banner__left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
}

.special-banner__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 191, 174, 0.12);
  border: 1.5px solid rgba(0, 191, 174, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.special-banner__info {
  flex: 1;
}

.special-banner__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.special-banner__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.special-banner__badge {
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.special-banner__desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.special-banner__pricing {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.special-banner__pricing-label {
  background: rgba(0, 191, 174, 0.12);
  color: var(--teal-mid);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.special-banner__pricing-text {
  color: #374151;
  font-size: 13px;
}

.special-banner__pricing-text strong {
  color: var(--teal-mid);
  font-weight: 800;
  font-size: 15px;
}

.special-banner__cta {
  background: var(--navy);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.special-banner__cta:hover {
  background: #162d52;
}

@media (max-width: 768px) {
  .special-banner__card { flex-direction: column; align-items: flex-start; }
}
.trust-section {
  padding: 60px 0;
  background: #fff;
}

.trust-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.trust-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.trust-section__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.trust-section__sub {
  font-size: 15px;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.trust-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.trust-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.trust-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.trust-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.trust-card__desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .trust-section__grid { grid-template-columns: 1fr; }
}
.newsletter {
  padding: 32px 0 40px;
  background: #fff;
}

.newsletter__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.newsletter__card {
  background: linear-gradient(135deg, #1a3a6b 0%, #0d2347 60%, #162d52 100%);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter__bg-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.newsletter__bg-circle--1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
}

.newsletter__bg-circle--2 {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -80px;
}

.newsletter__content {
  position: relative;
  z-index: 2;
}

.newsletter__title {
  font-size: 36px;
  font-weight: 800;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  /* Watermark style like in screenshot */
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.newsletter__form {
  display: flex;
  align-items: center;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  padding: 4px 4px 4px 16px;
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: white;
  font-family: var(--font);
  padding: 10px 0;
}

.newsletter__input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter__btn {
  background: white;
  color: var(--navy);
  border: none;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: var(--font);
}

.newsletter__btn:hover {
  background: #f0f9ff;
}

@media (max-width: 640px) {
  .newsletter__form { flex-direction: column; padding: 12px; gap: 10px; }
  .newsletter__btn { width: 100%; }
  .newsletter__title { font-size: 26px; }
}
.plan-based-city-selector {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 14px;
}

.city-selector-empty,
.city-selector-virtual {
  padding: 12px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  background: #f3f4f6;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.virtual-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.virtual-badge {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #0ea5e9;
}

.virtual-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.selector-phase {
  margin-bottom: 16px;
  padding: 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.selector-phase:last-child {
  margin-bottom: 0;
}

.phase-header {
  margin-bottom: 12px;
}

.phase-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.phase-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #0ea5e9;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

.limit-badge {
  margin-left: auto;
  font-size: 12px;
  padding: 2px 8px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 12px;
  font-weight: 500;
}

.phase-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.phase-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.city-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid #0ea5e9;
  border-radius: 6px;
  background: white;
  transition: all 0.2s;
}

.search-input-wrapper:focus-within {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  border-color: #0284c7;
}

.search-icon {
  color: #0ea5e9;
  font-size: 16px;
  flex-shrink: 0;
}

.city-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
  color: #1f2937;
}

.city-search-input::placeholder {
  color: #9ca3af;
}

.city-search-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-button {
  padding: 8px 16px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-button:hover:not(:disabled) {
  background: #0284c7;
  box-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
}

.search-button:active:not(:disabled) {
  transform: scale(0.98);
}

.search-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-status {
  font-size: 12px;
  color: #0284c7;
  margin: 0;
  text-align: center;
}

.search-error {
  font-size: 12px;
  color: #dc2626;
  margin: 0;
  text-align: center;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
  background: #f0f9ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
}

.search-result-item {
  padding: 8px 10px;
  border: 1px solid #dbeafe;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-item:hover {
  background: #e0f2fe;
  border-color: #0284c7;
}

.result-name {
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
}

.result-meta {
  font-size: 11px;
  color: #64748b;
}

.selected-city-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #e0f2fe;
  border: 1px solid #0ea5e9;
  border-radius: 6px;
}

.city-badge {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #0284c7;
}

.remove-city-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  color: #0ea5e9;
  transition: all 0.2s;
  flex-shrink: 0;
}

.remove-city-btn:hover {
  background: #0ea5e9;
  color: white;
}

.selected-cities-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.max-reached {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  padding: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  margin: 0;
}

.validation-error {
  padding: 8px 12px;
  background: #fee2e2;
  border: 1px solid #f87171;
  border-radius: 4px;
  font-size: 12px;
  color: #dc2626;
  margin-top: 8px;
}

/* Mobile Responsive Styles */
@media (max-width: 640px) {
  .search-input-group {
    flex-direction: column;
    gap: 8px;
  }

  .search-button {
    width: 100%;
  }

  .phase-title {
    flex-wrap: wrap;
  }

  .limit-badge {
    margin-left: 0;
    margin-top: 4px;
    width: 100%;
  }
}
/* ========================================
   BASE PAGE LAYOUT
   ======================================== */
.category-products-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ========================================
   COMPLIANCE HEADER SECTION
   ======================================== */
.compliance-header {
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f9ff 50%, #e0f2fe 100%);
  border-radius: 16px;
  padding: 48px 60px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.compliance-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

.header-content {
  flex: 1;
  max-width: 65%;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.compliance-badge svg {
  color: #0284c7;
}

.header-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.header-description {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 90%;
}

.header-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
}

.feature-icon {
  color: #0ea5e9;
  font-size: 18px;
}

.header-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shield-icon {
  width: 140px;
  height: 140px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.info-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: #1e293b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ========================================
   TOP FILTERS SECTION (Horizontal)
   ======================================== */
.filters-section-top {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.filters-section-top:hover {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.filters-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filters-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.filters-title svg {
  color: #0ea5e9;
  font-size: 24px;
  animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.clear-all-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #fca5a5;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clear-all-btn:hover {
  background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
  border-color: #f87171;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.clear-all-btn:active {
  transform: translateY(0);
}

.filters-grid-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: start;
}

.filter-group-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.filter-group-top:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

.filter-label-top {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-label-top::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #0ea5e9;
  border-radius: 50%;
}

.checkbox-group-horizontal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-label-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.checkbox-label-top:hover {
  color: #0ea5e9;
  background: #f0f9ff;
  padding-left: 14px;
}

.checkbox-label-top input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0ea5e9;
  flex-shrink: 0;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.checkbox-label-top input[type="checkbox"]:hover {
  transform: scale(1.1);
}

.checkbox-label-top input[type="checkbox"]:checked {
  color: #0284c7;
}

.city-filter-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.city-select-top {
  height: 40px;
  padding: 8px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  cursor: pointer;
  outline: none;
  background: white;
  transition: all 0.3s ease;
  width: 100%;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 20px;
  padding-right: 36px;
}

.city-select-top:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.city-select-top:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.city-select-top:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #cbd5e1;
  opacity: 0.6;
}

.required-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  color: #dc2626;
  font-weight: 700;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.city-tags-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.city-tag-top {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
  border: 1px solid #0ea5e9;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  color: #0284c7;
  font-weight: 600;
  animation: slideIn 0.3s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.city-tag-top button {
  background: none;
  border: none;
  color: #0284c7;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  margin-left: 4px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  justify-content: center;
}

.city-tag-top button:hover {
  background: #0ea5e9;
  color: white;
  transform: scale(1.1);
}

.city-tag-more {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  border: none;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 11px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* ========================================
   APPLY FILTERS BUTTON
   ======================================== */
.apply-filters-btn-top {
  width: 100%;
  padding: 14px 20px;
  margin-top: 20px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.apply-filters-btn-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.apply-filters-btn-top:hover::before {
  left: 100%;
}

.apply-filters-btn-top:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
  transform: translateY(-2px);
}

.apply-filters-btn-top:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* ========================================
   CONTENT WITH SIDEBAR LAYOUT — FIXED
   ======================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* ========================================
   LEFT SIDEBAR - PRICE & RATINGS — FIXED
   ======================================== */
.filters-sidebar {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0;
  position: sticky;
  top: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  /* Ensure sidebar does not shrink or grow */
  flex-shrink: 0;
  width: 280px;
  min-width: 280px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.active-count {
  background: #0ea5e9;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-filter-section {
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-filter-section:last-of-type {
  border-bottom: none;
}

.filter-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s;
  text-align: left;
  box-sizing: border-box;
}

.filter-section-header:hover {
  background: #f8fafc;
}

.filter-section-header svg {
  color: #64748b;
  flex-shrink: 0;
}

.filter-section-content {
  padding: 12px 20px 16px;
  background: #fafbfc;
}

/* Price Inputs in Sidebar */
.price-inputs-sidebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.price-input-sidebar {
  height: 36px;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.price-input-sidebar:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.price-separator-sidebar {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  flex-shrink: 0;
}

.price-display {
  margin-top: 10px;
  padding: 8px 12px;
  background: #e0f2fe;
  border: 1px solid #0ea5e9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0284c7;
  text-align: center;
}

/* Price Slider */
.price-slider-container {
  margin-bottom: 16px;
}

.slider-track {
  position: relative;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 8px;
}

.slider-input {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 5;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0ea5e9;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  transition: all 0.2s;
}

.slider-input::-webkit-slider-thumb:hover {
  background: #0284c7;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  transform: scale(1.1);
}

.slider-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0ea5e9;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  transition: all 0.2s;
}

.slider-input::-moz-range-thumb:hover {
  background: #0284c7;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.slider-input::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

.slider-input::-moz-range-track {
  background: transparent;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Ratings in Sidebar */
.rating-options-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-label-sidebar {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 0;
  transition: all 0.2s;
}

.rating-label-sidebar:hover {
  padding-left: 4px;
}

.rating-label-sidebar input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0ea5e9;
  flex-shrink: 0;
}

.stars-sidebar {
  display: flex;
  gap: 1px;
  flex: 1;
}

.stars-sidebar .star {
  color: #cbd5e1;
  font-size: 15px;
}

.stars-sidebar .star.filled {
  color: #fbbf24;
}

.rating-text-sidebar {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 40px);
  margin: 16px 20px;
  padding: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
}

.sidebar-clear-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

/* ========================================
   MAIN PRODUCTS AREA — FIXED
   ======================================== */
.products-main-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* prevents overflow in grid */
}

/* Active Filters Inline */
.active-filters-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid #bae6fd;
  border-radius: 8px;
  flex-wrap: wrap;
}

.filters-label-inline {
  font-size: 12px;
  font-weight: 600;
  color: #0284c7;
  white-space: nowrap;
}

.filter-tags-inline {
  flex: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-tag-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 12px;
  color: #475569;
}

.filter-tag-inline button {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #94a3b8;
}

.filter-tag-inline button:hover {
  color: #64748b;
}

/* Products Section Header */
.products-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
}

.subtitle {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #64748b;
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.view-toggle {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 4px;
}

.view-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
  padding: 0;
}

.view-btn:hover {
  color: #1e293b;
}

.view-btn.active {
  background: white;
  color: #0ea5e9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.sort-select {
  height: 32px;
  padding: 4px 28px 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  color: #1e293b;
  cursor: pointer;
  outline: none;
  background: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  -webkit-appearance: none;
  appearance: none;
}

/* ========================================
   PRODUCTS GRID — FIXED
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.products-grid.list {
  grid-template-columns: 1fr;
}

/* ========================================
   PRODUCT CARD — FIXED
   ======================================== */
.product-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
  transform: translateY(-2px);
}

.product-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #0284c7;
  background: #e0f2fe;
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}

.product-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
  /* Prevent overflow */
  word-break: break-word;
}

.product-card-provider {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.product-card-footer {
  padding: 12px 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card-price {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.product-card-price span {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
}

.product-card-cta {
  padding: 8px 16px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card-cta:hover {
  background: #0284c7;
}

/* List view card */
.products-grid.list .product-card {
  flex-direction: row;
  align-items: stretch;
}

.products-grid.list .product-card-image {
  width: 200px;
  height: auto;
  min-height: 140px;
  flex-shrink: 0;
  border-radius: 0;
}

.products-grid.list .product-card-body {
  flex: 1;
}

.products-grid.list .product-card-footer {
  border-top: none;
  border-left: 1px solid #f1f5f9;
  flex-direction: column;
  justify-content: center;
  min-width: 140px;
  padding: 16px;
}

/* ========================================
   STATES
   ======================================== */
.loading-state {
  padding: 20px 0;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skeleton-grid.list {
  grid-template-columns: 1fr;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.empty-state h3 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

.reset-filters-btn {
  padding: 10px 24px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.reset-filters-btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px;
}

.error-message p {
  margin: 0;
  color: #991b1b;
  font-size: 14px;
}

.load-more-section {
  text-align: center;
  margin-top: 32px;
}

.btn-load-more {
  padding: 12px 32px;
  background: white;
  border: 2px solid #0ea5e9;
  border-radius: 8px;
  color: #0ea5e9;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-load-more:hover:not(:disabled) {
  background: #0ea5e9;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   ALL PRODUCTS PAGE - LAYOUT — FIXED
   ======================================== */
.products-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto 1fr;
  gap: 24px;
  margin-top: 20px;
  align-items: start;
}

.top-filters-section {
  grid-column: 1 / -1;
  grid-row: 1;
}

/* Sidebar in products-container context */
.products-container > .filters-sidebar {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: 24px;
  width: auto;
  min-width: auto;
}

.products-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

/* Active Filters Display */
.active-filters-section {
  padding: 12px 16px;
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: 8px;
}

.filters-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #e0f2fe;
  border: 1px solid #0ea5e9;
  border-radius: 16px;
  font-size: 12px;
  color: #0284c7;
  font-weight: 500;
}

.chip-remove {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  cursor: pointer;
  color: #0284c7;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.2s;
  line-height: 1;
}

.chip-remove:hover {
  color: #065f73;
}

/* Products Header Controls */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.header-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Clear All Filters Button */
.clear-all-filters-btn {
  width: 100%;
  padding: 10px 12px;
  margin-top: 12px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
}

.clear-all-filters-btn:hover {
  background: #fecaca;
  border-color: #f87171;
}

/* Nested Subcategories */
.subcategories-nested {
  margin-left: 20px;
  border-left: 2px solid #e2e8f0;
  padding-left: 8px;
  margin-top: 6px;
}

.checkbox-label-nested {
  font-size: 12px !important;
}

/* ========================================
   TOP FILTERS SECTION (ALL PRODUCTS PAGE)
   ======================================== */
/* Override for top-filters-section in products-container */
.products-container .top-filters-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.products-container .top-filters-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.top-filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.top-filter-group:hover {
  border-color: #0ea5e9;
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.top-filter-title {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-filter-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  background: #0ea5e9;
  border-radius: 50%;
}

.top-filter-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.top-filter-items::-webkit-scrollbar {
  width: 4px;
}

.top-filter-items::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.top-filter-items::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.top-filter-items::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.top-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  color: #475569;
  transition: all 0.2s ease;
  padding: 3px 0;
  font-weight: 500;
}

.top-filter-checkbox input[type="checkbox"],
.top-filter-checkbox input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0ea5e9;
  flex-shrink: 0;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.top-filter-checkbox:hover {
  color: #0ea5e9;
  padding-left: 3px;
}

.top-filter-checkbox input[type="checkbox"]:hover,
.top-filter-checkbox input[type="radio"]:hover {
  transform: scale(1.1);
}

.top-filter-checkbox-nested {
  font-size: 12px;
  margin-left: 0;
  padding-left: 8px;
  border-left: 2px solid #cbd5e1;
  color: #64748b;
  transition: all 0.2s ease;
}

.top-filter-checkbox-nested:hover {
  color: #0ea5e9;
  border-left-color: #0ea5e9;
  padding-left: 12px;
}

.top-filter-subcategories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.subcategory-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Expandable Categories */
.top-filter-items-expandable {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-item-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 0;
}

.expand-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: rgba(14, 165, 233, 0.08);
  color: #0ea5e9;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.expand-toggle:hover {
  background-color: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  transform: scale(1.05);
}

.expand-toggle:active {
  transform: scale(0.95);
}

.subcategories-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
  border-left: 2px solid #0ea5e9;
  margin-left: 0;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

/* Filter validation messages */
.filter-info-text {
  font-size: 12px;
  color: #0284c7;
  font-weight: 500;
  margin: 6px 0;
  padding: 6px 10px;
  background: rgba(2, 132, 199, 0.06);
  border-left: 3px solid #0284c7;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.filter-info-text:hover {
  background: rgba(2, 132, 199, 0.1);
}

.filter-error-text {
  font-size: 12px;
  color: #991b1b;
  font-weight: 600;
  padding: 8px 12px;
  background-color: #fee2e2;
  border-radius: 6px;
  border-left: 3px solid #dc2626;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  75% {
    transform: translateX(2px);
  }
}

.top-filter-checkbox input[type="checkbox"]:disabled,
.top-filter-checkbox input[type="radio"]:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  accent-color: #cbd5e1;
}

.top-filter-checkbox:has(input:disabled) {
  opacity: 0.55;
  color: #cbd5e1;
  cursor: not-allowed;
}

.top-filter-checkbox:has(input:disabled):hover {
  color: #cbd5e1;
  padding-left: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
  .content-with-sidebar {
    grid-template-columns: 240px 1fr;
  }

  .filters-sidebar {
    width: 240px;
    min-width: 240px;
  }

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

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

  .products-container {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 968px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
    width: 100%;
    min-width: unset;
    margin-bottom: 20px;
  }

  .products-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .products-container > .filters-sidebar {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }

  .products-main-content {
    grid-column: 1;
    grid-row: 3;
  }

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

@media (max-width: 768px) {
  .compliance-header {
    flex-direction: column;
    padding: 32px 24px;
  }

  .header-content {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .header-title {
    font-size: 24px;
  }

  .header-description {
    max-width: 100%;
  }

  .filters-grid-top {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .products-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-controls {
    width: 100%;
    justify-content: space-between;
  }

  .products-container .top-filters-section {
    flex-direction: column;
  }

  .top-filter-group {
    width: 100%;
    min-width: unset;
  }

  .top-filter-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .top-filter-checkbox {
    flex: 0 1 calc(50% - 6px);
  }

  .products-header {
    flex-direction: column;
  }

  .sort-select {
    flex: 1;
    min-width: 150px;
  }

  /* List view collapses on mobile */
  .products-grid.list .product-card {
    flex-direction: column;
  }

  .products-grid.list .product-card-image {
    width: 100%;
    height: 180px;
  }

  .products-grid.list .product-card-footer {
    border-left: none;
    border-top: 1px solid #f1f5f9;
    flex-direction: row;
    min-width: unset;
  }
}
.product-filter-selector {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0faf7 100%);
  border: 2px solid var(--teal, #00bfae);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 191, 174, 0.1);
}

.filter-selector__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy, #1d3783);
  margin: 0 0 20px 0;
  text-align: center;
}

.filter-selector__section {
  margin-bottom: 20px;
}

.filter-selector__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1d3783);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Selected Items Display */
.filter-selector__selected-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 36px;
  padding: 8px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--teal-light, #e0faf7);
}

.filter-selector__placeholder {
  color: #999;
  font-size: 13px;
  margin: 0;
  display: flex;
  align-items: center;
  height: 20px;
}

/* Chips */
.filter-selector__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal, #00bfae);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.chip__text {
  white-space: nowrap;
}

.chip__remove {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  transition: opacity 0.2s;
}

.chip__remove:hover {
  opacity: 0.7;
}

/* Dropdown */
.filter-selector__dropdown {
  position: relative;
  margin-bottom: 12px;
}

.dropdown__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: white;
  border: 2px solid var(--teal-light, #e0faf7);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy, #1d3783);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown__toggle:hover {
  border-color: var(--teal, #00bfae);
  background: #f9feff;
}

.dropdown__toggle:focus {
  outline: none;
  border-color: var(--teal, #00bfae);
  box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.1);
}

.toggle-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.toggle-icon.open {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid var(--teal, #00bfae);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: white;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
}

/* Zone Group (for zone selector) */
.dropdown__zone-group {
  border-bottom: 1px solid #eee;
}

.dropdown__zone-group:last-child {
  border-bottom: none;
}

.zone-group__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f9feff;
  font-weight: 600;
  color: var(--navy, #1d3783);
  border-bottom: 1px solid #e0faf7;
}

.zone-name {
  font-size: 14px;
}

.zone-price {
  font-size: 13px;
  color: var(--teal, #00bfae);
}

.zone-group__cities {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.city-option {
  padding: 10px 14px;
  text-align: left;
  background: none;
  border: none;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.city-option:hover {
  background: var(--teal-light, #e0faf7);
}

.city-option span {
  color: var(--teal, #00bfae);
  font-weight: bold;
}

/* Plan Option (for plan selector) */
.plan-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #eee;
}

.plan-option:last-child {
  border-bottom: none;
}

.plan-option:hover {
  background: var(--teal-light, #e0faf7);
}

.plan-option input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--teal, #00bfae);
}

.plan-name {
  font-size: 14px;
  color: #333;
}

/* Price Summary */
.filter-selector__price-summary {
  background: white;
  border: 2px solid var(--teal-light, #e0faf7);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.price-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--navy, #1d3783);
}

.price-summary__row:last-child {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
  border-top: 2px solid var(--teal-light, #e0faf7);
  padding-top: 8px;
  margin-top: 8px;
}

.price-summary__row strong {
  color: var(--teal, #00bfae);
  font-weight: 600;
}

/* Apply Button */
.filter-selector__apply-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-selector__apply-btn.enabled {
  background: linear-gradient(135deg, var(--teal, #00bfae), #008a7d);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
}

.filter-selector__apply-btn.enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 191, 174, 0.4);
}

.filter-selector__apply-btn.disabled {
  background: #ddd;
  color: #999;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
  .product-filter-selector {
    padding: 16px;
    margin: 16px 0;
  }

  .filter-selector__title {
    font-size: 16px;
  }

  .zone-group__header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-selector__selected-items {
    min-height: auto;
  }
}
/* === PRODUCT DETAIL PAGE - MINIMAL & COMPACT === */

.product-detail {
  min-height: 100vh;
  background: #ffffff;
  padding: 12px 14px 20px 14px;
}

.product-detail__container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Breadcrumb / Back Button */
.product-detail__breadcrumb {
  margin-bottom: 8px;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-detail__back:hover {
  color: #1f2937;
}

/* Category Breadcrumb Path */
.product-detail__breadcrumb-path {
  margin-bottom: 8px;
  padding: 6px 10px;
  background: #f9fafb;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  overflow-x: auto;
}

.product-detail__path-items {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: min-content;
}

.product-detail__path-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-detail__path-name {
  font-size: 11px;
  font-weight: 500;
  color: #0ea5e9;
}

.product-detail__path-separator {
  font-size: 11px;
  color: #d1d5db;
  font-weight: 600;
  margin: 0 1px;
}

.product-detail__product-path-name {
  font-size: 11px;
  font-weight: 600;
  color: #1f2937;
}

/* === TOP INFO SECTION - FILTERS & VENDOR === */
.product-detail__top-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: #f9fafb;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  align-items: center;
  font-size: 11px;
}

@media (max-width: 640px) {
  .product-detail__top-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.product-detail__top-left,
.product-detail__top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-detail__top-right {
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .product-detail__top-right {
    justify-content: flex-start;
  }
}

/* Filter Info */
.product-detail__filter-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-detail__filter-label {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.product-detail__filter-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.product-detail__filter-tag {
  display: inline-block;
  padding: 3px 8px;
  background: #0ea5e9;
  color: white;
  font-size: 10px;
  font-weight: 500;
  border-radius: 10px;
}

/* Vendor Info */
.product-detail__vendor-info {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid #e5e7eb;
}

.product-detail__vendor-label {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.product-detail__vendor-name {
  font-size: 11px;
  font-weight: 600;
  color: #1f2937;
}

/* === HERO SECTION === */
.product-detail__hero {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 18px;
  margin-bottom: 0;
  align-items: start;
}

@media (max-width: 1024px) {
  .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Image Section */
.product-detail__image-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-detail__image-container {
  width: 100%;
  aspect-ratio: 0.7;
  background: #f9fafb;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
}

.product-detail__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Deliverables Preview */
.product-detail__deliverables-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.product-detail__deliverable-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
}

/* === INFO SECTION === */
.product-detail__info-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Product Header */
.product-detail__header {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__category-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.product-detail__title {
  font-size: 19px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
  margin-bottom: 4px;
}

.product-detail__subtitle {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Price Display */
.product-detail__price-display {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__price-box {
  position: relative;
}

.product-detail__price-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.product-detail__price-values {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-detail__current-price {
  font-size: 24px;
  font-weight: 800;
  color: #0ea5e9;
}

.product-detail__original-price {
  font-size: 14px;
  color: #d1d5db;
  text-decoration: line-through;
}

.product-detail__discount-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 7px;
  background: #fef08a;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
}

/* Rating */
.product-detail__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 14px;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s ease;
}

.star.filled {
  color: #fbbf24;
}

.product-detail__reviews {
  font-size: 12px;
  color: #6b7280;
}

/* Purchase Section */
.product-detail__purchase {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  margin-top: 8px;
}

.product-detail__quantity {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  padding: 0 3px;
  background: white;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.qty-btn:hover {
  color: #0ea5e9;
}

.product-detail__quantity input {
  width: 40px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.product-detail__quantity input:focus {
  outline: none;
}

.product-detail__btn-add-to-cart {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.2);
}

.product-detail__btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.3);
}

/* Secondary Actions */
.product-detail__secondary-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
}

.product-detail__action-btn {
  flex: 1;
  padding: 8px 10px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.product-detail__action-btn:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.product-detail__action-btn--added {
  background: #e0f9f7;
  border-color: var(--teal);
  color: var(--teal);
  cursor: not-allowed;
}

.product-detail__action-btn--added:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #e0f9f7;
}

/* === DESCRIPTION SECTION === */
.product-detail__description-full {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid #e5e7eb;
}

.product-detail__desc-content {
  margin-bottom: 32px;
}

.product-detail__section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0ea5e9;
  display: inline-block;
}

.product-detail__desc-text {
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
  text-align: justify;
}

/* HTML Content from TipTap Editor - Rich Text Styling */
.product-detail__desc-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-detail__desc-text table td,
.product-detail__desc-text table th {
  border: 1px solid #d1d5db;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

.product-detail__desc-text table th {
  background-color: #f3f4f6;
  color: #1f2937;
  font-weight: 600;
  border-color: #9ca3af;
}

.product-detail__desc-text table tr:nth-child(even) {
  background-color: #f9fafb;
}

.product-detail__desc-text table tr:hover {
  background-color: #f3f4f6;
}

.product-detail__desc-text table p {
  margin: 0;
  padding: 0;
}

.product-detail__desc-text h1,
.product-detail__desc-text h2,
.product-detail__desc-text h3,
.product-detail__desc-text h4,
.product-detail__desc-text h5,
.product-detail__desc-text h6 {
  margin: 16px 0 8px 0;
  color: #1f2937;
  font-weight: 600;
}

.product-detail__desc-text h1 {
  font-size: 24px;
}

.product-detail__desc-text h2 {
  font-size: 20px;
}

.product-detail__desc-text h3 {
  font-size: 18px;
}

.product-detail__desc-text ul,
.product-detail__desc-text ol {
  margin: 12px 0;
  padding-left: 24px;
}

.product-detail__desc-text li {
  margin-bottom: 6px;
}

.product-detail__desc-text strong,
.product-detail__desc-text b {
  font-weight: 600;
  color: #1f2937;
}

.product-detail__desc-text em,
.product-detail__desc-text i {
  font-style: italic;
}

.product-detail__desc-text blockquote {
  border-left: 4px solid #0ea5e9;
  padding-left: 12px;
  margin-left: 0;
  color: #6b7280;
  font-style: italic;
}

.product-detail__desc-text code {
  background-color: #f3f4f6;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #dc2626;
}

/* Deliverables Full */
.product-detail__deliverables-full {
  background: #f9fafb;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.product-detail__deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.product-detail__deliverable-item {
  padding-left: 24px;
  position: relative;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

.product-detail__deliverable-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 14px;
}

/* === LOADING & ERROR STATES === */
.product-detail__loading,
.product-detail__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 16px;
}

.product-detail__loading p,
.product-detail__error p {
  font-size: 14px;
  color: #6b7280;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.product-detail__back-btn {
  padding: 8px 16px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-detail__back-btn:hover {
  background: #06b6d4;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .product-detail {
    padding: 16px 14px;
  }

  .product-detail__hero {
    gap: 24px;
  }

  .product-detail__title {
    font-size: 18px;
  }

  .product-detail__current-price {
    font-size: 24px;
  }

  .product-detail__purchase {
    flex-direction: column;
  }

  .product-detail__secondary-actions {
    flex-direction: column;
  }

  .product-detail__action-btn {
    width: 100%;
  }

  .product-detail__deliverables-list {
    grid-template-columns: 1fr;
  }

  .product-detail__deliverables-full {
    padding: 16px;
  }
}

.product-detail__container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Breadcrumb / Back Button */
.product-detail__breadcrumb {
  margin-bottom: 40px;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-detail__back:hover {
  color: #1f2937;
}

/* === HERO SECTION === */
.product-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Image Section */
.product-detail__image-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail__image-container {
  width: 100%;
  aspect-ratio: 1;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
}

.product-detail__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Deliverables Preview */
.product-detail__deliverables-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.product-detail__deliverable-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #4b5563;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* === INFO SECTION === */
.product-detail__info-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Product Header */
.product-detail__header {
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__category-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-detail__title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 8px;
}

.product-detail__subtitle {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Price Display */
.product-detail__price-display {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__price-box {
  position: relative;
}

.product-detail__price-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-detail__price-values {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.product-detail__current-price {
  font-size: 36px;
  font-weight: 800;
  color: #0ea5e9;
}

.product-detail__original-price {
  font-size: 16px;
  color: #d1d5db;
  text-decoration: line-through;
}

.product-detail__discount-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 8px;
  background: #fef08a;
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

/* Rating */
.product-detail__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 16px;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s ease;
}

.star.filled {
  color: #fbbf24;
}

.product-detail__reviews {
  font-size: 13px;
  color: #6b7280;
}

/* Options */
.product-detail__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
}

.product-detail__option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail__option-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-detail__select {
  padding: 12px 14px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.product-detail__select:hover,
.product-detail__select:focus {
  outline: none;
  border-color: #0ea5e9;
}

/* Purchase Section */
.product-detail__purchase {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.product-detail__quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 4px;
  background: white;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.qty-btn:hover {
  color: #0ea5e9;
}

.product-detail__quantity input {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.product-detail__quantity input:focus {
  outline: none;
}

.product-detail__btn-add-to-cart {
  flex: 1;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.product-detail__btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Secondary Actions */
.product-detail__secondary-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.product-detail__action-btn {
  flex: 1;
  padding: 12px 16px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.product-detail__action-btn:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.product-detail__action-btn--added {
  background: #e0f9f7;
  border-color: var(--teal);
  color: var(--teal);
  cursor: not-allowed;
}

.product-detail__action-btn--added:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #e0f9f7;
}

/* === DESCRIPTION SECTION === */
.product-detail__description-full {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid #e5e7eb;
}

.product-detail__desc-content {
  margin-bottom: 48px;
}

.product-detail__section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0ea5e9;
  display: inline-block;
}

.product-detail__desc-text {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  text-align: justify;
}

/* Deliverables Full */
.product-detail__deliverables-full {
  background: #f9fafb;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.product-detail__deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.product-detail__deliverable-item {
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

.product-detail__deliverable-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 16px;
}

/* === LOADING & ERROR STATES === */
.product-detail__loading,
.product-detail__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
}

.product-detail__loading p,
.product-detail__error p {
  font-size: 16px;
  color: #6b7280;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.product-detail__back-btn {
  padding: 10px 20px;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-detail__back-btn:hover {
  background: #06b6d4;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .product-detail {
    padding: 20px 16px;
  }

  .product-detail__hero {
    gap: 30px;
  }

  .product-detail__title {
    font-size: 22px;
  }

  .product-detail__current-price {
    font-size: 28px;
  }

  .product-detail__purchase {
    flex-direction: column;
  }

  .product-detail__secondary-actions {
    flex-direction: column;
  }

  .product-detail__action-btn {
    width: 100%;
  }

  .product-detail__deliverables-list {
    grid-template-columns: 1fr;
  }

  .product-detail__deliverables-full {
    padding: 20px;
  }
}

.product-detail__container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Back Button */
.product-detail__back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 24px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-detail__back-button:hover {
  background: #f9fafb;
  border-color: #0ea5e9;
  color: #0ea5e9;
}

/* Filter Chips */
.product-detail__filter-chips {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-detail__filter-title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-detail__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-detail__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

/* Main Content Grid */
.product-detail__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .product-detail__content {
    grid-template-columns: 1fr;
  }
}

/* Left Section - Images */
.product-detail__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail__image-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__meta {
  background: white;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.product-detail__category {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail__category-label {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-detail__category-name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  padding: 8px 12px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 6px;
  width: fit-content;
}

/* Middle Section - Details */
.product-detail__middle {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-detail__title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.4;
}

.product-detail__short-desc {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 24px;
  font-weight: 500;
}

.product-detail__section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0ea5e9;
}

.product-detail__description {
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 24px;
  text-align: justify;
}

.product-detail__description-section {
  margin-bottom: 32px;
}

/* Variant Details */
.product-detail__variant-details {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #e5e7eb;
}

.product-detail__variant-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-detail__variant-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #0ea5e9;
}

.product-detail__variant-item--discount {
  background: rgba(34, 197, 94, 0.08);
  border-left-color: #22c55e;
}

.product-detail__variant-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.product-detail__variant-value {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.product-detail__variant-value--discount {
  color: #22c55e;
}

/* Savings */
.product-detail__savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.1),
    rgba(34, 197, 94, 0.05)
  );
  border-radius: 8px;
  border: 2px solid #22c55e;
  margin-top: 8px;
}

.product-detail__savings-label {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
}

.product-detail__savings-amount {
  font-size: 18px;
  font-weight: 700;
  color: #22c55e;
}

/* Deliverables */
.product-detail__deliverables {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #e5e7eb;
}

.product-detail__deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-detail__deliverable-item {
  font-size: 14px;
  color: #4b5563;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.product-detail__deliverable-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* Right Section - Pricing & CTA */
.product-detail__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-detail__price-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.product-detail__price-section {
  margin-bottom: 20px;
}

.product-detail__price-label {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.product-detail__price-amount {
  font-size: 36px;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 8px;
}

.product-detail__original-price {
  font-size: 16px;
  color: #d1d5db;
  text-decoration: line-through;
}

/* CTA Buttons */
.product-detail__cta-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.product-detail__btn {
  flex: 1;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-detail__btn--primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.product-detail__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.product-detail__btn--secondary {
  background: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  flex: 0 0 auto;
}

.product-detail__btn--secondary:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

/* Filter Suggestion */
.product-detail__filter-suggestion {
  background: rgba(59, 130, 246, 0.08);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
  margin-top: 16px;
}

.product-detail__filter-suggestion p {
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 12px;
  font-weight: 500;
}

.product-detail__filter-btn {
  width: 100%;
  padding: 10px 14px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-detail__filter-btn:hover {
  background: #2563eb;
}

/* Info Cards */
.product-detail__info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-detail__info-card {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.product-detail__info-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #0ea5e9;
}

.product-detail__info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.product-detail__info-card p {
  font-size: 12px;
  color: #6b7280;
}

/* Loading State */
.product-detail__loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Error State */
.product-detail__error {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
}

.product-detail__error p {
  font-size: 16px;
  color: #ef4444;
  margin: 0;
}

.product-detail__back-btn {
  padding: 12px 24px;
  background: #1f2937;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-detail__back-btn:hover {
  background: #111827;
}
.wishlist-page {
  min-height: 100vh;
  background: var(--bg-light);
  padding: 20px;
}

.wishlist-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  background: white;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(13, 31, 60, 0.06);
}

.back-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 220ms ease;
}

.back-btn:hover {
  background: var(--bg-light);
  color: var(--teal);
}

.wishlist-header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 22px;
  margin: 0;
}

.header-info {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 14px;
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.empty-state {
  background: white;
  border-radius: 10px;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(13, 31, 60, 0.06);
}

.empty-state svg {
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-state h2 {
  color: var(--text-primary);
  font-size: 20px;
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}

/* Wishlist Card */
.wishlist-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13, 31, 60, 0.06);
  transition: all 220ms ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wishlist-card:hover {
  box-shadow: 0 8px 24px rgba(13, 31, 60, 0.12);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-light);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.wishlist-card:hover .card-image img {
  transform: scale(1.05);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  background: linear-gradient(135deg, #f0f4ff 0%, #e0faf7 100%);
  font-size: 14px;
}

.remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 200ms ease;
}

.wishlist-card:hover .remove-btn {
  opacity: 1;
  transform: scale(1);
}

.remove-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vendor-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.vendor-info img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.vendor-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variant-details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.badge {
  background: var(--teal-light);
  color: var(--teal);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.badge.multi {
  background: var(--navy);
  color: white;
  font-weight: 700;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price .label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.price .amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.add-to-cart-btn {
  margin-left: auto;
  background: var(--navy);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 200ms ease;
}

.add-to-cart-btn:hover {
  filter: brightness(1.08);
  transform: translateX(2px);
}

/* Applied Filters Section */
.applied-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 45px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.filter-pill.zone {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal);
  border: 0.5px solid rgba(20, 184, 166, 0.3);
}

.filter-pill.city {
  background: rgba(59, 130, 246, 0.12);
  color: rgb(59, 130, 246);
  border: 0.5px solid rgba(59, 130, 246, 0.3);
}

.filter-pill.plan {
  background: rgba(168, 85, 247, 0.12);
  color: rgb(168, 85, 247);
  border: 0.5px solid rgba(168, 85, 247, 0.3);
}

.filter-pill.more {
  background: rgba(100, 116, 139, 0.12);
  color: rgb(100, 116, 139);
  border: 0.5px solid rgba(100, 116, 139, 0.3);
}

.wishlist-page.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.wishlist-page.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.btn.primary {
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
}

.btn.primary:hover {
  filter: brightness(1.08);
}
.placeholder-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.placeholder-page__inner {
  text-align: center;
  max-width: 480px;
}

.placeholder-page__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.placeholder-page__sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.placeholder-page__back {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}

.placeholder-page__back:hover {
  background: #162d52;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1d3783;
  --navy-dark: #091628;
  --teal: #00bfae;
  --teal-light: #e0faf7;
  --teal-mid: #00a896;
  --blue-dark: #1a3a6b;
  --blue-card: #1e3f7a;
  --text-primary: #0d1f3c;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --yellow: #f59e0b;
  --red: #ef4444;
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

img {
  max-width: 100%;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Skeleton animation */
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

.skeleton {
  background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
  background-size: 936px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
}
