/* Shared marketplace pages: checkout, auth */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Syne:wght@700;800&display=swap');

body.hy-marketplace-page,
body.hy-marketplace-page * {
  font-family: Manrope, "Segoe UI", Tahoma, sans-serif !important;
}

body.hy-marketplace-page h1,
body.hy-marketplace-page h2,
body.hy-marketplace-page h3,
body.hy-marketplace-page h4,
body.hy-marketplace-page h5,
body.hy-marketplace-page .hy-page-title,
body.hy-marketplace-page .hy-auth-card h1 {
  font-family: Syne, Manrope, sans-serif !important;
}

body.hy-marketplace-page .fp__topbar,
body.hy-marketplace-page .main_menu,
body.hy-marketplace-page .fp__menu_bar,
body.hy-marketplace-page nav.navbar {
  display: none !important;
}

.hy-page {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.hy-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .35rem;
  color: #1a0a12;
}

.hy-page-sub {
  color: #6b5a62;
  margin: 0 0 1.5rem;
}

.hy-checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 1.25rem;
  align-items: start;
}

.hy-box {
  background: #fff;
  border: 1px solid #f0e4e8;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(26, 10, 18, .05);
}

.hy-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.hy-box__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a0a12;
}

.hy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 10px;
  padding: .7rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  background: #fa0050;
  color: #fff !important;
  transition: background .15s ease, transform .15s ease;
}

.hy-btn:hover { background: #d40045; color: #fff !important; transform: translateY(-1px); }
.hy-btn.ghost {
  background: #fff;
  color: #1a0a12 !important;
  border: 1px solid #e8d6dc;
}
.hy-btn.ghost:hover { border-color: #fa0050; color: #fa0050 !important; background: #fff; }
.hy-btn.block { width: 100%; }

.hy-address-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.hy-address-card {
  border: 2px solid #efe4e8;
  border-radius: 14px;
  padding: 1rem;
  background: #faf7f8;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.hy-address-card:hover,
.hy-address-card:has(input:checked) {
  border-color: #fa0050;
  background: #fff;
  box-shadow: 0 8px 22px rgba(250, 0, 80, .1);
}

.hy-address-card .form-check-label {
  cursor: pointer;
  width: 100%;
}

.hy-address-card .icon {
  display: block;
  font-weight: 800;
  color: #fa0050;
  margin-bottom: .35rem;
}

.hy-address-card .address {
  display: block;
  color: #5a4a52;
  line-height: 1.45;
  font-size: .92rem;
}

.hy-address-actions {
  display: flex;
  gap: .5rem;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid #efe4e8;
}

.hy-address-actions button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: .45rem .6rem;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
}

.hy-address-actions .btn-edit-address { background: #fff3f7; color: #fa0050; }
.hy-address-actions .btn-delete-address { background: #f3f3f3; color: #555; }

.hy-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.hy-summary p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 .65rem;
  color: #5a4a52;
  font-weight: 600;
}

.hy-summary p.total {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid #efe4e8;
  color: #1a0a12;
  font-size: 1.05rem;
  font-weight: 800;
}

.hy-summary #procced_pmt_button {
  margin-top: 1rem;
}

.hy-empty-addresses {
  border: 1px dashed #e0cfd6;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: #6b5a62;
}

/* Auth */
.hy-auth-wrap {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(250,0,80,.12), transparent 55%),
    linear-gradient(180deg, #fff8fa 0%, #f7f2f4 100%);
}

.hy-auth-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 16px 40px rgba(26, 10, 18, .08);
  border: 1px solid #f0e4e8;
}

.hy-auth-card .hy-logo {
  display: inline-block;
  font-family: Syne, sans-serif !important;
  font-weight: 800;
  font-size: 1.45rem;
  color: #1a0a12 !important;
  text-decoration: none;
  margin-bottom: 1rem;
}

.hy-auth-card .hy-logo span { color: #fa0050; }

.hy-auth-card h1 {
  font-size: 1.45rem;
  margin: 0 0 .35rem;
  color: #1a0a12;
}

.hy-auth-card .lead {
  color: #6b5a62;
  margin: 0 0 1.25rem;
  font-size: .95rem;
}

.hy-field { margin-bottom: .9rem; }
.hy-field label {
  display: block;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .35rem;
  color: #3a2a32;
}

.hy-field input {
  width: 100%;
  border: 1px solid #e4d5db;
  border-radius: 10px;
  padding: .75rem .9rem;
  background: #fff;
  font-size: .95rem;
}

.hy-field input:focus {
  outline: 2px solid rgba(250,0,80,.2);
  border-color: #fa0050;
}

.hy-auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin: .5rem 0 1rem;
  font-size: .9rem;
}

.hy-auth-meta a,
.hy-auth-links a {
  color: #fa0050 !important;
  font-weight: 700;
  text-decoration: none;
}

.hy-auth-links {
  text-align: center;
  margin-top: 1rem;
  color: #6b5a62;
  font-size: .92rem;
}

.hy-auth-note {
  background: #fff3f7;
  border: 1px solid #ffd0de;
  border-radius: 10px;
  padding: .75rem .9rem;
  font-size: .85rem;
  margin-bottom: 1rem;
  color: #5a2a3a;
}

.hy-auth-note code {
  background: #fff;
  padding: .1rem .35rem;
  border-radius: 4px;
}

/* Modal polish inside marketplace */
body.hy-marketplace-page .modal-content {
  border-radius: 16px;
  border: 0;
  font-family: Manrope, sans-serif !important;
}

body.hy-marketplace-page .modal-header {
  border-bottom: 1px solid #f0e4e8;
}

body.hy-marketplace-page .common_btn {
  background: #fa0050 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

body.hy-marketplace-page .fp__check_single_form input,
body.hy-marketplace-page .fp__check_single_form textarea,
body.hy-marketplace-page .fp__check_single_form select,
body.hy-marketplace-page .select2-container--default .select2-selection--single {
  border-radius: 10px !important;
  border-color: #e4d5db !important;
  min-height: 44px;
}

@media (max-width: 900px) {
  .hy-checkout-grid { grid-template-columns: 1fr; }
  .hy-address-list { grid-template-columns: 1fr; }
}

/* ===== User dashboard ===== */
.hy-dash-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.hy-dash-nav {
  position: sticky;
  top: 1rem;
  padding: 1.1rem !important;
}

.hy-dash-user {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0e4e8;
}

.hy-dash-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.hy-dash-avatar img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffd0de;
}

.hy-dash-avatar label {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fa0050;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: .75rem;
}

.hy-dash-user strong {
  display: block;
  font-weight: 800;
  color: #1a0a12;
  line-height: 1.2;
}

.hy-dash-user span {
  display: block;
  font-size: .8rem;
  color: #6b5a62;
  word-break: break-all;
}

.hy-dash-tabs .nav-link {
  display: flex !important;
  align-items: center;
  gap: .65rem;
  width: 100%;
  text-align: left;
  border: 0 !important;
  border-radius: 10px !important;
  padding: .7rem .85rem !important;
  margin-bottom: .3rem;
  color: #3a2a32 !important;
  font-weight: 700 !important;
  background: transparent !important;
}

.hy-dash-tabs .nav-link i {
  width: 1.1rem;
  color: #fa0050;
}

.hy-dash-tabs .nav-link.active,
.hy-dash-tabs .nav-link:hover {
  background: #fff3f7 !important;
  color: #fa0050 !important;
}

.hy-dash-tabs .sunseen-message-count {
  margin-left: auto;
  background: #fa0050;
  color: #fff;
  border-radius: 999px;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  font-size: .7rem;
  padding: 0 .35rem;
}

.hy-dash-logout {
  color: #b42318 !important;
  margin-top: .5rem !important;
}

.hy-dash-panel > h3 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a0a12;
}

.hy-dash-lead {
  color: #6b5a62;
  margin: 0 0 1.25rem;
}

.hy-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.hy-dash-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff8fa;
  border: 1px solid #f0e4e8;
  border-radius: 14px;
  padding: .9rem 1rem;
}

.hy-dash-stat.ok { background: #f3faf5; border-color: #d8eee0; }
.hy-dash-stat.bad { background: #fff5f5; border-color: #f0d8d8; }

.hy-dash-stat__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fa0050;
  color: #fff;
  flex-shrink: 0;
}

.hy-dash-stat.ok .hy-dash-stat__icon { background: #1f9d55; }
.hy-dash-stat.bad .hy-dash-stat__icon { background: #d64545; }

.hy-dash-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a0a12;
  line-height: 1.1;
}

.hy-dash-stat span {
  font-size: .82rem;
  color: #6b5a62;
  font-weight: 600;
}

.hy-dash-profile__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}

.hy-dash-profile__head h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.hy-dash-profile .personal_info_text p {
  display: flex;
  gap: .75rem;
  margin: 0 0 .55rem;
  color: #3a2a32;
}

.hy-dash-profile .personal_info_text span {
  min-width: 70px;
  color: #6b5a62;
  font-weight: 700;
}

.hy-dash-profile .dash_info_btn .cancel { display: none; }
.hy-dash-profile.show .dash_info_btn .edit { display: none; }
.hy-dash-profile.show .dash_info_btn .cancel { display: inline; }
.hy-dash-profile .fp_dash_personal_info_edit { display: none; }
.hy-dash-profile.show .personal_info_text { display: none; }
.hy-dash-profile.show .fp_dash_personal_info_edit { display: block; }

body.hy-marketplace-page .hy-dash .fp_dashboard_body {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.hy-marketplace-page .hy-dash .fp_dashboard_order .table {
  margin: 0;
}

body.hy-marketplace-page .hy-dash .fp_dashboard_order .t_header th {
  background: #fff3f7 !important;
  color: #1a0a12 !important;
  font-weight: 800;
  border: 0 !important;
  padding: .75rem !important;
}

body.hy-marketplace-page .hy-dash .fp_dashboard_order td {
  vertical-align: middle;
  padding: .85rem .75rem !important;
  border-color: #f0e4e8 !important;
}

body.hy-marketplace-page .hy-dash .view_invoice {
  color: #fa0050 !important;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hy-dash-layout { grid-template-columns: 1fr; }
  .hy-dash-nav { position: static; }
  .hy-dash-stats { grid-template-columns: 1fr; }
}

/* ===== Cart ===== */
.hy-cart-items { padding-top: 1rem !important; }

.hy-cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 140px;
  gap: 1rem;
  align-items: stretch;
  padding: 1.1rem 0;
  border-bottom: 1px solid #f0e4e8;
}

.hy-cart-row:last-child { border-bottom: 0; }

.hy-cart-img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: #f7f2f4;
  flex-shrink: 0;
}

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

.hy-cart-name {
  display: block;
  font-weight: 800;
  color: #1a0a12 !important;
  text-decoration: none !important;
  margin-bottom: .35rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hy-cart-name:hover { color: #fa0050 !important; }

.hy-cart-opts {
  list-style: none;
  margin: 0 0 .75rem;
  padding: 0;
}

.hy-cart-opts li {
  color: #6b5a62;
  font-size: .86rem;
  margin-bottom: .2rem;
}

.hy-cart-opts em {
  font-style: normal;
  color: #fa0050;
  font-weight: 700;
  margin-left: .25rem;
}

.hy-cart-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}

.hy-qty {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #fff8fa;
  border: 1px solid #f0e4e8;
  border-radius: 999px;
  padding: .25rem;
}

.hy-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #fa0050;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(26,10,18,.06);
}

.hy-qty .quantity {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  color: #1a0a12;
}

.hy-cart-unit {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.hy-cart-unit-label,
.hy-cart-line-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8a7a82;
  font-weight: 700;
}

.hy-cart-unit strong {
  font-size: .95rem;
  color: #3a2a32;
}

.hy-cart-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  text-align: right;
}

.hy-cart-line strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fa0050;
  margin: .1rem 0;
}

.hy-cart-eq {
  display: block;
  color: #8a7a82;
  font-size: .8rem;
}

.hy-cart-remove {
  border: 0;
  background: #fff3f7;
  color: #fa0050;
  border-radius: 10px;
  padding: .45rem .7rem;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.hy-cart-remove:hover { background: #ffe4ec; }

.hy-coupon-form {
  display: flex;
  gap: .5rem;
  margin: 1rem 0 .75rem;
}

.hy-coupon-form input {
  flex: 1;
  border: 1px solid #e4d5db;
  border-radius: 10px;
  padding: .7rem .85rem;
  font-family: Manrope, sans-serif;
}

.hy-coupon-form .hy-btn {
  padding: .7rem 1rem;
  white-space: nowrap;
}

.hy-coupon-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  background: #fff3f7;
  border: 1px solid #ffd0de;
  border-radius: 10px;
  padding: .65rem .85rem;
  margin-bottom: .75rem;
  font-size: .9rem;
}

.hy-coupon-chip button {
  border: 0;
  background: #fa0050;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

#sticky_sidebar { position: sticky; top: 1rem; }

@media (max-width: 900px) {
  .hy-cart-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .hy-cart-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding-top: .25rem;
  }
  .hy-cart-line { text-align: left; }
}

/* ===== Track order ===== */
.hy-track-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hy-track-eyebrow {
  margin: 0 0 .25rem;
  color: #fa0050;
  font-weight: 800;
  font-size: .85rem;
}

.hy-track-status {
  text-align: right;
  display: grid;
  gap: .45rem;
  justify-items: end;
}

.hy-track-status strong {
  font-size: 1.35rem;
  color: #1a0a12;
  font-weight: 800;
}

.hy-track-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .4rem .85rem;
  font-weight: 800;
  font-size: .85rem;
  background: #fff3f7;
  color: #fa0050;
}

.hy-track-badge--delivered { background: #e8f8ef; color: #1f9d55; }
.hy-track-badge--declined { background: #fdecec; color: #c0392b; }
.hy-track-badge--pending { background: #fff7e8; color: #b7791f; }
.hy-track-badge--in_process { background: #eef4ff; color: #2b6cb0; }

.hy-track-grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 1.25rem;
  align-items: start;
}

.hy-track-main,
.hy-track-side {
  display: grid;
  gap: 1.25rem;
}

.hy-track-progress-label {
  font-weight: 800;
  color: #fa0050;
}

.hy-track-progress {
  height: 12px;
  border-radius: 999px;
  background: #f3e8ec;
  overflow: hidden;
  margin-bottom: 1.35rem;
}

.hy-track-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #fa0050, #ff4d7d);
  border-radius: 999px;
  transition: width .35s ease;
}

.hy-timeline {
  position: relative;
  padding-left: .25rem;
}

.hy-timeline .timeline-item {
  position: relative;
  padding: 0 0 1.25rem 3rem;
}

.hy-timeline .timeline-item:last-child { padding-bottom: 0; }

.hy-timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: 1.05rem;
  top: 2.4rem;
  width: 2px;
  height: calc(100% - 1.5rem);
  background: #efe4e8;
}

.hy-timeline .timeline-item:last-child::before { display: none; }
.hy-timeline .timeline-item.completed::before { background: #fa0050; }

.hy-timeline .timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f0f2;
  color: #9a8a92;
  z-index: 1;
}

.hy-timeline .timeline-item.completed .timeline-icon {
  background: #fa0050;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(250, 0, 80, .12);
}

.hy-timeline .timeline-content h5 {
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1a0a12;
}

.hy-timeline .timeline-item.completed .timeline-content h5 { color: #fa0050; }

.hy-timeline .timeline-content p {
  margin: 0;
  color: #6b5a62;
  font-size: .88rem;
}

.hy-timeline .timeline-content p.is-muted { color: #9a8a92; }

.hy-track-note {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #fff3f7;
  border: 1px solid #ffd0de;
  color: #5a2a3a;
}

.hy-track-note i { color: #fa0050; margin-top: .15rem; }
.hy-track-note strong { display: block; margin-bottom: .15rem; }
.hy-track-note span { color: #5a4a52; }

.hy-track-items { display: grid; gap: .75rem; }

.hy-track-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f0e4e8;
}

.hy-track-item:last-child { border-bottom: 0; padding-bottom: 0; }

.hy-track-item strong { color: #1a0a12; }
.hy-track-item__meta {
  display: block;
  color: #6b5a62;
  font-size: .85rem;
  margin-top: .2rem;
}

.hy-track-item__right {
  text-align: right;
  display: grid;
  gap: .2rem;
  color: #6b5a62;
  white-space: nowrap;
}

.hy-track-item__right strong { color: #fa0050; }

.hy-track-totals {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid #f0e4e8;
}

.hy-track-totals p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 .5rem;
  color: #5a4a52;
  font-weight: 600;
}

.hy-track-totals p.total {
  margin-top: .65rem;
  padding-top: .75rem;
  border-top: 1px solid #f0e4e8;
  color: #1a0a12;
  font-size: 1.05rem;
  font-weight: 800;
}

.hy-track-side .hy-box h2 {
  margin: 0 0 .85rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.hy-track-info p {
  margin: 0 0 .65rem;
  color: #3a2a32;
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  line-height: 1.4;
}

.hy-track-info i {
  color: #fa0050;
  width: 1rem;
  margin-top: .2rem;
}

.hy-track-info a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hy-track-grid { grid-template-columns: 1fr; }
  .hy-track-status { text-align: left; justify-items: start; width: 100%; }
}




