:root {
  --accent:     #FF4D00;
  --accent2:    #FF8C00;
  --background: #F8F7F4;
  --card-bg:    #FFFFFF;
  --banner-bg:  #111111;
  --text:       #181818;
  --text-soft:  #6B6B6B;
  --avatar-bg:  #FF4D00;
  --radius:     14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page {
  width: 100%;
  max-width: 480px;
  padding: 36px 18px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Profile */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp .45s ease both;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--avatar-bg);
  border: 3px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-name    { font-family: 'League Spartan', sans-serif; font-size: 1.75rem; font-weight: 900; letter-spacing: -.03em; text-align: center; line-height: 1.1; }
.profile-slogan  { font-size: .88rem; font-weight: 500; text-align: center; letter-spacing: .03em; }
.profile-description { font-size: .85rem; text-align: center; line-height: 1.55; max-width: 340px; }

/* Social */
.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .45s .08s ease both;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: transform .18s, opacity .18s;
  text-decoration: none;
}

.social-link:hover { transform: translateY(-3px); opacity: .7; }
.social-link svg   { width: 26px; height: 26px; }

/* Banner */
.banner-wrapper { animation: fadeUp .45s .14s ease both; }

.banner {
  background: var(--banner-bg);
  border-radius: var(--radius);
  min-height: 120px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 28px rgba(0,0,0,.14);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.banner:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,0,0,.22); }

.banner-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.banner-title    { font-family: 'League Spartan', sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.banner-subtitle { font-size: .82rem; line-height: 1.45; }

.banner-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 99px;
  padding: 8px 18px;
  letter-spacing: -.01em;
  margin-top: 4px;
}

/* Section */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeUp .45s .2s ease both;
}

.section-title { font-family: 'League Spartan', sans-serif; font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }

.section-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
  transition: background .18s;
}
.section-more:hover { background: var(--accent); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  animation: fadeUp .45s .26s ease both;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(0,0,0,.05);
}

.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F0EFEB;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.product-card:hover .product-image-wrapper img { transform: scale(1.04); }

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ccc;
}

.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'League Spartan', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
}

.product-info { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }

.product-name {
  font-family: 'League Spartan', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-prices    { display: flex; align-items: baseline; gap: 5px; margin-top: 3px; flex-wrap: wrap; }
.product-price     { font-family: 'League Spartan', sans-serif; font-size: 1rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.product-price-old { font-size: .74rem; color: var(--text-soft); text-decoration: line-through; font-weight: 500; }

/* Loading & footer */
.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 0;
  color: var(--text-soft);
  font-size: .88rem;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0,0,0,.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.site-footer {
  text-align: center;
  font-size: .74rem;
  color: var(--text-soft);
  opacity: .6;
  padding-bottom: 8px;
  animation: fadeUp .45s .32s ease both;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Desktop */
@media (min-width: 600px) {
  body { background: #EEEDE9; padding: 40px 20px; }
  .page {
    background: var(--background);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    padding: 40px 28px 60px;
  }
}
