* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #D5E6E3;
  color: #111827;
  min-height: 100vh;
  overflow-wrap: anywhere;
}

img { max-width: 100%; }
input, select, textarea { min-width: 0; }
button, a[href], select, label[for], summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 3px solid #111827; outline-offset: 3px; }
.navbar :focus-visible, .admin-navbar :focus-visible { outline-color: #FFFFFF; }
button:active, a[class*="btn"]:active { transform: translateY(1px); }

.mobile-menu-toggle, .mobile-filter-toggle, .chat-back {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0F6B66;
  font-size: 14px;
  font-weight: 700;
  display: none;
}
.mobile-menu-toggle:hover, .mobile-filter-toggle:hover, .chat-back:hover {
  background: #DCECE9;
}
.retry-chat { display: inline-flex; }
.chat-back { flex-shrink: 0; white-space: nowrap; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll .admin-table { min-width: 640px; }
.chat-contact-card { width: 100%; text-align: left; }
.chat-contact-card:hover { background: #F0F7F6; }
.chat-contact-left, .chat-contact-left > span { min-width: 0; }
.chat-contact-name, .chat-contact-preview { display: block; }
.chat-text-input { min-width: 0; }
.password-toggle { min-width: 44px; min-height: 44px; justify-content: center; }

#app-wrapper {
  min-height: 100vh;
  transition: filter 0.2s ease;
}

#app-wrapper.blurred {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

/* ==================== NAVBAR ==================== */
.navbar {
  background-color: #0F6B66;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.brand-wordmark {
  display: flex;
  align-items: flex-end;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #FFFFFF;
}

.brand-tagline {
  font-size: 6.5px;
  color: #E5E7EB;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #E5E7EB;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 2px;
  border-bottom: 3px solid transparent;
  transition: color 0.15s;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link.active {
  color: #FFFFFF;
  font-weight: 600;
  border-bottom-color: #F97316;
}

.btn-nav-tambah {
  background-color: #F97316;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s;
}

.btn-nav-tambah:hover {
  background-color: #EA580C;
}

.btn-notif {
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 4px 14px 4px 5px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.08);
}

.user-avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #F97316;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==================== LAYOUT UMUM ==================== */
.container {
  max-width: 820px;
  margin: 44px auto;
  padding: 0 24px 48px;
}

.page-container {
  max-width: 1120px;
  margin: 32px auto;
  padding: 0 32px 56px;
}

.page-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 32px;
}

.section-heading {
  font-size: 28px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 22px;
}

.hidden {
  display: none !important;
}

/* ==================== AUTH (LOGIN & REGISTER) ==================== */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #1F2937;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  height: 52px;
  background-color: #FFFFFF;
  border: 1.5px solid #8E9E9B;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 15px;
  color: #111827;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  outline: none;
}

.form-input:focus {
  border-color: #0F6B66;
}

.inline-error {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  margin-bottom: 24px;
  color: #E60000;
  font-size: 15px;
  font-weight: 500;
}

.inline-error.show {
  display: flex;
}

.error-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #E60000;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 24px;
}

.remember-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.remember-wrap input[type="checkbox"] {
  appearance: none;
  width: 28px;
  height: 28px;
  background-color: #FFFFFF;
  border: 1.5px solid #111827;
  border-radius: 2px;
  cursor: pointer;
  display: grid;
  place-content: center;
}

.remember-wrap input[type="checkbox"]::before {
  content: "";
  width: 14px;
  height: 14px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: #0F6B66;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.remember-wrap input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.remember-text, .forgot-link {
  font-size: 18px;
  font-weight: 700;
}

.forgot-link {
  color: #0F6B66;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  height: 52px;
  background-color: #0F6B66;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0C5854;
}

.switch-auth {
  text-align: center;
  margin-top: 22px;
  font-size: 18px;
  font-weight: 700;
}

.switch-auth a {
  color: #0F6B66;
  text-decoration: none;
}

.ktm-upload-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 8px 0 26px;
}

.ktm-preview-box {
  width: 145px;
  height: 110px;
  border: 1.5px solid #374151;
  background-color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ktm-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-upload-ktm {
  background-color: #0F6B66;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* ==================== BERANDA KATALOG ==================== */
.search-bar-row {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #374151;
}

.search-input {
  width: 100%;
  height: 46px;
  background-color: #FFFFFF;
  border: 1px solid #6B7280;
  border-radius: 10px;
  padding: 0 16px 0 44px;
  font-size: 14px;
  outline: none;
}

.btn-search-orange {
  background-color: #F97316;
  color: #111827;
  font-weight: 700;
  font-size: 15px;
  padding: 0 26px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filter-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.filter-subtitle {
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 10px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter-check input {
  width: 18px;
  height: 18px;
  accent-color: #0F6B66;
}

.price-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-range-row input {
  width: 100%;
  height: 40px;
  border: 1px solid #6B7280;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
}

.btn-filter-apply {
  width: 100%;
  height: 42px;
  background-color: #F97316;
  color: #111827;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  margin-top: 18px;
  cursor: pointer;
}

.btn-filter-reset {
  width: 100%;
  height: 42px;
  background-color: #FFFFFF;
  color: #111827;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #4B5563;
  border-radius: 10px;
  margin-top: 10px;
  cursor: pointer;
}

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

.product-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.product-card-img {
  width: 100%;
  height: 135px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
  background-color: #E5E7EB;
}

.product-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.product-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #0F6B66;
  margin-bottom: 6px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.tag-pill {
  background-color: #DCE7E5;
  color: #0F6B66;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.product-card-seller {
  font-size: 11px;
  color: #4B5563;
  margin-top: auto;
}

.pagination-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.page-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #6B7280;
  background-color: #FFFFFF;
  color: #111827;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.page-btn.active {
  background-color: #0F6B66;
  color: #FFFFFF;
  border-color: #0F6B66;
}

/* ==================== DETAIL PRODUK ==================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.detail-image-box {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.detail-image-box img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.detail-price {
  font-size: 20px;
  font-weight: 800;
  color: #0F6B66;
  margin-bottom: 12px;
}

.detail-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}

.detail-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.detail-card p {
  font-size: 14px;
  color: #1F2937;
  line-height: 1.5;
  white-space: pre-line;
}

.seller-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.seller-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #0F6B66;
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-badge {
  background-color: #E6F4F1;
  color: #0F6B66;
  border: 1px solid #99D5C9;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.btn-action-orange {
  background-color: #F97316;
  color: #374151;
  font-weight: 700;
  font-size: 15px;
  height: 44px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-action-outline {
  background-color: #FFFFFF;
  color: #0F6B66;
  font-weight: 700;
  font-size: 15px;
  height: 44px;
  border: 1.5px solid #0F6B66;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-action-danger {
  background-color: #FFFFFF;
  color: #7F1D1D;
  font-weight: 700;
  font-size: 15px;
  height: 44px;
  border: 1.5px solid #7F1D1D;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

/* ==================== AJUKAN BARTER ==================== */
.barter-top-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: stretch;
}

.white-panel {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.barter-target-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.barter-mine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.barter-item-card {
  background-color: #DCECE9;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.barter-item-card.selected {
  border-color: #0F6B66;
}

.barter-item-card img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.barter-add-card {
  border: 1.5px dashed #374151;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  font-size: 13px;
  min-height: 165px;
}

.barter-bottom-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  margin-top: 20px;
}

.barter-offer-form {
  grid-column: 2;
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 135px 1fr 165px;
  gap: 16px;
  align-items: end;
}

.barter-field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.barter-field-input {
  width: 100%;
  height: 42px;
  background-color: #E3EFED;
  border: 1px solid #8E9E9B;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.btn-barter-submit {
  height: 42px;
  background-color: #0F6B66;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ==================== PRODUK SAYA ==================== */
.my-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-tambah-orange {
  background-color: #F97316;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #374151;
  background-color: #FFFFFF;
  color: #111827;
  cursor: pointer;
}

.tab-btn.active {
  background-color: #0F6B66;
  color: #FFFFFF;
  border-color: #0F6B66;
}

.my-products-box {
  border: 1px solid #0F6B66;
  border-radius: 14px;
  padding: 10px 28px;
  background-color: rgba(255, 255, 255, 0.15);
}

.my-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #6B7280;
  gap: 16px;
}

.my-product-row:last-child {
  border-bottom: none;
}

.my-product-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.my-product-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  background-color: #FFFFFF;
}

.my-product-meta h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.my-product-meta .price {
  font-size: 16px;
  font-weight: 700;
  color: #0F6B66;
  margin-bottom: 3px;
}

.my-product-meta .sub {
  font-size: 13px;
  color: #374151;
}

.my-product-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-badge {
  background-color: #DCE7E5;
  color: #0F6B66;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-row-outline {
  background-color: transparent;
  color: #0F6B66;
  border: 1.5px solid #0F6B66;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-row-delete {
  background-color: transparent;
  color: #7F1D1D;
  border: 1.5px solid #7F1D1D;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ==================== TAMBAH & UBAH PRODUK ==================== */
.product-form-card {
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 28px 34px;
}

.product-form-plain {
  padding: 4px 12px;
}

.field-label-bold {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.field-control {
  width: 100%;
  height: 46px;
  background-color: #FFFFFF;
  border: 1px solid #6B7280;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}

.field-textarea {
  width: 100%;
  min-height: 82px;
  background-color: #FFFFFF;
  border: 1px solid #6B7280;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  resize: vertical;
  outline: none;
}

.two-col-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 18px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: #0F6B66;
}

.photo-action-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 18px;
  gap: 20px;
}

.photo-upload-left {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.product-photo-preview {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  background-color: #CBE0DC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.14);
}

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

.btn-unggah-foto {
  background-color: transparent;
  color: #0F6B66;
  border: 1.5px solid #0F6B66;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.form-submit-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-batal-outline {
  background-color: #FFFFFF;
  color: #111827;
  border: 1px solid #0F6B66;
  border-radius: 6px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-simpan-orange {
  background-color: #F97316;
  color: #111827;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ==================== MODALS ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background-color: #DFECEA;
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.modal-delete-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 48px 40px 32px;
  width: 100%;
  max-width: 430px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.modal-delete-title {
  font-size: 28px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 36px;
}

.modal-delete-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-modal-cancel {
  background-color: #FFFFFF;
  color: #111827;
  border: 1.5px solid #0F6B66;
  border-radius: 6px;
  padding: 9px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-modal-confirm-delete {
  background-color: #DC2626;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.modal-status-text {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 26px;
}

.btn-orange-shadow {
  background-color: #F97316;
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 28px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 0 #111827;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.modal-reset-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.reset-group {
  text-align: left;
  margin-bottom: 18px;
}

.reset-label {
  display: block;
  font-size: 14px;
  color: #374151;
  margin-bottom: 6px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #4B5563;
}

.reset-input {
  width: 100%;
  height: 46px;
  background-color: #FFFFFF;
  border: 1px solid #9CA3AF;
  border-radius: 10px;
  padding: 0 16px 0 42px;
  font-size: 14px;
}

.btn-save-reset {
  background-color: #147A74;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 32px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .catalog-layout, .detail-layout, .barter-top-grid, .barter-bottom-row {
    grid-template-columns: 1fr;
  }
  .barter-offer-form {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .my-product-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ==================== ALUR TRANSAKSI (PESANAN, PEMBAYARAN, JADWAL COD) ==================== */
.step-indicator {
  font-size: 16px;
  font-weight: 700;
  color: #4B5E5B;
  margin-bottom: 4px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.checkout-grid-payment {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.checkout-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.checkout-card-bordered {
  background-color: #FFFFFF;
  border: 1.5px solid #1F2937;
  border-radius: 16px;
  padding: 26px 28px;
}

.card-heading {
  font-size: 21px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 20px;
}

/* Langkah 1: Pesanan */
.order-item-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.order-item-img {
  width: 175px;
  height: 132px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  background-color: #E5E7EB;
}

.order-item-price {
  font-size: 21px;
  font-weight: 800;
  color: #0F6B66;
  margin-bottom: 6px;
}

.order-item-desc {
  font-size: 13px;
  font-weight: 500;
  color: #1F2937;
}

.mint-field-box {
  width: 100%;
  min-height: 46px;
  background-color: #DCECE9;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  outline: none;
}

.helper-note {
  font-size: 12px;
  color: #374151;
  margin-top: 12px;
}

/* Ringkasan Pesanan (Langkah 1 & 2) */
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #D1D5DB;
  font-size: 15px;
}

.summary-row span:first-child {
  color: #4B5563;
}

.summary-row strong {
  color: #111827;
  font-weight: 700;
}

.total-pill-bar {
  background-color: #111827;
  border-radius: 12px;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.total-pill-bar .label {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
}

.total-pill-bar .amount {
  color: #F97316;
  font-size: 18px;
  font-weight: 800;
}

.btn-checkout-teal {
  width: 100%;
  height: 44px;
  background-color: #0F6B66;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  margin-top: 24px;
  cursor: pointer;
}

.btn-checkout-teal:hover {
  background-color: #0C5854;
}

.btn-checkout-mint {
  width: 100%;
  height: 44px;
  background-color: #DCECE9;
  color: #6B7280;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
}

/* Langkah 2: Pembayaran */
.mini-product-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mini-product-header img {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #DCECE9;
  border-radius: 10px;
  padding: 2px;
  margin-bottom: 16px;
}

.payment-tab-btn {
  height: 40px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.payment-tab-btn.active {
  background-color: #0F6B66;
  color: #FFFFFF;
}

.payment-inner-box {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 18px;
}

.qris-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}

.qris-frame {
  background-color: #FFFFFF;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  margin-bottom: 10px;
}

.bank-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #4B5563;
  border-radius: 10px;
  padding: 11px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  background-color: #FFFFFF;
}

.bank-option-card:last-child {
  margin-bottom: 0;
}

.bank-option-card.selected {
  background-color: #E4F0EE;
  border-color: #0F6B66;
}

.bank-radio-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.bank-radio-left input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #000000;
}

.bank-pill-status {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  background-color: #DCECE9;
  color: #111827;
}

.bank-option-card.selected .bank-pill-status {
  background-color: #FFFFFF;
}

.payment-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.rekening-box {
  background-color: #DCECE9;
  border-radius: 10px;
  padding: 14px 18px;
}

.rekening-label {
  font-size: 11px;
  font-weight: 700;
  color: #4B5563;
  letter-spacing: 0.4px;
}

.rekening-number {
  font-size: 20px;
  font-weight: 800;
  color: #000000;
  margin: 4px 0;
}

.btn-upload-proof {
  width: 100%;
  min-height: 54px;
  background-color: #DCECE9;
  border: 1.5px dashed #1F2937;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  padding: 8px 12px;
}

.btn-atur-jadwal {
  width: 100%;
  min-height: 46px;
  background-color: #F97316;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.btn-atur-jadwal:hover {
  background-color: #EA580C;
}

/* Langkah 3: Jadwal COD */
.cod-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cod-icon-input {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #DCECE9;
  border-radius: 10px;
  padding: 0 16px;
  height: 48px;
  margin-bottom: 18px;
}

.cod-icon-input input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  outline: none;
}

.cod-textarea {
  width: 100%;
  min-height: 92px;
  background-color: #DCECE9;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #111827;
  resize: vertical;
  outline: none;
}

.cod-action-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.seller-agree-box {
  background-color: #DCECE9;
  border-radius: 8px;
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}

.seller-agree-box input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #0F6B66;
  cursor: pointer;
}

.btn-report-red {
  height: 48px;
  background-color: #FF0000;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 0 #111827;
  cursor: pointer;
}

.btn-report-red:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #111827;
}

@media (max-width: 860px) {
  .checkout-grid, .checkout-grid-payment, .payment-bottom-grid, .cod-action-bottom {
    grid-template-columns: 1fr;
  }
}
/* ==================== DAFTAR TAWARAN BARTER ==================== */
.barter-tabs-bar {
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid #374151;
  margin-bottom: 24px;
}

.barter-tab-item {
  background: none;
  border: none;
  border-bottom: 4px solid transparent;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.barter-tab-item.active {
  color: #000000;
  border-bottom-color: #0F6B66;
}

.barter-offer-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 24px;
  align-items: stretch;
}

.barter-proposer-col {
  border-right: 1px solid #374151;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.barter-proposer-label {
  font-size: 14px;
  font-weight: 500;
  color: #1F2937;
  margin-bottom: 14px;
}

.barter-avatar-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #F97316;
  margin-bottom: 12px;
}

.barter-proposer-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.barter-proposer-prodi {
  font-size: 15px;
  color: #374151;
}

.barter-exchange-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 145px;
  gap: 16px;
  align-items: center;
}

.barter-col-heading {
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.3px;
  padding-bottom: 8px;
  border-bottom: 1px solid #374151;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.barter-mini-box {
  background-color: #DCECE9;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 112px;
}

.barter-mini-box img {
  width: 82px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
  background-color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.barter-mini-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.barter-mini-meta {
  font-size: 13px;
  color: #4B5563;
}

.barter-extra-cash {
  font-size: 13px;
  font-weight: 700;
  color: #0F6B66;
  margin-top: 4px;
}

.barter-swap-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}

.barter-actions-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-top: 22px;
}

.btn-barter-accept {
  width: 100%;
  height: 36px;
  background-color: #0F6B66;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.btn-barter-accept:hover {
  background-color: #0C5854;
}

.btn-barter-reject {
  width: 100%;
  height: 36px;
  background-color: #F9D6D5;
  color: #DC2626;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.btn-barter-chat {
  width: 100%;
  height: 36px;
  background-color: #DCECE9;
  color: #0F6B66;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.barter-rejected-label {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
  text-align: center;
  padding-top: 24px;
}

.barter-message-section {
  margin-top: 14px;
}

.barter-message-title {
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.barter-message-box {
  background-color: #DCECE9;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 13px;
  color: #374151;
}

@media (max-width: 960px) {
  .barter-offer-card {
    grid-template-columns: 1fr;
  }
  .barter-proposer-col {
    border-right: none;
    border-bottom: 1px solid #D1D5DB;
    padding-right: 0;
    padding-bottom: 16px;
  }
  .barter-exchange-grid {
    grid-template-columns: 1fr;
  }
  .barter-swap-arrows {
    padding-top: 0;
    transform: rotate(90deg);
  }
}
/* ==================== LAPORKAN MASALAH ==================== */
.report-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.report-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.report-select {
  width: 100%;
  height: 48px;
  background-color: #FFFFFF;
  border: 1px solid #4B5563;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 20px;
  outline: none;
}

.report-textarea {
  width: 100%;
  min-height: 115px;
  background-color: #FFFFFF;
  border: 1px solid #4B5563;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: #111827;
  resize: vertical;
  outline: none;
}

.char-counter {
  text-align: right;
  font-size: 13px;
  color: #4B5563;
  margin-top: 6px;
  margin-bottom: 10px;
}

.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

.evidence-slot {
  position: relative;
  width: 96px;
  height: 96px;
  background-color: #DCECE9;
  border: 1px solid #0F6B66;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #4B5563;
}

.evidence-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

.btn-remove-evidence {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0F6B66;
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.evidence-upload-btn {
  width: 96px;
  height: 96px;
  background-color: #FFFFFF;
  border: 1.5px dashed #1F2937;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
}

.report-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 38px;
}

.btn-report-cancel {
  min-width: 135px;
  height: 44px;
  background-color: #FFFFFF;
  color: #111827;
  border: 1px solid #374151;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-report-submit {
  min-width: 170px;
  height: 44px;
  background-color: #0F6B66;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.modal-report-sent {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 46px 40px 28px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.modal-report-sent-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 34px;
}

.modal-report-sent-row span {
  font-size: 22px;
  font-weight: 800;
  color: #000000;
}

.btn-report-back-orange {
  background-color: #F97316;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 26px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

/* ==================== CHAT & NOTIFIKASI ==================== */
.chat-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.7fr);
  gap: 32px;
  align-items: stretch;
}

.chat-sidebar-panel {
  background-color: #FFFFFF;
  border: 1px solid #1F2937;
  padding: 20px 20px 36px;
}

.chat-sidebar-title {
  font-size: 20px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid #1F2937;
  margin-bottom: 18px;
}

.chat-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 10px 14px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.15s;
}

.chat-contact-card.active {
  background-color: #F0F7F6;
  border-color: #0F6B66;
}

.chat-contact-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.chat-contact-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 3px;
}

.chat-contact-preview {
  font-size: 12px;
  color: #1F2937;
}

.unread-pill {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #0F6B66;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-main-panel {
  background-color: #FFFFFF;
  border: 1px solid #1F2937;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.chat-main-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-bottom: 1px solid #1F2937;
  font-size: 14px;
  font-weight: 700;
}

.chat-messages-area {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 330px;
}

.msg-row-them {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msg-row-me {
  display: flex;
  justify-content: flex-end;
}

.msg-bubble-them {
  min-width: 0;
  max-width: 70%;
  min-height: 44px;
  background-color: #D9D9D9;
  border: 1px solid #6B7280;
  border-radius: 16px;
  padding: 11px 16px;
  font-size: 13px;
  color: #111827;
}

.msg-bubble-me {
  min-width: 0;
  max-width: 70%;
  min-height: 44px;
  background-color: #EFEFEF;
  border: 1px solid #6B7280;
  border-radius: 16px;
  padding: 11px 16px;
  font-size: 13px;
  color: #111827;
}

.chat-input-footer {
  border-top: 1px solid #1F2937;
  padding: 10px 36px;
}

.chat-input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #1F2937;
  border-radius: 10px;
  height: 48px;
  padding: 0 16px;
}

.chat-icon-btn {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  background: none;
  border: none;
  color: #111827;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.chat-text-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #111827;
}

/* ==================== PROFIL & RIWAYAT TRANSAKSI ==================== */
.profile-wrapper {
  max-width: 860px;
  margin: 24px auto;
  padding: 0 24px 56px;
}

.profile-card {
  position: relative;
  margin-top: 64px;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.profile-avatar-float {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D1D5DB;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.profile-card-top {
  background-color: #FFFFFF;
  border-radius: 20px 20px 0 0;
  padding: 96px 24px 18px;
  text-align: center;
}

.profile-user-name {
  font-size: 24px;
  font-weight: 800;
  color: #000000;
}

.profile-card-bottom {
  background-color: #0F6B66;
  border-radius: 0 0 20px 20px;
  padding: 22px 28px 22px 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.profile-bio-list {
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.5;
}

.btn-edit-profil {
  background-color: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.history-title {
  font-size: 22px;
  font-weight: 800;
  margin: 24px 0 12px;
}

.history-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.history-pill-btn {
  padding: 7px 20px;
  border-radius: 999px;
  border: none;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.history-pill-btn.active {
  background-color: #000000;
  color: #FFFFFF;
}

.trx-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.trx-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #374151;
  gap: 16px;
}

.trx-item-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trx-thumb {
  width: 112px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  background-color: #E5E7EB;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.trx-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1F2937;
  margin-top: 5px;
}

.trx-price-right {
  text-align: right;
  align-self: flex-start;
}

.trx-price-right .amount {
  font-size: 17px;
  font-weight: 800;
  color: #0F6B66;
}

.trx-price-right .bought-date {
  font-size: 10px;
  color: #6B7280;
  margin-top: 2px;
}

.trx-card-bottom {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

.btn-trx-process {
  min-width: 195px;
  height: 32px;
  background-color: #0F6B66;
  color: #FFFFFF;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-trx-done {
  min-width: 195px;
  height: 32px;
  background-color: #DCECE9;
  color: #111827;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Modal Edit Profile */
.edit-profile-modal {
  background-color: #DFECEA;
  border-radius: 16px;
  padding: 36px 48px 32px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.underline-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1.5px solid #1F2937;
  padding: 10px 4px 6px;
  margin-bottom: 14px;
}

.underline-input-row input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  outline: none;
}

@media (max-width: 860px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }
  .profile-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
  }
}
/* ==================== PANEL ADMIN (BERANDA, MODERASI, VERIFIKASI KTM) ==================== */
.admin-navbar {
  background-color: #0F6B66;
  height: 68px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.admin-nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.admin-nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.92;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  opacity: 1;
  border-bottom-color: #F97316;
}

.admin-role-badge {
  background-color: #FFFFFF;
  color: #0F6B66;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 22px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Dashboard Admin */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-mint {
  background-color: #DCECE9;
  color: #0F6B66;
}

.stat-icon-peach {
  background-color: #FDE6D8;
  color: #F97316;
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  line-height: 1;
}

.admin-panel-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px 32px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #0F6B66;
  padding: 12px 8px;
  border-bottom: 1.5px solid #374151;
}

.admin-table td {
  padding: 16px 8px;
  border-bottom: 1px solid #374151;
  font-size: 16px;
  color: #111827;
  vertical-align: middle;
}

.btn-admin-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 22px;
  background-color: #FFFFFF;
  color: #000000;
  border: 1.5px solid #0F6B66;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-admin-open:hover {
  background-color: #DCECE9;
}

/* Moderasi Produk */
.mod-filter-bar {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.mod-search-input {
  flex: 1;
  height: 46px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  color: #111827;
  outline: none;
}

.mod-status-select {
  width: 185px;
  height: 46px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 15px;
  color: #111827;
  background-color: #FFFFFF;
  outline: none;
}

.mod-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mod-product-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background-color: #F3F4F6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.status-pill-mint {
  display: inline-block;
  min-width: 96px;
  text-align: center;
  padding: 5px 16px;
  border-radius: 999px;
  background-color: #DCECE9;
  color: #0F6B66;
  font-size: 15px;
  font-weight: 700;
}

.status-pill-orange {
  display: inline-block;
  min-width: 122px;
  text-align: center;
  padding: 5px 16px;
  border-radius: 999px;
  background-color: #FDE6D8;
  color: #F97316;
  font-size: 15px;
  font-weight: 700;
}

.mod-action-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-mod-view {
  height: 42px;
  padding: 0 16px;
  background-color: #FFFFFF;
  border: 1.5px solid #0F6B66;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
}

.btn-mod-tarik {
  min-width: 102px;
  height: 42px;
  background-color: #0F6B66;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.btn-mod-setujui {
  min-width: 102px;
  height: 42px;
  background-color: #F97316;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.admin-toast-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0F6B66;
  color: #FFFFFF;
  padding: 14px 44px;
  border-radius: 10px;
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  z-index: 1200;
}

.admin-toast-banner.active {
  display: flex;
}

/* Verifikasi KTM */
.ktm-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.ktm-student-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ktm-student-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}

.ktm-student-card.active {
  border-color: #0F6B66;
}

.ktm-radio-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #0F6B66;
  background-color: #FFFFFF;
  flex-shrink: 0;
}

.ktm-student-card.active .ktm-radio-dot {
  background-color: #0F6B66;
}

.ktm-student-name {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.ktm-detail-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ktm-preview-box {
  width: 100%;
  height: 210px;
  background-color: #DCECE9;
  border: 1px solid #0F6B66;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.ktm-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ktm-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 16px;
}

.ktm-meta-label {
  font-size: 16px;
  font-weight: 700;
  color: #0F6B66;
  margin-bottom: 2px;
}

.ktm-meta-value {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.ktm-reject-input {
  width: 100%;
  height: 46px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  color: #111827;
  margin-top: 6px;
  outline: none;
}

.ktm-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 22px;
}

.btn-ktm-reject {
  min-width: 96px;
  height: 42px;
  background-color: #FFFFFF;
  color: #000000;
  border: 1.5px solid #0F6B66;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-ktm-approve {
  min-width: 96px;
  height: 42px;
  background-color: #F97316;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

@media (max-width: 900px) {
  .admin-stats-grid,
  .ktm-layout {
    grid-template-columns: 1fr;
  }
  .admin-navbar {
    flex-direction: column;
    height: auto;
    padding: 14px 20px;
    gap: 10px;
  }
  .admin-nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
/* ==================== ADMIN: PENGATURAN PLATFORM FEE ==================== */
.fee-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}

.fee-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.fee-input-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #0F6B66;
  border-radius: 10px;
  height: 50px;
  padding: 0 18px;
  margin-bottom: 18px;
  background-color: #FFFFFF;
}

.fee-input-box input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  color: #111827;
}

.fee-input-box span {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
}

.fee-date-select {
  width: 100%;
  height: 50px;
  border: 1px solid #0F6B66;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 17px;
  color: #111827;
  background-color: #FFFFFF;
  margin-bottom: 22px;
  outline: none;
}

.fee-sim-card {
  background-color: #0F6B66;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 16px 20px 22px;
  margin-bottom: 28px;
}

.fee-sim-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.fee-sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.fee-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.btn-fee-cancel {
  min-width: 96px;
  height: 48px;
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-fee-save {
  min-width: 102px;
  height: 48px;
  background-color: #F97316;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.fee-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.fee-history-item {
  background-color: #DCECE9;
  border-radius: 8px;
  padding: 9px 14px 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #111827;
}

.fee-pill-badge {
  min-width: 58px;
  text-align: center;
  padding: 3px 12px;
  border-radius: 999px;
  background-color: #FFFFFF;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
}

.fee-pill-badge.active {
  background-color: #FDE6D8;
  color: #F97316;
}

/* ==================== ADMIN: TINJAU LAPORAN ==================== */
.report-review-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: start;
}

.report-detail-orange-card {
  background-color: #FFFFFF;
  border: 1.5px solid #F97316;
  border-radius: 14px;
  padding: 24px 28px 34px;
}

.report-field-block {
  margin-bottom: 18px;
}

.report-field-label {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 4px;
}

.report-field-value {
  font-size: 16px;
  color: #1F2937;
  line-height: 1.45;
}

.report-parties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.report-evidence-thumb {
  width: 138px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
}

.decision-radio-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  height: 44px;
  padding: 0 14px;
  margin-bottom: 12px;
  background-color: #FFFFFF;
  font-size: 16px;
  color: #111827;
  cursor: pointer;
}

.decision-radio-box.selected {
  background-color: #DCECE9;
}

.decision-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #0F6B66;
  background-color: #FFFFFF;
  flex-shrink: 0;
}

.decision-radio-box.selected .decision-radio-circle {
  background-color: #0F6B66;
}

.sanction-select {
  width: 100%;
  height: 44px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 16px;
  color: #111827;
  background-color: #FFFFFF;
  margin-bottom: 16px;
  outline: none;
}

.admin-note-textarea {
  width: 100%;
  min-height: 82px;
  border: 1px solid #0F6B66;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  color: #111827;
  resize: vertical;
  margin-bottom: 28px;
  outline: none;
}

.btn-save-decision {
  min-width: 195px;
  height: 46px;
  background-color: #F97316;
  color: #000000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

@media (max-width: 900px) {
  .fee-layout,
  .report-review-layout {
    grid-template-columns: 1fr;
  }
}

/* Navigation folds when links, account and logout no longer fit in one row. */
@media (max-width: 1100px) {
  .responsive-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 64px;
    padding: 0 20px;
    flex-direction: row;
    gap: 12px;
  }
  .responsive-nav .mobile-menu-toggle { display: inline-flex; align-items: center; }
  .responsive-nav .nav-right, .responsive-nav .admin-nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 16px 20px max(16px, env(safe-area-inset-bottom));
    background: #0F6B66;
    border-top: 1px solid #91B9B5;
    box-shadow: 0 8px 12px #0002;
    gap: 12px;
    align-items: stretch;
  }
  .responsive-nav.menu-open .nav-right, .responsive-nav.menu-open .admin-nav-right {
    display: flex;
    flex-direction: column;
  }
  .responsive-nav .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .responsive-nav :is(.nav-link, .admin-nav-link, .user-pill, .btn-nav-tambah, .btn-notif) {
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    border-radius: 6px;
  }
  .responsive-nav .btn-notif { justify-content: flex-start; }
  .responsive-nav .btn-notif::after { content: 'Notifikasi'; margin-left: 12px; }
  .admin-role-badge { align-self: flex-start; }
  .nav-link.active { background: #084F4B; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .barter-offer-form { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .page-container, .container, .profile-wrapper { margin: 24px auto; padding-inline: 20px; }
  :is(.catalog-layout, .detail-layout, .barter-top-grid, .barter-bottom-row,
      .checkout-grid, .checkout-grid-payment, .fee-layout, .report-review-layout,
      .ktm-layout, .chat-layout) > * { min-width: 0; }
  .catalog-layout, .detail-layout, .checkout-grid, .checkout-grid-payment { gap: 20px; }
  .mobile-filter-toggle { display: block; width: 100%; text-align: left; }
  .responsive-filter { display: none; }
  .responsive-filter.filter-open { display: block; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .admin-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .photo-action-row { flex-wrap: wrap; }
  .form-submit-right { margin-left: auto; }
  .responsive-chat .chat-main-panel { display: none; }
  .responsive-chat.conversation-open .chat-sidebar-panel { display: none; }
  .responsive-chat.conversation-open .chat-main-panel { display: flex; }
  .chat-back { display: inline-flex; align-items: center; }
  .chat-main-panel { height: calc(100dvh - 112px); min-height: 300px; }
  .chat-messages-area { min-height: 0; max-height: none; }
  .chat-main-header { flex-shrink: 0; padding: 10px 12px; }
  .chat-input-footer { padding: 8px 10px max(8px, env(safe-area-inset-bottom)); }
  .chat-input-box { padding: 0 4px; gap: 4px; height: auto; min-height: 48px; }
  .chat-contact-card { min-height: 72px; }
}

/* Two cards need at least 260px each on the middle layout. */
@media (max-width: 600px) {
  .page-container, .container, .profile-wrapper {
    margin: 20px auto;
    padding: 0 16px max(32px, env(safe-area-inset-bottom));
  }
  .navbar, .responsive-nav { padding-inline: 16px; }
  .section-heading, .page-title, .detail-title { font-size: clamp(22px, 5vw, 26px); margin-bottom: 20px; }
  .product-grid, .barter-mine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { padding: 10px; }
  .product-card-img { height: auto; aspect-ratio: 1; }
  .search-bar-row { gap: 8px; }
  .search-input-wrap { min-width: 0; flex: 1; }
  .search-input { padding-right: 10px; }
  .btn-search-orange { padding-inline: 16px; }
  .pagination-row, .filter-tabs, .history-pills, .barter-tabs-bar { flex-wrap: wrap; gap: 8px; }
  .page-btn { width: 44px; height: 44px; }
  button, a[class*="btn"], .radio-option, .filter-check {
    min-height: 44px;
  }
  button, a[class*="btn"] { min-width: 44px; }
  a[class*="btn"] { display: inline-flex; align-items: center; justify-content: center; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; }
  .filter-check { margin-bottom: 4px; }
  .two-col-row, .detail-actions, .cod-datetime-grid, .report-parties-grid, .ktm-meta-grid {
    grid-template-columns: minmax(0, 1fr); gap: 16px;
  }
  .white-panel, .product-form-card, .checkout-card, .checkout-card-bordered,
  .report-card, .admin-panel-card, .ktm-detail-card, .report-detail-orange-card,
  .barter-offer-card, .barter-offer-form { padding: 20px 16px; }
  .detail-image-box img { height: auto; aspect-ratio: 1; }
  .my-products-header, .my-product-right, .seller-card, .radio-row,
  .photo-upload-left, .form-submit-right, .report-actions-row,
  .trx-card-top, .trx-meta-line, .ktm-action-row, .fee-actions-row { flex-wrap: wrap; gap: 12px; }
  .my-products-header { align-items: flex-start; }
  .my-products-header .section-heading { margin-bottom: 0; }
  .photo-action-row { align-items: stretch; gap: 20px; }
  .form-submit-right { width: 100%; margin: 0; }
  .form-submit-right > * { flex: 1; }
  .my-product-left, .order-item-row, .trx-item-left { gap: 12px; min-width: 0; }
  .my-product-left > div, .order-item-row > div, .trx-item-left > div { min-width: 0; }
  .my-product-thumb { flex-shrink: 0; }
  .order-item-img, .trx-thumb { width: 80px; height: 80px; flex-shrink: 0; }
  .profile-card-bottom { padding: 20px; align-items: stretch; }
  .profile-bio-list { font-size: 14px; }
  .profile-user-name { font-size: 22px; }
  .trx-card { padding: 16px; }
  .trx-price-right { text-align: left; }
  .trx-card-bottom > * { width: 100%; min-width: 0; }
  .chat-layout { gap: 0; }
  .chat-sidebar-panel { padding: 16px; }
  .chat-messages-area { padding: 16px 12px; }
  .msg-bubble-me { max-width: 90%; }
  .msg-bubble-them { max-width: calc(100% - 48px); }
  .chat-main-header > span { min-width: 0; }
  .modal-backdrop { padding: 12px; }
  .modal-backdrop > div { max-height: calc(100dvh - 24px); overflow-y: auto; }
  .modal-card, .modal-delete-card, .edit-profile-modal { padding: 24px 20px; }
  .admin-stats-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-stat-card { padding: 20px; }
  .mod-filter-bar { flex-direction: column; gap: 12px; }
  .mod-status-select { width: 100%; }
  .mod-search-input { flex: auto; }
  .admin-toast-banner { width: calc(100% - 32px); padding: 14px 16px; }
  .fee-sim-row, .fee-history-item { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 360px) {
  .barter-mine-grid { grid-template-columns: minmax(0, 1fr); }
  .product-card-title, .product-card-price { font-size: 13px; }
  .chat-main-header { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
