/*
Theme Name: Furever Brew
Theme URI: https://fureverbrew.com
Author: Furever Brew
Author URI: https://fureverbrew.com
Description: Custom Elementor-ready WooCommerce theme matching the Furever Brew Shopify storefront.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fureverbrew
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --fb-bg: #121212;
  --fb-surface: #181818;
  --fb-text: #ffffff;
  --fb-muted: rgba(255, 255, 255, 0.72);
  --fb-border: rgba(255, 255, 255, 0.08);
  --fb-accent: #159ee2;
  --fb-accent-dark: #243b82;
  --fb-announcement: #000070;
  --fb-container: 1320px;
  --fb-radius: 28px;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--fb-text);
  background-color: var(--fb-bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
  margin: 0 0 0.6rem;
  color: var(--fb-text);
}

p {
  margin: 0 0 1rem;
  color: var(--fb-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.fb-container {
  max-width: var(--fb-container);
  margin: 0 auto;
  padding: 0 2rem;
}

.fb-announcement {
  background: var(--fb-announcement);
  color: var(--fb-text);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fb-header {
  background: var(--fb-bg);
  border-bottom: 1px solid var(--fb-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.fb-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
}

.fb-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fb-logo img {
  max-height: 72px;
  width: auto;
}

.fb-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--fb-border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  color: var(--fb-text);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fb-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.fb-nav a {
  color: var(--fb-text);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.fb-nav a:hover,
.fb-nav .current-menu-item > a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.fb-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.95rem;
}

.fb-locale {
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.fb-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.fb-icon-link:hover {
  border-color: var(--fb-border);
}

.fb-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.fb-cart-count {
  font-size: 0.75rem;
  background: var(--fb-accent);
  color: var(--fb-text);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: -0.4rem;
}

.fb-main {
  padding: 3rem 0 4rem;
}

.fb-section {
  padding: 3.5rem 0;
}

.fb-section-title {
  text-align: center;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin-bottom: 2rem;
}

.fb-section-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: var(--fb-muted);
}

.fb-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-block-button__link {
  background: var(--fb-accent);
  color: var(--fb-text);
  border-radius: 999px;
  padding: 0.85rem 2.2rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fb-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-block-button__link:hover {
  background: #1290cf;
  text-decoration: none;
}

.fb-hero {
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #5a3c1e;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--fb-text);
}

.fb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.5));
}

.fb-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 3rem 1.5rem;
}

.fb-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.fb-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.fb-product-card {
  text-align: center;
}

.fb-product-card img {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.fb-product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.fb-product-card .price {
  font-size: 1rem;
  color: var(--fb-text);
  opacity: 0.9;
}

.fb-split {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.fb-split img {
  border-radius: 14px;
}

.fb-newsletter {
  background: var(--fb-announcement);
  padding: 3.5rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}

.fb-newsletter h2 {
  margin-bottom: 0.5rem;
}

.fb-newsletter-form {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.fb-newsletter-form input[type='email'] {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-width: 260px;
  background: transparent;
  color: var(--fb-text);
}

.fb-newsletter-form button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--fb-text);
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fb-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--fb-border);
}

.fb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--fb-muted);
}

.list-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-payment__item {
  background: #ffffff;
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
}

.list-payment__item svg {
  display: block;
}

/* WooCommerce tweaks */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product {
  list-style: none;
  text-align: center;
}

.woocommerce ul.products li.product a {
  text-decoration: none;
  color: inherit;
}

.woocommerce ul.products li.product img {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem;
  margin-top: 1rem;
}

.woocommerce ul.products li.product .price {
  color: var(--fb-text);
}

/* Responsive */
@media (max-width: 1024px) {
  .fb-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .fb-nav ul {
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .fb-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .fb-nav {
    display: none;
    grid-column: 1 / -1;
    padding: 1rem 0 0.5rem;
  }

  body.fb-nav-open .fb-nav {
    display: block;
  }

  .fb-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .fb-nav-toggle {
    display: inline-flex;
  }

  .fb-header-actions {
    gap: 0.6rem;
  }

  .fb-locale {
    display: none;
  }
}

@media (max-width: 600px) {
  .fb-container {
    padding: 0 1.2rem;
  }

  .fb-header-inner {
    padding: 1.2rem 0;
  }
}
