/* === Theme Variables === */
:root {
  --bg-page: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-card: #E8E8E8;
  --shadow-card-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-card-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-card-lg: 0 8px 28px rgba(0,0,0,0.10);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-sidebar: 0 2px 16px rgba(0,0,0,0.06);
}
body.theme-warm {
  --bg-page: #FFFDF8;
  --bg-card: #FFFDF8;
  --border-card: #F0E8D8;
  --shadow-card-sm: 0 2px 12px rgba(255,180,50,0.06);
  --shadow-card-md: 0 4px 16px rgba(255,180,50,0.12);
  --shadow-card-lg: 0 8px 28px rgba(255,180,50,0.14);
  --shadow-card-hover: 0 4px 16px rgba(255,180,50,0.12);
  --shadow-sidebar: 0 2px 16px rgba(255,180,50,0.06);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1C1C1C;
  background: var(--bg-page);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 0;
  overflow-x: hidden;
}
h1, h2, h3, .page-title, .about-fund__title, .auth-container h1,
.hero__slide-content h1, .impact-preview h2, .lots-section__header h2 {
  font-family: 'Inter', sans-serif;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: #E88700; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: #FFD04F;
  color: #1C1C1C;
}
.btn-primary:hover { background: #FFC525; color: #1C1C1C; }
.btn-primary:active { background: #ECAE04; }
.btn-outline {
  border: 1.5px solid #E3E3E3;
  color: #543516;
  background: transparent;
}
.btn-outline:hover { border-color: #543516; color: #543516; }
.btn-sm { padding: 6px 16px; font-size: 13px; border-radius: 8px; }
.btn-large { width: 100%; padding: 16px; font-size: 16px; border-radius: 18px; margin-top: 12px; }

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #E3E3E3;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.cookie-banner p { font-size: 13px; color: #666; }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #E3E3E3;
}
.header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo:hover { color: inherit; }
.header__logo-icon { width: 40px; height: 40px; }
.header__logo-text { display: flex; flex-direction: column; }
.header__logo-title { font-size: 14px; font-weight: 700; color: #1C1C1C; line-height: 1.2; }
.header__logo-subtitle { font-size: 11px; color: #888; line-height: 1.2; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1C1C1C;
  border-radius: 8px;
  transition: background .2s;
  white-space: nowrap;
}
.header__nav-link:hover { background: #F5F5F5; color: #1C1C1C; }
.header__nav-link--apply { color: #C67400; font-weight: 600; background: #FFF7ED; border-radius: 8px; }
.header__nav-link--apply:hover { background: #FFEDD5; color: #9A3412; }
.header__nav-item { position: relative; }
.header__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 50;
}
.header__nav-dropdown:hover .header__dropdown { display: block; }
.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #1C1C1C;
  transition: background .15s;
}
.header__dropdown a:hover { background: #FAFAFA; color: #E88700; }

/* Header action icons */
.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.header__icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.header__icon-btn:hover { background: #F5F5F5; color: inherit; }
.header__cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #FF3B30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.header__burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.header__burger span { display: block; width: 100%; height: 2px; background: #1C1C1C; border-radius: 2px; transition: all .3s; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  right: 0;
  width: 85vw;
  max-width: 380px;
  height: calc(100vh - 68px - 64px);
  background: #fff;
  border-left: 1px solid #E3E3E3;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 99;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__inner { padding: 24px; padding-bottom: 120px; }
.mobile-menu__section { margin-bottom: 24px; }
.mobile-menu__section h3 { font-size: 13px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.mobile-menu__section a { display: block; padding: 8px 0; font-size: 15px; color: #1C1C1C; }

/* Mobile Bottom Nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  border-top: 1px solid #E8E8E8;
  z-index: 9990;
  justify-content: space-around;
  align-items: stretch;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  touch-action: manipulation;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
}
.mobile-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: #999;
  text-decoration: none;
  position: relative;
  padding: 0;
  flex: 1;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color .15s;
}
.mobile-nav__item:hover, .mobile-nav__item:active { color: #543516; }
.mobile-nav__item:active { opacity: .7; }
.mobile-nav__item svg { stroke: #999; transition: stroke .15s; }
.mobile-nav__item:hover svg, .mobile-nav__item:active svg { stroke: #543516; }
.mobile-nav__item svg {
  position: relative;
}
.mobile-nav__badge {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 6px;
  background: #FF3B30;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* === Hero Slider === */
.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 32px 0;
  position: relative;
}
.hero__slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #FAFAFA;
}
.hero__track {
  display: flex;
  width: 100%;
  height: calc(100vh - 68px - 24px - 40px);
  min-height: 340px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  background: #FAFAFA;
}
.hero__slide-content {
  flex: 1;
  padding: 40px 40px 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero__slide-content h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.hero__slide-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
}
.hero__slide-content .btn {
  align-self: flex-start;
  padding: 12px 34px;
  border-radius: 10px;
}
.hero__slide-image {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__slide-image img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  border-radius: 24px;
}
.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -32px;
  position: relative;
  z-index: 5;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E3E3E3;
  transition: background .2s;
}
.hero__dot.active { background: #FFD04F; }

/* === About Fund (О фонде) === */
.about-fund {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.about-fund__inner {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card-md);
}
.about-fund__left {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-fund__title {
  font-size: 22px;
  font-weight: 800;
  color: #1C1C1C;
  margin-bottom: 8px;
}
.about-fund__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 520px;
}
.about-fund__stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.about-fund__stat {
  background: #FFF7E0;
  border-radius: 20px;
  padding: 16px 24px;
  min-width: 150px;
  flex: 1;
  text-align: center;
}
.about-fund__stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #E88700;
  line-height: 1.1;
  font-style: italic;
}
.about-fund__stat-label {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
  font-weight: 500;
}
.about-fund__right {
  flex-shrink: 0;
  width: 340px;
  line-height: 0;
}
.about-fund__right img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* === Lots Section === */
.lots-section {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.lots-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.lots-section__header h2 {
  font-size: 24px;
  font-weight: 700;
}
.lots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 20px;
}
.lots-grid--full {
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
}

/* === Lot Card === */
.lot-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 7px;
  overflow: visible;
  position: relative;
  transition: box-shadow .25s, transform .25s;
  box-shadow: var(--shadow-card-sm);
}
.lot-card:hover {
  box-shadow: var(--shadow-card-lg);
  transform: translateY(-3px);
  color: inherit;
}
.lot-card__image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(110deg, #F0F0F0 30%, #F8F8F8 50%, #F0F0F0 70%);
  background-size: 200% 100%;
  animation: img-shimmer 1.5s ease-in-out infinite;
  border-radius: 7px 7px 0 0;
}
.lot-card__image:has(img) { animation: none; background: #F0F0F0; }
@keyframes img-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.lot-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.lot-card:hover .lot-card__image img { transform: scale(1.03); }
.lot-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
}
.lot-card__placeholder svg { width: 48px; height: 48px; }
.lot-card__badge {
  position: absolute;
  top: 5px;
  right: -8px;
  width: 110px;
  height: auto;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
}
.lot-card__fav {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lot-card__fav:hover { background: rgba(0,0,0,0.45); }
.lot-card__fav.active { background: rgba(0,0,0,0.3); }
.lot-card__fav.active svg { fill: #FF3B30; stroke: #FF3B30; }
.lot-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lot-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lot-card__project-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  color: #5B21B6;
  margin-bottom: 4px;
}
.lot-card__desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.lot-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #C67400;
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 12px;
}
.lot-card__progress { margin-top: auto; }
.lot-card__progress-bar {
  height: 6px;
  background: #EBEBEB;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.lot-card__progress-bar--large { height: 10px; border-radius: 5px; }
.lot-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD04F, #E88700);
  border-radius: 3px;
  transition: width .6s ease;
}
.lot-card__progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
}

/* === Breadcrumb === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #888;
  flex-wrap: wrap;
}
.breadcrumb a { color: #543516; font-weight: 500; }
.breadcrumb a:hover { color: #E88700; }
.breadcrumb span { color: #888; }

/* === Page Section === */
.page-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 32px 32px;
}
.page-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.page-section__header h1 { font-size: 28px; font-weight: 700; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #543516;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .2s;
}
.back-link:hover { background: #F5F5F5; color: #543516; }

/* === Lot Detail (redesigned) === */
.lot-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.lot-detail__left { position: relative; }
.lot-detail__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #F0F0F0;
}
.lot-detail__image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.lot-detail__fav {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
}
.lot-detail__fav:hover { background: rgba(255,59,48,0.8); }
.lot-detail__fav.active { background: #FF3B30; }
.lot-detail__fav.active svg { fill: #fff; }
.lot-detail__urgent-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #FF3B30;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Right column */
.lot-detail__right { display: flex; flex-direction: column; }
.lot-detail__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.lot-detail__subtitle {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Price block */
.lot-detail__price-block {
  background: #FFFBEB;
  border: 1.5px solid #FFD04F;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lot-detail__price {
  font-size: 32px;
  font-weight: 700;
  color: #1C1C1C;
}
.lot-detail__qty label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.lot-detail__qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid #E3E3E3;
  border-radius: 10px;
  overflow: hidden;
}
.lot-detail__qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #543516;
  transition: background .15s;
}
.lot-detail__qty-btn:hover { background: #F5F5F5; }
.lot-detail__qty-selector input {
  width: 40px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1.5px solid #E3E3E3;
  border-right: 1.5px solid #E3E3E3;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  background: #fff;
  -moz-appearance: textfield;
}
.lot-detail__qty-selector input::-webkit-inner-spin-button,
.lot-detail__qty-selector input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Action buttons */
.lot-detail__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.lot-detail__actions .btn { margin: 0; }
.lot-detail__cart-btn { margin-top: 0; }

/* Meta info */
.lot-detail__meta {
  border-top: 1px solid #E3E3E3;
  border-bottom: 1px solid #E3E3E3;
  padding: 16px 0;
  margin-bottom: 24px;
}
.lot-detail__meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.lot-detail__meta-label {
  font-size: 14px;
  color: #888;
}
.lot-detail__meta-value {
  font-size: 14px;
  font-weight: 600;
  color: #543516;
}

/* Progress section */
.lot-detail__progress-section { margin-top: auto; }
.lot-detail__progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}
.lot-detail__amounts {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.lot-detail__amount-value { font-size: 20px; font-weight: 700; display: block; }
.lot-detail__amount-label { font-size: 12px; color: #888; }

/* Description */
.lot-detail__description {
  border-top: 1px solid #E3E3E3;
  padding-top: 32px;
  margin-bottom: 48px;
}
.lot-detail__description h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.lot-detail__description-text {
  font-size: 16px;
  color: #393939;
  line-height: 1.7;
}
.lot-detail__description-text p { margin-bottom: 16px; }

/* Report banner (top of lot page) */
.lot-report-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .15s;
}
.lot-report-banner:hover {
  box-shadow: 0 4px 16px rgba(22,163,106,.15);
  transform: translateY(-1px);
}
.lot-report-banner__icon {
  width: 40px;
  height: 40px;
  background: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lot-report-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lot-report-banner__text strong {
  font-size: 15px;
  font-weight: 700;
  color: #065F46;
}
.lot-report-banner__text span {
  font-size: 13px;
  color: #059669;
}

.lot-report-banner--pending {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-color: #FED7AA;
  cursor: default;
}
.lot-report-banner--pending:hover {
  box-shadow: none;
  transform: none;
}
.lot-report-banner--pending .lot-report-banner__text strong {
  color: #9A3412;
}
.lot-report-banner--pending .lot-report-banner__text span {
  color: #C2410C;
}

/* Report section */
.lot-report-section {
  border-top: 1px solid #E3E3E3;
  padding-top: 32px;
  margin-bottom: 48px;
}
.lot-report-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #065F46 0%, #059669 100%);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.lot-report-section__header-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lot-report-section__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.lot-report-section__subtitle {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.lot-report-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.lot-report-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.lot-report-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0;
}
.lot-report-card__date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  background: #F8FAFC;
  padding: 4px 12px;
  border-radius: 20px;
}
/* Report layout: text + photos side by side */
.lot-report-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.lot-report-layout__text {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}
.lot-report-layout__text p {
  margin: 0 0 12px;
}
.lot-report-layout__text p:last-child {
  margin-bottom: 0;
}
/* Photo gallery: compact grid */
.lot-report-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.lot-report-gallery__item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #F0F0F0;
}
.lot-report-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.lot-report-gallery__item:hover img {
  transform: scale(1.04);
}
/* Single photo: don't split into 2 cols */
.lot-report-gallery:has(:only-child) {
  grid-template-columns: 1fr;
  max-width: 320px;
}
/* Documents list */
.lot-report-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lot-report-docs__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background .15s, border-color .15s;
}
.lot-report-docs__item:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}
.lot-report-docs__icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.lot-report-docs__name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Similar lots */
.lot-detail__similar { margin-bottom: 32px; }
.lot-detail__similar h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Cart toast */
.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 200;
  transform: translateY(120%);
  opacity: 0;
  transition: all .35s ease;
  font-size: 14px;
  font-weight: 500;
}
.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.cart-toast a {
  color: #E88700;
  font-weight: 600;
  margin-left: 4px;
}

/* === Cart Page === */
.cart-empty {
  text-align: center;
  padding: 64px 16px;
}
.cart-empty svg { margin: 0 auto 16px; }
.cart-empty h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cart-empty p { color: #888; margin-bottom: 24px; font-size: 15px; }

.cart-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid #E3E3E3;
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .2s;
}
.cart-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cart-item__image {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #F0F0F0;
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__info { flex: 1; display: flex; flex-direction: column; }
.cart-item__title { font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.cart-item__location { font-size: 12px; color: #C67400; margin-bottom: 8px; }
.cart-item__price { font-size: 18px; font-weight: 700; margin-top: auto; }
.cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.cart-item__remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
  color: #888;
}
.cart-item__remove:hover { background: #FEE2E2; color: #FF3B30; }
.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid #E3E3E3;
  border-radius: 8px;
  overflow: hidden;
}
.cart-item__qty button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #543516;
}
.cart-item__qty button:hover { background: #F5F5F5; }
.cart-item__qty span {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-left: 1px solid #E3E3E3;
  border-right: 1px solid #E3E3E3;
  line-height: 30px;
}

.cart-summary__inner {
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 92px;
}
.cart-summary__inner h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #555;
}
.cart-summary__total {
  border-top: 1px solid #E3E3E3;
  margin-top: 8px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #1C1C1C;
}

/* === Lot Card Price === */
.lot-card__price {
  font-size: 16px;
  font-weight: 700;
  color: #1C1C1C;
  margin-top: auto;
}
.lot-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  gap: 8px;
}
.lot-card__footer-price {
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1C;
  white-space: nowrap;
}
.lot-card__help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: #E88700;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.lot-card__help-btn:hover { background: #C67400; }

/* === Grid variants === */
.lots-grid--five { grid-template-columns: repeat(5, 1fr); }
.lots-grid--four { grid-template-columns: repeat(4, 1fr); }

/* === Page title / subtitle === */
.page-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.page-subtitle { font-size: 16px; color: #555; line-height: 1.6; margin-bottom: 32px; max-width: 700px; }

/* === About Grid === */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #FAFAFA;
  border: 1px solid #E3E3E3;
  aspect-ratio: 1/1;
  display: flex;
  align-items: flex-end;
  transition: box-shadow .2s, transform .2s;
}
.about-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  color: inherit;
}
.about-card--wide { grid-column: span 2; }
.about-card__bg {
  position: absolute;
  inset: 0;
}
.about-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card__icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
}
.about-card__icon svg { width: 64px; height: 64px; }
.about-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.about-card__bg img + .about-card__content { color: #fff; }
.about-card__content h3 { font-size: 16px; font-weight: 700; color: #fff; }
.about-card__icon ~ .about-card__content { background: transparent; }
.about-card__icon ~ .about-card__content h3 { color: #1C1C1C; }
.about-card__desc {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.85;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-card__icon ~ .about-card__content .about-card__desc { color: #777; }
/* Fix: when no image, show proper bg */
.about-card:not(:has(.about-card__bg img)) .about-card__content { background: none; }
.about-card:not(:has(.about-card__bg img)) .about-card__content h3 { color: #1C1C1C; }

/* === About Layout (article page) === */
/* === About Article Layout (legacy compat) === */
.about-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}
.about-sidebar { position: sticky; top: 92px; align-self: start; }
.about-sidebar__nav { display: flex; flex-direction: column; gap: 2px; }
.about-sidebar__link {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #555;
  border-radius: 10px;
  transition: all .15s;
  font-weight: 500;
}
.about-sidebar__link:hover { background: #F5F5F5; color: #1C1C1C; }
.about-sidebar__link.active {
  background: #FFF3D0;
  color: #543516;
  font-weight: 600;
}
.about-content h1 { font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.about-content__media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.about-content__media img { width: 100%; max-height: 400px; object-fit: cover; }
.about-content__text { font-size: 16px; color: #393939; line-height: 1.8; }
.about-content__text p { margin-bottom: 14px; }
.about-content__bullet {
  padding-left: 8px;
  border-left: 3px solid #FFD04F;
  margin-left: 4px;
}
.about-content__step {
  padding: 12px 16px;
  background: #FAFAFA;
  border-radius: 10px;
  margin-bottom: 8px;
  font-weight: 500;
}
.about-content__related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #E3E3E3;
}
.about-content__related h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.about-content__related-links { display: flex; flex-direction: column; gap: 8px; }
.about-content__related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid #E3E3E3;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}
.about-content__related-link:hover { background: #FAFAFA; color: inherit; }
.about-content__h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #1C1C1C;
  padding-bottom: 8px;
  border-bottom: 2px solid #FFD04F;
}
.about-content__h2:first-child { margin-top: 0; }
.about-content__callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
  border-radius: 14px;
  border-left: 4px solid #E88700;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #543516;
  font-weight: 500;
}
.about-content__callout-icon { flex-shrink: 0; margin-top: 2px; }
.about-content__callout p { margin: 0; }
.about-content__divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #F0E8D8, transparent);
  margin: 32px 0;
}

/* === About Article — New Design === */
.about-article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.about-article-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
}
.about-article-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
}
.about-article-sidebar__link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #666;
  border-radius: 12px;
  transition: all .2s ease;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}
.about-article-sidebar__link:hover {
  background: #F8F6F2;
  color: #1C1C1C;
}
.about-article-sidebar__link.active {
  background: linear-gradient(135deg, #FFF8E6, #FFF1CC);
  color: #8B5E14;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232,135,0,.08);
}

/* Article content area */
.about-article {
  min-width: 0;
}
.about-article__header {
  margin-bottom: 28px;
}
.about-article__title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.about-article__hero {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.about-article__hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* Article body — rich HTML content typography */
.about-article__body {
  font-size: 16px;
  color: #444;
  line-height: 1.85;
}
.about-article__body p {
  margin-bottom: 18px;
}
.about-article__body p:last-child { margin-bottom: 0; }
.about-article__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 18px;
  color: #1C1C1C;
  padding-bottom: 10px;
  border-bottom: 2px solid #FFD04F;
  line-height: 1.3;
}
.about-article__body h2:first-child { margin-top: 0; }
.about-article__body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 14px;
  color: #1C1C1C;
  line-height: 1.35;
}
.about-article__body h3:first-child { margin-top: 0; }
.about-article__body strong { font-weight: 600; color: #1C1C1C; }
.about-article__body em { font-style: italic; }
.about-article__body a {
  color: #C67400;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.about-article__body a:hover { color: #E88700; }
.about-article__body blockquote {
  border-left: 4px solid #E88700;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
  padding: 18px 24px;
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #6B4A12;
  font-weight: 500;
}
.about-article__body blockquote p { margin-bottom: 8px; }
.about-article__body blockquote p:last-child { margin-bottom: 0; }
.about-article__body ul,
.about-article__body ol {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}
.about-article__body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  line-height: 1.7;
}
.about-article__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD04F, #E88700);
}
.about-article__body ol {
  counter-reset: article-counter;
}
.about-article__body ol li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  line-height: 1.7;
  counter-increment: article-counter;
}
.about-article__body ol li::before {
  content: counter(article-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FFD04F, #E88700);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.about-article__body hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #E8DFC8, transparent);
  margin: 40px 0;
}
.about-article__body img {
  max-width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.about-article__body .ql-indent-1 { padding-left: 2em; }
.about-article__body .ql-indent-2 { padding-left: 4em; }
.about-article__body .ql-align-center { text-align: center; }
.about-article__body .ql-align-right { text-align: right; }
.about-article__body .ql-align-justify { text-align: justify; }

/* Legacy custom markup elements (backward compat) */
.about-article__h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 18px;
  color: #1C1C1C;
  padding-bottom: 10px;
  border-bottom: 2px solid #FFD04F;
  line-height: 1.3;
}
.about-article__callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
  border-radius: 16px;
  border-left: 4px solid #E88700;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #6B4A12;
  font-weight: 500;
}
.about-article__callout-icon { flex-shrink: 0; margin-top: 3px; }
.about-article__callout p { margin: 0; }
.about-article__divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #E8DFC8, transparent);
  margin: 40px 0;
}

/* Document cards in article */
.about-article__doc-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.about-article__doc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.about-article__doc-card:hover {
  box-shadow: 0 6px 20px rgba(232,135,0,.1);
  border-color: #FFD04F;
  transform: translateY(-2px);
}
.about-article__doc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E88700, #C67400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-article__doc-icon span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.about-article__doc-info { flex: 1; min-width: 0; }
.about-article__doc-title {
  font-size: 15px;
  font-weight: 600;
  color: #1C1C1C;
  margin-bottom: 3px;
}
.about-article__doc-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.45;
}
.about-article__doc-meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 3px;
}
.about-article__doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: #543516;
  color: #fff;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, transform .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.about-article__doc-btn:hover {
  background: #3a2410;
  color: #fff;
  transform: translateY(-1px);
}

/* Team cards in article */
.about-article__team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.about-article__team-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: box-shadow .25s, transform .25s;
}
.about-article__team-card:hover {
  box-shadow: 0 6px 20px rgba(232,135,0,.1);
  transform: translateY(-2px);
}
.about-article__team-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD04F, #E88700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.about-article__team-info { flex: 1; min-width: 0; }
.about-article__team-name {
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 3px;
}
.about-article__team-role {
  font-size: 13px;
  color: #C67400;
  font-weight: 600;
  margin-bottom: 5px;
}
.about-article__team-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* Contact cards in article */
.about-article__contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.about-article__contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  text-decoration: none;
}
.about-article__contact-card:hover {
  box-shadow: 0 6px 20px rgba(232,135,0,.12);
  border-color: #FFD04F;
  transform: translateY(-2px);
  color: inherit;
}
.about-article__contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF8E6, #FFEDBE);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-article__contact-info { flex: 1; min-width: 0; }
.about-article__contact-value {
  font-size: 15px;
  font-weight: 600;
  color: #1C1C1C;
  margin-bottom: 3px;
}
.about-article__contact-label {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

/* Related articles */
.about-article__related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #EBEBEB;
}
.about-article__related h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a2e;
}
.about-article__related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-article__related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid #EBEBEB;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
  overflow: hidden;
}
.about-article__related-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  transform: translateY(-2px);
  color: inherit;
}
.about-article__related-img {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.about-article__related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-article__related-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.about-article__related-title {
  font-size: 14px;
  font-weight: 600;
  color: #1C1C1C;
  line-height: 1.35;
}
.about-article__related-body svg {
  flex-shrink: 0;
  color: #C67400;
  opacity: .6;
  transition: opacity .2s, transform .2s;
}
.about-article__related-card:hover .about-article__related-body svg {
  opacity: 1;
  transform: translateX(3px);
}

/* Document cards */
.doc-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.doc-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #FFD04F;
}
.doc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E88700, #C67400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-card__icon span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.doc-card__info { flex: 1; min-width: 0; }
.doc-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #1C1C1C;
  margin-bottom: 2px;
}
.doc-card__desc {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}
.doc-card__meta {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}
.doc-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #543516;
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.doc-card__btn:hover { background: #3a2410; color: #fff; }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.team-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  transition: box-shadow .2s;
}
.team-card:hover {
  box-shadow: var(--shadow-card-hover);
}
.team-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD04F, #E88700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.team-card__info { flex: 1; min-width: 0; }
.team-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 2px;
}
.team-card__role {
  font-size: 13px;
  color: #C67400;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card__desc {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  text-decoration: none;
}
.contact-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #FFD04F;
  transform: translateY(-2px);
  color: inherit;
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card__info { flex: 1; min-width: 0; }
.contact-card__value {
  font-size: 15px;
  font-weight: 600;
  color: #1C1C1C;
  margin-bottom: 2px;
}
.contact-card__label {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

/* === About Grid V2 === */
.about-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.about-card-v2 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #EBEBEB;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  text-decoration: none;
  color: inherit;
}
.about-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.09);
  border-color: transparent;
  color: inherit;
}
.about-card-v2--featured {
  grid-column: span 4;
  flex-direction: row;
}
.about-card-v2--featured .about-card-v2__cover {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.about-card-v2--featured .about-card-v2__cover img {
  object-fit: contain;
}
.about-card-v2--featured .about-card-v2__body {
  padding: 32px 36px;
}
.about-card-v2--featured .about-card-v2__body h3 {
  font-size: 24px;
}
.about-card-v2__cover {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
  flex-shrink: 0;
}
.about-card-v2__cover img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.about-card-v2:hover .about-card-v2__cover img {
  transform: scale(1.04);
}
.about-card-v2__body {
  flex: 1;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
}
.about-card-v2__body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1C1C1C;
  line-height: 1.35;
}
.about-card-v2__body p {
  font-size: 14px;
  color: #777;
  margin: 0 0 14px;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-card-v2__arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #C67400;
  opacity: .8;
  transition: opacity .2s, gap .2s;
}
.about-card-v2:hover .about-card-v2__arrow {
  opacity: 1;
  gap: 8px;
}
@media (max-width: 900px) {
  .about-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .about-card-v2--featured { grid-column: span 2; }
  .about-card-v2--featured .about-card-v2__cover { width: 260px; }
}
@media (max-width: 600px) {
  .about-grid-v2 { grid-template-columns: 1fr; }
  .about-card-v2--featured { grid-column: span 1; flex-direction: column; }
  .about-card-v2--featured .about-card-v2__cover { width: 100%; }
}

/* === Quill Content (public article pages) === */
.ql-content h2 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.ql-content h3 { font-size: 17px; font-weight: 600; margin: 12px 0 6px; }
.ql-content p { margin: 0 0 12px; }
.ql-content blockquote {
  border-left: 4px solid #E88700;
  background: #FFFBEB;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
  color: #6B4A12;
}
.ql-content a { color: #C67400; }
.ql-content img { max-width: 100%; max-height: 480px; object-fit: contain; border-radius: 8px; display: block; margin: 12px auto; }
.ql-content ul, .ql-content ol { padding-left: 24px; margin: 8px 0; }
.ql-content li { margin-bottom: 4px; }

/* === Category Layout === */
.category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}
.category-main__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.category-main__header h1 { font-size: 28px; font-weight: 700; }
.filters-toggle { display: none; }
.category-empty { text-align: center; padding: 48px; }
.category-empty svg { margin: 0 auto 12px; }
.category-empty p { color: #888; margin-bottom: 16px; }

/* Filters */
.filters {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid #E3E3E3;
  border-radius: 14px;
  padding: 20px;
  background: #fff;
}
.filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.filters__header h3 { font-size: 16px; font-weight: 700; }
.filters__reset { font-size: 13px; color: #E88700; font-weight: 500; }
.filters__group { margin-bottom: 16px; border-bottom: 1px solid #F1F5F9; padding-bottom: 16px; }
.filters__group:last-of-type { border-bottom: none; }
.filters__group h4 { font-size: 13px; font-weight: 600; color: #888; margin-bottom: 8px; }
.filters__group-toggle { cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.filters__arrow { font-size: 10px; transition: transform .2s; }
.filters__group.collapsed .filters__arrow { transform: rotate(-90deg); }
.filters__group.collapsed .filters__group-body { display: none; }
.filters__group-body { position: relative; }
.filters__search {
  width: 100%; padding: 6px 10px; border: 1px solid #E2E8F0; border-radius: 8px;
  font-size: 13px; margin-bottom: 8px; outline: none; transition: border-color .2s;
}
.filters__search:focus { border-color: #E88700; }
.filters__more-btn {
  display: block; width: 100%; background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 600; color: #E88700; padding: 6px 0 2px; text-align: left;
}
.filters__more-btn:hover { text-decoration: underline; }
.filters__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  cursor: pointer;
}
.filters__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #FFD04F;
}
.filters__range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filters__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #E3E3E3;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}
.filters__input:focus { outline: none; border-color: #FFD04F; }
.filters__close { display: none; }

/* === Reports Grid === */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.report-card {
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow .2s;
}
.report-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.report-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.report-card__icon svg { width: 100%; height: 100%; }
.report-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.report-card p { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 12px; }
.report-card__date { font-size: 12px; color: #888; font-weight: 500; }

/* === Done Grid === */
.done-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.done-card {
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.done-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.done-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.done-card__image img { width: 100%; height: 100%; object-fit: cover; }
.done-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.done-card__badge--report { background: #16a34a; }
.done-card__badge--waiting { background: #D97706; }
.done-card__body { padding: 16px; }
.done-card__body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.done-card__body p { font-size: 13px; color: #666; line-height: 1.5; margin-bottom: 12px; }
.done-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.done-card__location { color: #C67400; font-weight: 500; }
.done-card__amount { color: #16a34a; font-weight: 600; }

/* === Footer === */
.footer {
  margin-top: 128px;
  background: #FAFAFA;
}
.footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 64px 48px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 60px;
}
/* Brand column */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}
.footer__logo:hover { color: inherit; }
.footer__logo-img {
  width: 180px;
  height: auto;
}
.footer__copyright {
  font-size: 14px;
  color: #543516;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer__site-link {
  font-size: 14px;
  color: #543516;
  text-decoration: none;
}
.footer__site-link:hover { color: #C67400; }
/* Nav column */
.footer__col--nav h4 {
  font-size: 16px;
  font-weight: 700;
  color: #543516;
  margin-bottom: 8px;
}
.footer__col--nav a {
  display: block;
  font-size: 14px;
  color: #543516;
  padding: 3px 0;
  line-height: 1.6;
  transition: color .2s;
}
.footer__col--nav a:hover { color: #C67400; }
.footer__legal {
  margin-top: 24px;
  padding-top: 0;
}
.footer__legal a {
  font-size: 14px;
  font-weight: 600;
  color: #543516;
}
.footer__legal a:hover { color: #C67400; }
/* Contacts column */
.footer__col--contacts {
  min-width: 260px;
}
.footer__col--contacts h4 {
  font-size: 16px;
  font-weight: 700;
  color: #543516;
  margin-bottom: 8px;
}
.footer__contact-line {
  display: block;
  font-size: 14px;
  color: #543516;
  padding: 3px 0;
  line-height: 1.6;
  transition: color .2s;
}
.footer__contact-line:hover { color: #C67400; }
.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  align-items: center;
}
.footer__socials a {
  display: flex;
  align-items: center;
  transition: opacity .2s;
}
.footer__socials a:hover { opacity: 0.6; }
.footer__illustrator {
  font-size: 14px;
  color: #C67400;
  margin-top: 24px;
  font-style: italic;
}

/* === Header Search === */
.header__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5F5F5;
  border: 1.5px solid transparent;
  border-radius: 24px;
  padding: 8px 16px;
  width: 180px;
  flex-shrink: 0;
  transition: width 0.35s ease, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.header__search:focus-within {
  width: 300px;
  background: #fff;
  border-color: #FFD04F;
  box-shadow: 0 0 0 3px rgba(255,208,79,0.2);
}
.header__search svg { flex-shrink: 0; transition: stroke 0.2s; }
.header__search:focus-within svg { stroke: #E88700; }
.header__search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: #1C1C1C;
  outline: none;
  width: 100%;
}
.header__search input::placeholder { color: #aaa; }
.header__logo-img {
  height: 44px;
  width: auto;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
}
.header__logo-title {
  font-size: 14px;
  font-weight: 700;
  color: #543516;
  line-height: 1.2;
}
.header__logo-subtitle {
  font-size: 11px;
  color: #888;
  line-height: 1.2;
}

/* === Header Fav Badge === */
.header__fav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #FF3B30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.header__icon-btn--fav-active svg {
  fill: none;
  stroke: currentColor;
}
/* Brief pulse when fav is toggled */
@keyframes headerHeartPulse {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.header__icon-btn--fav-pulse svg {
  animation: headerHeartPulse 0.5s ease;
  fill: #FF3B30;
  stroke: #FF3B30;
}

/* === Mobile Menu Search === */
.mobile-menu__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5F5F5;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.mobile-menu__search svg { flex-shrink: 0; }
.mobile-menu__search input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #1C1C1C;
  outline: none;
  width: 100%;
}
.mobile-menu__search input::placeholder { color: #aaa; }

/* === Hero Slider Arrows === */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background .2s, box-shadow .2s;
  cursor: pointer;
}
.hero__arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.hero__arrow--prev { left: -22px; }
.hero__arrow--next { right: -22px; }
.hero__arrow svg { width: 20px; height: 20px; stroke: #1C1C1C; stroke-width: 2.5; fill: none; }

/* === Auth Pages === */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFAFA;
  padding: 32px 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.auth-container {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card-lg);
}
.auth-container h1 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.auth-logo img {
  height: 44px;
  width: auto;
}
.auth-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  color: #1C1C1C;
}
.auth-subtitle {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 28px;
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E3E3E3;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s;
  background: #fff;
}
.auth-field input:focus {
  outline: none;
  border-color: #FFD04F;
}
.auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.auth-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #FFD04F;
  margin-top: 2px;
  flex-shrink: 0;
}
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: #FFD04F;
  color: #1C1C1C;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  margin-top: 6px;
}
.auth-btn:hover { background: #FFC525; }
.auth-field__password {
  position: relative;
}
.auth-field__password input {
  padding-right: 44px;
}
.auth-field__toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.auth-field__toggle:hover {
  opacity: 1;
}
.auth-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
}
.auth-links a { color: #E88700; font-weight: 500; }
.auth-links a:hover { text-decoration: underline; color: #E88700; }
.auth-error {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}
.auth-success {
  background: #DCFCE7;
  color: #16a34a;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}
.auth-demo {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
}
.auth-row {
  display: flex;
  gap: 12px;
}
@media (max-width: 480px) {
  .auth-row { flex-direction: column; gap: 14px; }
}

/* === Profile Layout === */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}
.profile-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 24px;
  position: sticky;
  top: 92px;
  align-self: start;
  box-shadow: var(--shadow-sidebar);
}
.profile-sidebar__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFD04F;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  font-weight: 700;
  color: #543516;
}
.profile-sidebar__name {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.profile-sidebar__email {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
}
.profile-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-sidebar__nav a,
.profile-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #555;
  border-radius: 10px;
  transition: all .15s;
  font-weight: 500;
}
.profile-sidebar__nav a:hover,
.profile-sidebar__link:hover { background: #F0F0F0; color: #1C1C1C; }
.profile-sidebar__nav a.active,
.profile-sidebar__link.active {
  background: #FFF3D0;
  color: #543516;
  font-weight: 600;
}
.profile-sidebar__link--logout { color: #FF3B30; margin-top: 8px; }
.profile-sidebar__link--logout:hover { background: #FEE2E2; color: #FF3B30; }

/* Profile Content */
.profile-content { min-width: 0; }
.profile-content h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}
.profile-empty {
  text-align: center;
  padding: 48px 16px;
  color: #888;
}
.profile-empty p { margin-bottom: 16px; }

/* Profile Form */
.profile-form { display: flex; flex-direction: column; gap: 18px; max-width: 500px; width: 100%; }
.profile-form__row { display: flex; gap: 14px; }
@media (max-width: 600px) {
  .profile-form__row { flex-direction: column; }
}
.profile-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.profile-form__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E3E3E3;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s;
  background: #fff;
}
.profile-form__field input:focus { outline: none; border-color: #FFD04F; }
.profile-form__field input:disabled {
  background: #F5F5F5;
  color: #888;
  cursor: not-allowed;
}
.profile-form__actions { padding-top: 8px; }

/* === Orders List === */
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card {
  border: 1px solid var(--border-card);
  border-radius: 22px;
  overflow: hidden;
  padding: 16px;
  box-shadow: var(--shadow-card-sm);
}
.order-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F0F0F0;
}
.order-card__date { font-size: 13px; color: #888; }
.order-card__status { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.order-card__status--completed { background: #DCFCE7; color: #16a34a; }
.order-card__status--pending { background: #FFF3D0; color: #E88700; }
.order-card__total { font-size: 14px; font-weight: 700; color: #543516; margin-left: auto; }
.order-card__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 8px 0;
}
.order-card__item:not(:last-child) { border-bottom: 1px solid #F5F5F5; }
.order-card__item:hover .order-card__item-title { color: #E88700; }
.order-card__item-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #F0F0F0;
}
.order-card__item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-card__item-info { min-width: 0; flex: 1; }
.order-card__item-title { font-size: 14px; font-weight: 600; transition: color .2s; }
.order-card__item-desc {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-card__item-meta { font-size: 12px; color: #E88700; margin-top: 4px; font-weight: 500; }

/* === Search Form (page) === */
.search-form__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F5F5F5;
  border: 1.5px solid #E3E3E3;
  border-radius: 12px;
  padding: 8px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.search-form__input-wrap:focus-within {
  border-color: #FFD04F;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,208,79,0.2);
}
.search-form__input-wrap svg { flex-shrink: 0; }
.search-form__input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: #1C1C1C;
  outline: none;
  min-width: 0;
}
.search-form__input-wrap input::placeholder { color: #aaa; }

/* === Messages List === */
.messages-list { display: flex; flex-direction: column; gap: 12px; }
.message-card {
  border: 1px solid #E3E3E3;
  border-radius: 14px;
  padding: 18px 20px;
  transition: box-shadow .2s;
}
.message-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.message-card--unread { border-left: 3px solid #FFD04F; background: #FFFBEB; }
.message-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.message-card__sender { font-size: 14px; font-weight: 700; color: #543516; }
.message-card__date { font-size: 12px; color: #888; }
.message-card__subject {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1C1C1C;
}
.message-card__body {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* === Live Section === */
.live-section {
  max-width: 1320px;
  margin: 40px auto 0;
  padding: 0 32px;
}
.live-section__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF3D0 100%);
  border-radius: 16px;
  padding: 24px 32px;
  overflow: hidden;
  min-width: 0;
}
.live-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.live-counter__pulse {
  width: 12px;
  height: 12px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.live-counter__text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.live-counter__label { font-size: 14px; color: #543516; font-weight: 500; }
.live-counter__value {
  font-size: 32px;
  font-weight: 800;
  color: #E88700;
  line-height: 1;
}
.live-feed {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.live-feed::-webkit-scrollbar { display: none; }
.live-feed__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  flex-shrink: 0;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.live-feed__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFD04F;
  color: #543516;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.live-feed__info { flex: 1; min-width: 0; }
.live-feed__name { display: block; font-size: 13px; font-weight: 600; color: #1C1C1C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-feed__city { display: block; font-size: 11px; color: #888; }
.live-feed__amount { font-size: 14px; font-weight: 700; color: #E88700; flex-shrink: 0; white-space: nowrap; }

/* === Impact Preview (homepage) === */
.impact-preview {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.impact-preview__inner {}
.impact-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.impact-preview__header h2 { font-size: 24px; font-weight: 700; }
.impact-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.impact-preview__card {
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.impact-preview__card:hover {
  box-shadow: 0 8px 24px rgba(255,208,79,0.15);
  transform: translateY(-2px);
}
.impact-preview__person {
  font-size: 12px;
  font-weight: 600;
  color: #E88700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.impact-preview__card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; line-height: 1.3; }
.impact-preview__compare { display: flex; flex-direction: column; gap: 10px; }
.impact-preview__before, .impact-preview__after {
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 10px;
}
.impact-preview__before { background: #FEF2F2; color: #991B1B; }
.impact-preview__after { background: #F0FDF4; color: #166534; }
.impact-preview__before strong, .impact-preview__after strong { font-weight: 700; }

/* === Impact Timeline Page === */
.impact-timeline { position: relative; padding-left: 40px; }
.impact-card {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}
.impact-card__marker {
  position: absolute;
  left: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.impact-card__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFD04F;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #FFD04F;
  z-index: 1;
}
.impact-card__line {
  width: 2px;
  flex: 1;
  background: #E3E3E3;
  margin-top: 4px;
  min-height: 40px;
}
.impact-card__content {
  flex: 1;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.impact-card__date { font-size: 12px; color: #888; font-weight: 500; margin-bottom: 8px; text-transform: capitalize; }
.impact-card__title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.impact-card__person { font-size: 13px; color: #E88700; font-weight: 600; margin-bottom: 18px; }
.impact-card__comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}
.impact-card__before, .impact-card__after { padding: 16px; border-radius: 12px; font-size: 14px; line-height: 1.6; }
.impact-card__before { background: #FEF2F2; }
.impact-card__after { background: #F0FDF4; }
.impact-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.impact-card__label--before { color: #DC2626; }
.impact-card__label--after { color: #16a34a; }
.impact-card__arrow { display: flex; align-items: center; padding-top: 24px; }

/* === News Grid === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  color: inherit;
}
.news-card--featured { grid-column: span 2; }
.news-card--featured .news-card__image { aspect-ratio: 2/1; }
.news-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #F0F0F0;
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-card__image img { transform: scale(1.03); }
.news-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFFBEB, #FFF3D0);
}
.news-card__placeholder svg { width: 48px; height: 48px; }
.news-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card__date { font-size: 12px; color: #888; margin-bottom: 8px; font-weight: 500; }
.news-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.news-card__excerpt { font-size: 13px; color: #666; line-height: 1.5; flex: 1; margin-bottom: 12px; }
.news-card__link { font-size: 13px; color: #E88700; font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* News Article */
.article { max-width: 760px; }
.article__meta { display: flex; gap: 16px; margin-bottom: 16px; font-size: 13px; color: #888; }
.article__author { font-weight: 600; color: #543516; }
.article__title { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.article__image { border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.article__image img { width: 100%; max-height: 420px; object-fit: cover; }
.article__content { font-size: 16px; color: #393939; line-height: 1.8; }
.article__related { margin-top: 48px; padding-top: 32px; border-top: 1px solid #E3E3E3; }
.article__related h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.news-grid--small { grid-template-columns: repeat(3, 1fr); }

/* === Chat Widget === */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
}
.chat-widget__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD04F 0%, #E88700 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,135,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.chat-widget__toggle:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(232,135,0,0.45); }
.chat-widget__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FF3B30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.chat-widget__panel {
  display: none;
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  height: 460px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s ease;
}
.chat-widget__panel.open { display: flex; }
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #FFD04F 0%, #E88700 100%);
  color: #fff;
}
.chat-widget__header-info { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.chat-widget__header-dot { width: 8px; height: 8px; background: #16a34a; border-radius: 50%; }
.chat-widget__close { color: #fff; }
.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg { max-width: 80%; }
.chat-msg p {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-msg--support { align-self: flex-start; }
.chat-msg--support p { background: #F5F5F5; color: #1C1C1C; border-bottom-left-radius: 4px; }
.chat-msg--user { align-self: flex-end; }
.chat-msg--user p { background: #FFD04F; color: #1C1C1C; border-bottom-right-radius: 4px; }
.chat-widget__input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #E3E3E3;
}
.chat-widget__input input {
  flex: 1;
  border: 1px solid #E3E3E3;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.chat-widget__input input:focus { border-color: #FFD04F; }
.chat-widget__input button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.chat-widget__input button:hover { background: #FFF3D0; }

/* === Donation Toast === */
.donation-toast {
  position: fixed;
  bottom: 90px;
  left: 24px;
  background: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 400;
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.4s ease;
  max-width: 320px;
}
.donation-toast.show { transform: translateX(0); opacity: 1; }
.donation-toast__icon { font-size: 20px; }
.donation-toast__text { font-size: 13px; color: #555; line-height: 1.4; }
.donation-toast__text strong { color: #1C1C1C; font-weight: 600; }

/* === Warm touches === */
.lot-card:hover {
  box-shadow: 0 8px 28px rgba(255,208,79,0.18), 0 2px 8px rgba(0,0,0,0.06);
}
.lot-card__fav.active svg {
  fill: #FF3B30;
  stroke: #FF3B30;
  filter: drop-shadow(0 0 6px rgba(255,59,48,0.4));
}
.btn-primary {
  background: #FFD04F;
  color: #1C1C1C;
  box-shadow: 0 2px 8px rgba(255,208,79,0.3);
}
.btn-primary:hover {
  background: #FFC525;
  color: #1C1C1C;
  box-shadow: 0 4px 16px rgba(255,208,79,0.45);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: #ECAE04;
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(255,208,79,0.2);
}

/* Warm greeting bar */
.warm-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 32px 0;
}
.warm-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF3D0 100%);
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 14px;
  color: #543516;
  font-weight: 500;
}
.warm-bar__emoji {
  font-size: 22px;
  line-height: 1;
}
.warm-bar__text span {
  color: #E88700;
  font-weight: 700;
}

/* Heart favorite animation */
@keyframes heartBurst {
  0% { transform: scale(1); }
  15% { transform: scale(1.35); }
  30% { transform: scale(0.9); }
  45% { transform: scale(1.15); }
  60% { transform: scale(0.97); }
  100% { transform: scale(1); }
}
.lot-card__fav.pulse {
  animation: heartBurst 0.6s cubic-bezier(.17,.89,.32,1.28);
}
.lot-card__fav.pulse svg {
  filter: drop-shadow(0 0 8px rgba(255,59,48,0.6));
}

/* Heart particles */
.heart-particle {
  position: absolute;
  pointer-events: none;
  font-size: 14px;
  z-index: 10;
  animation: particleFly 0.8s ease-out forwards;
}
@keyframes particleFly {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.3); }
}

/* Cart add celebration */
.cart-celebration {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  animation: celebrationPop 0.7s ease-out forwards;
}
@keyframes celebrationPop {
  0% { opacity: 1; transform: translateY(0) scale(0.5); }
  40% { opacity: 1; transform: translateY(-30px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-60px) scale(0.8); }
}

/* Cart toast warm glow */
.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 8px 32px rgba(255,208,79,0.25), 0 2px 8px rgba(0,0,0,0.08);
  border-color: #FFD04F;
}

/* Smooth page entrance */
main {
  animation: pageIn 0.4s ease;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Gratitude Wall === */
.gratitude {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.gratitude__inner {
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF3D0 60%, #FFE8A8 100%);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.gratitude__inner::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 140px;
  color: rgba(255,180,50,0.12);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.gratitude h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #543516;
}
.gratitude__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gratitude__card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 20px;
  position: relative;
}
.gratitude__text {
  font-size: 14px;
  color: #543516;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}
.gratitude__author {
  font-size: 12px;
  font-weight: 600;
  color: #E88700;
}
.gratitude__city {
  font-size: 11px;
  color: #888;
}

/* === Need Help CTA === */
.need-help-cta {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 0 32px;
}
.need-help-cta__inner {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.need-help-cta__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(232,135,0,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(251,191,36,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.need-help-cta__inner::after {
  content: none;
}
.need-help-cta__content {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.need-help-cta__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.need-help-cta__icon svg { stroke: #E88700; }
.need-help-cta__title {
  font-size: 30px;
  font-weight: 800;
  color: #1C1C1C;
  margin: 0 0 10px;
}
.need-help-cta__subtitle {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.need-help-cta__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.need-help-cta__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FAFAFA;
  border: none;
  border-radius: 16px;
  padding: 18px 20px;
  flex: 1;
  max-width: 240px;
  transition: background 0.2s;
}
.need-help-cta__step:hover {
  background: #F5F0EB;
}
.need-help-cta__step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E88700, #C67400);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.need-help-cta__step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.need-help-cta__step-text strong {
  color: #1C1C1C;
  font-size: 14px;
  font-weight: 700;
}
.need-help-cta__step-text span {
  color: #888;
  font-size: 13px;
  line-height: 1.4;
}
.need-help-cta__step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.5;
}
.need-help-cta__action {
  text-align: center;
  position: relative;
  z-index: 1;
}
.need-help-cta__btn {
  display: inline-block;
  padding: 14px 44px;
  background: #E88700;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.need-help-cta__btn:hover {
  background: #C67400;
  color: #fff;
}
.need-help-cta__note {
  display: block;
  margin-top: 12px;
  color: #aaa;
  font-size: 12px;
}
@media (max-width: 768px) {
  .need-help-cta { padding: 0 16px; margin-top: 40px; }
  .need-help-cta__inner { padding: 32px 20px; border-radius: 20px; }
  .need-help-cta__title { font-size: 24px; }
  .need-help-cta__subtitle { font-size: 14px; }
  .need-help-cta__steps { flex-direction: column; gap: 12px; }
  .need-help-cta__step { max-width: 100%; }
  .need-help-cta__step-arrow { transform: rotate(90deg); }
  .need-help-cta__btn { padding: 14px 36px; font-size: 15px; width: 100%; box-sizing: border-box; }
}
@media (max-width: 480px) {
  .need-help-cta__inner { padding: 24px 16px; }
  .need-help-cta__title { font-size: 22px; }
  .need-help-cta__icon { width: 56px; height: 56px; }
  .need-help-cta__icon svg { width: 28px; height: 28px; }
}

/* === Together Counter === */
.together-counter {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.together-counter__inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.together-counter__item {
  text-align: center;
  flex: 1;
  min-width: 140px;
  background: #fff;
  border-radius: 24px;
  padding: 24px 16px;
  box-shadow: var(--shadow-sidebar);
  border: 1px solid var(--border-card);
}
.together-counter__value {
  font-size: 32px;
  font-weight: 800;
  color: #E88700;
  font-family: 'Nunito', sans-serif;
  line-height: 1.1;
}
.together-counter__label {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* === Thank You Toast === */
.thankyou-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  background: #543516;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 16px;
  z-index: 9999;
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(84,53,22,0.25);
  white-space: nowrap;
}
.thankyou-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === Lot Progress Bar === */
.lot-card__progress {
  margin-top: auto;
  padding-top: 8px;
}
.lot-card__progress-track {
  height: 6px;
  background: #F0E8D8;
  border-radius: 3px;
  overflow: hidden;
}
.lot-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD04F, #E88700);
  border-radius: 3px;
  transition: width .6s ease;
}
.lot-card__progress-text {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .header__inner { gap: 10px; padding: 0 16px; }
  .header__nav { gap: 0; }
  .header__nav-link { padding: 8px 6px; font-size: 12px; }
  .header__search { width: 120px; padding: 7px 12px; }
  .header__search:focus-within { width: 180px; }
  .header__logo-title { font-size: 12px; }
  .header__logo-subtitle { font-size: 10px; }
  .header__logo-img { height: 36px; }
  .btn-sm { padding: 6px 12px; font-size: 12px; }
  .category-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 1024px) {
  .about-fund__inner { padding: 0; padding-left: 24px; gap: 0; }
  .about-fund__stats { flex-direction: column; align-items: stretch; }
  .about-fund__stat { min-width: auto; }
  .about-fund__left { padding: 24px 0 24px 0; }
  .about-fund__right { max-width: 180px; align-self: flex-end; display: flex; align-items: flex-end; justify-content: flex-end; overflow: hidden; }
  .about-fund__right img { width: 100%; height: auto; object-fit: contain; }
  .hero__slide-content { padding: 32px; }
  .hero__slide-content h1 { font-size: 26px; }
  .header__search { max-width: 180px; }
  .lot-detail { grid-template-columns: 1fr; gap: 24px; }
  .lot-detail__title { font-size: 22px; }
  .lot-detail__price { font-size: 26px; }
  .cart-content { grid-template-columns: 1fr; }
  .footer { margin-top: 64px; }
  .footer__inner { grid-template-columns: 180px 1fr auto; gap: 32px; padding: 40px 24px; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .about-card--wide { grid-column: span 2; }
  .about-layout { grid-template-columns: 200px 1fr; gap: 24px; }
  .about-article-layout { grid-template-columns: 200px 1fr; gap: 32px; }
  .lots-grid--five { grid-template-columns: repeat(3, 1fr); }
  .lots-grid--four { grid-template-columns: repeat(3, 1fr); }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .done-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  /* Header mobile — only logo + burger */
  .header__nav { display: none; }
  .header__search { display: none !important; }
  .header__actions { display: none; }
  .header__inner { justify-content: space-between; padding: 0 16px; }
  .header__burger { display: flex; flex-shrink: 0; }
  .mobile-menu { display: block; }
  .mobile-nav { display: flex; }
  body { padding-bottom: 64px; }

  /* Hero — mobile slider */
  .hero { padding: 12px 12px 0; }
  .hero__slider { border-radius: 12px; }
  .hero__track { height: calc(88vh - 68px - 12px - 64px); min-height: 320px; }
  .hero__slide {
    flex-direction: column-reverse;
  }
  .hero__slide-image { flex: 1; max-width: none; overflow: hidden; }
  .hero__slide-image img { border-radius: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__slide-content { flex: none; padding: 20px; min-width: 0; }
  .hero__slide-content h1 { font-size: 20px; }
  .hero__slide-content p { max-width: 100%; }
  .hero__slide-content .btn { align-self: flex-start; }
  .hero__arrow { display: none !important; }
  .hero__dots { margin-top: 12px; }

  /* About fund — mobile vertical layout moved to 768px breakpoint */

  /* Warm bar */
  .warm-bar { padding: 12px 16px 0; }
  .warm-bar__inner { padding: 12px 16px; font-size: 13px; }

  /* Lots — horizontal scroll on homepage */
  .lots-section { padding: 0 16px; }
  .lots-section__header { flex-wrap: wrap; gap: 8px; }
  .lots-section__header h2 { font-size: 20px; }
  .lots-section .lots-grid,
  .lots-section .lots-grid--five,
  .lots-section .lots-grid--four {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .lots-section .lots-grid::-webkit-scrollbar { display: none; }
  .lots-section .lots-grid .lot-card,
  .lots-section .lots-grid--five .lot-card,
  .lots-section .lots-grid--four .lot-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

  /* Lots — wrapping grid on category pages */
  .category-main .lots-grid,
  .category-main .lots-grid--four {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
  }

  /* Pages */
  .page-section { padding: 16px; }
  .page-section__header { flex-wrap: wrap; }
  .page-title { font-size: 24px; }

  /* Lot detail */
  .lot-detail { grid-template-columns: 1fr; gap: 24px; }
  .lot-detail__title { font-size: 22px; }
  .lot-detail__price { font-size: 26px; }
  .lot-detail__amounts { flex-wrap: wrap; }

  /* Cart */
  .cart-content { grid-template-columns: 1fr; }
  .cart-toast { bottom: 80px; right: 16px; left: 16px; }
  .cart-item { flex-direction: column; }
  .cart-item__image { width: 100%; height: 160px; }
  .cart-item__actions { flex-direction: row-reverse; width: 100%; }

  /* Category — sidebar → popup */
  .category-layout { grid-template-columns: 1fr; }
  .category-main__header { flex-wrap: wrap; gap: 8px; }
  .category-main__header h1 { font-size: 22px; }
  .filters {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0; top: auto;
    max-height: 80vh;
    z-index: 200;
    border-radius: 20px 20px 0 0;
    overflow-y: auto;
    padding: 24px 20px 100px;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    animation: filtersSlideUp 0.3s ease;
  }
  .filters.open { display: block; }
  .filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
  }
  .filters-overlay.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .filters__close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F0F0F0;
    font-size: 20px;
    line-height: 1;
    color: #555;
    cursor: pointer;
  }
  @keyframes filtersSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  /* About pages */
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card--wide { grid-column: span 2; }
  .about-card { aspect-ratio: 3/2; }
  .about-layout { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .about-sidebar__nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .about-sidebar__link { padding: 6px 12px; font-size: 13px; }
  .article { max-width: 100%; }
  .article__title { font-size: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .doc-card { flex-direction: column; align-items: stretch; gap: 12px; }
  .doc-card__btn { align-self: flex-start; }

  /* About article — new layout */
  .about-article-layout { grid-template-columns: 1fr; gap: 0; }
  .about-article-sidebar { position: static; margin-bottom: 24px; }
  .about-article-sidebar__nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .about-article-sidebar__link { padding: 8px 14px; font-size: 13px; }
  .about-article__title { font-size: 26px; }
  .about-article__hero img { max-height: 300px; }
  .about-article__team-grid { grid-template-columns: 1fr; }
  .about-article__contact-grid { grid-template-columns: 1fr; }
  .about-article__doc-card { flex-direction: column; align-items: stretch; gap: 12px; }
  .about-article__doc-btn { align-self: flex-start; }
  .about-article__related-grid { grid-template-columns: 1fr; }

  /* Profile */
  .profile-layout { grid-template-columns: 1fr; gap: 20px; }
  .profile-sidebar { position: static; }
  .profile-sidebar__nav { flex-direction: column; gap: 2px; }
  .profile-sidebar__nav a,
  .profile-sidebar__link { padding: 10px 14px; font-size: 14px; }

  /* Reports / Done */
  .reports-grid { grid-template-columns: 1fr; }
  .done-grid { grid-template-columns: 1fr; }

  /* Live section */
  .live-section { padding: 0 16px; }
  .live-section__inner { flex-direction: column; padding: 20px; gap: 16px; overflow: visible; }
  .live-feed { max-width: 100%; width: 100%; box-sizing: border-box; flex-direction: column; overflow: visible; gap: 8px; }
  .live-feed__item { min-width: 0; flex-shrink: 1; width: 100%; }
  .live-counter__value { font-size: 26px; }

  /* Cookie banner above mobile nav */
  .cookie-banner { bottom: 64px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: span 1; }

  /* Impact */
  .impact-preview { padding: 0 16px; }
  .impact-preview__grid { grid-template-columns: 1fr; }
  .impact-timeline { padding-left: 24px; }
  .impact-card__comparison { grid-template-columns: 1fr; }
  .impact-card__arrow { display: none; }

  /* Footer */
  .footer { margin-top: 48px; margin-bottom: 64px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px; }
  .footer__col--brand { align-items: center; text-align: center; }
  .footer__logo { align-items: center; }
  .footer__col--contacts { min-width: auto; }

  /* Order cards */
  .order-card { padding: 14px; }
  .order-card__item-img { width: 44px; height: 44px; }

  /* Gratitude */
  .gratitude { padding: 0 16px; }
  .gratitude__inner { padding: 24px; }
  .gratitude__grid { grid-template-columns: 1fr; gap: 12px; }

  /* Together counter */
  .together-counter { padding: 0 16px; }
  .together-counter__inner { gap: 12px; }
  .together-counter__item { padding: 16px 12px; }
  .together-counter__value { font-size: 24px; }

  /* Chat & notifications */
  .chat-widget { bottom: 80px; right: 16px; }
  .chat-widget__panel { width: calc(100vw - 32px); right: 0; left: auto; height: 400px; }
  .donation-toast { bottom: 150px; left: 16px; right: 16px; max-width: none; }
}

@media (max-width: 768px) {
  .about-fund { padding: 0 16px; }
  .about-fund__inner { flex-direction: column; border-radius: 20px; overflow: hidden; padding: 0; gap: 0; }
  .about-fund__left { padding: 24px 24px 20px; }
  .about-fund__right { width: 100%; max-width: 100%; flex-shrink: 0; line-height: 0; margin: 0; padding: 0; max-height: 200px; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end; align-self: auto; }
  .about-fund__right img { width: 60%; height: auto; object-fit: contain; border-radius: 0; display: block; margin: 0 0 0 auto; }
  .about-fund__stats { justify-content: center; }
  .about-fund__stat { min-width: 120px; padding: 12px 16px; }
  .about-fund__stat-value { font-size: 24px; }
}

@media (max-width: 480px) {
  /* Header */
  .header__inner { padding: 0 10px; height: 56px; gap: 6px; }
  .header__logo-img { height: 28px; }
  .header__logo-title { font-size: 11px; }
  .header__logo-subtitle { font-size: 9px; }
  .header__icon-btn { width: 32px; height: 32px; }
  .header__icon-btn svg { width: 18px; height: 18px; }
  .mobile-menu { top: 56px; height: calc(100vh - 56px - 64px); }
  .btn-sm { padding: 5px 12px; font-size: 12px; }

  /* Hero slider */
  .hero { padding: 8px 8px 0; }
  .hero__slider { border-radius: 10px; }
  .hero__track { height: calc(90vh - 56px - 8px - 64px); min-height: 260px; }
  .hero__slide-content { padding: 16px 16px 12px; }
  .hero__slide-content h1 { font-size: 16px; margin-bottom: 6px; }
  .hero__slide-content p { font-size: 12px; margin-bottom: 10px; }
  .hero__slide-content .btn { font-size: 12px; padding: 8px 16px; }

  /* Warm bar */
  .warm-bar { padding: 8px 10px 0; }
  .warm-bar__inner { padding: 10px 12px; font-size: 12px; }

  /* About fund */
  .about-fund { padding: 0 10px; }
  .about-fund__left { padding: 16px 14px 14px; }
  .about-fund__left h2 { font-size: 18px; }
  .about-fund__left p { font-size: 12px; }
  .about-fund__stats { gap: 8px; }
  .about-fund__stat { min-width: 90px; padding: 8px 10px; }
  .about-fund__stat-value { font-size: 18px; }
  .about-fund__stat-label { font-size: 10px; }

  /* Live section */
  .live-section { padding: 0 10px; margin-top: 24px; }
  .live-section__inner { padding: 14px; gap: 10px; overflow: visible; }
  .live-counter__value { font-size: 20px; }
  .live-counter__label { font-size: 12px; }
  .live-feed__item { min-width: 0; flex-shrink: 1; width: 100%; padding: 8px; font-size: 11px; }
  .live-feed__avatar { width: 28px; height: 28px; font-size: 12px; }

  /* Lots — smaller cards on phones */
  .lots-section { padding: 0 10px; margin-top: 24px; }
  .lots-section__header h2 { font-size: 17px; }
  .lots-section .lots-grid .lot-card,
  .lots-section .lots-grid--five .lot-card,
  .lots-section .lots-grid--four .lot-card {
    flex: 0 0 200px;
  }
  .category-main .lots-grid,
  .category-main .lots-grid--four {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  .lot-card__body { padding: 12px; }
  .lot-card__title { font-size: 13px; margin-bottom: 4px; }
  .lot-card__desc { font-size: 12px; -webkit-line-clamp: 5; }
  .lot-card__price { font-size: 14px; }
  .lot-card__footer-price { font-size: 13px; }
  .lot-card__help-btn { padding: 6px 10px; font-size: 12px; }

  /* Lot detail */
  .lot-detail__title { font-size: 18px; }
  .lot-detail__price-block { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lot-detail__price { font-size: 22px; }
  .lot-detail__meta { margin-bottom: 12px; padding: 10px 0; }
  .lot-detail__meta-row { flex-direction: column; gap: 2px; padding: 6px 0; }
  .lot-detail__description { padding-top: 16px; margin-bottom: 24px; }
  .lot-detail__description h2 { font-size: 18px; margin-bottom: 10px; }
  .lot-report-banner { padding: 12px 14px; gap: 10px; }
  .lot-report-banner__icon { width: 34px; height: 34px; }
  .lot-report-banner__text strong { font-size: 14px; }
  .lot-report-section__header { padding: 18px 20px; flex-direction: column; text-align: center; }
  .lot-report-section__header-icon { width: 44px; height: 44px; }
  .lot-report-section__title { font-size: 18px; }
  .lot-report-card { padding: 18px 16px; }
  .lot-report-card__header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lot-report-layout { grid-template-columns: 1fr; gap: 16px; }
  .lot-report-gallery { grid-template-columns: repeat(2, 1fr); }
  .lot-report-gallery:has(:only-child) { max-width: 100%; }

  /* News */
  .news-grid { grid-template-columns: 1fr; gap: 12px; }
  .news-card__body { padding: 12px; }
  .news-card__title { font-size: 15px; }
  .news-card__excerpt { font-size: 13px; }

  /* Impact */
  .impact-preview { padding: 0 10px; }
  .impact-preview__grid { grid-template-columns: 1fr; gap: 12px; }
  .impact-preview__header h2 { font-size: 18px; }
  .impact-timeline { padding-left: 16px; }
  .impact-card__content { padding: 16px; }
  .impact-card__title { font-size: 16px; }
  .impact-card__comparison { grid-template-columns: 1fr; gap: 10px; }

  /* Stats grid */
  .stats__inner { grid-template-columns: 1fr 1fr; padding: 10px; gap: 8px; }
  .stats__icon { width: 40px; height: 40px; padding: 8px; }
  .stats__value { font-size: 16px; }
  .stats__label { font-size: 10px; }

  /* About grid */
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .about-card--wide { grid-column: span 1; }
  .about-card { aspect-ratio: auto; }
  .about-content__h2 { font-size: 18px; margin: 24px 0 12px; }
  .about-content__callout { padding: 14px 16px; font-size: 14px; }
  .doc-card { padding: 12px 14px; }
  .doc-card__icon { width: 40px; height: 40px; }
  .doc-card__title { font-size: 14px; }
  .doc-card__btn { padding: 6px 12px; font-size: 12px; }
  .team-card { padding: 14px; }
  .team-card__avatar { width: 36px; height: 36px; font-size: 15px; }

  /* About article — small screens */
  .about-article__title { font-size: 22px; }
  .about-article__h2 { font-size: 18px; margin: 24px 0 12px; }
  .about-article__callout { padding: 14px 16px; font-size: 14px; }
  .about-article__hero { border-radius: 14px; margin-bottom: 24px; }
  .about-article__hero img { max-height: 220px; }
  .about-article__doc-card { padding: 14px 16px; }
  .about-article__doc-icon { width: 42px; height: 42px; }
  .about-article__doc-btn { padding: 8px 14px; font-size: 12px; }
  .about-article__team-card { padding: 14px; }
  .about-article__team-avatar { width: 38px; height: 38px; font-size: 15px; }
  .about-article__related-card { padding: 10px; }
  .about-article__related-img { width: 56px; height: 44px; }
  .contact-card { padding: 14px; gap: 12px; }
  .contact-card__icon { width: 40px; height: 40px; }

  /* Profile */
  .profile-form { max-width: 100%; }
  .profile-sidebar__nav a,
  .profile-sidebar__link { padding: 8px 12px; font-size: 13px; }

  /* Reports / Done */
  .reports-grid { grid-template-columns: 1fr; gap: 12px; }
  .done-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Footer */
  .footer__inner { padding: 24px 10px; gap: 20px; }
  .footer__logo-img { width: 120px; }
  .footer__col--nav h4 { font-size: 14px; }
  .footer__col--nav a { font-size: 13px; }
  .footer__col--contacts h4 { font-size: 14px; }
  .footer__contact-line { font-size: 13px; }
  .footer__col--contacts { min-width: auto; }
  .footer__illustrator { font-size: 12px; }

  /* Page sections */
  .page-section { padding: 10px; }
  .page-section__header h1 { font-size: 22px; }
  .page-title { font-size: 20px; }

  /* Cart */
  .cart-item__image { height: 140px; }
  .cart-toast { bottom: 76px; right: 10px; left: 10px; }

  /* Auth forms */
  .auth-page { padding: 16px 12px; }
  .auth-container { padding: 28px 20px; border-radius: 16px; }
  .auth-form { padding: 0; }
  .auth-field input { padding: 14px 16px; font-size: 15px; }
  .auth-field__password input { padding-right: 44px; }

  /* Chat widget */
  .chat-widget { bottom: 76px; right: 10px; }
  .chat-widget__panel { width: calc(100vw - 20px); right: 0; left: auto; }

  /* Donation toast */
  .donation-toast { bottom: 140px; left: 10px; right: 10px; max-width: none; }

  /* Cookie banner */
  .cookie-banner { flex-direction: column; padding: 10px 12px; gap: 8px; bottom: 64px; }
  .cookie-banner p { font-size: 12px; }
}
