@import url("https://fonts.googleapis.com/css2?family=Baloo+Chettan+2:wght@400..800&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --brand: #0e1d49;
  --brand2: #152452;
  --line: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Baloo Chettan 2", sans-serif;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body.mobile-search-open {
  overflow: hidden;
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.topbar__actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
}

.brand__badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.711);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand__name {
  letter-spacing: 0.2px;
}

.brand__sub {
  font-weight: 600;
  opacity: 0.85;
}

.search {
  flex: 1 1 auto;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 650px;
}

.search__input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.search__input::placeholder {
  color: #6b7280;
}

.search__btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  background: #111827;
  color: #fff;
}

.search__btn:active {
  transform: translateY(1px);
}

.main {
  padding: 18px 0 30px;
}

.view {
  margin: 10px 1px 1px 1px;
  min-height: 60vh;
}

.categories {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: auto;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.chip--filter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.filterPanel {
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.filterPanel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 860px) {
  .filterPanel__grid {
    grid-template-columns: 1fr;
  }
}

.filterPanel__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.filterRangeRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.filterRangeWrap {
  position: relative;
  height: 34px;
  margin-top: 6px;
}

.filterRange {
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  width: 100%;
  margin: 0;
  pointer-events: auto;
  -webkit-appearance: none;
  background: transparent;
}

.filterRange--min {
  z-index: 5;
}
.filterRange--max {
  z-index: 6;
}

.filterRange::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(45, 80, 238, 0.14);
  border-radius: 999px;
}
.filterRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  margin-top: -6px;
  cursor: pointer;
  pointer-events: auto;
}

.filterPriceInputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 520px) {
  .filterPriceInputs {
    grid-template-columns: 1fr;
  }
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.chip--active {
  border-color: rgba(45, 80, 238, 0.35);
  background: rgba(238, 77, 45, 0.08);
  color: var(--brand);
}

.categoryItem {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  min-width: 84px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--brand);
}

.categoryItem__iconWrap {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.categoryItem__icon {
  font-size: 24px;
}

.categoryItem__label {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
}

.categoryItem--active {
  color: var(--brand);
}

.categoryItem--active .categoryItem__iconWrap {
  background: rgba(21, 36, 82, 0.12);
  border-color: rgba(21, 36, 82, 0.22);
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    background: linear-gradient(90deg, #182757, #1a2f6a);
  }

  .topbar__row {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand img#brandLogo {
    height: 34px !important;
  }

  .search {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 12px;
    z-index: 75;
    padding: 8px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    display: none;
    max-width: none;
  }

  body.mobile-search-open .search {
    display: flex;
  }

  .search__input {
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.14);
  }

  .search__btn {
    white-space: nowrap;
  }

  .topbar__actions {
    margin-left: auto;
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(420px, calc(100vw - 20px));
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 1px 10px;
    z-index: 70;
    max-height: 80%;
  }

  .topbar__actions .iconbtn {
    color: #5b6474;
    border: 0;
    background: transparent;
    border-radius: 12px;
    min-height: 48px;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
  }

  .topbar__actions .iconbtn .material-symbols-outlined,
  .topbar__actions .iconbtn #navAvatarFallback {
    font-size: 24px !important;
  }

  .topbar__actions .iconbtn__label {
    display: inline;
    font-weight: 800;
    line-height: 1;
  }

  .iconbtn--mobileOnly:not([hidden]) {
    display: inline-flex !important;
  }

  #addProductButton {
    grid-column: 3;
    transform: translateY(-26px);
    background: linear-gradient(180deg, var(--brand), var(--brand2)) !important;
    color: #fff !important;
    border-radius: 100% !important;
    min-height: 72px !important;
    box-shadow: 0 12px 24px rgba(8, 53, 108, 0.35);
  }

  #addProductButton .material-symbols-outlined {
    font-size: 30px !important;
  }

  #cartButton {
    grid-column: 4;
  }

  #cartCountBadge {
    display: none !important;
  }

  .accountMenu {
    grid-column: 5;
    position: relative;
  }

  .accountMenu > .iconbtn {
    width: 100%;
  }

  #accountButton {
    padding: 6px !important;
    border-radius: 12px !important;
    background: transparent !important;
  }

  #navAvatar {
    width: 24px !important;
    height: 24px !important;
  }

  #accountDropdown {
    right: 0;
    top: auto;
    bottom: calc(100% + 14px);
    max-height: min(58vh, 460px);
    overflow: auto;
  }

  .main {
    padding-top: 12px;
    padding-bottom: 110px;
  }

  .categories {
    border-radius: 12px;
    padding: 10px;
    gap: 8px;
  }

  .categoryItem {
    min-width: 74px;
    gap: 6px;
  }

  .categoryItem__iconWrap {
    width: 42px;
    height: 42px;
  }

  .chip {
    padding: 7px 10px;
    font-size: 14px;
  }

  .view {
    margin-top: 8px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding-bottom: 90px;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #fff, #ffe9e3);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(238, 77, 45, 0.35);
  letter-spacing: 0.5px;
}

.card__img--photo {
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__title {
  font-weight: 800;
  line-height: 1.2;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-weight: 900;
  color: var(--brand);
}

.muted {
  color: var(--muted);
}

.rating {
  font-weight: 800;
  color: #111827;
}

.card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  user-select: none;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.98);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
}

.btn--ghost:hover {
  background: #f9fafb;
}

.btn--danger {
  background: #fff;
  border-color: rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

.iconbtn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.iconbtn__label {
  display: none;
}

.iconbtn--mobileOnly {
  display: none !important;
}

@media (min-width: 520px) {
  .iconbtn__label {
    display: inline;
  }
}

#addProductButton[hidden],
#cartButton[hidden] {
  display: none !important;
}

.accountMenu {
  position: relative;
}

.accountMenu__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  background: #fff;
  color: #111827;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 60;
}

.accountMenu__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border: 0;
  background: #fff;
  color: #111827;
}

.accountMenu__item[hidden] {
  display: none !important;
}

#accountDropdown[hidden] {
  display: none !important;
}

.accountMenu__item:hover {
  background: #f9fafb;
}

.accountMenu__item--btn {
  cursor: pointer;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hero {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(238, 77, 45, 0.12),
    rgba(255, 115, 55, 0.1)
  );
  border: 1px dashed rgba(238, 77, 45, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero__title {
  font-size: 18px;
  font-weight: 900;
}

.hero__subtitle {
  margin-top: 6px;
}

.detail {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

@media (max-width: 860px) {
  .detail__row {
    grid-template-columns: 1fr;
  }
}

.detail__media {
  padding: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, #ffe9e3);
}

.detail__mediaBox {
  width: min(420px, 90%);
  aspect-ratio: 1/1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(238, 77, 45, 0.35);
  overflow: hidden;
}

.detail__mainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail__thumbs {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
}

.detail__thumb--active {
  border-color: var(--brand);
}

.detail__content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail__title {
  font-size: 20px;
  font-weight: 1000;
}

.detail__pillRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.qty__btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 1000;
}

.qty__value {
  min-width: 36px;
  text-align: center;
  font-weight: 900;
}

.drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.drawer[data-open="true"] {
  display: block;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.drawer__header,
.drawer__footer {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer__footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: auto;
  flex-direction: column;
  align-items: stretch;
}

.drawer__title {
  font-weight: 1000;
}

.drawer__body {
  padding: 14px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__footerActions {
  display: flex;
  gap: 10px;
}

.drawer__footerActions .btn {
  flex: 1;
}

.cartItem {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
}

.cartItem__thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #ffe9e3);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(238, 77, 45, 0.35);
}

.cartItem__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cartItem__name {
  font-weight: 900;
  line-height: 1.2;
}

.cartItem__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.cartItem__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cartItem__miniBtn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 1000;
}

.pageTitle {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 1000;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.formRow {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 700px) {
  .formRow {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label {
  font-weight: 900;
  font-size: 13px;
}

.input,
.select,
.textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
}

.textarea {
  min-height: 90px;
  resize: vertical;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.summaryRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.summaryRow:last-child {
  border-bottom: 0;
}

.accountProfile__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.accountProfile__avatar {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.accountProfile__avatar--fallback {
  display: grid;
  place-items: center;
  background: #f3f4f6;
}

.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  margin-top: 20px;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.toastHost {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 80;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast__btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 900;
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modalPanel {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 20px 22px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}

.modalTitle {
  font-weight: 1000;
  font-size: 18px;
}

.contactLink {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: var(--brand);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contactLink:hover {
  color: var(--brand2);
}

.lostFoundStrip {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.lostFoundStrip__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.lostFoundStrip__title {
  font-weight: 1000;
  font-size: 17px;
}

.lostFoundStrip__sub {
  font-size: 13px;
}

.lostFoundStrip__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lostFoundStrip__line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  background: #fafafa;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.lostFoundStrip__tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
  color: var(--brand2);
}

.lostFoundStrip__name {
  flex: 1;
  min-width: 0;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lostFoundStrip__empty {
  padding: 4px;
}

.lostFoundStrip__more {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.lostFoundPage__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.lostFoundPage__title {
  margin: 0;
}

.lostFoundGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.lostFoundCard {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding-bottom: 10px;
}

.lostFoundCard__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.lostFoundCard__img--ph {
  display: grid;
  place-items: center;
  background: #e5e7eb;
  font-size: 28px;
}

.lostFoundCard__badge {
  padding: 6px 10px 0;
  font-size: 12px;
  font-weight: 900;
  color: var(--brand2);
}

.lostFoundCard__name {
  padding: 4px 10px 0;
  font-weight: 900;
}

.lostFoundCard__meta {
  padding: 4px 10px 0;
  font-size: 13px;
}

.lostFoundDetail__images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lostFoundDetail__img {
  max-width: 100%;
  width: 180px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  object-fit: cover;
}

.lostFoundForm__section {
  margin-top: 4px;
}

.checkoutDeliveryOpts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.checkoutDeliveryOpt {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
}

.checkoutSection {
  margin-top: 14px;
}
.field__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.field__wrapper .input {
  width: 100% !important;
  padding-right: 42px !important;
}

.field__toggle {
  position: absolute;
  right: 12px;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  padding: 4px;
}

.field__toggle:hover {
  color: var(--brand);
}

/* Refund / returns: purchased list + per-item form */
.refundList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.refundItem {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
}

.refundItem__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.refundItem__thumb {
  flex-shrink: 0;
  width: 56px;
  min-height: 56px;
  border-radius: 10px;
  background: #eff4ff;
  border: 1px solid var(--line);
}

.refundItem__meta {
  flex: 1;
  min-width: 0;
}

.refundItem__head .btn {
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}

.refundItem__form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.orderCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 10px;
}

.orderCard__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.orderItemRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.orderItemRow:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.orderItemRow__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.orderStatusPill {
  border-radius: 999px;
  border: 1px solid #bfd7ff;
  background: #eef5ff;
  color: #114084;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .refundItem__head {
    flex-wrap: wrap;
  }
  .refundItem__head .btn {
    margin-left: 0;
    width: 100%;
  }
}
