@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #f6f6f6;
  color: #111111
}

a {
  text-decoration: none;
  color: inherit
}

.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e5e5e5
}

.navbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 24px
}

.brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 700
}

.nav-links a:hover {
  color: #ff4d00
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 28px
}

.profile-page {
  max-width: 1100px;
  margin: auto;
  padding: 60px 24px
}

.profile-card {
  background: #111111;
  color: #ffffff;
  border-radius: 18px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.profile-card::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  background: #ff4d00;
  border-radius: 50%
}

.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900
}

.tagline {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 900;
  color: #ff4d00;
  letter-spacing: 2px
}

.profile-card h1 {
  font-size: 50px;
  letter-spacing: -2px;
  margin: 8px 0
}

.bio {
  max-width: 620px;
  margin: 0 auto;
  color: #dddddd;
  line-height: 1.7
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0
}

.profile-stats article {
  background: rgba(255, 255, 255, .09);
  border-radius: 16px;
  padding: 22px
}

.profile-stats strong {
  display: block;
  font-size: 30px
}

.profile-stats span {
  color: #cccccc
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 14px
}

.profile-actions a {
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 900
}

.profile-actions a:first-child {
  background: #ff4d00;
  color: #ffffff
}

.profile-actions a:last-child {
  background: #ffffff;
  color: #111111
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px
}

.info-grid article,
.order-card,
.empty-orders {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08)
}

.info-grid h2 {
  font-size: 26px;
  margin-bottom: 14px
}

.info-grid p {
  color: #666666;
  margin: 8px 0
}

.orders-section {
  margin-top: 34px
}

.section-heading {
  margin-bottom: 18px
}

.section-heading h2 {
  font-size: 38px;
  letter-spacing: -1px
}

.orders-list {
  display: grid;
  gap: 18px
}

.order-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 16px
}

.order-top span {
  font-size: 13px;
  font-weight: 900;
  color: #ff4d00
}

.order-top h3 {
  font-size: 24px;
  margin: 4px 0
}

.order-top p {
  color: #666666
}

.order-top strong {
  font-size: 26px
}

.payment-pill {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  border-radius: 14px;
  padding: 9px 14px;
  margin: 16px 0;
  font-weight: 900
}

.ordered-items {
  display: grid;
  gap: 12px
}

.ordered-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 12px
}

.ordered-item h4 {
  font-size: 18px
}

.ordered-item p {
  color: #666666;
  margin-top: 5px
}

.order-shoe {
  width: 86px;
  height: 72px;
  border-radius: 10px;
  background: #eeeeee;
  position: relative;
  overflow: hidden
}

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

.shoe-drawn::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  width: 66px;
  height: 28px;
  border-radius: 60% 40% 55% 45%;
  transform: rotate(-10deg);
  background: var(--shoeGradient)
}

.shoe-drawn::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50px;
  width: 62px;
  height: 9px;
  background: #111111;
  border-radius: 10px
}

.empty-orders {
  text-align: center
}

.empty-orders h3 {
  font-size: 26px
}

.empty-orders p {
  color: #666666;
  line-height: 1.6;
  margin: 10px auto 18px;
  max-width: 620px
}

.empty-orders a {
  display: inline-block;
  background: #111111;
  color: #ffffff;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 900
}

@media(max-width:850px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #ffffff;
    padding: 20px;
    flex-direction: column
  }

  .nav-links.open {
    display: flex
  }

  .menu-btn {
    display: block
  }

  .profile-card h1 {
    font-size: 38px
  }

  .profile-stats,
  .info-grid {
    grid-template-columns: 1fr
  }

  .profile-actions {
    flex-direction: column
  }

  .order-top {
    flex-direction: column
  }

  .ordered-item {
    grid-template-columns: 78px 1fr
  }

  .order-shoe {
    width: 72px;
    height: 62px
  }
}

/* Profile stat fix: removed Free Delivery box */
.profile-stats {
  grid-template-columns: repeat(2, 1fr);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width:850px) {
  .profile-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }
}


/* Image placeholders: demo shoe drawings removed. Add your local image sources inside these boxes. */
.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px dashed #cfcfcf;
  background: #f3f3f3;
  color: #777777;
  font-weight: 900;
  letter-spacing: .2px;
  overflow: hidden;
  position: relative;
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-image::before,
.product-image::after,
.explore-image::before,
.explore-image::after,
.mini-shoe::before,
.mini-shoe::after,
.shoe-graphic::before,
.shoe-graphic::after,
.main-shoe::before,
.main-shoe::after,
.thumb::before,
.shoe-drawn::before,
.shoe-drawn::after {
  display: none !important;
  content: none !important;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .buy-btn {
  align-self: flex-end;
  margin-left: auto;
}

.featured .trending-grid .buy-btn {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 4px;
}

.logout-btn {
  border: 0;
  background: #ff4d00;
  color: #ffffff;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.order-shoe.image-slot span,
.cart-shoe.image-slot span,
.order-photo.image-slot span {
  font-size: 12px;
  color: #777777;
}


/* Orders list text-only */
.ordered-item.text-only {
  grid-template-columns: 1fr !important;
  padding: 16px 18px !important;
}

.ordered-item.text-only h4 {
  font-size: 18px;
}

.ordered-item.text-only p {
  color: #666666;
  margin-top: 5px;
}

.order-shoe {
  display: none !important;
}


/* Profile review cards */
.review-profile-card p {
  color: #555555;
  line-height: 1.6;
  margin-top: 14px;
}

.review-profile-card .order-top strong {
  color: #ff4d00;
  font-size: 22px;
  white-space: nowrap;
}