@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");/* 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;
  }
}

/* Mobile Subcategory Wrapper */
.mobile-menu__subcategory-wrapper {
  border-bottom: 1px dashed #e5e7eb;
}

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

/* Mobile Subcategory Header */
.mobile-menu__subcategory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

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

.mobile-menu__subcategory-name:hover {
  background-color: #e8ecf1;
  color: #1d3a85;
}

.mobile-menu__subcategory-toggle {
  background: none;
  border: none;
  color: #6b7280;
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

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

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

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

/* Mobile Grandchild Item */
.mobile-menu__grandchild-item {
  background: none;
  border: none;
  text-align: left;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  padding: 8px 16px 8px 60px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__grandchild-item:hover {
  background-color: #dee2e6;
  color: #1d3a85;
}

.mobile-menu__grandchild-item.view-all {
  color: #0284c7;
  font-weight: 600;
  border-bottom: 1px dashed #dee2e6;
}

.mobile-menu__grandchild-item.view-all:hover {
  background-color: #dee2e6;
  color: #0369a1;
}

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

.grandchild-bullet {
  font-size: 14px;
  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: visible;
    position: relative;
    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;
  }

  /* reveal dropdown below the avatar */
  .user-dropdown,
  .user-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  /* Bridge the gap between avatar and dropdown to prevent hover flicker */
  .user-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }

  .user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(13, 31, 60, 0.14);
    z-index: 60;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    pointer-events: none;
    min-width: 160px;
    overflow: hidden;
  }

  .user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.15s;
    border-bottom: 1px solid var(--border);
  }

  .user-dropdown-item:last-child {
    border-bottom: none;
  }

  .user-dropdown-item:hover {
    background: #f0f4ff;
    color: #1d3783;
  }

  .user-dropdown-logout {
    color: #ef4444;
  }

  .user-dropdown-logout:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
  }

  /* 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;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 56px;
  }
}

/* ===== SEARCH RECOMMENDATIONS / SUGGESTIONS DROPDOWN ===== */
.navbar__suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(13, 31, 60, 0.12), 0 4px 12px rgba(13, 31, 60, 0.04);
  z-index: 999;
  max-height: 380px;
  overflow-y: auto;
  animation: suggestionsFadeIn 0.2s ease-out;
}

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

.suggestions-loading,
.suggestions-empty {
  padding: 24px;
  text-align: center;
  color: #6b7280;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.suggestions-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #e5e7eb;
  border-top-color: #4cc9ca;
  border-radius: 50%;
  animation: suggestionsSpin 0.8s linear infinite;
}

@keyframes suggestionsSpin {
  to {
    transform: rotate(360deg);
  }
}

.suggestions-list {
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 8px;
  margin: 2px 4px;
  user-select: none;
}

.suggestion-item.active,
.suggestion-item:hover {
  background-color: #f0f4ff;
}

.suggestion-image-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

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

.suggestion-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}

.suggestion-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.suggestion-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1d3a85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.suggestion-item.active .suggestion-title,
.suggestion-item:hover .suggestion-title {
  color: #0d2a75;
}

.suggestion-category {
  font-size: 10px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.suggestion-price {
  font-size: 13px;
  font-weight: 700;
  color: #4cc9ca;
  flex-shrink: 0;
  margin-left: 10px;
  background: #f0fdfa;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 191, 174, 0.1);
}

.suggestion-item.active .suggestion-price,
.suggestion-item:hover .suggestion-price {
  background: #e6fcf7;
}

.suggestions-footer {
  padding: 10px 16px;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
  font-weight: 600;
  color: #4cc9ca;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 0 0 10px 10px;
  background: #fafafa;
  margin-top: 4px;
}

.suggestions-footer:hover {
  background-color: #f0fdfa;
  color: #1d3a85;
}

.footer-arrow {
  transition: transform 0.2s ease;
}

.suggestions-footer:hover .footer-arrow {
  transform: translateX(4px);
}/* ========================================
   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: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  width: 100%;
}

/* ========================================
   CATEGORY LIST
   ======================================== */
.category-bar__list {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  gap: 4px;
  min-width: 0;
}

/* ========================================
   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;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.category-bar__item-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  filter: brightness(0) invert(1); /* Make it white to match the theme if needed, but let's see */
}

.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;
}

/* ========================================
   MORE BUTTON
   ======================================== */
.category-bar__more-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 8px;
}

.category-bar__more-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.category-bar__more-btn.active {
  background: #ffffff;
  color: #1d3a85;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-bar__more-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-bar__more-icon.rotated {
  transform: rotate(180deg);
}

/* ========================================
   DROPDOWN MENU
   ======================================== */
.category-bar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  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: 280px;
  width: max-content;
  z-index: 9999;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  margin-top: 4px;
}

/* Right-aligned dropdown helper classes */
.category-bar__dropdown--align-right {
  left: auto;
  right: 0;
}

.category-bar__dropdown--align-right::before {
  left: auto !important;
  right: 24px !important;
}

/* 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;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.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 {
  padding: 4px 0;
  display: flex;
  flex-direction: row;
}

/* 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-wrapper {
  width: 100%;
}

.category-bar__subcategory {
  display: flex;
  align-items: flex-start;
  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;
  line-height: 1.4;
}

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

.subcategory-text {
  flex: 1;
}

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

.subcategory-arrow-icon {
  opacity: 0.5;
  transform: translateX(-2px);
  transition: all 0.15s ease;
  color: #94a3b8;
  flex-shrink: 0;
  margin-left: auto;
  margin-top: 2px;
}

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

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

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

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

.category-bar__subcategory.active .subcategory-arrow-icon {
  opacity: 1;
  color: #1d3a85;
  transform: rotate(90deg);
}

/* 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;
}

/* ========================================
   GRANDCHILD FLYOUT DROPDOWN
   ======================================== */
.category-bar__grandchild-dropdown {
  position: absolute;
  top: 0;
  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);
  width: 280px;
  min-height: 100%;
  z-index: 10000;
  animation: flyoutSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.category-bar__grandchild-dropdown.align-right {
  left: 100%;
  margin-left: 4px;
}

.category-bar__grandchild-dropdown.align-left {
  right: 100%;
  margin-right: 4px;
}

@keyframes flyoutSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.category-bar__grandchild-header {
  padding: 10px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.category-bar__grandchild-title {
  font-size: 11px;
  font-weight: 700;
  color: #1d3a85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-bar__grandchild-list {
  max-height: 350px;
  overflow-y: auto;
  padding: 4px 0;
}

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

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

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

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

/* Grandchild item buttons */
.category-bar__grandchild-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 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", sans-serif;
  line-height: 1.4;
}

.grandchild-bullet {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
  transition: color 0.15s ease;
  margin-top: 1px;
}

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

.category-bar__grandchild-item:hover .grandchild-bullet {
  color: #1d3a85;
}

/* View all option styling */
.category-bar__grandchild-item.view-all {
  color: #0284c7;
  font-weight: 600;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.category-bar__grandchild-item.view-all .grandchild-bullet {
  color: #0284c7;
}

.category-bar__grandchild-item.view-all:hover {
  background: #e0f2fe;
  color: #0369a1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
/* ========================================
   SUB-NAVBAR (EXPANDED)
   ======================================== */
.category-bar__sub-nav {
  width: 100%;
  background: linear-gradient(90deg,
      #1d3a85 0%,
      #2a52a0 20%,
      #2e8fa0 45%,
      #38b8b8 70%,
      #4cc9ca 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.category-bar__sub-nav.collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.category-bar__sub-nav.expanded {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

.category-bar__sub-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 28px;
}

.category-bar__sub-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* Adjustments for items in sub-nav */
.category-bar__sub-nav .category-bar__item {
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 12px;
}

.category-bar__sub-nav .category-bar__item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.category-bar__sub-nav .category-bar__item.active {
  background: #ffffff;
  color: #1d3a85;
  border-color: #ffffff;
  font-weight: 700;
}

/* ========================================
   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;
  }
}

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

@media (max-width: 1024px) {
  .category-bar__sub-nav-inner {
    padding: 15px 20px;
  }
}.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__category-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.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-track {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1000px;
}

.promo-card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.8s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translatex(1px) scale(0.98);
  overflow: hidden;
}

.promo-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateY(0) scale(1);
}

.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-track {
    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-track {
    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 ───────────────────────────────────────────── */

/* container that holds stacked cards for cross-fade */
.promo-track {
  position: relative;
  width: 100%;
  height: 420px;
}

/* 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.active .promo-card__benefits li {
  animation: benefit-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.4s + var(--benefit-delay, 0s));
}

@keyframes benefit-pop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(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);
}

/* ─── Skeleton Loading for Frameworks Sidebar ─── */
.sidebar__item-skeleton {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--border);
}

.skeleton__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f3f4f6;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
  flex-shrink: 0;
}

.skeleton__label {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: #f3f4f6;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
}

.skeleton__count {
  width: 20px;
  height: 14px;
  border-radius: 4px;
  background: #f3f4f6;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}.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;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.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;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.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;
  margin-top: auto;
}

.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);
}

/* Empanelment Badge */
.product-card__empanelment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #ecfdf5;
  color: #059669;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid #10b981;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.1);
}

.product-card__empanelment-badge svg {
  color: #10b981;
}
.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%;
  white-space: pre-line;
}

.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;
  width: 30%;
}

.shield-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  transition: all 0.3s ease;
}

.shield-icon:hover {
  transform: translateY(-5px);
}

.header-category-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.shield-icon:hover .header-category-icon {
  transform: scale(1.05);
}

.shield-icon svg {
  width: 100%;
  height: auto;
  max-width: 140px;
}

.info-badge {
  display: none;
}

/* ========================================
   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;
}

/* Expandable subcategory listing styles */
.checkbox-group-vertical-expandable {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

/* Custom Scrollbar for top filters list */
.checkbox-group-vertical-expandable::-webkit-scrollbar {
  width: 4px;
}
.checkbox-group-vertical-expandable::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.checkbox-group-vertical-expandable::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.checkbox-group-vertical-expandable::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.category-item-container-top {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.category-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.category-row-top .checkbox-label-top {
  flex: 1;
  margin-right: 8px;
}

.expand-toggle-top {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.expand-toggle-top:hover {
  background-color: #f1f5f9;
  color: #0ea5e9;
}

.expand-toggle-top.expanded {
  transform: rotate(180deg);
  color: #0ea5e9;
  background-color: #e0f2fe;
}

.sub-subcategories-dropdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px 8px 18px;
  background: #f8fafc;
  border-left: 2px solid #cbd5e1;
  border-radius: 0 8px 8px 0;
  margin: 2px 4px 6px 14px;
  animation: slideDownSub 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sub-child-label-top {
  font-size: 12px !important;
  color: #64748b !important;
  padding: 6px 8px !important;
}

.sub-child-label-top:hover {
  color: #0ea5e9 !important;
  background: #f0f9ff !important;
  padding-left: 12px !important;
}

.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: 1fr 1fr 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;
  position: relative; /* For z-index to work */
}

.top-filter-group:hover {
  border-color: #0ea5e9;
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
  z-index: 10; /* Bring hovered group to front */
}

.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: 400px; /* Increased height */
  overflow-y: visible; /* Allow tooltips to be seen */
}

.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;
  }
}

/* Tooltip styles for Plan Descriptions */
.plan-tooltip-container {
  position: relative;
}

.plan-tooltip {
  visibility: hidden;
  width: 220px;
  background-color: #1e293b;
  color: #ffffff;
  text-align: left;
  border-radius: 8px;
  padding: 12px;
  position: absolute;
  z-index: 9999;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  pointer-events: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

.checkbox-label-top:hover .plan-tooltip,
.top-filter-checkbox:hover .plan-tooltip,
.plan-tooltip-container:hover .plan-tooltip {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-15px);
}

.plan-tooltip-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: #38bdf8;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ─── Skeleton Loading for Audits filters on All Products Page ─── */
.audit-skeleton-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.audit-skeleton__checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #f3f4f6;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
  flex-shrink: 0;
}

.audit-skeleton__text {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: #f3f4f6;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.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;
  }
}

/* Empanelment Badge */
.product-card__empanelment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ecfdf5;
  color: #059669;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #10b981;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.1);
  white-space: nowrap;
}

.product-card__empanelment-badge svg {
  color: #10b981;
}

/* 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;
}

/* ══════════════════════════════════════════════════════════════
   CART SIDE PANEL
══════════════════════════════════════════════════════════════ */

/* Backdrop */
.cp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1199;
  pointer-events: none;
  transition: background 0.3s ease;
}
.cp-backdrop--open {
  background: rgba(0,0,0,0.4);
  pointer-events: all;
}

/* Panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,0.14);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", "DM Sans", sans-serif;
}
.cart-panel--open {
  transform: translateX(0);
}

/* Header */
.cp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(90deg, #1d3783 0%, #0ea5e9 100%);
  color: #fff;
  flex-shrink: 0;
}
.cp-header__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.cp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  font-size: 11px;
  font-weight: 700;
}
.cp-header__close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cp-header__close:hover { background: rgba(255,255,255,0.25); }

/* Body - scrollable item list */
.cp-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty state */
.cp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: #9ca3af;
  font-size: 14px;
}
.cp-empty__icon { font-size: 48px; opacity: 0.6; }

/* Cart item card */
.cp-item {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: hidden;
  background: #fafbff;
}

.cp-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(90deg, #eef3ff 0%, #f0fbf9 100%);
  border-bottom: 1px solid #e8edf5;
}
.cp-item__title {
  font-size: 13px;
  font-weight: 700;
  color: #1d3783;
  flex: 1;
}
.cp-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #ef4444;
  opacity: 0.6;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  transition: opacity 0.15s, background 0.15s;
}
.cp-item__remove:hover { opacity: 1; background: #fef2f2; }

/* Breakdown inside each item */
.cp-item__breakdown {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cp-item__plan {
  font-size: 11px;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
}
.cp-item__cities {
  border: 1px solid #e5eaf5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.cp-item__city-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #374151;
  padding: 7px 11px;
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.1s;
}
.cp-item__city-row:last-child { border-bottom: none; }
.cp-item__city-row:hover { background: #f7f9ff; }
.cp-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00bfae;
  margin-right: 6px;
  vertical-align: middle;
}
.cp-item__tax-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #6b7280;
  padding: 4px 0;
  border-top: 1px solid #f0f0f0;
}
.cp-item__total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #0d1f3c;
  padding: 6px 0 2px;
  border-top: 2px solid #e5e7eb;
  margin-top: 4px;
}

/* Footer */
.cp-footer {
  border-top: 1px solid #e5e7eb;
  padding: 16px 20px;
  flex-shrink: 0;
  background: #f8fafc;
}
.cp-footer__summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.cp-footer__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
}
.cp-footer__row--grand {
  font-size: 15px;
  font-weight: 800;
  color: #0d1f3c;
  padding-top: 8px;
  border-top: 1.5px solid #e5e7eb;
  margin-top: 4px;
}
.cp-footer__checkout {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #1d3783 0%, #0ea5e9 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}
.cp-footer__checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.35);
}

/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════════════════════ */

.pdp-toast-stack {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.pdp-toast {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  animation: pdpToastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 420px;
  width: max-content;
  font-family: "Inter", "DM Sans", sans-serif;
}

@keyframes pdpToastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pdp-toast--success { background: #1d3783; color: #fff; }
.pdp-toast--wish    { background: #7c3aed; color: #fff; }
.pdp-toast--info    { background: #374151; color: #fff; }
.pdp-toast--error   { background: #dc2626; color: #fff; }

.pdp-toast__msg   { flex: 1; }

.pdp-toast__link {
  color: #93c5fd;
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid rgba(147,197,253,0.4);
  transition: color 0.15s;
}
.pdp-toast--wish .pdp-toast__link { color: #c4b5fd; border-color: rgba(196,181,253,0.4); }
.pdp-toast__link:hover { color: #fff; border-color: #fff; }

.pdp-toast__close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s;
  flex-shrink: 0;
}
.pdp-toast__close:hover { background: rgba(255,255,255,0.25); }

/* Add-to-cart button: add icon support */
.product-detail__btn-add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* === TABS SECTION === */
.product-detail__tabs-container {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.product-detail__tabs-header {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0px; 
}

.product-detail__tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 0;
  margin-bottom: -1px; /* To overlap the bottom border of header */
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

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

.product-detail__tab-btn.active {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
}

.product-detail__tab-content {
  min-height: 200px;
}

.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Additional Info Table */
.product-detail__additional-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  border: 1px solid #e5e7eb;
}

.product-detail__additional-table th,
.product-detail__additional-table td {
  padding: 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.product-detail__additional-table th {
  background-color: #f9fafb;
  width: 200px;
  font-weight: 600;
  color: #374151;
}

.product-detail__additional-table td {
  color: #4b5563;
}

/* Custom PDP Filters */
.pdp-filters-wrapper {
  margin: 16px 0 24px 0;
  border-radius: 12px;
  background: white;
}

.pdp-filters-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.pdp-filter-group-plan {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.pdp-filter-group-location {
  flex: 1.5;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.pdp-filter-label {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #1e293b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pdp-dot-bullet {
  color: #0ea5e9;
  margin-right: 6px;
  font-size: 16px;
  vertical-align: middle;
}

.pdp-radio-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pdp-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
  padding: 4px 0;
}

.pdp-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #0ea5e9;
  cursor: pointer;
}

.pdp-radio-span {
  text-transform: capitalize;
  font-weight: 500;
}

.pdp-select-plan-prompt {
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  margin: auto 0;
}

.pdp-apply-filters-btn {
  width: 100%;
  padding: 14px 20px;
  background-color: #0ea5e9;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.pdp-apply-filters-btn:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.pdp-apply-filters-btn:not(:disabled):hover {
  background-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.25);
}

@media (max-width: 768px) {
  .pdp-filters-container {
    flex-direction: column;
    gap: 16px;
  }
}
.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);
}

/* Card actions row */
.card-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

/* Add to Cart button */
.wl-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 7px;
  border: none;
  background: var(--teal, #00bfae);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.13s;
  white-space: nowrap;
}
.wl-cart-btn:hover:not(:disabled) {
  background: #00a896;
  transform: translateY(-1px);
}
.wl-cart-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.wl-cart-btn--added   { background: #16a34a !important; }

/* View button */
.wl-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 7px;
  border: 1.5px solid var(--navy, #1d3783);
  background: transparent;
  color: var(--navy, #1d3783);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, transform 0.13s;
  white-space: nowrap;
}
.wl-view-btn:hover {
  background: var(--navy, #1d3783);
  color: #fff;
  transform: translateY(-1px);
}

/* 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);
}



/* ============================================================
   CartPage.css  –  Minimalist Cart UI
   ============================================================ */
/* ── Root tokens ─────────────────────────────────────────── */
:root {
  --teal: #00bfae;
  --teal-dim: #009e84;
  --navy-dark: #0d1b2a;
  --white: #ffffff;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e8eaed;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --muted: #9aa5b4;
  --danger: #e53e3e;
  --danger-bg: #fff5f5;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --font: "Inter", sans-serif;
  --transition: all 0.18s ease;
}
/* ── Page Shell ──────────────────────────────────────────── */
.cart-page {
  min-height: 100vh;
  background: var(--bg);
  font-family: var(--font);
  color: var(--text-primary);
  padding: 40px 24px 80px;
}
/* ── Header ──────────────────────────────────────────────── */
.cart-header {
  max-width: 960px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-header__icon {
  font-size: 22px;
  flex-shrink: 0;
}
.cart-header h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
  color: var(--text-primary);
}
.cart-header__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.cart-header__count span {
  color: var(--text-primary);
  font-weight: 600;
}
/* ── Layout Grid ─────────────────────────────────────────── */
.cart-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}
/* ── Items Column ────────────────────────────────────────── */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ── Cart Item Card ──────────────────────────────────────── */
.cart-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  transition: var(--transition);
}
.cart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: #d0d5dd;
}
/* ── Product Image ───────────────────────────────────────── */
.cart-item__images {
  width: 88px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-item__img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}
.cart-item__img-placeholder {
  width: 100%;
  height: 80px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--muted);
}
/* ── Item Body ───────────────────────────────────────────── */
.cart-item__body {
  flex: 1;
  min-width: 0;
}
.cart-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cart-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px;
  line-height: 1.3;
}
.cart-item__short-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 8px;
  line-height: 1.5;
}
.cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 8px;
}
.cart-item__meta-tag {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.cart-item__meta-tag strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.cart-item__final-price {
  font-size: 12.5px;
  color: var(--teal);
  font-weight: 600;
}
/* ── Pricing ─────────────────────────────────────────────── */
.cart-item__pricing {
  text-align: right;
  flex-shrink: 0;
}
.cart-item__line-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-item__unit-price {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
/* ── Actions Row ─────────────────────────────────────────── */
.cart-item__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}
/* ── Quantity Stepper ────────────────────────────────────── */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
}
.qty-stepper__btn {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.qty-stepper__btn:hover {
  background: var(--border);
  color: var(--text-primary);
}
.qty-stepper__val {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
}
/* ── Vendor Badge ────────────────────────────────────────── */
.vendor-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.vendor-info__name {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}
.vendor-info__name strong {
  color: var(--text-primary);
  font-weight: 600;
}
.vendor-info__city {
  font-size: 11.5px;
  color: var(--muted);
}
/* ── Remove Button ───────────────────────────────────────── */
.btn-remove {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 0;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-remove:hover {
  color: var(--danger);
}
/* ── Filter Detail Panel ─────────────────────────────────── */
.filter-panel {
  margin-top: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.filter-panel__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.filter-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px 16px;
}
.filter-panel__row {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.filter-panel__row strong {
  color: var(--muted);
  font-weight: 500;
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 1px;
}
.filter-panel__hash {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  font-family: "Courier New", monospace;
  word-break: break-all;
}
.filter-panel__desc {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.filter-panel__desc-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.filter-panel__desc-body {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
/* ── Price breakdown styling ───────────────────────────────── */
.price-breakdown {
  margin-top: 12px;
  background: var(--bg-light, #f8fafc);
  border: 1px solid var(--border, #e5e7eb);
  padding: 10px;
  border-radius: 8px;
}
.price-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px;
  border-radius: 6px;
}
.price-breakdown__row + .price-breakdown__row {
  margin-top: 6px;
}
.price-breakdown__city {
  font-size: 13px;
  color: var(--text-primary, #0d1f3c);
  font-weight: 600;
}
.price-breakdown__zone {
  font-size: 12px;
  color: var(--text-secondary, #6b7280);
  font-weight: 500;
  margin-left: 8px;
}
.price-breakdown__price {
  font-weight: 700;
  color: var(--teal, #00bfae);
}
/* ── Sidebar Summary ─────────────────────────────────────── */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 24px;
}
.cart-summary__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.cart-summary__row--total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-summary__row--total .cart-summary__amount {
  color: var(--text-primary);
  font-size: 18px;
}
.cart-summary__amount {
  font-weight: 600;
  color: var(--text-primary);
}
.btn-checkout {
  width: 100%;
  margin-top: 16px;
  padding: 13px 20px;
  background: var(--text-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-checkout:hover {
  background: #2d2d44;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-checkout:active {
  transform: translateY(0);
}
.cart-summary__secure {
  text-align: center;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
/* ── Empty State ─────────────────────────────────────────── */
.cart-empty {
  max-width: 380px;
  margin: 80px auto;
  text-align: center;
}
.cart-empty__icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}
.cart-empty__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.cart-empty__text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.btn-shop {
  display: inline-block;
  padding: 10px 24px;
  background: var(--text-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-shop:hover {
  background: #2d2d44;
  box-shadow: var(--shadow-md);
}
/* ── Loading & Error States ──────────────────────────────── */
.cart-state {
  max-width: 960px;
  margin: 80px auto;
  text-align: center;
}
.cart-loader {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
}
.cart-loader__dot {
  width: 7px;
  height: 7px;
  background: var(--text-primary);
  border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
}
.cart-loader__dot:nth-child(2) {
  animation-delay: 0.2s;
}
.cart-loader__dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.cart-error {
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid #fed7d7;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* ── Divider ─────────────────────────────────────────────── */
.cart-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .cart-page {
    padding: 20px 14px 60px;
  }

  .cart-item {
    flex-direction: column;
    gap: 12px;
  }

  .cart-item__images {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }

  .cart-item__img,
  .cart-item__img-placeholder {
    width: 90px;
    flex-shrink: 0;
  }

  .cart-item__top {
    flex-direction: column;
    gap: 6px;
  }
  .cart-item__pricing {
    text-align: left;
  }
  .filter-panel__grid {
    grid-template-columns: 1fr 1fr;
  }
  .cart-summary {
    position: static;
  }
}
@media (max-width: 400px) {
  .cart-item__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-remove {
    margin-left: 0;
  }
}
/* ============================================================
   CheckoutPage.css — Minimal, clean, responsive
   ============================================================ */

/* ── Base ── */
.co-page {
  min-height: 100vh;
  background: #f4f6f9;
  padding: 0 0 64px;
  font-family: "Inter", "DM Sans", system-ui, sans-serif;
}

/* ── Top bar ── */
.co-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.co-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
.co-back:hover { background: #f3f4f6; color: #1f2937; }

.co-topbar__steps {
  display: flex;
  align-items: center;
  gap: 8px;
}
.co-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #9ca3af;
}
.co-step--active { color: #1d3783; }
.co-step__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.co-step--active .co-step__dot {
  background: #1d3783;
  color: #fff;
}
.co-step__sep { color: #d1d5db; }

/* ── Layout ── */
.co-layout {
  max-width: 1060px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* ── Section header ── */
.co-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #374151;
}
.co-section-header svg { color: #0ea5e9; flex-shrink: 0; }
.co-section-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.co-count {
  font-weight: 500;
  font-size: 13px;
  color: #6b7280;
  margin-left: 4px;
}

/* ── Items column ── */
.co-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Item card */
.co-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.15s;
}
.co-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.07); }

/* Item head */
.co-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  gap: 12px;
}
.co-item__title-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.co-item__thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.co-item__title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
  line-height: 1.3;
}
.co-item__desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.co-item__vendor {
  font-size: 11px;
  color: #0ea5e9;
  font-weight: 600;
  margin-top: 4px;
}
.co-item__remove {
  background: none;
  border: none;
  color: #ef4444;
  opacity: 0.5;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: opacity 0.13s, background 0.13s;
  flex-shrink: 0;
}
.co-item__remove:hover { opacity: 1; background: #fef2f2; }

/* ── City breakdown inside item ── */
.co-breakdown {
  padding: 12px 16px;
}

.co-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.co-cities {
  border: 1px solid #e5eaf5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.co-cities__head {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  background: #f0f4ff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  border-bottom: 1px solid #e5eaf5;
}
.co-city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #374151;
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.1s;
}
.co-city-row:last-child { border-bottom: none; }
.co-city-row:hover { background: #f7f9ff; }
.co-city-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.co-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00bfae;
  flex-shrink: 0;
}
.co-city-price { font-weight: 600; color: #1d3783; }

.co-tax-grid { margin-top: 6px; }
.co-tax-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  padding: 4px 0;
  border-top: 1px solid #f0f0f0;
}
.co-tax-row--total {
  font-size: 13.5px;
  font-weight: 700;
  color: #0d1f3c;
  padding-top: 8px;
  border-top: 1.5px solid #e5e7eb;
  margin-top: 4px;
}
.co-tax-row--total span:last-child { color: #1d3783; }

/* ── Summary column ── */
.co-summary-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 73px;
}

/* Cards */
.co-summary-card,
.co-payment-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.co-summary-card__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}
.co-summary-card__title svg { color: #0ea5e9; }

.co-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.co-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #4b5563;
}
.co-summary-row--discount { color: #10b981; }

.co-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1.5px solid #e5e7eb;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.co-summary-total span:last-child { color: #1d3783; }

/* Payment */
.co-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin-top: 4px;
}
.co-radio-option--selected {
  border-color: #1d3783;
  background: #f0f4ff;
  color: #1d3783;
}
.co-radio-option input[type="radio"] { accent-color: #1d3783; }

/* Place order button */
.co-place-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #1d3783 0%, #0ea5e9 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(14,165,233,0.28);
  transition: all 0.2s ease;
}
.co-place-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14,165,233,0.38);
}
.co-place-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.co-place-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: coSpin 0.7s linear infinite;
}
@keyframes coSpin { to { transform: rotate(360deg); } }

.co-error-inline {
  background: #fef2f2;
  color: #dc2626;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #fee2e2;
  margin: 0;
}

.co-terms {
  font-size: 11.5px;
  color: #9ca3af;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.co-link {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}
.co-link:hover { text-decoration: underline; }

/* ── Full-page states ── */
.co-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  gap: 14px;
  padding: 40px 20px;
  text-align: center;
  font-family: "Inter", "DM Sans", sans-serif;
}
.co-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.co-state p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  max-width: 340px;
}

.co-spinner {
  width: 40px; height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: coSpin 0.8s linear infinite;
}

.co-empty-icon { font-size: 54px; opacity: 0.65; }

/* Success state */
.co-state--success .co-success-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex; align-items: center; justify-content: center;
  color: #065f46;
}
.co-state--success h2 {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}
.co-state--success p { font-size: 15px; color: #6b7280; }
.co-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Error state */
.co-state--error .co-error-msg {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid #fee2e2;
}

/* Button variants */
.co-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.18s ease;
}
.co-btn--primary {
  background: linear-gradient(135deg, #1d3783 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14,165,233,0.28);
}
.co-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,0.38); }
.co-btn--ghost {
  background: #f3f4f6;
  color: #374151;
}
.co-btn--ghost:hover { background: #e5e7eb; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .co-layout {
    grid-template-columns: 1fr;
    padding: 0 14px;
  }
  .co-summary-col { position: static; }
  .co-topbar__steps { display: none; }
}

@media (max-width: 480px) {
  .co-layout { margin-top: 16px; gap: 14px; }
  .co-item__head { flex-wrap: wrap; }
  .co-item__desc { max-width: 200px; }
  .co-place-btn { font-size: 14px; }
}
.bl-page {
  min-height: 100vh;
  background: #f8fafc;
  padding-bottom: 80px;
  font-family: 'Inter', system-ui, sans-serif;
}

.bl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bl-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.bl-back:hover {
  background: #f1f5f9;
  color: #0f172a;
}

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

.bl-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.bl-step--active {
  color: #2563eb;
}

.bl-step__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.bl-step--active .bl-step__dot {
  background: #2563eb;
  color: #fff;
}

.bl-layout {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
}

.bl-section {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  margin-bottom: 24px;
}

.bl-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
}

.bl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.bl-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.bl-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.bl-input-group input, 
.bl-input-group textarea {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  color: #1e293b;
  transition: all 0.2s;
  background: #fff;
}

.bl-input-group input:focus, 
.bl-input-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.bl-search-wrap {
  display: flex;
  gap: 10px;
}

.bl-search-wrap input {
  flex: 1;
}

.bl-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.bl-search-btn:hover {
  background: #1e293b;
}

.bl-search-results {
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.bl-search-item {
  padding: 12px 16px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}

.bl-search-item:hover {
  background: #f8fafc;
  color: #2563eb;
}

.bl-search-item:last-child {
  border-bottom: none;
}

/* Info Section (Screenshot 2) */
.bl-info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl-info-card {
  background: #f1f5f9;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.bl-info-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.bl-info-card__content p {
  font-size: 13px;
  color: #475569;
  margin: 8px 0;
  line-height: 1.6;
}

.bl-info-card__content a {
  color: #2563eb;
  text-decoration: none;
  word-break: break-all;
}

.bl-privacy-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  padding: 0 8px;
}

.bl-privacy-note a {
  color: #2563eb;
  text-decoration: underline;
}

/* Summary Col */
.bl-summary-col {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.bl-summary-card {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.bl-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.bl-summary-items {
  margin-bottom: 24px;
}

.bl-summary-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.bl-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
}

.bl-summary-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.bl-summary-item__name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.bl-summary-item__meta {
  font-size: 12px;
  color: #64748b;
}

.bl-summary-item__price {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.bl-summary-totals {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.bl-total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #475569;
}

.bl-total-row--tax {
  color: #2563eb;
  font-weight: 500;
}

.bl-total-row--placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
  padding: 12px 0;
}

.bl-total-row--grand {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.bl-place-btn {
  width: 100%;
  padding: 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.bl-place-btn:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.bl-place-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bl-error-msg {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid #fee2e2;
}

/* Spinners */
.bl-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: blSpin 0.8s linear infinite;
}

.bl-mini-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: blSpin 0.6s linear infinite;
}

.bl-place-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: blSpin 0.6s linear infinite;
  margin: 0 auto;
}

@keyframes blSpin {
  to { transform: rotate(360deg); }
}

.bl-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 20px;
}

.bl-state--success h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.bl-success-icon {
  color: #10b981;
}

.bl-success-actions {
  display: flex;
  gap: 16px;
}

.bl-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.bl-btn--primary {
  background: #2563eb;
  color: #fff;
}

.bl-btn--ghost {
  background: #f1f5f9;
  color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
  .bl-layout {
    grid-template-columns: 1fr;
  }
  .bl-summary-col {
    position: static;
  }
}

@media (max-width: 640px) {
  .bl-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .bl-topbar__steps {
    display: none;
  }
}
.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;
}
.receipt-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  color: #333;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

@media print {
  .receipt-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
  }
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.receipt-logo {
  max-height: 60px;
  margin-bottom: 15px;
}

.company-details h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1d3783;
  margin: 0 0 5px;
}

.company-details p {
  font-size: 12px;
  color: #666;
  margin: 2px 0;
}

.receipt-meta {
  text-align: right;
}

.receipt-meta h1 {
  font-size: 32px;
  font-weight: 900;
  color: #e5e7eb;
  margin: 0 0 15px;
  letter-spacing: 2px;
}

.meta-row {
  font-size: 13px;
  margin-bottom: 4px;
}

.meta-row span {
  color: #9ca3af;
  margin-right: 8px;
}

.receipt-divider {
  border: none;
  height: 1px;
  background: #e5e7eb;
  margin: 30px 0;
}

.receipt-addresses {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.billing-to, .vendor-info {
  flex: 1;
}

.receipt-addresses h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.address-box {
  font-size: 14px;
}

.address-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  color: #111;
}

.address-box p {
  margin: 2px 0;
  color: #4b5563;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.receipt-table th {
  text-align: left;
  padding: 12px 15px;
  background: #f9fafb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  border-bottom: 2px solid #e5e7eb;
}

.receipt-table td {
  padding: 15px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
}

.item-title {
  font-weight: 600;
  color: #111;
}

.item-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.text-right {
  text-align: right;
}

.receipt-summary {
  display: flex;
  justify-content: space-between;
}

.summary-col-right {
  width: 300px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
}

.summary-row.grand-total {
  margin-top: 15px;
  padding: 15px 0;
  border-top: 2px solid #1d3783;
  font-weight: 800;
  font-size: 20px;
  color: #1d3783;
}

.receipt-notes {
  max-width: 400px;
  font-size: 12px;
}

.receipt-notes strong {
  display: block;
  margin-bottom: 5px;
  color: #111;
}

.receipt-notes p {
  color: #6b7280;
}

.receipt-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.thank-you {
  font-size: 16px !important;
  font-weight: 700;
  color: #1d3783 !important;
  margin-bottom: 8px !important;
}

.footer-disclaimer {
  font-size: 11px !important;
  color: #9ca3af !important;
  margin-bottom: 15px !important;
}

.footer-links {
  font-size: 12px;
  color: #1d3783;
  font-weight: 600;
  display: flex;
  justify-content: center;
  gap: 15px;
}

@media print {
  .receipt-container {
    page-break-inside: avoid;
  }
}
/* ===== ACCOUNT PAGE ===== */

.account-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 50%, #e8f9f7 100%);
  padding: 32px 16px 80px;
}

/* ── Hero Banner ── */
.account-hero {
  background: linear-gradient(135deg, #1d3783 0%, #0d2456 40%, #00bfae 100%);
  border-radius: 24px;
  padding: 40px 32px;
  margin: 0 auto 32px;
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(29, 55, 131, 0.25);
}

.account-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.account-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 30%;
  width: 200px;
  height: 200px;
  background: rgba(0, 191, 174, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bfae 0%, #00a896 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.account-hero-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.account-hero-name {
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.account-hero-email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.account-hero-stats {
  display: flex;
  gap: 24px;
}

.account-stat {
  text-align: center;
}

.account-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #4cc9ca;
  display: block;
}

.account-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ── Layout ── */
.account-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── Sidebar ── */
.account-sidebar {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(229, 231, 235, 0.8);
  position: sticky;
  top: 80px;
}

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
  font-family: var(--font);
}

.account-nav-item:last-child {
  border-bottom: none;
}

.account-nav-item:hover {
  background: #f0f4ff;
  color: #1d3783;
}

.account-nav-item.active {
  background: linear-gradient(90deg, #f0f4ff 0%, #e8f9f7 100%);
  color: #1d3783;
  font-weight: 700;
  border-left: 3px solid #00bfae;
}

.account-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.account-nav-item.active svg {
  color: #00bfae;
}

.account-nav-danger {
  color: #ef4444 !important;
}

.account-nav-danger:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

/* ── Main Content Panel ── */
.account-panel {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(229, 231, 235, 0.8);
  animation: panelFadeIn 0.3s ease-out;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-panel-title {
  font-size: 20px;
  font-weight: 800;
  color: #0d1f3c;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-panel-title svg {
  color: #00bfae;
  width: 22px;
  height: 22px;
}

.account-panel-sub {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 28px;
}

/* ── Form ── */
.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.account-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-form-group.full-width {
  grid-column: 1 / -1;
}

.account-form-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-form-input {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #0d1f3c;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
  outline: none;
  width: 100%;
}

.account-form-input:focus {
  border-color: #00bfae;
  box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.12);
  background: white;
}

.account-form-input:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.account-form-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1d3783;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 24px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f4ff;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-save-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.btn-save {
  background: linear-gradient(135deg, #1d3783 0%, #0d2456 100%);
  color: white;
  border: none;
  padding: 11px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 55, 131, 0.25);
}

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

.btn-save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-save-secondary {
  background: #f3f4f6;
  color: #6b7280;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.btn-save-secondary:hover {
  background: #e5e7eb;
  color: #374151;
}

.save-success {
  font-size: 13px;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.save-error {
  font-size: 13px;
  color: #ef4444;
  font-weight: 600;
}

/* ── Orders ── */
.orders-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  gap: 16px;
  color: #9ca3af;
  font-size: 14px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e7eb;
  border-top-color: #00bfae;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orders-empty {
  text-align: center;
  padding: 64px 20px;
}

.orders-empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.orders-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

.orders-empty p {
  font-size: 14px;
  color: #9ca3af;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: white;
}

.order-card:hover {
  border-color: #00bfae;
  box-shadow: 0 6px 20px rgba(0, 191, 174, 0.1);
  transform: translateY(-1px);
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
}

.order-number {
  font-size: 14px;
  font-weight: 800;
  color: #1d3783;
  font-family: "Courier New", monospace;
}

.order-date {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.order-status-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-status-badge.pending {
  background: #fef3c7;
  color: #d97706;
}

.order-status-badge.confirmed {
  background: #dbeafe;
  color: #1d4ed8;
}

.order-status-badge.in_progress {
  background: #ede9fe;
  color: #7c3aed;
}

.order-status-badge.completed {
  background: #d1fae5;
  color: #065f46;
}

.order-status-badge.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.order-status-badge.refunded {
  background: #f3f4f6;
  color: #374151;
}

.order-card-body {
  padding: 16px 20px;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #374151;
}

.order-item-name {
  font-weight: 500;
}

.order-item-qty {
  color: #9ca3af;
  font-size: 12px;
}

.order-item-price {
  font-weight: 700;
  color: #1d3783;
}

.order-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 12px 0;
}

.order-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  font-size: 12px;
  color: #6b7280;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
}

.order-total-row.grand {
  font-size: 14px;
  font-weight: 800;
  color: #0d1f3c;
  padding-top: 6px;
  border-top: 1.5px solid #e5e7eb;
  grid-column: 1 / -1;
}

.order-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.order-payment-badge.paid {
  background: #d1fae5;
  color: #065f46;
}

.order-payment-badge.unpaid {
  background: #fee2e2;
  color: #b91c1c;
}

.order-payment-badge.partial {
  background: #fef3c7;
  color: #d97706;
}

/* ── Expanded item container ── */
.order-items-expanded {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-item-expanded {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: hidden;
  background: #fafbff;
}

.order-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: linear-gradient(90deg, #eef3ff 0%, #f0fbf9 100%);
  border-bottom: 1px solid #e8edf5;
}

.order-item-service-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d3783;
}

.order-item-qty-badge {
  font-size: 12px;
  font-weight: 600;
  color: #00a896;
  background: rgba(0, 191, 174, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
}

/* ── City Breakdown ── */
.city-breakdown {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Plan badge */
.city-breakdown__plan {
  margin-bottom: 10px;
}

.city-breakdown__plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Cities table */
.city-breakdown__cities {
  border: 1px solid #e5eaf5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.city-breakdown__cities-header {
  display: flex;
  justify-content: space-between;
  padding: 7px 12px;
  background: #f0f4ff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  border-bottom: 1px solid #e5eaf5;
}

.city-breakdown__city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #f0f4f8;
  font-size: 13px;
  transition: background 0.12s;
}

.city-breakdown__city-row:last-child {
  border-bottom: none;
}

.city-breakdown__city-row:hover {
  background: #f7f9ff;
}

.city-breakdown__city-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-weight: 500;
}

.city-breakdown__city-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00bfae;
  flex-shrink: 0;
}

.city-breakdown__city-price {
  font-weight: 600;
  color: #1d3783;
  font-size: 13px;
}

/* No-cities fallback */
.city-breakdown__no-cities {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  padding: 6px 0 10px;
}

/* Tax rows */
.city-breakdown__tax-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #6b7280;
  padding: 5px 0;
  border-top: 1px solid #f0f0f0;
}

.city-breakdown__tax-row:first-of-type {
  margin-top: 2px;
}

/* Per-item total */
.city-breakdown__total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 800;
  color: #0d1f3c;
  padding: 8px 0 2px;
  border-top: 2px solid #e5e7eb;
  margin-top: 4px;
}

.city-breakdown__total-row span:last-child {
  color: #1d3783;
}

/* Booking summary details (for tax split) */
.order-summary-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  padding: 4px 14px;
}

/* Booking grand total (multi-item) */
.order-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #0d1f3c;
  background: linear-gradient(90deg, #f0f4ff, #e8f9f7);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
}

.order-grand-total span:last-child {
  color: #1d3783;
  font-size: 17px;
}

/* Notes */
.order-notes {
  margin-top: 10px;
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
  padding: 8px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #e5e7eb;
}

/* ── Not Logged In State ── */
.account-not-logged {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 48px 32px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.account-not-logged-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0f4ff, #e8f9f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #1d3783;
}

.account-not-logged h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0d1f3c;
  margin-bottom: 8px;
}

.account-not-logged p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 28px;
}

.btn-signin-cta {
  background: linear-gradient(135deg, #1d3783, #00bfae);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
}

.btn-signin-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29, 55, 131, 0.25);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    border-radius: 16px;
  }

  .account-nav-item {
    flex-direction: column;
    gap: 4px;
    padding: 12px 8px;
    font-size: 11px;
    justify-content: center;
    border-bottom: none;
    border-right: 1px solid #f3f4f6;
    text-align: center;
  }

  .account-nav-item.active {
    border-left: none;
    border-bottom: 2px solid #00bfae;
  }
}

@media (max-width: 640px) {
  .account-hero {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .account-hero-stats {
    justify-content: center;
  }

  .account-panel {
    padding: 20px 16px;
  }

  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-form-group.full-width {
    grid-column: 1;
  }
}

.btn-download-receipt {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: #1d3783;
  border: 1.5px solid #e5e7eb;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-download-receipt:hover {
  border-color: #1d3783;
  background: #f0f4ff;
  transform: translateY(-1px);
}

.btn-download-receipt svg {
  color: #00bfae;
}

.print-only {
  display: none;
}

@media print {
  /* Reset body */
  body {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide specific UI elements that shouldn't be in the bill */
  .account-page > *:not(.print-only),
  .navbar,
  .category-bar,
  .footer,
  .account-hero,
  .account-layout,
  .account-footer,
  .mobile-bottom-nav,
  .scroll-top,
  nav,
  header,
  footer {
    display: none !important;
  }

  /* Ensure the container is visible and positioned at the top */
  .account-page {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .print-only {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
  }
}
.auth-page {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f9fafb;
}

.auth-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.auth-card-left {
  flex: 1;
  background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
  color: #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.auth-card-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.auth-card-left p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 300px;
  margin: 0 auto;
}

.auth-card-right {
  flex: 1.2;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  background: #f3f4f6;
  padding: 6px;
  border-radius: 12px;
}

.auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
}

.auth-tabs a.active {
  background: #fff;
  color: #00bfae;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.auth-error {
  background: #fef2f2;
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  border-left: 4px solid #ef4444;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-group input {
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #00bfae;
  box-shadow: 0 0 0 4px rgba(0, 191, 174, 0.1);
}

.password-input-wrapper {
  position: relative;
  display: flex;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 60px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.pwd-strength {
  margin-top: 8px;
}

.pwd-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.pwd-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  transition: width 0.3s ease, background 0.3s ease;
}

.pwd-bar.s0::after { width: 0%; }
.pwd-bar.s1::after { width: 25%; background: #ef4444; }
.pwd-bar.s2::after { width: 50%; background: #f59e0b; }
.pwd-bar.s3::after { width: 75%; background: #3b82f6; }
.pwd-bar.s4::after { width: 100%; background: #10b981; }

.pwd-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.auth-submit-btn {
  margin-top: 10px;
  background: #00bfae;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-submit-btn:hover:not(:disabled) {
  background: #00a698;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 191, 174, 0.2);
}

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

.auth-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}

.auth-footer a {
  color: #00bfae;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .auth-card {
    flex-direction: column;
    border-radius: 0;
    min-height: 100vh;
  }
  
  .auth-card-left {
    padding: 40px 20px;
  }
  
  .auth-card-right {
    padding: 40px 20px;
  }
  
  .auth-page {
    padding: 0;
    background: #fff;
  }
}
*,
*::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;
}
