/* ── FLORE MAR — CSS GLOBAL ── */

/* ── NAV ── */
.fm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107,143,113,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3.5rem;
  gap: 2rem;
}

.fm-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.fm-logo-link img { height: 60px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.fm-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--sage-dark);
}

.fm-nav ul {
  list-style: none;
  display: flex;
  gap: 2.8rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.fm-nav ul li a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  text-transform: uppercase;
  transition: color 0.3s;
}
.fm-nav ul li a:hover { color: var(--sage-dark); }
.fm-nav ul li a.fm-nav-cta {
  background: var(--sage-dark);
  color: white;
  padding: 0.55rem 1.6rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
  transition: background 0.3s;
}
.fm-nav ul li a.fm-nav-cta:hover { background: var(--sage); color: white; }

/* carrito */
.fm-cart-icon {
  position: relative;
  color: var(--warm-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s;
  flex-shrink: 0;
}
.fm-cart-icon:hover { color: var(--sage-dark); }
.fm-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--sage-dark);
  color: white;
  font-size: 0.6rem;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hamburger */
.fm-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.fm-nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--sage-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── FOOTER ── */
.fm-footer {
  background: var(--charcoal);
  padding: 4rem 5rem 2rem;
}
.fm-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.fm-footer-brand .fm-logo-link img { filter: brightness(10); }
.fm-footer-brand .fm-logo-text { color: white; font-size: 1.6rem; display: block; margin-bottom: 1rem; }
.fm-footer-brand p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
  max-width: 240px;
  margin-top: 1rem;
}
.fm-footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
  font-family: 'Jost', sans-serif;
}
.fm-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.fm-footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.3s;
}
.fm-footer-col ul li a:hover { color: rgba(255,255,255,0.7); }

.fm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fm-footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); margin: 0; }
.fm-social-icons { display: flex; gap: 1.2rem; }
.fm-social-icons a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.fm-social-icons a:hover { color: rgba(255,255,255,0.7); }

/* ── BOTONES GLOBALES ── */
.fm-btn-primary {
  display: inline-block;
  background: var(--sage-dark);
  color: white;
  padding: 1rem 2.4rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.fm-btn-primary:hover { background: var(--sage); transform: translateY(-2px); color: white; }

.fm-btn-ghost {
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}
.fm-btn-ghost:hover { color: var(--sage-dark); }

/* ── ANULAR ESTILOS DE STOREFRONT QUE INTERFIEREN ── */
.site-header { display: none !important; }
.site-footer { display: none !important; }

/* ── WooCommerce — colores del tema ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--sage-dark);
  color: white;
  border-radius: 100px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  transition: background 0.3s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--sage);
  color: white;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--sage-dark);
}

/* ── RESPONSIVE NAV ── */
@media (max-width: 768px) {
  .fm-nav { padding: 1rem 1.5rem; position: relative; flex-wrap: wrap; }
  .fm-nav-toggle { display: flex; }

  .fm-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(107,143,113,0.15);
    padding: 0.5rem 0 1rem;
    z-index: 99;
  }
  .fm-nav ul.open { display: flex; }
  .fm-nav ul li a { display: block; padding: 0.8rem 1.5rem; font-size: 0.85rem; }
  .fm-nav ul li a.fm-nav-cta { margin: 0.5rem 1.5rem; display: inline-block; }
}

@media (max-width: 768px) {
  .fm-footer { padding: 3rem 1.5rem 2rem; }
  .fm-footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .fm-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 480px) {
  .fm-footer-top { grid-template-columns: 1fr; }
}
