:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #17133a;
  --muted: #6c6887;
  --line: #e8e4dd;
  --blue: #3766ff;
  --blue-dark: #2138a2;
  --gold: #f3cb4d;
  --orange: #ff8c3a;
  --pink: #ff5fab;
  --aqua: #86def6;
  --success: #0ca678;
  --shadow: 0 20px 45px rgba(17, 16, 38, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 15% 20%, #ffe8d3 0%, transparent 40%), radial-gradient(circle at 82% 10%, #fff3be 0%, transparent 32%), var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
  animation: drift 16s ease-in-out infinite;
}

.shape-a {
  width: 340px;
  height: 340px;
  background: #ffcf7a;
  top: -110px;
  right: -90px;
}

.shape-b {
  width: 300px;
  height: 300px;
  background: #91d7ff;
  left: -120px;
  bottom: 20%;
  animation-delay: 2s;
}

.shape-c {
  width: 220px;
  height: 220px;
  background: #ffc0e1;
  left: 32%;
  top: 34%;
  animation-delay: 4s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 239, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 86px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.95;
  letter-spacing: 0.03em;
}

.logo-main {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
}

.logo-sub {
  color: var(--orange);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  margin-left: 0.5rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.main-nav a {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: linear-gradient(180deg, #fff7cf, #ffeb95);
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  min-width: 180px;
}

.search input {
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  width: 100%;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(23, 19, 58, 0.15);
}

.avatar {
  padding: 0;
  overflow: hidden;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.25rem;
}

.hero {
  padding-top: 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-media {
  position: relative;
  min-height: 620px;
  overflow: visible;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(8px);
  animation: pulse 4.5s ease-in-out infinite;
}

.hero-glow-a {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at 35% 35%, #ffe8a8, #ff8f3f);
  top: 66px;
  left: -54px;
}

.hero-glow-b {
  width: 230px;
  height: 230px;
  background: radial-gradient(circle at 35% 35%, #b7e4ff, #4c83ff);
  bottom: 38px;
  right: -46px;
  animation-delay: 0.9s;
}

.hero-cutout {
  position: absolute;
  left: -170px;
  bottom: -44px;
  width: 158%;
  max-width: 930px;
  height: auto;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(18, 20, 44, 0.28));
  animation: float 5.4s ease-in-out infinite;
}

.hero-side-shot {
  position: absolute;
  right: 24px;
  bottom: 30px;
  margin: 0;
  width: 228px;
  height: 292px;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 28px rgba(20, 16, 46, 0.2);
  transform: rotate(5deg);
  z-index: 3;
}

.hero-side-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: float 5.8s ease-in-out infinite;
  animation-delay: 0.6s;
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.84rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 24px rgba(25, 20, 59, 0.15);
  backdrop-filter: blur(6px);
  z-index: 4;
}

.hero-chip i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(130deg, var(--orange), #ffbe4b);
}

.hero-chip strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.2;
}

.hero-chip span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.rating-chip {
  left: 32px;
  bottom: 34px;
}

.rating-chip i {
  background: linear-gradient(130deg, var(--blue), #2a44d2);
}

.floating-icon {
  position: absolute;
  left: 14px;
  top: 52%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #50a9ff, #2341e6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 22px rgba(41, 82, 255, 0.35);
  animation: bob 3s ease-in-out infinite;
  z-index: 5;
}

.emoji-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 18px rgba(25, 20, 59, 0.16);
  font-size: 1.4rem;
  z-index: 5;
  animation: bob 3.4s ease-in-out infinite;
}

.emoji-heart {
  left: 110px;
  top: 22px;
  animation-delay: 0.3s;
}

.emoji-sparkle {
  right: 14px;
  top: 118px;
  animation-delay: 0.8s;
}

.emoji-bag {
  right: 176px;
  bottom: 24px;
  animation-delay: 1.1s;
}

.emoji-star {
  left: 16px;
  top: 150px;
  animation-delay: 1.5s;
}

.overline {
  margin: 0 0 0.65rem;
  color: #ff8f3f;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.025em;
  line-height: 0.95;
}

.hero-content h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.025em;
  line-height: 0.95;
  font-size: clamp(3rem, 7.2vw, 5.2rem);
  max-width: 640px;
}

.hero-content {
  position: relative;
  z-index: 6;
  margin-left: 1.9rem;
}

.hero-content h1 span {
  display: inline-block;
  background: linear-gradient(110deg, #2e60ff, #ff8d3e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content .lead {
  margin-top: 1.1rem;
  max-width: 540px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 22px rgba(47, 75, 219, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(47, 75, 219, 0.44);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.88rem 1.35rem;
}

.btn-small {
  background: #eff2ff;
  color: var(--blue-dark);
  padding: 0.62rem 1rem;
  width: 100%;
}

.stats {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 1.55rem;
}

.stat-card {
  min-width: 182px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
  border: 1px solid #e9edf9;
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 20px rgba(19, 17, 44, 0.1);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  color: #22244f;
}

.stat-card span {
  margin-top: 0.3rem;
  color: #626083;
  font-size: 0.86rem;
}

.trend-pills {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.trend-card {
  border-radius: var(--radius-md);
  min-height: 96px;
  padding: 0.8rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 20px rgba(26, 21, 60, 0.11);
}

.trend-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.trend-card h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.82rem;
  letter-spacing: 0.02em;
}

.trend-card.aqua {
  background: linear-gradient(120deg, #a4eaff, #6dd2ff);
}

.trend-card.gold {
  background: linear-gradient(120deg, #ffe58f, #ffc35b);
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.inline-link {
  color: var(--blue-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 330px;
  box-shadow: 0 18px 30px rgba(17, 15, 38, 0.12);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card .overlay {
  position: absolute;
  inset: 0;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.6));
}

.category-card h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.3rem;
}

.category-card a {
  font-weight: 600;
  color: #ffdc88;
}

.category-card:hover img {
  transform: scale(1.07);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(16, 14, 40, 0.12);
}

.product-image {
  position: relative;
  height: 250px;
}

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

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: #fff;
  padding: 0.33rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge.hot {
  background: var(--orange);
}

.product-content {
  padding: 1rem;
}

.product-content h3 {
  margin: 0;
  font-size: 1rem;
}

.price {
  margin: 0.35rem 0 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.promo {
  padding-top: 1.5rem;
}

.promo-panel {
  background: linear-gradient(rgba(20, 20, 48, 0.48), rgba(20, 20, 48, 0.58)), url("https://images.unsplash.com/photo-1485230895905-ec40ba36b9bc?auto=format&fit=crop&w=1400&q=80") center/cover;
  border-radius: var(--radius-lg);
  min-height: 390px;
  display: grid;
  align-items: center;
  box-shadow: var(--shadow);
}

.promo-content {
  width: min(560px, 100%);
  margin-left: 4rem;
  color: #fff;
}

.promo-content h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.promo-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.testimonials-wrap {
  position: relative;
}

.slider-controls {
  display: flex;
  gap: 0.55rem;
}

.slide-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.slide-btn:hover {
  background: #f7f8ff;
}

.testimonial-slider {
  position: relative;
  min-height: 260px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 14px 22px rgba(17, 15, 35, 0.08);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
}

.customer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.customer img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.customer h3 {
  margin: 0;
  font-size: 1rem;
}

.customer span {
  color: var(--muted);
  font-size: 0.85rem;
}

.newsletter {
  background: linear-gradient(90deg, #e1f4ff, #fff0bf);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.newsletter h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.newsletter p {
  color: #3c3a52;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: min(380px, 100%);
  border: 1px solid #d1d8e8;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  font: inherit;
}

.site-footer {
  background: #171536;
  color: #e3e4ff;
  margin-top: 3.5rem;
  padding-top: 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 1.6rem;
}

.footer-logo .logo-main,
.footer-logo .logo-sub {
  color: #fff;
}

.site-footer p {
  color: #afb2d8;
  line-height: 1.7;
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: #fff;
}

.site-footer a {
  display: block;
  color: #b8bcdf;
  margin-bottom: 0.55rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1rem 0 1.3rem;
}

.scroll-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--orange), #ffb54b);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 20px rgba(255, 127, 56, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -14px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero-media {
    min-height: 580px;
    max-width: 700px;
    margin-inline: auto;
  }

  .hero-cutout {
    left: -112px;
    width: 148%;
  }

  .hero-side-shot {
    right: 22px;
    bottom: 28px;
    width: 210px;
    height: 268px;
  }

  .emoji-sparkle {
    right: 8px;
    top: 96px;
  }

  .emoji-bag {
    right: 152px;
  }

  .hero-content {
    max-width: 700px;
    margin-inline: auto;
    margin-left: 0;
  }

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

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-wrap {
    position: absolute;
    top: 82px;
    left: 1.1rem;
    right: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-wrap.open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    border-radius: 10px;
  }

  .header-tools {
    justify-content: space-between;
  }

  .search {
    width: 100%;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-cutout {
    left: -92px;
    width: 150%;
  }

  .hero-side-shot {
    right: 12px;
    bottom: 20px;
    width: 184px;
    height: 236px;
  }

  .emoji-bubble {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .emoji-heart {
    left: 94px;
    top: 16px;
  }

  .emoji-sparkle {
    right: 4px;
    top: 90px;
  }

  .emoji-bag {
    right: 128px;
    bottom: 18px;
  }

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

  .newsletter {
    grid-template-columns: 1fr;
  }

  .promo-content {
    margin: 1.8rem;
  }

  .testimonial-slider {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-cutout {
    left: -88px;
    bottom: -22px;
    width: 178%;
  }

  .hero-side-shot {
    display: none;
  }

  .emoji-heart,
  .emoji-sparkle,
  .emoji-bag {
    display: none;
  }

  .emoji-star {
    left: 10px;
    top: 126px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .rating-chip {
    left: 14px;
    bottom: 14px;
    transform: scale(0.92);
    transform-origin: left bottom;
  }

  .floating-icon {
    left: 8px;
    top: 58%;
    width: 50px;
    height: 50px;
  }

  .category-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .stats {
    width: 100%;
  }

  .trend-pills {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.4rem;
  }
}
