/*
Theme Name:  Better Half Flowers
Theme URI:   https://betterhalfflowers.com
Author:      Better Half
Description: Fresh Flowers Delivered with Love in Qatar
Version:     1.0
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:       #fdf5ef;
  --light-pink:  #f5dde4;
  --dusty-rose:  #c98b9f;
  --deep-rose:   #b8728a;
  --forest-green:#2d5a3d;
  --lavender:    #a89bb8;
  --text-dark:   #2c2c2c;
  --text-mid:    #555;
  --white:       #ffffff;
  --border:      #edd8de;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }

/* ===== TOP BAR ===== */
.topbar {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--forest-green);
  padding: 6px 0;
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span, .topbar-right span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar i { color: var(--dusty-rose); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--forest-green); transition: color 0.2s; }
.nav-links a:hover { color: var(--dusty-rose); }
.nav-logo { text-align: center; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-decoration: none; }
.brand-script { font-family: 'Dancing Script', cursive; font-size: 2.7rem; font-weight: 700; color: var(--forest-green); letter-spacing: 0.5px; }
.brand-sub { font-family: 'Nunito', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--dusty-rose); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 18px; font-size: 0.9rem; font-weight: 600; color: var(--forest-green); }
.nav-right a { transition: color 0.2s; }
.nav-right a:hover { color: var(--dusty-rose); }
.cart-badge { background: var(--dusty-rose); color: var(--white) !important; padding: 5px 14px; border-radius: 20px; font-size: 0.82rem; }

/* ===== HERO ===== */
@keyframes floatPetal {
  0%   { transform: translateY(0px) rotate(0deg) translateX(0px);      opacity: 0.65; }
  25%  { transform: translateY(-22px) rotate(18deg) translateX(6px);   opacity: 0.92; }
  50%  { transform: translateY(-36px) rotate(8deg) translateX(-5px);   opacity: 0.78; }
  75%  { transform: translateY(-20px) rotate(-12deg) translateX(9px);  opacity: 0.88; }
  100% { transform: translateY(0px) rotate(0deg) translateX(0px);      opacity: 0.65; }
}
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50%       { transform: rotate(3deg);  }
}
@keyframes driftBloom {
  0%   { transform: translateY(0px) translateX(0px) rotate(0deg);      opacity: 0.62; }
  33%  { transform: translateY(-20px) translateX(10px) rotate(28deg);  opacity: 0.85; }
  66%  { transform: translateY(-32px) translateX(-6px) rotate(-18deg); opacity: 0.72; }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg);      opacity: 0.62; }
}
.hero {
  position: relative;
  width: 100%;
  height: 580px;
  background: linear-gradient(135deg, #fdf5ef 0%, #faeaf0 40%, #f0e8f5 70%, #e8f0ea 100%);
  overflow: hidden;
}
.hero-deco { position: absolute; pointer-events: none; opacity: 0.9; }
.hero-deco--top-left    { top: -20px; left: -20px;   width: 290px; animation: sway 7s  ease-in-out infinite;         transform-origin: top left;    }
.hero-deco--bottom-left { bottom: -10px; left: 10px; width: 250px; animation: sway 9s  ease-in-out infinite reverse; transform-origin: bottom left;  }
.hero-deco--top-right   { top: -10px; right: -10px;  width: 320px; animation: sway 8s  ease-in-out infinite;         transform-origin: top right;   }
.hero-deco--bottom-right{ bottom: -10px; right: 10px;width: 270px; animation: sway 10s ease-in-out infinite reverse; transform-origin: bottom right; }
.hero-deco--mid-left  { top: 50%; left: -10px;  width: 160px; transform: translateY(-50%); animation: sway 11s ease-in-out infinite;         transform-origin: left center;  }
.hero-deco--mid-right { top: 50%; right: -10px; width: 160px; transform: translateY(-50%); animation: sway 12s ease-in-out infinite reverse; transform-origin: right center; }
/* Small pink leaves */
.petal-s { position: absolute; pointer-events: none; border-radius: 50% 0 50% 0; animation: floatPetal ease-in-out infinite; }
.petal-s1 { width: 11px; height: 17px; background: #c98b9f; opacity: 0.5;  top: 18%; left:  7%;  animation-duration: 4.8s; animation-delay: 0s;   }
.petal-s2 { width: 13px; height: 19px; background: #e8a0b4; opacity: 0.48; top: 72%; left:  9%;  animation-duration: 5.5s; animation-delay: 1.2s; }
.petal-s3 { width: 10px; height: 16px; background: #c98b9f; opacity: 0.45; top: 12%; right: 8%;  animation-duration: 4.2s; animation-delay: 0.6s; }
.petal-s4 { width: 12px; height: 18px; background: #b8728a; opacity: 0.46; top: 78%; right: 9%;  animation-duration: 6s;   animation-delay: 2s;   }
.petal-s5 { width: 11px; height: 17px; background: #e8a0b4; opacity: 0.44; top: 45%; left:  5%;  animation-duration: 5.2s; animation-delay: 1.8s; }
/* Bloom & roses */
.bloom { position: absolute; pointer-events: none; }
.bloom-5 { top: 43%; right: 29%; animation: driftBloom 5.5s ease-in-out 1s infinite; }
.rose { position: absolute; pointer-events: none; animation: driftBloom ease-in-out infinite; }
.rose-1 { top: 60%; left:  12%; animation-duration: 5.5s; animation-delay: 0s;   }
.rose-2 { top: 20%; right: 12%; animation-duration: 6.2s; animation-delay: 1s;   }
.rose-3 { top: 80%; right: 22%; animation-duration: 4.8s; animation-delay: 2.2s; }
.rose-4 { top: 38%; left:  14%; animation-duration: 7s;   animation-delay: 0.5s; }
.rose-5 { top:  8%; left:  30%; animation-duration: 5s;   animation-delay: 1.8s; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 80px; }
.hero-content { max-width: 580px; text-align: center; z-index: 2; }
.hero-badge { display: inline-block; background: rgba(201,139,159,0.15); border: 1px solid rgba(201,139,159,0.35); color: var(--dusty-rose); font-size: 0.82rem; font-weight: 700; padding: 6px 18px; border-radius: 30px; margin-bottom: 18px; letter-spacing: 0.5px; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 600; color: var(--forest-green); line-height: 1.3; margin-bottom: 16px; }
.hero-content p { font-size: 1rem; color: var(--text-mid); margin-bottom: 30px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.btn-shop { display: inline-block; background: var(--dusty-rose); color: var(--white); padding: 13px 38px; border-radius: 30px; font-size: 1rem; font-weight: 700; font-family: 'Nunito', sans-serif; letter-spacing: 0.5px; transition: background 0.25s, transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 18px rgba(201,139,159,0.4); }
.btn-shop:hover { background: var(--deep-rose); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(201,139,159,0.5); }
.btn-explore { display: inline-block; background: transparent; color: var(--forest-green); padding: 13px 34px; border-radius: 30px; font-size: 1rem; font-weight: 700; font-family: 'Nunito', sans-serif; border: 2px solid var(--forest-green); transition: all 0.25s; }
.btn-explore:hover { background: var(--forest-green); color: var(--white); transform: translateY(-3px); }
.hero-features { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-features span { font-size: 0.82rem; font-weight: 600; color: var(--text-mid); background: rgba(255,255,255,0.7); padding: 6px 14px; border-radius: 20px; backdrop-filter: blur(4px); }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.55); cursor: pointer; transition: background 0.2s; }
.dot.active { background: var(--white); }

/* ===== CATEGORY BAR ===== */
.category-bar { background: var(--white); display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px 40px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cat-btn { background: var(--light-pink); border: 2px solid var(--border); cursor: pointer; font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--text-mid); width: 90px; height: 90px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: all 0.2s; line-height: 1.2; text-align: center; }
.cat-btn span { font-size: 1.3rem; }
.cat-btn.active { background: var(--forest-green); color: var(--white); border-color: var(--forest-green); box-shadow: 0 4px 14px rgba(45,90,61,0.25); }
.cat-btn:hover:not(.active) { background: var(--dusty-rose); color: var(--white); border-color: var(--dusty-rose); transform: translateY(-3px); box-shadow: 0 4px 14px rgba(201,139,159,0.3); }

/* ===== PRODUCTS ===== */
.products { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border-radius: 18px; overflow: visible; box-shadow: 0 2px 14px rgba(0,0,0,0.06); transition: transform 0.25s, box-shadow 0.25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.product-img { width: 100%; height: 200px; overflow: hidden; border-radius: 18px 18px 0 0; }
.product-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.product-info { padding: 14px 16px 18px; }
.price { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.name { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 14px; min-height: 36px; line-height: 1.4; }
.btn-cart { width: 100%; padding: 9px 0; border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text-dark); font-family: 'Nunito', sans-serif; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-cart:hover { background: var(--dusty-rose); color: var(--white); border-color: var(--dusty-rose); }

/* ===== FOOTER TAGLINE ===== */
.footer-tagline { text-align: center; padding: 40px 20px 10px; background: linear-gradient(to bottom, var(--cream), var(--light-pink)); }
.footer-tagline p { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--forest-green); font-style: italic; }
.tagline-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.tagline-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--dusty-rose); opacity: 0.5; }

/* ===== LOAD MORE ===== */
.load-more-wrap { display: flex; justify-content: center; padding: 30px 20px 60px; background: linear-gradient(to bottom, var(--light-pink), var(--cream)); }
.btn-loadmore { background: none; border: none; font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-mid); cursor: pointer; position: relative; padding-bottom: 4px; }
.btn-loadmore::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1.5px; background: var(--dusty-rose); }
.btn-loadmore:hover { color: var(--dusty-rose); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: #25d366; color: var(--white); width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform 0.2s; z-index: 999; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-overlay { padding: 0 30px; }
  .navbar { padding: 10px 20px; }
  .nav-links { gap: 16px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero { height: 400px; }
  .hero-content h1 { font-size: 1.4rem; }
  .nav-links { display: none; }
  .brand-script { font-size: 1.5rem; }
  .brand-sub { font-size: 0.6rem; }
  .category-bar { padding: 10px 16px; gap: 4px; }
  .cat-btn { padding: 6px 12px; font-size: 0.8rem; }

  /* Compact product buttons on mobile — icons only */
  .product-btns { gap: 6px; }
  .product-btns .btn-cart { padding: 8px 0; border-radius: 8px; flex: 1; justify-content: center; }
  .product-btns .btn-cart i { font-size: 1rem; }
  .product-btns .btn-label { display: none; }
  .btn-whatsapp-order::after,
  .btn-whatsapp-order::before,
  .btn-online-order::after,
  .btn-online-order::before { display: none; }
}

/* ===== NAV LOGO IMAGE ===== */
.nav-logo-img { height: 80px; width: 80px; object-fit: cover; border-radius: 50%; margin-right: 10px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: row; align-items: center; }
.brand-names { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }

/* ===== BLOG PAGE ===== */
.blog-page { max-width: 1100px; margin: 0 auto; padding: 40px 20px 80px; }
.blog-hero { text-align: center; padding: 50px 20px 40px; }
.blog-hero h1 { font-family: 'Dancing Script', cursive; font-size: 3rem; color: var(--forest-green); margin-bottom: 10px; }
.blog-hero p { font-size: 1rem; color: var(--text-mid); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.07); transition: transform 0.2s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-card-meta { font-size: 0.78rem; color: var(--dusty-rose); margin-bottom: 8px; }
.blog-card-meta i { margin-right: 4px; }
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card-title a { color: var(--text-dark); text-decoration: none; transition: color 0.2s; }
.blog-card-title a:hover { color: var(--forest-green); }
.blog-card-excerpt { font-size: 0.84rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more { font-size: 0.82rem; font-weight: 700; color: var(--forest-green); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.blog-read-more:hover { gap: 10px; color: var(--dusty-rose); }
.blog-pagination { text-align: center; margin-top: 50px; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 10px; }
.blog-pagination a, .blog-pagination span { padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--border); font-size: 0.88rem; color: var(--forest-green); text-decoration: none; }
.blog-pagination a:hover { background: var(--forest-green); color: #fff; border-color: var(--forest-green); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } .blog-hero h1 { font-size: 2rem; } }

/* ===== ABOUT PAGE ===== */
.about-page { }
.about-hero { background: linear-gradient(135deg, var(--light-pink), var(--cream)); padding: 80px 20px; text-align: center; }
.about-hero-content { max-width: 750px; margin: 0 auto; }
.about-badge { display: inline-block; background: var(--white); color: var(--dusty-rose); font-size: 0.85rem; font-weight: 700; padding: 6px 18px; border-radius: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.about-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--forest-green); margin-bottom: 16px; line-height: 1.3; }
.about-hero p { font-size: 1.05rem; color: var(--text-mid); line-height: 1.7; }
.about-section { padding: 70px 20px; }
.about-section--pink { background: linear-gradient(to bottom, var(--cream), var(--light-pink), var(--cream)); }
.about-section-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-section-center { max-width: 1100px; margin: 0 auto; text-align: center; }
.about-label { font-size: 0.78rem; font-weight: 700; color: var(--dusty-rose); text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.about-text h2, .about-section-center h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--forest-green); margin-bottom: 20px; line-height: 1.3; }
.about-text p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.about-section-center > p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 40px; }
.about-image-block { text-align: center; }
.about-image-block img { width: 280px; height: 280px; object-fit: cover; border-radius: 50%; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.about-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.about-service-card { background: var(--white); border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s; }
.about-service-card:hover { transform: translateY(-4px); }
.about-service-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.about-service-card h3 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--forest-green); margin-bottom: 8px; }
.about-service-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; }
.about-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 10px; text-align: left; }
.about-why-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); padding: 22px; border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.about-why-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.about-why-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--forest-green); margin-bottom: 6px; }
.about-why-item p { font-size: 0.83rem; color: var(--text-mid); line-height: 1.6; }
.about-cta { background: var(--forest-green); text-align: center; padding: 70px 20px; }
.about-cta h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.about-cta p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 30px; }
.about-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .about-section-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-services { grid-template-columns: repeat(2, 1fr); }
  .about-why { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 1.7rem; }
}
@media (max-width: 600px) {
  .about-services { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 1.4rem; }
}

/* ===== CONTACT PAGE ===== */
.contact-page { max-width: 1100px; margin: 0 auto; padding: 40px 20px 80px; }
.contact-hero { text-align: center; padding: 50px 20px 40px; }
.contact-hero h1 { font-family: 'Dancing Script', cursive; font-size: 3rem; color: var(--forest-green); margin-bottom: 10px; }
.contact-hero p { font-size: 1rem; color: var(--text-mid); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.contact-card { background: var(--white); border-radius: 18px; padding: 30px 24px; text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,0.07); transition: transform 0.2s; }
.contact-card:hover { transform: translateY(-4px); }
.contact-card-icon { width: 56px; height: 56px; background: var(--light-pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; color: var(--dusty-rose); }
.contact-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.contact-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.contact-link { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--forest-green); border: 1.5px solid var(--forest-green); padding: 8px 16px; border-radius: 20px; transition: all 0.2s; text-decoration: none; }
.contact-link:hover { background: var(--forest-green); color: #fff; }
.contact-link--green { color: #25d366; border-color: #25d366; }
.contact-link--green:hover { background: #25d366; color: #fff; }
.contact-badge { display: inline-block; background: #eafaf1; color: #27ae60; font-weight: 700; font-size: 0.95rem; padding: 8px 18px; border-radius: 20px; }
.contact-map { text-align: center; margin-top: 10px; }
.contact-map-btn { display: inline-block; background: var(--dusty-rose); color: #fff; padding: 14px 32px; border-radius: 30px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.contact-map-btn:hover { background: var(--deep-rose); color: #fff; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } .contact-hero h1 { font-size: 2.2rem; } }

/* ===== HERO DOTS ===== */
.hero-dots { display: none; }

/* ===== PRODUCT BUTTONS ===== */
.product-btns { display: flex; gap: 8px; }
.product-btns .btn-cart { flex: 1; font-size: 0.8rem; padding: 9px 4px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.btn-whatsapp-order { background: #25d366; color: #fff; border-color: #25d366; position: relative; }
.btn-whatsapp-order:hover { background: #1da851; border-color: #1da851; color: #fff; }
.btn-whatsapp-order[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #2c2c2c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: normal;
  width: 200px;
  text-align: center;
  line-height: 1.4;
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.btn-whatsapp-order[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #2c2c2c;
  z-index: 999;
  pointer-events: none;
}
.btn-online-order { background: var(--forest-green); color: #fff; border-color: var(--forest-green); position: relative; }
.btn-online-order:hover { background: #1e3d29; border-color: #1e3d29; color: #fff; }
.btn-online-order[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #2c2c2c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: normal;
  width: 200px;
  text-align: center;
  line-height: 1.4;
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.btn-online-order[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #2c2c2c;
  z-index: 999;
  pointer-events: none;
}

/* ===== WHATSAPP ORDER MODAL ===== */
.wa-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.52);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.wa-modal-box {
  background: var(--white); border-radius: 22px; width: 100%; max-width: 420px;
  padding: 32px 28px 28px; position: relative;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
  animation: waModalIn 0.22s ease;
}
@keyframes waModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.wa-modal-close {
  position: absolute; top: 14px; right: 18px; background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--text-mid); line-height: 1;
  transition: color 0.15s;
}
.wa-modal-close:hover { color: var(--deep-rose); }
.wa-modal-header { text-align: center; margin-bottom: 22px; }
.wa-modal-icon { font-size: 2.2rem; display: block; margin-bottom: 6px; }
.wa-modal-header h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--text-dark); margin-bottom: 4px; }
.wa-modal-subtitle { font-size: 0.88rem; color: var(--dusty-rose); font-weight: 600; }
.wa-field { margin-bottom: 16px; }
.wa-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-mid); margin-bottom: 5px; }
.wa-field input,
.wa-field select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: 0.92rem;
  color: var(--text-dark); background: var(--cream); transition: border-color 0.2s;
  outline: none;
}
.wa-field input:focus,
.wa-field select:focus { border-color: var(--dusty-rose); }
.wa-submit-btn {
  width: 100%; padding: 13px; margin-top: 6px; border: none; border-radius: 12px;
  background: #25d366; color: #fff; font-family: 'Nunito', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.wa-submit-btn:hover { background: #1da851; }
.wa-submit-btn:disabled { background: #a0d9b4; cursor: not-allowed; }


/* =============================================
   SINGLE PRODUCT PAGE — Better Half Flowers
   ============================================= */

.bh-product-page {
  font-family: "Nunito", sans-serif;
  color: #2d5a3d;
  padding-bottom: 60px;
}

/* Breadcrumb */
.bh-breadcrumb {
  font-size: 0.85rem;
  color: #4a7c5a;
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.bh-breadcrumb a { color: #2d7a3d; text-decoration: none; font-weight: 600; }
.bh-breadcrumb a:hover { text-decoration: underline; }
.bh-breadcrumb span:last-child { color: #2d5a3d; font-weight: 700; }

/* Image — same height feel as homepage cards */
.bh-product-image-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f0f7f1;
}
.bh-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bh-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2d5a3d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Details card */
.bh-product-details {
  background: #fff;
  padding: 18px 16px 16px;
}
.bh-product-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1b3a28;
  margin: 0 0 8px;
  line-height: 1.25;
}
.bh-product-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #2d7a3d;
  margin-bottom: 14px;
}
.bh-currency { font-size: 0.88rem; font-weight: 600; color: #4a7c5a; }

.bh-product-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #444;
  background: #f8fdf9;
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid #2d7a3d;
  margin-bottom: 4px;
}
.bh-divider { border: none; border-top: 1.5px solid #e8f5e9; margin: 16px 0; }

/* Form fields */
.bh-field { margin-bottom: 15px; }
.bh-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2d5a3d;
  margin-bottom: 7px;
}
.bh-required { color: #c0392b; margin-left: 2px; }
.bh-optional { color: #999; font-size: 0.8rem; font-weight: 400; }

.bh-input-date,
.bh-textarea {
  width: 100%;
  border: 1.5px solid #b2d8b8;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: "Nunito", sans-serif;
  color: #2d5a3d;
  background: #f8fdf9;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.bh-input-date:focus,
.bh-textarea:focus {
  border-color: #2d7a3d;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45,122,61,0.1);
}
.bh-textarea { resize: vertical; min-height: 88px; }

/* Buttons — full width, stacked on mobile */
.bh-product-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 13px;
}
.bh-btn-wa {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
}
.bh-btn-wa:active { opacity: 0.9; transform: scale(0.98); }
.bh-btn-wa:hover { background: #1da851; }

.bh-btn-cart {
  width: 100%;
  background: #2d5a3d;
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(45,90,61,0.18);
}
.bh-btn-cart:active { transform: scale(0.98); }
.bh-btn-cart:hover { background: #1b3a28; }

/* Ask Us link */
.bh-ask-us {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #128c7e;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
  padding: 13px 18px;
  border: 2px solid #25d366;
  border-radius: 14px;
  background: #f0fff4;
  transition: all 0.2s;
}
.bh-ask-us:hover, .bh-ask-us:active { background: #25d366; color: #fff; }

/* Delivery info pills */
.bh-delivery-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #f0f7f1;
  border-radius: 12px;
  padding: 14px 16px;
}
.bh-delivery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: #2d5a3d;
  font-weight: 600;
}
.bh-delivery-item i { color: #2d7a3d; width: 16px; }

/* Back to shop */
.bh-back-shop { padding: 20px 16px 0; }
.bh-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2d7a3d;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #2d7a3d;
  border-radius: 25px;
  transition: all 0.22s;
}
.bh-back-link:hover { background: #2d7a3d; color: #fff; }

/* Homepage: product name & image links */
.product-info .name a { color: #1b3a28; text-decoration: none; }
.product-info .name a:hover { color: #2d7a3d; }
.product-img a { display: block; }
.product-img a img { display: block; width: 100%; }

/* ---- DESKTOP (tablet and above) ---- */
@media (min-width: 768px) {
  .bh-product-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 28px 60px;
  }
  .bh-breadcrumb { padding: 0 0 18px; }
  .bh-product-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: flex-start;
  }
  .bh-product-image-wrap {
    height: 380px;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(45,90,61,0.13);
  }
  .bh-product-details { padding: 4px 0 0; }
  .bh-product-title { font-size: 1.65rem; }
  .bh-product-actions { flex-direction: row; }
  .bh-btn-wa, .bh-btn-cart { flex: 1; width: auto; }
  .bh-back-shop { padding: 32px 0 0; }
}
