html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Landing Page Styles */
.hero-section {
  min-height: 60vh;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.hover-zoom {
  transition: transform 0.3s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

.text-accent { 
  color: var(--accent) !important; 
}

.promo-section .carousel-item {
  background: linear-gradient(45deg, #fff3cd, #ffeaa7);
}

.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.navbar-scrolled {
  background-color: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px);
}

/* ============================================
   BLOOM FLOWER - MENU PAGE NEW STYLES
   ============================================ */

/* Fonts */
.font-playfair { font-family: 'Playfair Display', serif; }
.font-quicksand { font-family: 'Quicksand', sans-serif; }

/* Soft background override for menu page */
.bloom-bg {
  background: linear-gradient(135deg, #FFF5F7 0%, #FFEBF0 50%, #FFF0F3 100%);
  min-height: 100vh;
}

/* Hero Section */
.bloom-hero {
  position: relative;
  background: linear-gradient(135deg, #FAD0C4 0%, #FFD1DC 30%, #E8B4B8 70%, #D4A5A5 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
}



.bloom-hero-content {
  position: relative;
  z-index: 2;
}

/* Floating petals animation */
.petal {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.4);
  border-radius: 50% 0 50% 50%;
  animation: petalFall linear infinite;
  pointer-events: none;
}

.petal:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; transform: rotate(45deg); }
.petal:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; transform: rotate(120deg); width: 15px; height: 15px; }
.petal:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; transform: rotate(200deg); }
.petal:nth-child(4) { left: 60%; animation-duration: 14s; animation-delay: 1s; transform: rotate(80deg); width: 12px; height: 12px; }
.petal:nth-child(5) { left: 75%; animation-duration: 11s; animation-delay: 3s; transform: rotate(160deg); }
.petal:nth-child(6) { left: 90%; animation-duration: 13s; animation-delay: 5s; transform: rotate(30deg); width: 18px; height: 18px; }

@keyframes petalFall {
  0% { top: -10%; opacity: 0; transform: rotate(0deg) translateX(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 110%; opacity: 0; transform: rotate(360deg) translateX(50px); }
}

/* Category Pills */
.bloom-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid #E8B4B8;
  background: white;
  color: #8B6B6B;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.bloom-category-pill:hover {
  background: #FFF0F3;
  border-color: #D4A5A5;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 180, 184, 0.25);
}

.bloom-category-pill.active {
  background: linear-gradient(135deg, #E8B4B8, #D4A5A5);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(232, 180, 184, 0.4);
}

/* Product Card */
.bloom-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(232, 180, 184, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bloom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(212, 165, 165, 0.3);
  border-color: rgba(232, 180, 184, 0.4);
}

.bloom-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.bloom-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bloom-card:hover .bloom-card-img-wrap img {
  transform: scale(1.08);
}

.bloom-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(90, 74, 74, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.bloom-card:hover .bloom-card-overlay {
  opacity: 1;
}

.bloom-card-actions {
  display: flex;
  gap: 0.75rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bloom-card:hover .bloom-card-actions {
  transform: translateY(0);
}

.bloom-btn-sm {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bloom-btn-primary {
  background: white;
  color: #5A4A4A;
}

.bloom-btn-primary:hover {
  background: #FFF5F7;
  transform: scale(1.05);
}

.bloom-btn-secondary {
  background: linear-gradient(135deg, #E8B4B8, #D4A5A5);
  color: white;
}

.bloom-btn-secondary:hover {
  background: linear-gradient(135deg, #D4A5A5, #C49494);
  transform: scale(1.05);
}

/* Badges */
.bloom-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
}

.bloom-badge-new {
  background: linear-gradient(135deg, #A8E6CF, #88D8B0);
  color: #2D6A4F;
}

.bloom-badge-hot {
  background: linear-gradient(135deg, #FFD3B6, #FFAAA5);
  color: #9B2335;
}

.bloom-badge-sale {
  background: linear-gradient(135deg, #FF8B94, #FF6B6B);
  color: white;
}

/* Stock indicator */
.bloom-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.bloom-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.bloom-stock-available { color: #52B788; }
.bloom-stock-available .bloom-stock-dot { background: #52B788; }

.bloom-stock-low { color: #E9C46A; }
.bloom-stock-low .bloom-stock-dot { background: #E9C46A; }

.bloom-stock-out { color: #E76F51; }
.bloom-stock-out .bloom-stock-dot { background: #E76F51; }

/* Price styling */
.bloom-price {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #C49494;
}

.bloom-price-currency {
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 0.15rem;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Sort dropdown custom */
.bloom-sort-select {
  border: 1.5px solid #E8B4B8;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  background: white;
  color: #8B6B6B;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.bloom-sort-select:focus {
  border-color: #D4A5A5;
  box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.2);
}

/* Decorative divider */
.bloom-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #D4A5A5;
  font-size: 1.2rem;
}

.bloom-divider::before,
.bloom-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #E8B4B8, transparent);
}

/* Section title */
.bloom-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #5A4A4A;
  letter-spacing: -0.02em;
}

/* Empty state */
.bloom-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.bloom-empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 767px) {
  .bloom-hero {
    border-radius: 16px;
    margin-bottom: 2rem;
  }
  
  .bloom-hero h1 {
    font-size: 2rem !important;
  }
  
  .bloom-category-pill {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* ============================================
   BLOOM FLOWER - LANDING PAGE STYLES
   ============================================ */

.bloom-landing-hero {
  position: relative;
  background: linear-gradient(135deg, #FAD0C4 0%, #FFD1DC 40%, #E8B4B8 80%, #D4A5A5 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.bloom-landing-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: bloomPulse 7s ease-in-out infinite;
}

.bloom-landing-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: bloomPulse 9s ease-in-out infinite reverse;
}

.bloom-landing-hero-content {
  position: relative;
  z-index: 2;
}

.bloom-landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.bloom-landing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 165, 165, 0.4);
}

.bloom-landing-btn-light {
  background: white;
  color: #5A4A4A;
}

.bloom-landing-btn-light:hover {
  background: #FFF5F7;
}

.bloom-landing-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.bloom-landing-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.bloom-landing-section {
  padding: 5rem 0;
}

.bloom-landing-section-alt {
  background: linear-gradient(135deg, #FFF5F7 0%, #FFEBF0 100%);
  border-radius: 24px;
  margin: 0 1rem;
}

.bloom-why-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(232, 180, 184, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.bloom-why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(212, 165, 165, 0.15);
  border-color: rgba(232, 180, 184, 0.3);
}

.bloom-why-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}



.bloom-footer {
  background: linear-gradient(135deg, #5A4A4A 0%, #4A3A3A 100%);
}

.bloom-footer .hover-link {
  transition: all 0.3s ease;
  display: inline-block;
}

.bloom-footer .hover-link:hover {
  color: #E8B4B8 !important;
  transform: translateX(5px);
}

.bloom-scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bloom-scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.bloom-img-float {
  animation: bloomFloat 6s ease-in-out infinite;
}

@keyframes bloomFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Responsive landing */
@media (max-width: 767px) {
  .bloom-landing-hero {
    border-radius: 16px;
    text-align: center;
  }
  
  .bloom-landing-hero h1 {
    font-size: 2.2rem !important;
  }
  
  .bloom-landing-section {
    padding: 3rem 0;
  }
  
  .bloom-landing-section-alt {
    margin: 0 0.5rem;
    border-radius: 16px;
  }
}

