
:root {
  --pink: #e91e63;
  --pink-soft: #ffdde1;
  --pink-gradient: linear-gradient(135deg, #ffdde1, #ee9ca7);
  --bg: #fff7f9;
  --ink: #3a2d32;
  --radius: 16px;
  --shadow: 0 8px 25px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
}

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 247, 249, 0.9);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--pink-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.btn-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--pink-gradient);
  color: white;
  border: none;
  box-shadow: var(--shadow);
}

.nav-cart {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #fff;
  color: var(--pink);
  border-radius: 999px;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  border: 1px solid var(--pink-soft);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-user-name {
  font-size: 0.8rem;
  opacity: 0.7;
}

.site-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.section {
  margin: 2.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-header p {
  margin-top: 0.25rem;
  color: rgba(0,0,0,0.6);
}

/* Flash */
.flash-container {
  margin-bottom: 1rem;
}

.flash {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.flash-success { background: #e3f9e5; color: #22543d; }
.flash-info { background: #ebf8ff; color: #2a4365; }
.flash-warning { background: #fefcbf; color: #744210; }
.flash-danger { background: #fed7d7; color: #822727; }

/* Hero */
.hero {
  position: relative;
  height: min(100vh, 620px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
}

.hero-overlay {
  position: relative;
  inset: 0;
  height: 100%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15));
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.hero h1 {
  font-size: 2.2rem;
  max-width: 22rem;
  margin: 0 0 1.25rem 0;
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
}
.hero-dot.active {
  background: #fff;
}

/* Buttons */
.btn-primary {
  border: none;
  cursor: pointer;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--pink-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.5rem 1.2rem;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Scroll strip */
.scroll-strip {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.75rem 0;
}

.scroll-track {
  display: flex;
  gap: 1rem;
  animation: scrollLoop 28s linear infinite;
}

.scroll-item {
  min-width: 130px;
  max-width: 130px;
  text-align: center;
}

.scroll-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
}

.scroll-name {
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

@keyframes scrollLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Shard cards */
.shard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.shard-card {
  perspective: 900px;
}

.shard-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.shard-card:hover .shard-inner {
  transform: rotateY(180deg);
}

.shard-front,
.shard-back {
  position: relative;
  backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 220px;
}

.shard-front img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

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

.price {
  font-weight: 600;
  margin-top: 0.25rem;
}

.shard-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.card {
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  background: var(--pink-gradient);
}

.stars i {
  color: #ffb300;
  font-size: 0.8rem;
}

/* Reasons + founder */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #ffe6ee);
  padding: 1.8rem;
  align-items: center;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 22px;
  background: radial-gradient(circle at 30% 20%, #fff, #ffa3bf);
  box-shadow: var(--shadow);
}

.founder-copy h2 {
  margin-top: 0;
}

/* Auth */
.auth-section {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.8rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.auth-card label {
  font-size: 0.85rem;
  display: block;
  margin: 0.5rem 0 0.2rem;
}

.auth-card input,
.auth-card textarea,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: inherit;
  font-size: 0.9rem;
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.auth-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.65);
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.4rem;
}

.profile-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(0,0,0,0.05);
  font-size: 0.9rem;
}

/* Cart */
.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 1.4rem;
  align-items: flex-start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.9rem;
  background: #fff;
  border-radius: 18px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}

.cart-item img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.link-danger {
  color: #b91c1c;
  font-size: 0.8rem;
}

.cart-summary {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

/* Checkout */
.checkout-progress {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.checkout-progress .step {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  background: #ffe5f0;
  opacity: 0.5;
}

.checkout-progress .step.active {
  opacity: 1;
  background: var(--pink-gradient);
  color: #fff;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.pink-checkout {
  background: radial-gradient(circle at 0 0, #ffe3f2, #fff);
  border-radius: 26px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.checkout-details,
.checkout-summary {
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
}

.checkout-details h2,
.checkout-summary h2 {
  margin-top: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.field-row > div {
  display: flex;
  flex-direction: column;
}

.checkout-details label {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.checkout-details input {
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: inherit;
  font-size: 0.9rem;
}

.payment-options {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.payment-card {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.07);
  background: #fff;
  cursor: pointer;
}

.payment-card input {
  margin-top: 0.4rem;
}

.payment-card strong {
  font-size: 0.9rem;
}

.payment-card p {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.6);
}

.cod-card {
  background: #fff5f8;
}

.summary-items {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem 0;
}

.summary-items li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin: 0.2rem 0;
}

.muted {
  color: rgba(0,0,0,0.6);
}

.tiny {
  font-size: 0.8rem;
}

/* Admin */
.admin-section h1 {
  margin-top: 0;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.metric-card {
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.admin-links a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  font-size: 0.85rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  text-align: left;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.admin-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.admin-form {
  max-width: 520px;
}

.admin-form label {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}

.admin-form textarea {
  min-height: 100px;
}

/* Track */
.track-section {
  display: flex;
  justify-content: center;
}

.track-card {
  max-width: 520px;
  width: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.track-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: #f7f7f7;
  font-size: 0.9rem;
}

/* Success */
.success-section {
  display: flex;
  justify-content: center;
}

.success-card {
  max-width: 520px;
  width: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.04);
  background: #fff;
  padding: 1.5rem 1.25rem 2rem;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: inherit;
  font-size: 0.85rem;
}

.newsletter-form button {
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffe5f0;
  color: var(--pink);
  margin-right: 0.3rem;
}

.footer-meta {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.6);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 50;
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .checkout-grid,
  .cart-grid,
  .profile-grid,
  .admin-two-col,
  .founder-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-main {
    padding-inline: 1rem;
  }
  .hero {
    height: 420px;
  }
  .hero-overlay {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .checkout-progress {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .section-header h2 {
    font-size: 1.4rem;
  }
  .checkout-grid {
    padding: 0.7rem;
  }
}
