.checkout-overlay {
  position: absolute;
  inset: 0;
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.checkout-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 15, 0.34);
  backdrop-filter: blur(8px);
}

.checkout-sheet {
  position: absolute;
  inset: calc(10px + var(--safe-top)) 0 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.99) 0%, rgba(255, 248, 241, 0.99) 100%);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -20px 44px rgba(120, 82, 53, 0.16);
  overflow: hidden;
  transform: translateY(28px);
  transition: transform 240ms ease;
}

.checkout-overlay.is-open .checkout-sheet {
  transform: translateY(0);
}

.checkout-chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 251, 247, 0.94);
  border-bottom: 1px solid rgba(255, 185, 145, 0.2);
}

.checkout-chrome__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.checkout-close-button {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 181, 137, 0.2);
  box-shadow: var(--shadow-float);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.checkout-close-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px calc(20px + var(--safe-bottom));
  display: grid;
  align-content: start;
  gap: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.checkout-scroll::-webkit-scrollbar {
  display: none;
}

.checkout-content {
  display: grid;
  gap: 14px;
}

.checkout-product-card,
.checkout-panel,
.profile-status-card,
.profile-address-card,
.profile-orders-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 185, 145, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.checkout-product-card {
  display: none;
  padding: 12px;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
}

.checkout-product-card.is-visible {
  display: grid;
}

.checkout-product-card.is-cart {
  grid-template-columns: 1fr;
}

.checkout-product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff0e4 0%, #ffe1cd 100%);
}

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

.checkout-product-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(93, 68, 49, 0.55);
  font-size: 22px;
  font-weight: 800;
}

.checkout-product-card__body {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.checkout-product-card__title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.checkout-product-card__meta {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-product-card__price {
  font-size: 17px;
  font-weight: 800;
}

.checkout-product-card__facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-product-card__facts strong {
  color: var(--text-main);
  font-size: 14px;
}

.checkout-product-card__payable {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.minimum-order-card--checkout {
  grid-column: 1 / -1;
}

.minimum-order-warning {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(230, 93, 63, 0.2);
  background: rgba(255, 247, 239, 0.96);
  display: grid;
  gap: 12px;
}

.minimum-order-warning--checkout {
  margin: 0;
}

.minimum-order-warning__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.minimum-order-warning__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(249, 115, 82, 0.14);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.minimum-order-warning__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.minimum-order-warning__copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.minimum-order-warning__copy span {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.minimum-order-warning__action {
  width: 100%;
}

.checkout-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.checkout-panel--minimal {
  padding: 16px;
  gap: 12px;
}

.checkout-panel--payment {
  padding: 16px;
  gap: 14px;
}

.checkout-panel__header {
  display: grid;
  gap: 4px;
}

.checkout-panel__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.checkout-panel__header h2,
.profile-status-card h2,
.profile-address-card h2 {
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 800;
}

.checkout-panel__header p,
.checkout-helper,
.checkout-inline-note,
.checkout-address-copy,
.checkout-stage-note span,
.profile-status-card p,
.profile-address-card p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-stage-note {
  display: grid;
  gap: 4px;
}

.checkout-stage-note strong {
  font-size: 15px;
  line-height: 1.35;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-deep);
}

.checkout-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 137, 0.24);
  background: rgba(255, 252, 247, 0.98);
  color: var(--text-main);
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-field input:focus {
  outline: none;
  border-color: rgba(249, 115, 82, 0.46);
  box-shadow: 0 0 0 3px rgba(249, 115, 82, 0.12);
}

.checkout-field--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-field--inline .checkout-field {
  gap: 7px;
}

.checkout-optional-fields {
  display: grid;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 137, 0.18);
  background: rgba(255, 252, 247, 0.72);
  padding: 12px;
}

.checkout-optional-fields summary {
  color: var(--brand-deep);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.checkout-optional-fields summary::-webkit-details-marker {
  display: none;
}

.checkout-optional-fields[open] {
  gap: 12px;
}

.checkout-actions {
  display: grid;
  gap: 10px;
}

.checkout-actions .primary-button,
.checkout-actions .secondary-button {
  width: 100%;
}

.checkout-text-button {
  justify-self: start;
  padding: 0;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}

.checkout-error,
.checkout-success {
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-error {
  background: rgba(255, 117, 117, 0.12);
  color: #b94040;
}

.checkout-success {
  background: rgba(124, 201, 107, 0.16);
  color: #3f7c32;
}

.checkout-otp-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.checkout-otp-input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 184, 137, 0.24);
  background: rgba(255, 252, 247, 0.98);
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.checkout-otp-input:focus {
  outline: none;
  border-color: rgba(249, 115, 82, 0.46);
  box-shadow: 0 0 0 3px rgba(249, 115, 82, 0.12);
}

.checkout-summary-grid {
  display: grid;
  gap: 10px;
}

.checkout-summary-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 248, 242, 0.92);
  border: 1px solid rgba(255, 185, 145, 0.16);
  display: grid;
  gap: 4px;
}

.checkout-summary-item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

.checkout-summary-item strong {
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  width: 100%;
  min-height: 74px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 137, 0.22);
  background: rgba(255, 252, 247, 0.98);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.payment-option.is-active {
  background: rgba(255, 145, 102, 0.12);
  border-color: rgba(249, 115, 82, 0.34);
  box-shadow: 0 12px 22px rgba(249, 115, 82, 0.1);
}

.payment-option.is-unavailable {
  background: rgba(255, 252, 247, 0.74);
  border-style: dashed;
  box-shadow: none;
  opacity: 0.82;
}

.payment-option:disabled {
  cursor: not-allowed;
}

.payment-option__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.payment-option__copy strong {
  font-size: 15px;
  line-height: 1.35;
}

.payment-option__copy span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.payment-option__badge {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 145, 102, 0.12);
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.payment-option.is-unavailable .payment-option__badge {
  background: rgba(110, 89, 73, 0.1);
  color: var(--text-soft);
}

.checkout-order-summary {
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 137, 0.2);
  background: rgba(255, 252, 247, 0.92);
  overflow: hidden;
}

.checkout-order-summary summary {
  min-height: 62px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.checkout-order-summary summary::-webkit-details-marker {
  display: none;
}

.checkout-order-summary__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.checkout-order-summary__copy strong {
  font-size: 14px;
}

.checkout-order-summary__copy span,
.checkout-order-summary__toggle {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-order-summary__toggle {
  color: var(--brand-deep);
  font-weight: 800;
  white-space: nowrap;
}

.checkout-order-summary[open] .checkout-order-summary__toggle {
  color: var(--text-soft);
}

.checkout-order-summary .checkout-review-list {
  padding: 0 14px 14px;
}

.profile-summary,
.profile-address-card,
.profile-orders-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.profile-summary__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-chip {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.profile-chip.is-verified {
  background: rgba(124, 201, 107, 0.18);
  color: #3f7c32;
}

.profile-chip.is-pending {
  background: rgba(255, 145, 102, 0.14);
  color: var(--brand-deep);
}

.profile-summary__mobile {
  font-size: 18px;
  font-weight: 800;
}

.profile-actions {
  display: grid;
  gap: 10px;
}

.profile-highlights__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 145, 102, 0.12);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.checkout-actions--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-confirm-card,
.checkout-cart-card,
.order-state-card,
.buyer-order-card,
.order-success-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 188, 148, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(59, 36, 18, 0.06);
}

.checkout-confirm-card,
.checkout-cart-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.checkout-confirm-card strong,
.checkout-cart-card__header strong {
  font-size: 14px;
}

.checkout-confirm-card--highlight {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.96) 0%, rgba(255, 252, 247, 0.96) 100%);
  border-color: rgba(249, 115, 82, 0.18);
}

.checkout-confirm-card p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-cart-card__header,
.checkout-cart-card__item,
.checkout-cart-card__footer,
.buyer-order-card__top,
.buyer-order-card__footer,
.order-success-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.buyer-order-card__footer {
  flex-wrap: wrap;
}

.buyer-order-card__issue {
  min-height: 36px;
  padding: 8px 12px;
}

.checkout-cart-card__header span,
.buyer-order-card__meta,
.buyer-order-card__order-id,
.order-success-card__copy {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-review-list,
.order-history-list {
  display: grid;
  gap: 12px;
}

.checkout-cart-card__footer strong {
  font-size: 14px;
}

.checkout-review-list--compact {
  gap: 10px;
}

.checkout-review-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.checkout-review-item__copy,
.checkout-review-item__meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.checkout-review-item__title {
  font-size: 14px;
  line-height: 1.45;
}

.checkout-review-item__subline,
.checkout-review-item__meta span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-review-item__meta {
  flex-shrink: 0;
  justify-items: end;
  text-align: right;
}

.checkout-review-item__meta strong {
  font-size: 14px;
}

.checkout-payable-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(249, 115, 82, 0.2);
  background: linear-gradient(180deg, rgba(255, 241, 230, 0.96) 0%, rgba(255, 250, 244, 0.98) 100%);
  box-shadow: 0 18px 34px rgba(249, 115, 82, 0.08);
  display: grid;
  gap: 4px;
}

.checkout-payable-card__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.checkout-payable-card__amount {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
  color: var(--brand-deep);
}

.checkout-payable-card__copy {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-trust-list {
  display: grid;
  gap: 10px;
}

.checkout-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-trust-item__dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(249, 115, 82, 0.42);
  flex-shrink: 0;
}

.order-state-card,
.order-success-card {
  padding: 18px;
}

.order-state-card {
  text-align: center;
  color: var(--text-soft);
}

.order-state-card--error {
  color: #b94040;
  background: rgba(255, 117, 117, 0.1);
}

.buyer-order-card {
  padding: 12px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
}

.buyer-order-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff0e4 0%, #ffe1cd 100%);
  display: grid;
  place-items: center;
  color: rgba(93, 68, 49, 0.55);
  font-size: 15px;
  font-weight: 800;
}

.buyer-order-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buyer-order-card__body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.buyer-order-card__top strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.buyer-order-card__badge,
.buyer-order-card__status {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.buyer-order-card__badge {
  background: rgba(255, 145, 102, 0.12);
  color: var(--brand-deep);
}

.buyer-order-card__status.status-new {
  background: rgba(255, 145, 102, 0.14);
  color: var(--brand-deep);
}

.buyer-order-card__status.status-accepted {
  background: rgba(64, 154, 255, 0.12);
  color: #2162b1;
}

.buyer-order-card__status.status-packed {
  background: rgba(255, 184, 77, 0.16);
  color: #a35b05;
}

.buyer-order-card__status.status-ready {
  background: rgba(124, 201, 107, 0.18);
  color: #3f7c32;
}

.buyer-order-card__status.status-delivered {
  background: rgba(44, 128, 81, 0.12);
  color: #2c8051;
}

.order-success-card {
  display: grid;
  gap: 18px;
  align-content: center;
  text-align: center;
}

.order-success-card .checkout-summary-grid,
.order-success-card__guidance,
.order-success-card__details {
  text-align: left;
}

.order-success-card__icon {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(124, 201, 107, 0.18) 0%, rgba(94, 176, 77, 0.1) 100%);
  display: grid;
  place-items: center;
}

.order-success-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: #2c8051;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  fill: none;
}

.order-success-card h2 {
  font-size: 26px;
  line-height: 1.2;
}

.order-success-card__details {
  display: grid;
  gap: 10px;
}

.order-success-card__detail {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 188, 148, 0.18);
  background: rgba(255, 252, 247, 0.92);
  display: grid;
  gap: 6px;
}

.order-success-card__order-block,
.order-success-card__guidance {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 188, 148, 0.18);
  background: rgba(255, 252, 247, 0.92);
  display: grid;
  gap: 6px;
}

.order-success-card__order-block span,
.order-success-card__detail span,
.order-success-card__guidance strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.order-success-card__order-block strong,
.order-success-card__detail strong {
  font-size: 20px;
  line-height: 1.1;
  color: var(--brand-deep);
  overflow-wrap: anywhere;
}

.order-success-card__guidance p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.order-success-card__actions {
  display: grid;
  gap: 10px;
}

section[data-page="profile"],
section[data-page="profile-detail"],
section[data-page="orders"],
section[data-page="order-details"] {
  width: min(100%, 720px);
  margin-inline: auto;
  justify-content: flex-start;
}

.profile-summary,
.profile-detail-card {
  padding: 20px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 248, 241, 0.96) 100%);
  border-color: rgba(255, 185, 145, 0.18);
}

.profile-hub,
.profile-detail-card,
.profile-detail-body {
  display: grid;
  gap: 18px;
}

.profile-hub__header {
  display: grid;
  gap: 2px;
}

.profile-hub__header h2,
.profile-detail-header h2 {
  font-size: 26px;
  line-height: 1.12;
  font-weight: 900;
}

.profile-account-hero {
  min-height: 112px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 237, 220, 0.98) 0%, rgba(255, 250, 244, 0.98) 100%);
  border: 1px solid rgba(249, 115, 82, 0.16);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.profile-account-hero > div,
.order-details-hero > div,
.buyer-notification-header > div {
  min-width: 0;
}

.profile-account-hero__name,
.profile-account-hero__mobile {
  display: block;
  overflow-wrap: anywhere;
}

.profile-account-hero__name {
  color: var(--text-main);
  font-size: 23px;
  line-height: 1.16;
}

.profile-account-hero__mobile {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.profile-nav-list {
  display: grid;
  border-top: 1px solid rgba(110, 89, 73, 0.1);
}

.profile-nav-item {
  width: 100%;
  min-height: 68px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(110, 89, 73, 0.1);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-align: left;
  transition: background-color 160ms ease, transform 160ms ease;
}

.profile-nav-item:hover,
.profile-nav-item:focus-visible {
  background: rgba(255, 145, 102, 0.06);
}

.profile-nav-item:focus-visible {
  outline: 3px solid rgba(249, 115, 82, 0.16);
  outline-offset: 2px;
}

.profile-nav-item:active {
  transform: scale(0.99);
}

.profile-nav-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(255, 145, 102, 0.1);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}

.profile-nav-item__icon svg,
.profile-nav-item__chevron,
.profile-detail-back svg,
.buyer-order-card__tap svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-nav-item__icon svg {
  width: 21px;
  height: 21px;
}

.profile-nav-item__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-nav-item__copy strong {
  font-size: 15px;
  line-height: 1.3;
}

.profile-nav-item__copy small {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.profile-nav-item__badge {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(44, 128, 81, 0.1);
  color: #2c8051;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
}

.profile-nav-item__chevron {
  width: 18px;
  height: 18px;
  color: var(--text-faint);
}

.profile-nav-item--destructive {
  margin-top: 8px;
  color: #b94040;
}

.profile-nav-item--destructive .profile-nav-item__icon {
  background: rgba(255, 117, 117, 0.12);
  color: #b94040;
}

.profile-nav-item--destructive:hover,
.profile-nav-item--destructive:focus-visible {
  background: rgba(255, 117, 117, 0.08);
}

.profile-version {
  padding-top: 2px;
  display: grid;
  gap: 3px;
  color: var(--text-faint);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.profile-version strong {
  color: var(--text-soft);
  font-size: 13px;
}

.profile-detail-back {
  width: max-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}

.profile-detail-back svg {
  width: 20px;
  height: 20px;
}

.profile-detail-header {
  display: grid;
  gap: 2px;
}

.profile-detail-status {
  min-height: 58px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 247, 238, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-detail-status span {
  color: var(--text-soft);
  font-size: 13px;
}

.profile-detail-status strong {
  font-size: 13px;
}

.profile-detail-status strong.is-ready {
  color: #2c8051;
}

.profile-detail-status strong.is-pending {
  color: var(--brand-deep);
}

.profile-detail-copy {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(110, 89, 73, 0.1);
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.65;
}

.profile-detail-copy.is-muted,
.profile-detail-value strong.is-muted {
  color: var(--text-faint);
}

.profile-detail-values {
  display: grid;
  border-top: 1px solid rgba(110, 89, 73, 0.1);
}

.profile-detail-value {
  min-height: 62px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(110, 89, 73, 0.1);
  display: grid;
  gap: 4px;
}

.profile-detail-value span,
.profile-contact-item span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

.profile-detail-value strong,
.profile-contact-item strong {
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profile-language-toggle {
  width: 100%;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 18px;
}

.profile-language-toggle .language-toggle__button {
  min-height: 48px;
}

.profile-contact-list {
  display: grid;
  gap: 10px;
}

.profile-contact-item {
  min-height: 70px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(110, 89, 73, 0.1);
  color: inherit;
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.profile-future-slot {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 145, 102, 0.07);
  display: grid;
  gap: 5px;
}

.profile-future-slot strong {
  font-size: 14px;
}

.profile-future-slot p,
.profile-legal-copy p,
.profile-about-copy p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.profile-legal-copy {
  display: grid;
  gap: 10px;
}

.profile-legal-copy h3 {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.profile-about-mark {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(145deg, #ff973d 0%, #f45f31 100%);
  box-shadow: 0 16px 26px rgba(249, 115, 82, 0.2);
  color: white;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.profile-about-copy {
  display: grid;
  gap: 6px;
}

.profile-about-copy h3 {
  font-size: 24px;
  line-height: 1.15;
}

.profile-about-copy strong {
  color: #2c8051;
  font-size: 13px;
}

.profile-logout-overlay {
  position: absolute;
  inset: 0;
  z-index: 48;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.profile-logout-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.profile-logout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 15, 0.34);
  backdrop-filter: blur(8px);
}

.profile-logout-sheet {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(18px + var(--safe-bottom));
  max-width: 430px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(255, 185, 145, 0.2);
  box-shadow: 0 24px 54px rgba(59, 36, 18, 0.18);
  display: grid;
  gap: 12px;
  transform: translateY(18px);
  transition: transform 200ms ease;
}

.profile-logout-overlay.is-open .profile-logout-sheet {
  transform: translateY(0);
}

.profile-logout-sheet h2 {
  font-size: 22px;
  line-height: 1.15;
}

.profile-logout-sheet p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.profile-logout-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.profile-logout-confirm {
  background: #d94a3a;
  box-shadow: 0 12px 22px rgba(217, 74, 58, 0.2);
}

.checkout-address-copy.is-muted {
  color: var(--text-faint);
}

.buyer-order-card {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 188, 148, 0.18);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.buyer-order-card:hover,
.buyer-order-card:focus-visible {
  border-color: rgba(249, 115, 82, 0.32);
  box-shadow: 0 20px 38px rgba(59, 36, 18, 0.08);
  transform: translateY(-1px);
}

.buyer-order-card:focus-visible {
  outline: 3px solid rgba(249, 115, 82, 0.18);
  outline-offset: 2px;
}

.buyer-order-card__tap {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-self: start;
}

.buyer-order-card__tap svg {
  width: 15px;
  height: 15px;
}

.buyer-order-card__date {
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.4;
}

.buyer-order-card__status.status-assigned,
.buyer-order-card__status.status-out_for_delivery {
  background: rgba(64, 154, 255, 0.12);
  color: #2162b1;
}

.buyer-order-card__status.status-cancelled,
.buyer-order-card__status.status-cancelled_by_area_admin,
.buyer-order-card__status.status-cancelled_by_buyer,
.buyer-order-card__status.status-cancelled_by_seller,
.buyer-order-card__status.status-failed_delivery {
  background: rgba(255, 117, 117, 0.12);
  color: #b94040;
}

.order-details-screen {
  display: grid;
  gap: 14px;
}

.order-details-hero {
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 224, 184, 0.74), transparent 36%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.96) 0%, rgba(255, 244, 232, 0.92) 100%);
  border: 1px solid rgba(255, 188, 148, 0.2);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.order-details-hero h2 {
  font-size: 21px;
  line-height: 1.2;
}

.order-details-hero p {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.order-timeline {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 188, 148, 0.16);
  display: grid;
  gap: 10px;
}

.order-timeline__step {
  color: var(--text-faint);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.order-timeline__marker {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(110, 89, 73, 0.18);
  background: rgba(255, 252, 247, 0.96);
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1;
}

.order-timeline__step.is-complete,
.order-timeline__step.is-active {
  color: var(--text-main);
}

.order-timeline__step.is-complete .order-timeline__marker {
  border-color: rgba(44, 128, 81, 0.22);
  background: rgba(44, 128, 81, 0.12);
  color: #2c8051;
}

.order-timeline__step.is-active .order-timeline__marker {
  border-color: rgba(249, 115, 82, 0.32);
  background: rgba(249, 115, 82, 0.14);
  color: var(--brand-deep);
}

.order-detail-section,
.order-detail-list {
  display: grid;
  gap: 10px;
}

.order-detail-section {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 188, 148, 0.16);
}

.order-detail-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.order-detail-item__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff0e4 0%, #ffe1cd 100%);
  display: grid;
  place-items: center;
  color: rgba(93, 68, 49, 0.55);
  font-size: 12px;
  font-weight: 800;
}

.order-detail-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-detail-item__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.order-detail-item__body strong,
.order-detail-item > strong {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.order-detail-item__body span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.buyer-notification-panel {
  position: fixed;
  right: 14px;
  left: 14px;
  bottom: calc(82px + var(--safe-bottom));
  z-index: 44;
  width: auto;
  max-width: 430px;
  max-height: min(70vh, 520px);
  margin-inline: auto;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.97);
  border: 1px solid rgba(255, 188, 148, 0.2);
  box-shadow: 0 24px 48px rgba(59, 36, 18, 0.16);
  overflow-y: auto;
}

.buyer-notification-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.buyer-notification-header strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.buyer-notification-header span {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.buyer-notification-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.buyer-notification-header__actions .checkout-text-button {
  white-space: nowrap;
}

.buyer-notification-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.buyer-notification-item {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 248, 242, 0.88);
  border: 1px solid rgba(255, 185, 145, 0.16);
  display: grid;
  gap: 8px;
}

.buyer-notification-item.is-unread {
  background: rgba(255, 145, 102, 0.1);
  border-color: rgba(249, 115, 82, 0.24);
}

.buyer-notification-item__top,
.buyer-notification-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.buyer-notification-item strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.buyer-notification-item__top span {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(15, 91, 52, 0.08);
  color: #0f5b34;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.buyer-notification-item p,
.buyer-notification-item__footer small,
.buyer-notification-state p {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.buyer-notification-state {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 248, 242, 0.88);
  display: grid;
  gap: 4px;
}

@media (max-width: 370px) {
  .checkout-scroll {
    padding-left: 14px;
    padding-right: 14px;
  }

  .checkout-panel,
  .profile-summary,
  .profile-detail-card,
  .profile-address-card,
  .profile-orders-card {
    padding: 16px;
  }

  .checkout-field--inline {
    grid-template-columns: 1fr;
  }

  .checkout-otp-row {
    gap: 6px;
  }

  .checkout-otp-input {
    min-height: 48px;
    border-radius: 14px;
    font-size: 19px;
  }

  .checkout-actions--split {
    grid-template-columns: 1fr;
  }

  .buyer-order-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .profile-account-hero,
  .order-details-hero,
  .buyer-notification-header,
  .buyer-notification-item__top,
  .buyer-notification-item__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .order-detail-item {
    grid-template-columns: 1fr;
  }

  .profile-nav-item {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }

  .profile-nav-item__badge {
    display: none;
  }

  .order-detail-item__media {
    width: 64px;
  }

  .checkout-payable-card__amount,
  .order-success-card__order-block strong {
    font-size: 26px;
  }

  .checkout-review-item {
    flex-direction: column;
  }

  .checkout-review-item__meta {
    width: 100%;
    justify-items: start;
    text-align: left;
  }
}
