/* =============================================
   RAYA STUDIO — Wings of Beauty
   style.css — Complete Stylesheet
   Design: Soft Luxury · Pastel Feminine · Premium
   Author: Raya Studio Dev Team
============================================= */

/* ---- CSS CUSTOM PROPERTIES (Variables) ----
   These make it easy to maintain consistent colors.
   Change one variable → updates everywhere! */
:root {
  --pink:        #f472b6;
  --pink-light:  #fce7f3;
  --pink-soft:   #fdf2f8;
  --pink-deep:   #ec4899;
  --blush:       #fbcfe8;
  --lilac:       #e9d5ff;
  --peach:       #fed7aa;
  --white:       #ffffff;
  --cream:       #fffbf5;
  --text-dark:   #1e1b2e;
  --text-mid:    #6b7280;
  --text-light:  #9ca3af;
  --shadow-sm:   0 2px 8px rgba(244,114,182,0.12);
  --shadow-md:   0 8px 32px rgba(244,114,182,0.18);
  --shadow-lg:   0 20px 60px rgba(244,114,182,0.22);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --radius-xl:   40px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE STYLES ----
   Remove browser defaults for consistent look */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Smooth scroll when clicking anchor links */
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden; /* Prevent horizontal scroll */
  line-height: 1.6;
}

/* ---- UTILITY CLASSES ---- */
.hidden {
  display: none !important; /* Used by JS to show/hide elements */
}

img {
  max-width: 100%;
  display: block;
}

/* =============================================
   LOGIN PAGE
   Full-screen welcome screen with floating blobs
============================================= */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 40%, #ede9fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

/* Decorative animated blobs in background */
.login-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f9a8d4, #fce7f3);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.blob2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #c4b5fd, #ede9fe);
  bottom: -50px; right: -50px;
  animation-delay: 2s;
}

.blob3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #fdba74, #fed7aa);
  top: 50%; left: 60%;
  animation-delay: 4s;
}

/* Blob float animation keyframe */
@keyframes blobFloat {
  0%   { transform: translate(0px, 0px) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.05); }
}

/* The white login card in the center */
.login-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  animation: cardSlideUp 0.6s ease both;
}

/* Card entrance animation */
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Brand logo in login card */
.login-logo {
  margin-bottom: 1.5rem;
}

.logo-flower {
  font-size: 2.5rem;
  color: var(--pink);
  display: block;
  margin-bottom: 0.5rem;
  animation: petalSpin 4s linear infinite;
}

/* Gentle rotation on flower logo */
@keyframes petalSpin {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(10deg); }
  75%  { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.login-logo h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.login-tagline {
  font-size: 0.85rem;
  color: var(--pink);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.login-welcome {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Input group with floating feel */
.input-group {
  margin-bottom: 1rem;
}

.login-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--blush);
  border-radius: var(--radius-md);
  background: var(--pink-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.login-input:focus {
  border-color: var(--pink);
  background: white;
  box-shadow: 0 0 0 4px rgba(244,114,182,0.12);
}

.login-input::placeholder {
  color: var(--text-light);
}

/* Primary login button */
.btn-login {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236,72,153,0.35);
}

.btn-login:active {
  transform: translateY(0);
}

/* Ghost skip button */
.btn-skip {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  color: var(--text-mid);
  border: 2px solid var(--blush);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-skip:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-soft);
}


/* =============================================
   MAIN APP WRAPPER
============================================= */
.main-app {
  min-height: 100vh;
}


/* =============================================
   NAVIGATION BAR
============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249,168,212,0.2);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(244,114,182,0.08);
}

/* Brand name + icon left side */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-flower {
  font-size: 1.8rem;
  color: var(--pink);
}

.nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  line-height: 1;
}

.nav-subtitle {
  font-size: 0.7rem;
  color: var(--pink);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Right side: greeting, cart, admin */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-greeting {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-style: italic;
}

/* Cart button with badge */
.cart-btn {
  position: relative;
  background: var(--pink-soft);
  border: 2px solid var(--blush);
  color: var(--pink-deep);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  transform: scale(1.05);
}

/* Red circle badge showing item count */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--pink-deep);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Admin gear button */
.admin-btn {
  background: transparent;
  border: 2px solid var(--blush);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.admin-btn:hover {
  border-color: var(--text-mid);
  color: var(--text-mid);
  transform: rotate(60deg);
}


/* =============================================
   HERO SECTION
   Large split-layout intro section
============================================= */
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 5%;
  background: linear-gradient(160deg, var(--pink-soft) 0%, var(--cream) 60%);
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,168,212,0.2), transparent 70%);
  border-radius: 50%;
}

/* Text side */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

/* Italic, pink style for "speak your heart" */
.hero-title em {
  color: var(--pink-deep);
  font-style: italic;
}

.hero-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 420px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* CTA button */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(236,72,153,0.3);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(236,72,153,0.4);
}

/* Hero image visual — floating cards */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-img-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-img-card:hover {
  transform: translateY(-8px);
}

.main-card {
  width: 320px;
  height: 400px;
  top: 0; right: 60px;
  animation: heroFloat 6s ease-in-out infinite;
}

.main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* "Bestseller" tag on hero image */
.card-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink-deep);
}

.side-card {
  width: 170px;
  height: 200px;
  bottom: 20px;
  right: 0;
  animation: heroFloat 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}


/* =============================================
   FEATURES STRIP
   Small bar showing key selling points
============================================= */
.features-strip {
  background: white;
  border-top: 1px solid rgba(249,168,212,0.2);
  border-bottom: 1px solid rgba(249,168,212,0.2);
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 2.5rem;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  border-right: 1px solid var(--blush);
  transition: var(--transition);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item i {
  color: var(--pink);
  font-size: 1rem;
}

.feature-item:hover {
  color: var(--pink-deep);
}


/* =============================================
   SECTION HEADER (reusable)
   Centered heading + subtext for sections
============================================= */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-mid);
  font-size: 1rem;
}


/* =============================================
   PRODUCT CATALOG
============================================= */
.catalog {
  padding: 5rem 5%;
  background: var(--cream);
}

/* Responsive 4-column grid → becomes 2 on tablet → 1 on mobile */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

/* Individual product card */
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(249,168,212,0.15);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Product image wrapper */
.product-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.07); /* Zoom on hover */
}

/* Badge (e.g. "Popular") shown over image */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Ready in X days badge */
.product-days {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: var(--text-mid);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Product info below image */
.product-info {
  padding: 1.25rem;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

/* Price + Customize button row */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink-deep);
}

.product-price span {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Customize button on each card */
.btn-customize {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: white;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-customize:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(236,72,153,0.35);
}


/* =============================================
   HOW IT WORKS SECTION
============================================= */
.how-it-works {
  padding: 5rem 5%;
  background: linear-gradient(160deg, white 0%, var(--pink-soft) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(249,168,212,0.15);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Large step number in background */
.step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--blush);
  line-height: 1;
}

.step-icon {
  font-size: 1.8rem;
  color: var(--pink);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}


/* =============================================
   ADMIN PANEL
============================================= */
.admin-panel {
  padding: 4rem 5%;
  background: #fffbf5;
  border-top: 2px dashed var(--blush);
}

.admin-orders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Each order row in admin */
.admin-order-card {
  background: white;
  border: 1px solid var(--blush);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-info p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.order-info strong {
  color: var(--text-dark);
}

/* Status update buttons group */
.status-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 2px solid var(--blush);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
}

/* Active state for status buttons */
.status-btn.active-pending   { background: #fef3c7; border-color: #f59e0b; color: #92400e; }
.status-btn.active-preparing { background: #dbeafe; border-color: #3b82f6; color: #1e40af; }
.status-btn.active-delivery  { background: #ede9fe; border-color: #8b5cf6; color: #5b21b6; }
.status-btn.active-delivered { background: #dcfce7; border-color: #22c55e; color: #166534; }

.status-btn:hover {
  transform: scale(1.03);
}

/* Current status tag */
.order-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: var(--pink-light);
  color: var(--pink-deep);
}

.no-orders-msg {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  font-style: italic;
}


/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3.5rem 5% 1rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-flower {
  font-size: 2rem;
  color: var(--pink);
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: white;
  margin: 0.25rem 0;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-links p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}

.footer-social p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons i {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.social-icons i:hover {
  color: var(--pink);
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}


/* =============================================
   MODAL OVERLAY & BOX
   Dark overlay behind modal windows
============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* The white modal box itself */
.modal-box {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  animation: modalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  scrollbar-width: thin;
  scrollbar-color: var(--blush) transparent;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal title bar */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blush);
}

.modal-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
}

/* Close (✕) button in modal */
.modal-close {
  background: var(--pink-soft);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--pink);
  color: white;
}


/* =============================================
   CUSTOMIZE MODAL SPECIFIC STYLES
============================================= */
/* Product thumbnail at top of customize modal */
.modal-product-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--pink-soft);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.modal-product-preview img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.modal-prod-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.modal-prod-price {
  font-size: 1rem;
  color: var(--pink-deep);
  font-weight: 700;
}

/* Each customization row */
.customize-section {
  margin-bottom: 1.5rem;
}

.custom-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.custom-label i {
  color: var(--pink);
}

/* Color chip buttons */
.color-options {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.color-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  border: 2px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: #1e1b2e;
}

.color-chip.active {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(236,72,153,0.2);
}

/* Bouquet type chips */
.type-options, .lights-options {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.type-chip, .lights-chip {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--blush);
  background: white;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
}

.type-chip.active, .lights-chip.active {
  border-color: var(--pink-deep);
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 600;
}

.type-chip:hover, .lights-chip:hover {
  border-color: var(--pink);
}

/* Message textarea */
.message-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--blush);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  resize: none;
  transition: var(--transition);
  background: var(--pink-soft);
}

.message-input:focus {
  border-color: var(--pink);
  background: white;
  box-shadow: 0 0 0 4px rgba(244,114,182,0.1);
}

/* Character counter below textarea */
.char-count {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

/* Add to cart button at bottom of modal */
.btn-add-cart {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236,72,153,0.35);
}


/* =============================================
   CART MODAL SPECIFIC STYLES
============================================= */
.cart-box {
  max-width: 560px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Individual item row in cart */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--pink-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(249,168,212,0.25);
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.cart-item-details {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
}

.cart-item-price {
  font-weight: 700;
  color: var(--pink-deep);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Remove item from cart button */
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.3rem;
  border-radius: 50%;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Divider line between items and order form */
.cart-divider {
  height: 1px;
  background: var(--blush);
  margin: 1.25rem 0;
}

.order-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

/* Generic form group (label + input) */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label small {
  text-transform: none;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--blush);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  background: var(--pink-soft);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--pink);
  background: white;
  box-shadow: 0 0 0 3px rgba(244,114,182,0.1);
}

/* Payment radio button group */
.payment-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 2px solid var(--blush);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
  color: var(--text-mid);
}

.payment-radio:has(input:checked) {
  border-color: var(--pink-deep);
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 600;
}

.payment-radio input {
  accent-color: var(--pink-deep);
}

/* UPI mock section */
.upi-box {
  background: linear-gradient(135deg, #ede9fe, #f3e8ff);
  border: 2px solid #c4b5fd;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.upi-box p {
  font-size: 0.9rem;
  color: #5b21b6;
  margin-bottom: 0.4rem;
}

.upi-note {
  font-size: 0.78rem !important;
  color: #7c3aed !important;
}

/* QR code placeholder box */
.qr-placeholder {
  width: 100px;
  height: 100px;
  background: white;
  border: 2px dashed #c4b5fd;
  border-radius: var(--radius-sm);
  margin: 0.75rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #7c3aed;
  font-size: 0.7rem;
}

.qr-placeholder i {
  font-size: 2rem;
}

/* Total price row */
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--pink-soft);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--blush);
}

.cart-total span {
  font-weight: 600;
  color: var(--text-dark);
}

.total-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem !important;
  color: var(--pink-deep) !important;
}

/* Final place order button */
.btn-place-order {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-place-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}

/* Empty cart message */
.empty-cart {
  text-align: center;
  padding: 2rem;
  color: var(--text-mid);
}

.empty-cart p {
  margin-top: 0.75rem;
  font-size: 1rem;
}


/* =============================================
   SUCCESS MODAL
============================================= */
.success-box {
  text-align: center;
  max-width: 400px;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: successBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes successBounce {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

#successMessage {
  color: var(--pink-deep);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.success-sub {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}


/* =============================================
   FLOATING WHATSAPP BUTTON
============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}

/* Pulsing animation to draw attention */
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
}

/* Tooltip that appears on hover */
.wa-tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--text-dark);
  color: white;
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}


/* =============================================
   TOAST NOTIFICATION
   Slides up from bottom with a message
============================================= */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-dark);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-success #toastIcon { color: #34d399; }
.toast.toast-error   #toastIcon { color: #f87171; }
.toast.toast-info    #toastIcon { color: var(--pink); }


/* =============================================
   RESPONSIVE DESIGN
   Adjustments for tablet and mobile screens
============================================= */

/* Tablet (max 900px) */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 5%;
    min-height: auto;
    gap: 2rem;
  }

  .hero-desc {
    margin: 0 auto 2rem;
  }

  .hero-visual {
    height: 300px;
  }

  .main-card {
    width: 220px;
    height: 280px;
    right: 50%;
    transform: translateX(50%);
  }

  .side-card {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
  .navbar {
    padding: 0.875rem 1rem;
  }

  .nav-greeting {
    display: none; /* Hide greeting on tiny screens */
  }

  .features-strip {
    gap: 0;
  }

  .feature-item {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    border-right: none;
    border-bottom: 1px solid var(--blush);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}