/* ── Variables ──────────────────────────────────────────── */
:root {
  --rose:      #D4537E;
  --rose-dark: #993556;
  --blush:     #FBEAF0;
  --blush-mid: #F4D0DC;
  --gold:      #FAC775;
  --white:     #ffffff;
  --text:      #3a2030;
  --text-light:#7a5565;
  --radius:    12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; background: #faf6f8; color: var(--text); line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Top Nav ─────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 52px;
  background: rgba(251,234,240,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blush-mid);
}
.topnav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--rose-dark); letter-spacing: .04em;
}
.topnav-socials { display: flex; align-items: center; gap: 14px; }
.topnav-icon { display: flex; align-items: center; justify-content: center; opacity: .7; transition: opacity .2s, transform .2s; }
.topnav-icon:hover { opacity: 1; transform: translateY(-2px); }
.topnav-icon svg { width: 18px; height: 18px; }
.topnav-icon.telegram  { color: #229ED9; }
.topnav-icon.instagram { color: #C13584; }
.topnav-icon.twitter   { color: #111; }
.topnav-icon.pinterest { color: #E60023; }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  display: flex; align-items: center; gap: 28px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--blush-mid) 100%);
  padding: 32px 40px;
  border-bottom: 1px solid var(--blush-mid);
}
.hero-logo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(212,83,126,.2);
  border: 3px solid var(--white);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600; color: var(--rose-dark);
  margin-bottom: 4px;
}
.page-hero p { font-size: .95rem; color: var(--text-light); margin-bottom: 14px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 11px 28px;
  border-radius: 50px; font-size: .88rem;
  font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn-primary { background: var(--rose); color: var(--white); box-shadow: 0 3px 12px rgba(212,83,126,.35); }
.btn-outline  { border: 2px solid var(--rose); color: var(--rose); }

/* ── Deals Section ───────────────────────────────────────── */
.deals-section { padding: 36px 0 60px; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--rose-dark);
  margin-bottom: 24px; font-weight: 600;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.loading, .no-deals {
  grid-column: 1/-1; text-align: center;
  color: var(--text-light); padding: 60px 20px;
  font-size: 1.05rem;
}
.no-deals a { color: var(--rose); text-decoration: underline; }

/* ── Deal Card ───────────────────────────────────────────── */
.deal-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  border: 1px solid #f0e0e8;
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(212,83,126,.15);
}

.deal-img-wrap {
  position: relative;
  background: var(--blush);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.deal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; padding: 12px;
  transition: transform .3s;
}
.deal-card:hover .deal-img-wrap img { transform: scale(1.04); }
.deal-img-placeholder { font-size: 3rem; }

.deal-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--rose); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 4px 8px; border-radius: 50px;
  letter-spacing: .04em;
}

.deal-body {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; flex: 1; gap: 10px;
}

.deal-title {
  font-size: .88rem; color: var(--text);
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

.deal-prices { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.deal-was {
  font-size: .82rem; color: var(--text-light);
  text-decoration: line-through;
}
.deal-now {
  font-size: 1.2rem; font-weight: 700; color: var(--rose-dark);
}

.deal-cta {
  display: block; text-align: center;
  background: var(--rose); color: var(--white);
  padding: 10px; border-radius: 8px;
  font-size: .83rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  margin-top: auto;
  transition: background .2s;
}
.deal-card:hover .deal-cta { background: var(--rose-dark); }

/* ── Deal Redirect Page ──────────────────────────────────── */
.redirect-wrap {
  max-width: 520px; margin: 60px auto; padding: 0 24px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}
.rd-image {
  width: 240px; height: 240px; object-fit: contain;
  border-radius: var(--radius);
  background: var(--blush); padding: 16px;
  border: 1px solid var(--blush-mid);
}
.rd-no-image {
  width: 240px; height: 240px; background: var(--blush);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; font-size: 4rem;
}
.rd-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--text); line-height: 1.4;
}
.rd-prices { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.rd-was { font-size: .95rem; color: var(--text-light); text-decoration: line-through; }
.rd-now { font-size: 1.5rem; font-weight: 700; color: var(--rose-dark); }
.rd-badge {
  background: var(--rose); color: var(--white);
  font-size: .78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
}
.rd-msg { font-size: .9rem; color: var(--text-light); }
.rd-msg span { font-weight: 700; color: var(--rose); }
.rd-back {
  font-size: .85rem; color: var(--text-light);
  text-decoration: underline; margin-top: 4px;
}
.rd-back:hover { color: var(--rose); }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--rose-dark); color: rgba(255,255,255,.85);
  text-align: center; padding: 32px 24px; font-size: .88rem;
}
.footer a { color: var(--gold); text-decoration: underline; }
.disclaimer {
  margin-top: 10px; font-size: .75rem; color: rgba(255,255,255,.45);
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .page-hero { flex-direction: column; text-align: center; padding: 24px 20px; }
  .hero-logo { width: 64px; height: 64px; }
  .deals-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}
