/* =====================
   BLOOM ATELIER – STYLES
   ===================== */

:root {
  --cream: #fdf8f3;
  --blush: #f5e6e0;
  --rose: #e8b4b0;
  --dusty-rose: #c9847c;
  --sage: #a8b89a;
  --sage-dark: #7a9068;
  --charcoal: #2c2c2c;
  --dark-text: var(--charcoal);
  --mid-gray: #6b6b6b;
  --light-gray: #e8e8e8;
  --white: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.13);
  --radius: 16px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  border-bottom: 1px solid rgba(232, 180, 176, 0.3);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow); }

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--dusty-rose);
  transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--charcoal);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.cart-icon { font-size: 1rem !important; position: relative; }
.cart-count {
  background: var(--dusty-rose);
  color: white;
  font-size: 0.65rem;
  border-radius: 50%;
  padding: 1px 5px;
  margin-left: 2px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  gap: 4rem;
  background: linear-gradient(135deg, var(--cream) 60%, var(--blush) 100%);
}

.hero-text {
  flex: 1;
  animation: fadeInUp 0.9s ease both;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.4rem 1rem;
  background: var(--blush);
  border-radius: 50px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.hero-text h1 em {
  font-style: italic;
  color: var(--dusty-rose);
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeIn 1.2s ease both;
}

.hero-img-placeholder {
  width: clamp(280px, 40vw, 480px);
  height: clamp(350px, 55vw, 600px);
  background: linear-gradient(145deg, var(--blush), var(--rose));
  border-radius: 200px 200px 160px 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
}

.hero-img-inner {
  text-align: center;
  color: white;
}

.hero-img-inner span {
  font-size: 4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-img-inner p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: white;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 1rem;
  background: white;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  letter-spacing: 0.05em;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-block;
  background: var(--charcoal);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--dusty-rose);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 132, 124, 0.35);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: white;
  transform: translateY(-2px);
}

/* ===================== MARQUEE ===================== */
.marquee-wrap {
  background: var(--charcoal);
  color: white;
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  display: inline-block;
  animation: marquee 25s linear infinite;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 6rem 5%;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
}

.section-header p {
  color: var(--mid-gray);
  font-size: 0.95rem;
}

.view-all {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dusty-rose);
  transition: gap var(--transition);
}

.view-all:hover { text-decoration: underline; }

/* ===================== CATEGORIES ===================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.category-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform var(--transition);
}

.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.cat-1 { background: linear-gradient(145deg, #f5c6c0, #e8a09a); }
.cat-2 { background: linear-gradient(145deg, #b8d4b0, #8fad86); }
.cat-3 { background: linear-gradient(145deg, #d4c5e2, #b09bc8); }
.cat-4 { background: linear-gradient(145deg, #f5e0b0, #e8c87a); }

.cat-overlay {
  padding: 1.5rem;
  color: white;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.35));
}

.cat-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}

.cat-overlay span { font-size: 0.8rem; opacity: 0.85; }

/* ===================== PRODUCTS ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.img-p1 { background: linear-gradient(145deg, #fce4e1, #f5c6c0); }
.img-p2 { background: linear-gradient(145deg, #d4e8d0, #b8d4b0); }
.img-p3 { background: linear-gradient(145deg, #fce8f0, #f5c6d8); }
.img-p4 { background: linear-gradient(145deg, #fce0e8, #f5b0c0); }

.product-img-inner { font-size: 3.5rem; }

.quick-add {
  position: absolute;
  bottom: -50px;
  left: calc(50% - 28px);
  transform: translateX(-50%);
  background: var(--charcoal);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.quick-wishlist {
  position: absolute;
  bottom: -50px;
  left: calc(50% + 68px);
  transform: translateX(-50%);
  background: var(--charcoal);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.quick-wishlist:hover {
  background: var(--dusty-rose);
}

.product-card:hover .quick-add { bottom: 1rem; }
.product-card:hover .quick-wishlist { bottom: 1rem; }

.product-info { padding: 1.2rem; }
.product-info h4 { font-weight: 500; margin-bottom: 0.2rem; }
.product-cat { font-size: 0.8rem; color: var(--mid-gray); margin-bottom: 0.4rem; }
.product-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--dusty-rose); }

/* ===================== WISHLIST PAGE ===================== */
.wishlist-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
}

.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
}

.wishlist-empty-icon {
  font-size: 5rem;
  color: var(--dusty-rose);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.wishlist-empty h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.wishlist-empty p {
  color: var(--mid-gray);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.quick-wishlist.wishlisted {
  background: var(--dusty-rose) !important;
} 


/* ===================== ABOUT STRIP ===================== */
.about-strip {
  background: var(--blush);
  padding: 6rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-strip-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.about-strip-content h2 em { font-style: italic; color: var(--dusty-rose); }
.about-strip-content p { color: var(--mid-gray); margin-bottom: 2rem; max-width: 400px; }

.about-strip-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: white;
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 1.8rem; }
.feature h4 { font-weight: 600; margin-bottom: 0.2rem; }
.feature p { font-size: 0.85rem; color: var(--mid-gray); }

/* ===================== BLOG PREVIEW ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.blog-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 1rem;
}

.blog-img-1 { background: linear-gradient(145deg, #fce4e1, #f5b0a8); }
.blog-img-2 { background: linear-gradient(145deg, #d4e8d0, #a8c8a0); }
.blog-img-3 { background: linear-gradient(145deg, #e8e0f0, #c8b8e0); }

.blog-cat-tag {
  background: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  color: var(--charcoal);
}

.blog-info { padding: 1.4rem; }
.blog-info h4 { font-weight: 500; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-info p { font-size: 0.85rem; color: var(--mid-gray); margin-bottom: 0.8rem; }
.blog-date { font-size: 0.75rem; color: var(--dusty-rose); }

/* ===================== REVIEWS STRIP ===================== */
.reviews-strip {
  background: var(--charcoal);
  color: white;
  padding: 6rem 5%;
  text-align: center;
}

.reviews-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 3rem;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.review-item {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.stars { color: #f0c070; font-size: 1.1rem; margin-bottom: 1rem; }
.review-item p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.85); margin-bottom: 1rem; font-style: italic; }
.review-item span { font-size: 0.8rem; color: var(--rose); font-weight: 500; }

/* ===================== NEWSLETTER ===================== */
.newsletter {
  background: linear-gradient(135deg, var(--blush), var(--cream));
  padding: 6rem 5%;
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.newsletter p { color: var(--mid-gray); margin-bottom: 2rem; }

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.4rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: white;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus { border-color: var(--dusty-rose); }

.newsletter-form button {
  background: var(--charcoal);
  color: white;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover { background: var(--dusty-rose); }
.newsletter-note { font-size: 0.78rem; color: var(--mid-gray); margin-top: 1rem; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 5rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; }

.footer-links h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.2rem;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links ul li a { font-size: 0.88rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--rose); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  text-align: center;
}

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--charcoal);
  color: white;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ===================== SHOP PAGE ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--blush), var(--cream));
  padding: 10rem 5% 5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
}

.page-hero p { color: var(--mid-gray); margin-top: 0.8rem; font-size: 1rem; }

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  padding: 4rem 5%;
}

.filters h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.filter-group { margin-bottom: 2rem; }
.filter-group h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.8rem; }

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  cursor: pointer;
  color: var(--mid-gray);
  transition: color var(--transition);
}

.filter-group label:hover { color: var(--charcoal); }
.filter-group input[type="checkbox"] { accent-color: var(--dusty-rose); }

.shop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.shop-top p { color: var(--mid-gray); font-size: 0.9rem; }

.sort-select {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: white;
  cursor: pointer;
  outline: none;
}

/* ===================== ABOUT PAGE ===================== */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 10rem 5% 6rem;
  background: linear-gradient(135deg, var(--blush) 40%, var(--cream) 100%);
}

.about-hero-content { max-width: 650px; }
.about-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.about-hero-content h1 em { font-style: italic; color: var(--dusty-rose); }
.about-hero-content p { font-size: 1.05rem; color: var(--mid-gray); line-height: 1.8; }

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 6rem 5%;
  align-items: center;
}

.story-img {
  height: 480px;
  background: linear-gradient(145deg, var(--blush), var(--rose));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.story-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.story-text p { color: var(--mid-gray); margin-bottom: 1.2rem; line-height: 1.8; }

.team-section {
  background: var(--blush);
  padding: 6rem 5%;
  text-align: center;
}

.team-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.team-section > p { color: var(--mid-gray); margin-bottom: 3rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av1 { background: linear-gradient(145deg, #fce4e1, #f5c6c0); }
.av2 { background: linear-gradient(145deg, #d4e8d0, #b8d4b0); }
.av3 { background: linear-gradient(145deg, #e8e0f0, #c8b8e0); }

.team-card h4 { font-weight: 600; margin-bottom: 0.2rem; }
.team-card .role { font-size: 0.82rem; color: var(--dusty-rose); font-weight: 500; margin-bottom: 0.8rem; }
.team-card p { font-size: 0.85rem; color: var(--mid-gray); }

.values-section {
  padding: 6rem 5%;
}

.values-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 3rem;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  padding: 2.5rem;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--rose);
}

.value-card .v-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.88rem; color: var(--mid-gray); line-height: 1.7; }

/* ===================== BLOG PAGE ===================== */
.blog-listing {
  padding: 4rem 5%;
}

.blog-main-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 3rem;
  transition: all var(--transition);
}

.blog-main-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.blog-main-img {
  height: 360px;
  background: linear-gradient(145deg, var(--blush), var(--rose));
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
}

.blog-main-info { padding: 3rem; }
.blog-main-info .blog-cat-tag {
  background: var(--blush);
  color: var(--dusty-rose);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

.blog-main-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-main-info p { color: var(--mid-gray); margin-bottom: 1.5rem; }
.blog-main-info .blog-date { font-size: 0.78rem; color: var(--dusty-rose); }

.blog-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ===================== REVIEWS PAGE ===================== */
.reviews-listing {
  padding: 4rem 5%;
}

.reviews-summary {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  background: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.rating-big {
  text-align: center;
  border-right: 1px solid var(--light-gray);
  padding-right: 3rem;
}

.rating-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}

.rating-stars { font-size: 1.8rem; color: #f0c070; margin: 0.5rem 0; }
.rating-count { font-size: 0.85rem; color: var(--mid-gray); }

.rating-bars { display: flex; flex-direction: column; gap: 0.6rem; justify-content: center; }
.rating-bar { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; }
.bar-track { flex: 1; height: 8px; background: var(--light-gray); border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; background: #f0c070; border-radius: 10px; }

.review-write {
  background: linear-gradient(135deg, var(--blush), var(--cream));
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.review-write h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.review-form { display: flex; flex-direction: column; gap: 1rem; }

.review-form input,
.review-form textarea,
.review-form select {
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: white;
  outline: none;
  transition: border-color var(--transition);
}

.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus { border-color: var(--dusty-rose); }

.review-form textarea { min-height: 120px; resize: vertical; }

.star-input { display: flex; gap: 0.4rem; font-size: 1.8rem; cursor: pointer; }
.star-input span { color: var(--light-gray); transition: color var(--transition); }
.star-input span.active, .star-input span:hover { color: #f0c070; }

.reviews-list { display: flex; flex-direction: column; gap: 1.2rem; }

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}

.reviewer-info > div:not(.reviewer-avatar) {
  min-width: 0;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.95rem;
  overflow-wrap: break-word;
}

.review-meta {
  font-size: 0.78rem;
  color: var(--mid-gray);
  overflow-wrap: break-word;
}

.review-card .stars {
  font-size: 0.95rem;
  color: #f0c070;
  flex-shrink: 0;
  white-space: nowrap;
}

.review-card p {
  color: var(--mid-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.verified { font-size: 0.72rem; color: var(--sage-dark); font-weight: 500; margin-top: 0.6rem; }

/* ===================== CART PAGE ===================== */
.cart-section {
  padding: 10rem 5% 6rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  min-height: 80vh;
}

.cart-items h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  align-items: center;
}

.cart-item-img {
  width: 80px; height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.cart-item-details { flex: 1; }
.cart-item-details h4 { font-weight: 500; margin-bottom: 0.2rem; }
.cart-item-details p { font-size: 0.85rem; color: var(--mid-gray); }
.cart-item-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--dusty-rose); }
.remove-btn { background: none; border: none; color: var(--mid-gray); cursor: pointer; font-size: 1.2rem; }
.remove-btn:hover { color: var(--dusty-rose); }

.cart-summary {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.summary-line.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid var(--light-gray);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

.checkout-btn {
  display: block;
  width: 100%;
  background: var(--charcoal);
  color: white;
  border: none;
  padding: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background var(--transition);
}

.checkout-btn:hover { background: var(--dusty-rose); }

.empty-cart {
  text-align: center;
  padding: 4rem;
  color: var(--mid-gray);
}

a.wishlist-icon {
  font-size: 19px;
  line-height: 1;
  display: inline-block;
  color: var(--dusty-rose);
  transition: transform 0.2s ease; 
}

a.wishlist-icon:hover {
  transform: scale(1.2);
}


.empty-cart p { font-size: 3rem; margin-bottom: 1rem; }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .blog-main-card { grid-template-columns: 1fr; }
  .blog-main-img { height: 240px; }
  .reviews-summary { grid-template-columns: 1fr; }
  .rating-big { border-right: none; border-bottom: 1px solid var(--light-gray); padding-right: 0; padding-bottom: 2rem; }
  .cart-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { flex-direction: column; padding-top: 7rem; text-align: center; }
  .hero-buttons { justify-content: center; }
  .about-strip { grid-template-columns: 1fr; gap: 3rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-carousel { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .blog-sub-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.user-greeting {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dusty-rose);
    letter-spacing: 0.03em;
}

.auth-error {
    background: #fce4e1;
    color: #c0392b;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    border: 1px solid #f5c6c0;
}

.blog-post-page {
  max-width: 760px;
  margin: 2rem auto 4rem;
  padding: 2rem 1.5rem 0;
  padding-top: 80px;
}

.blog-post-content h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.blog-post-meta {
  margin-bottom: 0.5rem;
}

.blog-post-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--dusty-rose);
}

.blog-post-body p {
  line-height: 1.8;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-hero {
  background-color: var(--blush, #f9f0eb);
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.contact-hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--charcoal, #2d2d2d);
  margin-bottom: 1rem;
}

.contact-hero-content p {
  color: var(--muted, #777);
  font-size: 1.1rem;
}

.contact-section {
  padding: 4rem 2rem;
  background: #fff;
}

.contact-container {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--charcoal, #2d2d2d);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--charcoal, #2d2d2d);
}

.contact-alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-success {
  background: #e6f4ea;
  color: #2e7d32;
}

.contact-error {
  background: #fdecea;
  color: #c62828;
}

@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.field-error {
    color: #c62828;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* ===================== CHECKOUT PAGE ===================== */
.checkout-page {
  padding: 9rem 5% 6rem;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-left h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.checkout-section {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.checkout-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--light-gray);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.field-group input,
.field-group select {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
  color: var(--charcoal);
}

.field-group input:focus,
.field-group select:focus {
  border-color: var(--dusty-rose);
  box-shadow: 0 0 0 3px rgba(201,132,124,0.1);
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem;
  border: 2px solid var(--light-gray);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid-gray);
}

.payment-method-btn .pm-icon { font-size: 1.8rem; }

.payment-method-btn:hover,
.payment-method-btn.active {
  border-color: var(--dusty-rose);
  color: var(--charcoal);
}

.payment-method-btn.active {
  background: rgba(245,230,224,0.3);
  box-shadow: 0 0 0 3px rgba(201,132,124,0.12);
}

.paynow-panel { display: none; text-align: center; padding: 1.5rem 0 0.5rem; animation: fadeInUp 0.4s ease both; }
.paynow-panel.show { display: block; }

.qr-wrapper {
  display: inline-block;
  padding: 1.2rem;
  border: 2px solid var(--light-gray);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.paynow-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dusty-rose);
  margin: 0.8rem 0;
}

.paynow-instructions { font-size: 0.85rem; color: var(--mid-gray); line-height: 1.7; max-width: 320px; margin: 0 auto; }
.paynow-instructions strong { color: var(--charcoal); display: block; margin-bottom: 0.3rem; font-size: 0.95rem; }

.paynow-note {
  font-size: 0.75rem;
  color: var(--mid-gray);
  background: var(--blush);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.card-panel { display: none; animation: fadeInUp 0.4s ease both; }
.card-panel.show { display: block; }

.card-preview {
  background: linear-gradient(135deg, var(--charcoal) 0%, #4a4a4a 100%);
  border-radius: 16px;
  padding: 1.8rem;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 160px;
}

.card-preview::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -60px; right: -60px;
}

.card-chip {
  width: 36px; height: 28px;
  background: linear-gradient(145deg, #d4a843, #f0c060);
  border-radius: 6px;
  margin-bottom: 1.2rem;
}

.card-number-preview {
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
  font-family: 'Courier New', monospace;
  opacity: 0.9;
}

.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.card-label { font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.6; text-transform: uppercase; margin-bottom: 0.2rem; }
.card-value { font-size: 0.85rem; letter-spacing: 0.05em; }
.card-brand { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; opacity: 0.8; }

.order-summary {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.order-summary h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--light-gray);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(232,232,232,0.5);
  font-size: 0.88rem;
}

.summary-item-qty { color: var(--mid-gray); font-size: 0.8rem; margin: 0 0.8rem; }
.summary-item-price { font-weight: 500; color: var(--dusty-rose); }

.place-order-btn {
  width: 100%;
  background: var(--charcoal);
  color: white;
  border: none;
  padding: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all var(--transition);
}

.place-order-btn:hover { background: var(--dusty-rose); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,132,124,0.35); }
.place-order-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.secure-note { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.75rem; color: var(--mid-gray); margin-top: 1rem; }

.processing-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(253,248,243,0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.processing-overlay.show { display: flex; }

.processing-spinner {
  width: 56px; height: 56px;
  border: 3px solid var(--light-gray);
  border-top-color: var(--dusty-rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.processing-overlay h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; }
.processing-overlay p { font-size: 0.9rem; color: var(--mid-gray); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== TRACK ORDER PAGE ===================== */
.track-page {
  padding: 9rem 5% 6rem;
  max-width: 860px;
  margin: 0 auto;
  min-height: 100vh;
}

.track-header { text-align: center; margin-bottom: 3rem; animation: fadeInUp 0.6s ease both; }
.track-header .success-icon { font-size: 3.5rem; display: block; margin-bottom: 1rem; }

.track-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.track-header p { color: var(--mid-gray); font-size: 0.95rem; }

.order-id-tag {
  display: inline-block;
  background: var(--blush);
  color: var(--dusty-rose);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-top: 0.8rem;
}

.track-card,
.order-items-card,
.delivery-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.track-card h3,
.order-items-card h3,
.delivery-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--light-gray);
}

.progress-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.progress-track::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 3px;
  background: var(--light-gray);
  z-index: 0;
}

.progress-fill {
  position: absolute;
  top: 20px; left: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--dusty-rose), var(--rose));
  z-index: 1;
  transition: width 1.2s ease;
}

.track-step { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; position: relative; z-index: 2; flex: 1; }

.step-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--light-gray);
  transition: all 0.5s ease;
}

.step-dot.done { background: var(--dusty-rose); box-shadow: 0 0 0 2px var(--dusty-rose); }
.step-dot.active { background: white; box-shadow: 0 0 0 3px var(--dusty-rose); animation: pulse 1.5s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--dusty-rose); }
  50% { box-shadow: 0 0 0 6px rgba(201,132,124,0.25); }
}

.step-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; text-align: center; color: var(--mid-gray); max-width: 70px; line-height: 1.4; }
.step-label.active-label { color: var(--dusty-rose); font-weight: 600; }

.eta-banner {
  background: linear-gradient(135deg, var(--blush), rgba(245,230,224,0.5));
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.eta-icon { font-size: 2.5rem; flex-shrink: 0; }
.eta-text h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.2rem; }
.eta-date { font-size: 1rem; font-weight: 600; color: var(--dusty-rose); }
.eta-text p { font-size: 0.82rem; color: var(--mid-gray); margin-top: 0.2rem; }

.ordered-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(232,232,232,0.6);
}

.ordered-item:last-child { border-bottom: none; }

.ordered-item-img {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--blush), var(--rose));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ordered-item-info { flex: 1; }
.ordered-item-info h4 { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.2rem; }
.ordered-item-info p { font-size: 0.8rem; color: var(--mid-gray); }
.ordered-item-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--dusty-rose); }

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  margin-top: 0.5rem;
  border-top: 1.5px solid var(--light-gray);
}

.order-total-row span:first-child { font-weight: 600; font-size: 0.95rem; }
.order-total-row span:last-child { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--dusty-rose); }

.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.delivery-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-gray);
  display: block;
  margin-bottom: 0.3rem;
}

.delivery-field p { font-size: 0.9rem; color: var(--charcoal); }

.track-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; animation: fadeInUp 0.6s ease 0.4s both; flex-wrap: wrap; }

.no-order { text-align: center; padding: 6rem 2rem; }
.no-order .no-icon { font-size: 4rem; display: block; margin-bottom: 1.5rem; }
.no-order h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 1rem; }
.no-order p { color: var(--mid-gray); margin-bottom: 2rem; }

@media (max-width: 1024px) {
  .checkout-page { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }
  .eta-banner { flex-direction: column; text-align: center; }
  .step-label { font-size: 0.65rem; max-width: 55px; }
}
/* ── Loyalty Nav Badge ── */
.loyalty-nav-badge {
  background: linear-gradient(135deg, #f5c6c0, #d4b0e8);
  color: var(--dark-text);
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-weight: 500;
  white-space: nowrap;
}

/* ── Loyalty Checkout Box ── */
.loyalty-redeem-box {
  background: linear-gradient(135deg, #fdf0f8, #f0ebf8);
  border: 1px solid #e8d0f0;
  border-radius: 12px;
  padding: 1rem 1.1rem 0.8rem;
  margin: 0.6rem 0;
}
.loyalty-redeem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
}
.loyalty-preset-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.loyalty-preset-btn {
  background: white;
  border: 1.5px solid #d8c0e8;
  border-radius: 99px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  color: var(--dark-text);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.loyalty-preset-btn:hover {
  border-color: #b890d8;
  background: #f8f0fc;
}
.loyalty-preset-btn.selected {
  background: #c9847c;
  border-color: #c9847c;
  color: white;
  font-weight: 600;
}

/* ── Nav Dropdown (Hi, name ▾) ── */
.nav-dropdown { position: relative; list-style: none; }

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { background: rgba(201,132,124,0.1); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border: 1px solid #f0e6e4;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 180px;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 999;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover { display: block; }

.nav-dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--dark-text);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-dropdown-menu li a:hover { background: #fdf5f4; }

.nav-dropdown-divider {
  height: 1px;
  background: #f0e6e4;
  margin: 0.4rem 0;
}

/* ── Nav Dropdown ── */
.nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover {
  background: rgba(201, 132, 124, 0.1);
  color: var(--charcoal);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: white;
  border: 1px solid #f0e6e4;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  min-width: 180px;
  padding: 0.4rem 0;
  list-style: none;
  z-index: 1100;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  color: var(--dark-text);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: #fdf5f3;
}

.nav-dropdown-divider {
  height: 1px;
  background: #f0e6e4;
  margin: 0.3rem 0;
}
/* ── Wallet Checkout Box ── */
.wallet-checkout-box {
  background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
  border: 1px solid #c8dff0;
  border-radius: 12px;
  padding: 1rem 1.1rem 0.8rem;
  margin: 0.6rem 0;
}
.wallet-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.wallet-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.wallet-toggle-switch input { opacity: 0; width: 0; height: 0; }
.wallet-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #ccc; border-radius: 24px;
  transition: background 0.2s;
}
.wallet-slider:before {
  content: ''; position: absolute;
  height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: white; border-radius: 50%;
  transition: transform 0.2s;
}
.wallet-toggle-switch input:checked + .wallet-slider { background: #5a9a6a; }
.wallet-toggle-switch input:checked + .wallet-slider:before { transform: translateX(20px); }

/* ===================== ADMIN PORTAL STYLES ===================== */
.admin-header { background: #fff; padding: 20px 40px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.admin-container { display: flex; min-height: calc(100vh - 81px); }
.admin-sidebar { width: 250px; background: #fff; border-right: 1px solid #eee; padding: 20px 0; }
.admin-sidebar a { display: block; padding: 15px 30px; color: #333; text-decoration: none; border-left: 3px solid transparent; transition: all 0.3s ease; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #f5f5f5; border-left-color: #c9847c; font-weight: 600; color: #c9847c; }
.admin-main { flex: 1; padding: 40px; }
.admin-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.btn-logout { background: #333; color: white; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-family: inherit; }

.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.btn-add { background: #c9847c; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-add:hover { background: #b07068; }

/* Product Table Styles */
.product-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.product-table th, .product-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.product-table th { background: #fafafa; font-weight: 600; color: #666; }
.product-table tr:hover { background: #fcfcfc; }
.product-img-small { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; background: #eee; }

.actions { display: flex; gap: 10px; }
.btn-edit { color: #4a90e2; background: none; border: none; cursor: pointer; font-weight: 600; }
.btn-delete { color: #e74c3c; background: none; border: none; cursor: pointer; font-weight: 600; }

/* Modal Styles */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); overflow-y: auto; }
.modal-content { background: #fff; margin: 5% auto; padding: 30px; width: 50%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.close { font-size: 24px; cursor: pointer; color: #999; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #444; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }
.form-group textarea { height: 80px; resize: vertical; }
.checkbox-group { display: flex; align-items: center; gap: 10px; }
.checkbox-group input { width: auto; }

.modal-footer { margin-top: 30px; display: flex; justify-content: flex-end; gap: 15px; }
.btn-cancel { background: #eee; color: #333; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; }
.btn-save { background: #333; color: white; border: none; padding: 10px 30px; border-radius: 6px; cursor: pointer; }

.alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===================== DASHBOARD STYLES ===================== */

/* Stat cards */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: #fff; border-radius: 16px; padding: 1.5rem 1.75rem;
  border: 1px solid #ede4e0; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.stat-card.rose::before  { background: linear-gradient(90deg, #c9847c, #e8a09a); }
.stat-card.sage::before  { background: linear-gradient(90deg, #8aaa8a, #a8c8a8); }
.stat-card.lav::before   { background: linear-gradient(90deg, #9b8ab8, #b8a8d8); }
.stat-card.gold::before  { background: linear-gradient(90deg, #c2933a, #d4a84a); }
.stat-card.ink::before   { background: linear-gradient(90deg, #3d2b2b, #6a4e4e); }
.stat-card.teal::before  { background: linear-gradient(90deg, #5aabab, #7ec8c8); }
.stat-label { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #7a6868; margin-bottom: .5rem; }
.stat-value { font-size: 1.9rem; font-weight: 700; color: #3d2b2b; line-height: 1.1; }
.stat-icon  { position: absolute; right: 1.25rem; top: 1.25rem; font-size: 1.6rem; opacity: .2; }

/* Section rows */
.dash-row { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.dash-row.col-2 { grid-template-columns: 1fr 1fr; }
.dash-row.col-3 { grid-template-columns: 2fr 1fr; }
@media(max-width:860px) { .dash-row.col-2, .dash-row.col-3 { grid-template-columns: 1fr; } }

.panel { background: #fff; border-radius: 16px; border: 1px solid #ede4e0; padding: 1.5rem; overflow: hidden; }
.panel-title { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7a6868; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.panel-title span { font-size: 1rem; }

/* Bar chart */
.bar-chart { display: flex; align-items: flex-end; gap: .75rem; height: 130px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.bar-fill { width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #c9847c, #e8b0a8); transition: height .6s cubic-bezier(.4,0,.2,1); min-height: 4px; }
.bar-label { font-size: .65rem; color: #7a6868; text-align: center; white-space: nowrap; }
.bar-val { font-size: .65rem; font-weight: 600; color: #3d2b2b; }

/* Top products */
.rank-list { list-style: none; }
.rank-item { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid #ede4e0; }
.rank-item:last-child { border-bottom: none; }
.rank-num  { width: 22px; height: 22px; border-radius: 50%; background: #f5ece9; color: #a86960; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-name { flex: 1; font-size: .85rem; font-weight: 500; }
.rank-meta { font-size: .75rem; color: #7a6868; }
.rank-revenue { font-size: .85rem; font-weight: 600; color: #a86960; }

/* Categories */
.cat-list { display: flex; flex-direction: column; gap: .65rem; }
.cat-item  { display: flex; flex-direction: column; gap: .3rem; }
.cat-row   { display: flex; justify-content: space-between; font-size: .82rem; }
.cat-bar-bg { height: 6px; background: #f5ece9; border-radius: 99px; overflow: hidden; }
.cat-bar-fill { height: 100%; background: linear-gradient(90deg, #c9847c, #e8b0a8); border-radius: 99px; transition: width .7s; }

/* Recent orders table */
.orders-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.orders-table th { text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #7a6868; padding: 0 .75rem .75rem; }
.orders-table td { padding: .7rem .75rem; border-top: 1px solid #ede4e0; }
.badge { display: inline-block; font-size: .65rem; font-weight: 600; padding: .2rem .6rem; border-radius: 99px; text-transform: capitalize; }
.badge.completed { background: #d4edda; color: #2d6a4f; }
.badge.pending   { background: #fff3cd; color: #856404; }
.badge.preparing { background: #cce5ff; color: #004085; }

/* ===================== PROFILE PAGE ===================== */
.profile-page {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}
.profile-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) { .profile-grid { grid-template-columns: 1fr; } }

.profile-card {
  background: #fff;
  border: 1px solid #f0e6e4;
  border-radius: 16px;
  padding: 1.8rem;
}
.profile-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--dark-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f0e6e4;
}
.profile-field { margin-bottom: 0; }
.profile-field label { display:block; font-size:0.7rem; color:var(--mid-gray); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:0.15rem; }
.profile-field span { font-size:0.95rem; color:var(--dark-text); display:block; }
.profile-fields-list { display:flex; flex-direction:column; gap:0; }
.profile-field-row { display:flex; align-items:center; gap:1rem; padding:0.75rem 0; border-bottom:1px solid #f8f0ee; }
.profile-field-row:last-child { border-bottom:none; }
.profile-field-icon { font-size:1.1rem; width:1.5rem; text-align:center; flex-shrink:0; }
.profile-field-content { flex:1; min-width:0; }
.profile-field-content label { display:block; font-size:0.7rem; color:var(--mid-gray); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:0.1rem; }
.profile-field-content span { font-size:0.92rem; color:var(--dark-text); display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.profile-field-content span.empty { color:#ccc; font-style:italic; }
.edit-btn {
  display:inline-flex; align-items:center; gap:0.5rem;
  margin-top:1.4rem; padding:0.65rem 1.6rem;
  background: var(--dusty-rose, #c9847c); color:white;
  border-radius:99px; font-size:0.88rem; font-weight:500;
  text-decoration:none; transition:background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(201,132,124,0.35);
}
.edit-btn:hover { background:#b87068; transform:translateY(-1px); }
.quick-link-item {
  display:flex; align-items:center; gap:0.75rem;
  padding:0.7rem 0.9rem; border-radius:10px;
  text-decoration:none; font-size:0.9rem;
  color:var(--dark-text); transition:background 0.15s;
}
.quick-link-item:hover { background:#fdf5f3; }
.quick-link-item .ql-icon { font-size:1.1rem; width:1.5rem; text-align:center; }
.quick-link-item.logout { color:var(--mid-gray); }
.quick-link-divider { height:1px; background:#f5eeec; margin:0.3rem 0; }

/* Loyalty card */
.loyalty-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fce4e1, #e8d0f0);
  border: none;
}
.loyalty-top { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; margin-bottom:1.5rem; }
.tier-badge {
  display: flex; flex-direction:column; align-items:center; justify-content:center;
  width: 90px; height: 90px; border-radius: 50%;
  background: white; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.tier-badge .tier-emoji { font-size: 2rem; line-height:1; }
.tier-badge .tier-name { font-size: 0.72rem; color: var(--mid-gray); margin-top:0.2rem; letter-spacing:0.04em; }
.loyalty-stats h2 { font-family:var(--font-display); font-weight:400; font-size:2rem; color:var(--dark-text); margin:0 0 0.3rem; }
.loyalty-stats p { font-size:0.88rem; color:var(--mid-gray); margin:0; }

.tier-progress { margin-top: 0.5rem; }
.tier-progress-bar-wrap { background: rgba(255,255,255,0.6); border-radius: 99px; height: 10px; margin: 0.6rem 0 0.4rem; overflow:hidden; }
.tier-progress-bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #c9847c, #9b6bb5); transition: width 0.6s ease; }
.tier-progress-labels { display:flex; justify-content:space-between; font-size:0.78rem; color:var(--mid-gray); }

.tier-perks { margin-top: 1.2rem; display:flex; gap:0.8rem; flex-wrap:wrap; }
.perk-chip {
  background: white; border-radius: 99px; padding: 0.35rem 0.9rem;
  font-size: 0.82rem; color: var(--dark-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.perk-chip.locked { opacity: 0.45; }


.txn-table { width:100%; border-collapse:collapse; font-size:0.88rem; }
.txn-table th { text-align:left; padding:0.6rem 1rem; color:var(--mid-gray); font-weight:500; font-size:0.75rem; text-transform:uppercase; letter-spacing:0.06em; border-bottom:2px solid #f0e6e4; }
.txn-table td { padding:0.85rem 1rem; border-bottom:1px solid #faf5f4; color:var(--dark-text); vertical-align:middle; }
.txn-table tr:last-child td { border-bottom: none; }
.txn-table tr:hover td { background: #fdf8f7; }
.txn-date { font-size:0.82rem; color:var(--mid-gray); white-space:nowrap; }
.txn-order { font-size:0.78rem; color:var(--mid-gray); font-family:monospace; }
.txn-badge { display:inline-flex; align-items:center; padding:0.3rem 0.75rem; border-radius:99px; font-weight:700; font-size:0.88rem; white-space:nowrap; }
.txn-badge.earn   { background:#e8f5ec; color:#2e7d4f; }
.txn-badge.redeem { background:#fdecea; color:#c0392b; }
.txn-type-chip { display:inline-block; padding:0.2rem 0.6rem; border-radius:99px; font-size:0.72rem; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; }
.txn-type-chip.earn   { background:#e8f5ec; color:#2e7d4f; }
.txn-type-chip.redeem { background:#fdecea; color:#c0392b; }
.txn-empty { text-align:center; padding:3rem; color:var(--mid-gray); font-size:0.92rem; }

.edit-profile-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: var(--dusty-rose, #c9847c);
  color: white;
  border-radius: 99px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}
.edit-profile-btn:hover { background: #b87068; }

.delete-zone {
  margin-top: 2rem;
  border: 1.5px solid #f5c6cb;
  border-radius: 16px;
  padding: 1.8rem;
  background: #fff8f8;
}
.delete-zone h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: #c0392b;
  margin-bottom: 0.5rem;
}
.delete-zone p {
  font-size: 0.88rem;
  color: var(--mid-gray);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.btn-delete-account {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-delete-account:hover { background: #c0392b; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  animation: fadeInUp 0.3s ease both;
}
.modal-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: #c0392b;
  margin-bottom: 0.8rem;
}
.modal-box p {
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.modal-actions { display: flex; gap: 0.8rem; justify-content: flex-end; }
.btn-modal-cancel {
  padding: 0.7rem 1.4rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 50px;
  background: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--mid-gray);
  transition: all var(--transition);
}
.btn-modal-cancel:hover { border-color: var(--charcoal); color: var(--charcoal); }
.btn-modal-confirm {
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 50px;
  background: #dc3545;
  color: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-modal-confirm:hover { background: #c0392b; }

/* ===================== MEMBERSHIP PAGE ===================== */
.membership-page { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem 5rem; }

.wallet-hero {
  background: linear-gradient(135deg, #f5e6f0, #e8d5f5, #d5e8f5);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.wallet-hero-left h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--dark-text);
  margin: 0 0 0.3rem;
}
.wallet-hero-left p { font-size: 0.9rem; color: var(--mid-gray); margin: 0; }
.wallet-balance-display {
  background: white;
  border-radius: 16px;
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-width: 160px;
}
.wallet-balance-display .bal-label { font-size: 0.75rem; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.06em; }
.wallet-balance-display .bal-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--dark-text); line-height: 1.1; }
.wallet-balance-display .bal-currency { font-size: 1rem; color: var(--mid-gray); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--dark-text);
  margin-bottom: 1.2rem;
}

/* Package cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.package-card {
  background: white;
  border: 2px solid #f0e6e4;
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.package-card:hover { border-color: var(--dusty-rose); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(201,132,124,0.15); }
.package-card.popular { border-color: #c9847c; }
.popular-badge {
  position: absolute; top: 12px; right: -8px;
  background: #c9847c; color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.9rem 0.2rem 0.7rem;
  border-radius: 99px 0 0 99px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.package-emoji { font-size: 2rem; margin-bottom: 0.6rem; display: block; }
.package-name { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mid-gray); margin-bottom: 0.5rem; }
.package-pay { font-size: 1rem; color: var(--mid-gray); margin-bottom: 0.2rem; }
.package-get { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--dark-text); line-height: 1; margin-bottom: 0.3rem; }
.package-bonus { display: inline-block; background: #e8f5ec; color: #2e7d4f; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px; margin-bottom: 1rem; }
.package-btn {
  width: 100%;
  background: var(--dusty-rose, #c9847c);
  color: white;
  border: none;
  border-radius: 99px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.package-btn:hover { background: #b87068; }
.package-btn:disabled { background: #ccc; cursor: not-allowed; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 1000;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: white; border-radius: 20px;
  padding: 2rem; max-width: 460px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: popIn 0.25s ease; max-height: 90vh; overflow-y: auto;
}
@keyframes popIn { from { transform: scale(0.93); opacity:0; } to { transform: scale(1); opacity:1; } }
.modal-box h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 1.2rem; }
.modal-summary { background: #fdf5f3; border-radius: 12px; padding: 1rem; margin-bottom: 1.2rem; }
.modal-summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.3rem 0; }
.modal-summary-row.highlight { font-weight: 700; font-size: 1rem; color: var(--dark-text); border-top: 1px solid #f0e6e4; margin-top: 0.4rem; padding-top: 0.6rem; }
.modal-step { display: none; }
.modal-step.active { display: block; }
.modal-btns { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.modal-btns button { flex: 1; padding: 0.7rem; border-radius: 99px; border: none; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.modal-cancel { background: #f5f0ee; color: var(--mid-gray); }
.modal-cancel:hover { background: #ede8e6; }
.modal-next { background: #c9847c; color: white; }
.modal-next:hover { background: #b87068; }
.modal-confirm { background: #5a9a6a; color: white; }
.modal-confirm:hover { background: #4a8a5a; }
/* Payment method buttons — reuse checkout styles */
.m-payment-methods { display: flex; gap: 0.8rem; margin-bottom: 1rem; }
.m-pm-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem; border: 2px solid #f0e6e4; border-radius: 10px;
  background: white; cursor: pointer; font-size: 0.88rem; font-weight: 500;
  color: var(--dark-text); transition: border-color 0.2s;
}
.m-pm-btn.active { border-color: #c9847c; background: #fdf5f3; }
/* PayNow panel */
.m-paynow-panel, .m-card-panel { display: none; }
.m-paynow-panel.show, .m-card-panel.show { display: block; }
.m-qr-wrap { text-align: center; margin: 0.8rem 0; }
.m-paynow-amt { text-align:center; font-family: var(--font-display); font-size: 1.8rem; color: var(--dark-text); margin-bottom: 0.5rem; }
.m-paynow-note { font-size: 0.82rem; color: var(--mid-gray); text-align: center; background: #fdf5f3; border-radius: 8px; padding: 0.6rem; margin-top: 0.6rem; }
/* Card preview */
.m-card-preview {
  background: linear-gradient(135deg, #c9847c, #9b6bb5);
  border-radius: 14px; padding: 1.2rem 1.4rem;
  color: white; margin-bottom: 1rem; position: relative;
}
.m-card-chip { width: 32px; height: 24px; background: rgba(255,255,255,0.4); border-radius: 4px; margin-bottom: 0.8rem; }
.m-card-num { font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 0.8rem; font-family: monospace; }
.m-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.m-card-label { font-size: 0.6rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }
.m-card-value { font-size: 0.82rem; font-weight: 600; }
.m-card-brand { font-family: var(--font-display); font-size: 1rem; opacity: 0.9; }
.m-field { margin-bottom: 0.8rem; }
.m-field label { display: block; font-size: 0.78rem; color: var(--mid-gray); margin-bottom: 0.3rem; }
.m-field input {
  width: 100%; padding: 0.55rem 0.8rem; border: 1px solid #e8ddd8;
  border-radius: 8px; font-size: 0.9rem; box-sizing: border-box; outline: none;
  transition: border-color 0.2s;
}
.m-field input:focus { border-color: #c9847c; }
.m-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* Transaction history */
.wallet-history-card { background: white; border: 1px solid #f0e6e4; border-radius: 16px; padding: 1.8rem; }
.wallet-history-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--dark-text); margin-bottom: 1.2rem; padding-bottom: 0.6rem; border-bottom: 1px solid #f0e6e4; }
.wt-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.wt-table th { text-align: left; padding: 0.6rem 1rem; color: var(--mid-gray); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 2px solid #f0e6e4; }
.wt-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #faf5f4; vertical-align: middle; }
.wt-table tr:last-child td { border-bottom: none; }
.wt-table tr:hover td { background: #fdf8f7; }
.wt-badge { display: inline-flex; align-items: center; padding: 0.3rem 0.75rem; border-radius: 99px; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.wt-badge.topup { background: #e8f5ec; color: #2e7d4f; }
.wt-badge.spend { background: #fdecea; color: #c0392b; }
.wt-chip { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }
.wt-chip.topup { background: #e8f5ec; color: #2e7d4f; }
.wt-chip.spend { background: #fdecea; color: #c0392b; }
.wt-date { font-size: 0.82rem; color: var(--mid-gray); white-space: nowrap; }
.wt-empty { text-align: center; padding: 3rem; color: var(--mid-gray); }

/* ===================== EDIT PROFILE PAGE ===================== */
.edit-page {
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}
.edit-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}
.edit-page .subtitle {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.edit-card {
  background: white;
  border: 1px solid #f0e6e4;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.edit-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #f0e6e4;
}
.edit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .edit-row { grid-template-columns: 1fr; } }
.edit-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.edit-field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.edit-field input {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
  color: var(--charcoal);
}
.edit-field input:focus {
  border-color: var(--dusty-rose);
  box-shadow: 0 0 0 3px rgba(201,132,124,0.1);
}
.edit-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.btn-cancel-edit {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border: 1.5px solid var(--light-gray);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid-gray);
  cursor: pointer;
  background: white;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-cancel-edit:hover { border-color: var(--charcoal); color: var(--charcoal); }
.alert {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* ===================== BLOG MANAGEMENT ===================== */
.blog-content-preview {
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.color-swatch {
  display: inline-block;
  width: 40px;
  height: 20px;
  border-radius: 4px;
  vertical-align: middle;
}
#blogForm textarea {
  width: 100%;
  min-height: 200px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}




