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

:root {
  --ink: #1e1838;
  --muted: #6f6b79;
  --pink: #ff3f75;
  --pink-dark: #ef2d66;
  --yellow: #ffc22e;
  --green: #7ac943;
  --blue: #18a9e7;
  --purple: #8759dd;
  --purple-dark: #6840ba;
  --cream: #fffaf4;
  --line: #eee8e2;
  --shadow: 0 12px 35px rgba(65, 44, 28, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: #fffdf9;
  overflow-x: hidden;
}

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

button,
.btn {
  font-weight: 800;
}

/* Navbar */
.navbar {
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(236, 228, 219, 0.55);
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.brand-truck {
  font-size: 1.35rem;
}

.rainbow {
  background: linear-gradient(90deg, #ff3b73, #ffb42c, #63bf4a, #22a7de, #8955db);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1.05;
}

.nav-link {
  color: #221c31 !important;
  font-weight: 800;
  font-size: 0.92rem;
}

.nav-link.active {
  color: var(--pink) !important;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ece7e3;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.badge-dot {
  position: absolute;
  right: -2px;
  top: -5px;
}

.cart-count {
  background: var(--pink);
  color: #fff;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  display: inline-block;
  text-align: center;
}

/* Shared components */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.soft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(55, 38, 27, 0.05);
  text-align: center;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 900;
  margin: 0;
}

.sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.img3d {
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(65, 44, 28, 0.12));
}

.stars {
  color: #ffb000;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.btn-purple {
  background: linear-gradient(135deg, #9b6bff, #6840ba);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
}

.btn-purple:hover {
  color: #fff;
  background: #6840ba;
}

.btn-outline-purple {
  background: #fff;
  border: 2px solid #9b6bff;
  color: #6840ba;
  border-radius: 14px;
  padding: 10px 18px;
}

.btn-outline-purple:hover {
  background: #f8f3ff;
  color: #6840ba;
}

.text-purple {
  color: var(--purple-dark) !important;
}

/* Home AR */
.home-hero {
  padding: 36px 0 20px;
  text-align: center;
}

.home-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-art {
  width: 110px;
  height: 110px;
}

.hero-art.small {
  width: 85px;
  height: 85px;
}

.mini-feature {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 4px;
}

.home-banner {
  background: linear-gradient(135deg, #fff5e8, #f3ecff);
  border-radius: 18px;
  padding: 18px;
  min-height: 180px;
}

.coupon {
  text-align: center;
  padding: 20px 10px;
}

.coupon .num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  margin: 8px 0;
}

.barcode {
  font-family: monospace;
  letter-spacing: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px;
  border: 2px dashed #ddd;
  border-radius: 12px;
}

.gift-box {
  background: linear-gradient(135deg, #b56cf0, #7d4fc8);
  color: #fff;
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.gift-box h3 {
  font-weight: 900;
  margin: 12px 0 6px;
}

.gift-box p {
  margin: 0;
  opacity: 0.92;
}

/* Store */
.search {
  height: 44px;
  border-radius: 22px;
  border: 1px solid #ece7e3;
  padding: 0 18px;
  min-width: 220px;
  background: #fff;
}

.filter-box {
  margin-bottom: 12px;
  text-align: left;
}

.filter-title {
  font-weight: 900;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.filter-box label {
  font-size: 0.85rem;
  font-weight: 700;
}

.store-product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(50, 36, 26, 0.05);
  height: 100%;
  transition: 0.25s;
}

.store-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(50, 36, 26, 0.1);
}

.store-product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
}

.store-product h3 {
  font-size: 0.85rem;
  font-weight: 900;
  margin: 10px 0 6px;
}

.store-product .price {
  font-weight: 900;
  font-size: 0.9rem;
}

.store-product .badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--pink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 99px;
}

.store-product-wrap {
  position: relative;
}

/* Checkout hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 16px 10px;
  flex-wrap: wrap;
}

.form-card {
  padding: 24px;
}

.form-label {
  font-weight: 800;
  font-size: 0.88rem;
}

.required {
  color: var(--pink);
}

.delivery-box {
  background: #f8f3ff;
  border: 1px solid #e8dcf8;
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
}

.occasion {
  background: #fffaf1;
  border-color: #f2d9ae;
}

.sidebar .cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.sidebar .pic {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Reviews */
.rating-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid #f2d9ae;
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: #fffaf1;
}

.rating-number {
  font-size: 2.4rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.metric {
  min-height: 130px;
}

.metric .mi {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.review {
  padding: 20px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.product-thumb {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.score {
  background: #fffaf4;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.score b {
  display: block;
  font-size: 0.95rem;
  color: var(--purple-dark);
}

@media (max-width: 991.98px) {
  .hero-art {
    width: 80px;
    height: 80px;
  }

  .review {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .search {
    min-width: 100%;
  }

  .score-row {
    flex-direction: column;
  }
}
