/*
Theme Name: Bela Flores
Theme URI: https://abelaflores.com
Author: METAMINDS
Author URI: https://abelaflores.com
Description: Tema oficial da floricultura A Bela Flores - Ipanema desde 1953. Desenvolvido sob medida com suporte nativo ao WooCommerce e integração WhatsApp.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bela-flores
Tags: e-commerce, custom-menu, featured-images, full-width-template
*/

:root {
  --color-brand-pink: #F8D7DA;
  --color-brand-rose: #ed2353;
  --color-brand-green: #4A5D4E;
  --color-brand-cream: #FCF9F7;
  --color-whatsapp: #25D366;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-brand-cream);
  color: #292524;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #1c1917;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ====================================================
   REMOVE ADD TO CART & CART BUTTONS (WHATSAPP ONLY)
==================================================== */
.single_add_to_cart_button,
.add_to_cart_button,
.ajax_add_to_cart,
form.cart .quantity,
form.cart button[type="submit"] {
  display: none !important;
}

/* ====================================================
   TOP BAR & HEADER
==================================================== */
.bf-top-bar {
  background-color: rgba(248, 215, 218, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  color: #000;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(237, 35, 83, 0.1);
}

.bf-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bf-top-bar-left {
  letter-spacing: 0.02em;
}

.bf-top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bf-top-bar-right a:hover {
  text-decoration: underline;
}

.bf-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #000;
}

.bf-main-header {
  background-color: #fff;
  border-bottom: 1px solid #f1f1f1;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.bf-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

.bf-header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.bf-search-form {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.bf-search-form input[type="search"],
.bf-search-form input[type="text"] {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1.25rem;
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  background-color: #fafaf9;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.bf-search-form input:focus {
  border-color: var(--color-brand-rose);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(237, 35, 83, 0.1);
}

.bf-search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #78716c;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.bf-search-btn:hover {
  color: var(--color-brand-rose);
}

.bf-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bf-header-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s, background-color 0.2s;
}

.bf-header-wa-btn:hover {
  background-color: #20ba59;
  transform: translateY(-1px);
}

.bf-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #292524;
  padding: 0.5rem;
}

/* NAVIGATION */
.bf-nav-bar {
  background-color: #fff;
  border-top: 1px solid #f5f5f4;
  display: flex;
  justify-content: center;
}

.bf-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
  position: relative;
}

.bf-nav-item {
  position: relative;
}

.bf-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #44403c;
  position: relative;
}

.bf-nav-link:hover {
  color: var(--color-brand-rose);
}

.bf-nav-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.badge-orange { background-color: #f59e0b; color: #fff; }
.badge-green { background-color: #22c55e; color: #fff; }
.badge-blue { background-color: #3b82f6; color: #fff; }

.bf-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 100;
  border: 1px solid #f1f1f1;
}

.bf-nav-item:hover > .bf-submenu {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}

.bf-submenu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  color: #57534e;
  font-weight: 500;
}

.bf-submenu li a:hover {
  background-color: #fef2f2;
  color: var(--color-brand-rose);
  padding-left: 1.5rem;
}

/* ====================================================
   HERO SECTION (1920x650 Desktop / 600x800 Mobile)
==================================================== */
.bf-hero-section {
  position: relative;
  width: 100%;
  background-color: #1a0a0e;
  overflow: hidden;
}

.bf-hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.bf-hero-section picture,
.bf-hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 769px) {
  .bf-hero-section {
    aspect-ratio: 1920 / 650;
    max-height: 650px;
  }
  .bf-hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 768px) {
  .bf-hero-section {
    aspect-ratio: 600 / 800;
    max-height: 800px;
  }
  .bf-hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ====================================================
   FEATURE STRIP
==================================================== */
.bf-features-bar {
  background: #fff;
  border-bottom: 1px solid rgba(248, 215, 218, 0.4);
  padding: 2rem 0;
}

.bf-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bf-feature-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--color-brand-cream);
  border: 1px solid rgba(0,0,0,0.03);
}

.bf-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(237, 35, 83, 0.15);
  color: var(--color-brand-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.bf-feature-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: #1c1917;
}

.bf-feature-desc {
  font-size: 0.85rem;
  color: #78716c;
}

/* ====================================================
   PRODUCT GRID & CARDS
==================================================== */
.bf-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.bf-section-title {
  font-size: 2.5rem;
  color: #1c1917;
  margin-bottom: 0.5rem;
}

.bf-section-subtitle {
  color: #78716c;
  font-size: 1.05rem;
}

.bf-view-all {
  color: var(--color-brand-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bf-view-all:hover {
  color: var(--color-brand-rose);
}

.bf-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.bf-product-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(248, 215, 218, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bf-product-card:hover {
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.bf-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f5f5f4;
  display: block;
}

.bf-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bf-product-card:hover .bf-product-thumb img {
  transform: scale(1.08);
}

.bf-badge-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-brand-green);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}

.bf-badge-discount {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-brand-rose);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(237, 35, 83, 0.3);
  z-index: 2;
}

.bf-product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bf-product-name {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.bf-product-card:hover .bf-product-name {
  color: var(--color-brand-rose);
}

.bf-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bf-current-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-brand-green);
  transition: color 0.2s;
}

.bf-product-card:hover .bf-current-price {
  color: var(--color-whatsapp);
}

.bf-regular-price {
  font-size: 0.875rem;
  color: #a8a29e;
  text-decoration: line-through;
}

.bf-btn-buy-wa {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  cursor: pointer;
}

.bf-btn-buy-wa:hover {
  background-color: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ====================================================
   EVENT DECORATION
==================================================== */
.bf-events-section {
  background: #fff;
  padding: 6rem 0;
}

.bf-events-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}

.bf-step-img {
  width: 180px;
  height: 160px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.bf-events-steps > div:hover .bf-step-img {
  transform: scale(1.1);
}

.bf-step-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.bf-step-text {
  color: #78716c;
  line-height: 1.6;
}

.bf-btn-cta-rose {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-brand-rose);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(237, 35, 83, 0.25);
  transition: all 0.3s ease;
}

.bf-btn-cta-rose:hover {
  background-color: var(--color-brand-green);
  transform: translateY(-2px);
}

.bf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.bf-gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.bf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bf-gallery-item:hover img {
  transform: scale(1.12);
}

/* ====================================================
   ABOUT & GOOGLE REVIEWS STRIP
==================================================== */
.bf-about-strip {
  position: relative;
  color: #fff;
  padding: 6rem 0;
  overflow: hidden;
}

.bf-about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bf-about-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(74, 93, 78, 0.85);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.bf-about-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bf-about-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.bf-about-text {
  font-size: 1.2rem;
  color: #e7e5e4;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.bf-google-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.bf-testimonial {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.bf-testimonial:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ====================================================
   FOOTER
==================================================== */
.bf-footer {
  background-color: var(--color-brand-rose);
  color: #fff;
  padding: 4.5rem 0 2rem;
}

.bf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.bf-footer h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.bf-footer ul {
  list-style: none;
}

.bf-footer ul li {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.bf-footer ul li a:hover {
  text-decoration: underline;
}

.bf-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.bf-footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
}

.bf-footer-social-btn:hover {
  background-color: #fff;
  color: var(--color-brand-rose);
  transform: scale(1.1);
}

.bf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ====================================================
   FLOATING WHATSAPP
==================================================== */
.bf-wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
  animation: pulseWa 2s infinite;
}

.bf-wa-float:hover {
  transform: scale(1.12);
  color: #fff;
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ====================================================
   MOBILE NAVIGATION DRAWER
==================================================== */
.bf-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.bf-mobile-drawer.open {
  display: block;
}

.bf-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.bf-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: #fff;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

.bf-drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #57534e;
  margin-bottom: 1rem;
}

.bf-mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bf-mobile-menu a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  color: #292524;
  border-bottom: 1px solid #f5f5f4;
}

/* ====================================================
   RESPONSIVE QUERIES
==================================================== */
@media (max-width: 1024px) {
  .bf-features-grid { grid-template-columns: 1fr; }
  .bf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .bf-events-steps { grid-template-columns: 1fr; gap: 2rem; }
  .bf-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-about-content { grid-template-columns: 1fr; }
  .bf-footer-grid { grid-template-columns: 1fr 1fr; }
  .bf-nav-bar { display: none; }
  .bf-mobile-toggle { display: block; }
  .bf-top-bar-left { display: none; }
}

@media (max-width: 640px) {
  .bf-product-grid { grid-template-columns: 1fr; }
  .bf-footer-grid { grid-template-columns: 1fr; }
  .bf-section-title { font-size: 1.85rem; }
  .bf-about-title { font-size: 2rem; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
