/*
Theme Name: PackChem Industries E.A.
Theme URI: https://packchemindustries.com/
Author: Custom Theme
Author URI: https://packchemindustries.com/
Description: A lightweight, fast WooCommerce theme for cosmetic raw material suppliers and formulation ingredient shops. Features a deep-green and gold aesthetic, a hero carousel, category browsing, and clean product cards. Built for speed with minimal dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: packchem-industries
Tags: e-commerce, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready
WC requires at least: 6.0
WC tested up to: 9.0
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  --fh-green:        #1a5e3a;
  --fh-green-dark:   #14472c;
  --fh-green-darker: #0d3521;
  --fh-green-light:  #2a6e4a;
  --fh-gold:         #c6a84a;
  --fh-gold-dark:    #a98d38;
  --fh-cream:        #f8f6f3;
  --fh-panel:        #ffffff;
  --fh-border:       #e8e4de;
  --fh-ink:          #2d2a26;
  --fh-muted:        #888888;
  --fh-faint:        #bbbbbb;
  --fh-radius:       10px;
  --fh-radius-sm:    6px;
  --fh-shadow:       0 8px 24px rgba(26, 94, 58, 0.12);
  --fh-shadow-lg:    0 16px 40px rgba(0, 0, 0, 0.10);
  --fh-maxw:         1280px;
  --fh-font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fh-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--fh-font-body);
  background: var(--fh-cream);
  color: var(--fh-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fh-font-display);
  color: var(--fh-green);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a {
  color: var(--fh-green);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--fh-gold-dark); }

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

.fh-container {
  max-width: var(--fh-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.fh-button,
button.fh-button {
  display: inline-block;
  background: var(--fh-green);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: var(--fh-radius-sm);
  font-family: var(--fh-font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.fh-button:hover { background: var(--fh-green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(198, 168, 74, 0.38); }
.fh-button--gold { background: var(--fh-gold); color: #fff; }
.fh-button--gold:hover { background: var(--fh-gold-dark); box-shadow: 0 6px 18px rgba(26, 94, 58, 0.3); }

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.fh-topbar {
  background: linear-gradient(90deg, var(--fh-gold) 0%, var(--fh-gold-dark) 100%);
  color: var(--fh-green-darker);
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.fh-header {
  background: var(--fh-panel);
  border-bottom: 1px solid var(--fh-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.fh-header__inner {
  max-width: var(--fh-maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fh-logo {
  font-family: var(--fh-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fh-green);
  white-space: nowrap;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fh-logo span { color: var(--fh-gold); }
.fh-logo img { max-height: 48px; width: auto; }

/* Header search (WooCommerce product search) */
.fh-search {
  flex: 1;
  max-width: 480px;
}
.fh-search form {
  display: flex;
  border: 2px solid var(--fh-green);
  border-radius: 8px;
  overflow: hidden;
}
.fh-search input[type="search"],
.fh-search .search-field {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
  min-width: 0;
  font-family: var(--fh-font-body);
}
.fh-search button,
.fh-search .search-submit {
  background: var(--fh-green);
  border: none;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease;
}
.fh-search button:hover { background: var(--fh-green-dark); }

.fh-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Cart link in header */
.fh-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--fh-green);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--fh-green);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.fh-cart-link:hover { background: var(--fh-green); color: #fff; }
.fh-cart-count {
  background: var(--fh-gold);
  color: #fff;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.fh-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--fh-green);
  padding: 4px 8px;
}

/* ==========================================================================
   Primary Navigation
   ========================================================================== */
.fh-nav {
  background: var(--fh-green-dark);
  overflow-x: auto;
  border-top: 3px solid var(--fh-gold);
}
.fh-nav__inner {
  max-width: var(--fh-maxw);
  margin: 0 auto;
  padding: 0 16px;
}
.fh-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
}
.fh-nav li { position: relative; }
.fh-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.fh-nav a:hover,
.fh-nav .current-menu-item > a,
.fh-nav .current_page_item > a {
  color: var(--fh-gold);
  border-bottom-color: var(--fh-gold);
  background: rgba(255, 255, 255, 0.05);
}
/* Dropdown submenus */
.fh-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--fh-green-dark);
  min-width: 210px;
  flex-direction: column;
  box-shadow: var(--fh-shadow);
  z-index: 120;
}
.fh-nav li:hover > ul { display: flex; }
.fh-nav ul ul a { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   Hero Carousel
   ========================================================================== */
.fh-hero {
  position: relative;
  overflow: hidden;
  height: 400px;
}
.fh-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.fh-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.fh-hero__slide:nth-child(1) { background: linear-gradient(135deg, #1a5e3a 0%, #0d3521 40%, #14472c 100%); }
.fh-hero__slide:nth-child(2) { background: linear-gradient(135deg, #2a6e4a 0%, #1a5e3a 50%, #0d3521 100%); }
.fh-hero__slide:nth-child(3) { background: linear-gradient(135deg, #0d3521 0%, #1a5e3a 60%, #2a6e4a 100%); }
.fh-hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(198, 168, 74, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}
.fh-hero__content { position: relative; max-width: 680px; }
.fh-hero__content h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 16px;
}
.fh-hero__content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 2.5vw, 18px);
  margin: 0 auto 28px;
  max-width: 600px;
}
.fh-hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.fh-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.fh-hero__dot.is-active { background: var(--fh-gold); transform: scale(1.3); }

/* ==========================================================================
   Section Headings
   ========================================================================== */
.fh-section { padding: 48px 0; }
.fh-section__title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
}
/* Gold underline accent tying the two-tone identity through content headings */
.fh-section .fh-section__title::after,
.fh-newsletter .fh-section__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fh-green), var(--fh-gold));
}
.fh-section__subtitle {
  text-align: center;
  color: var(--fh-muted);
  font-size: 15px;
  margin: 0 0 36px;
}

/* ==========================================================================
   Category Grid (product categories)
   ========================================================================== */
.fh-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.fh-cat-card {
  background: var(--fh-panel);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  padding: 22px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fh-cat-card:hover {
  border-color: var(--fh-green);
  background: var(--fh-green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--fh-shadow);
}
.fh-cat-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--fh-cream);
}
.fh-cat-card__count {
  font-size: 12px;
  opacity: 0.7;
}

/* ==========================================================================
   WooCommerce — Product Grid & Cards
   ========================================================================== */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }

.woocommerce ul.products li.product,
ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: var(--fh-panel);
  border: 1px solid var(--fh-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--fh-shadow-lg);
  border-color: var(--fh-green);
}
.woocommerce ul.products li.product a img {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, #f0ede7 0%, #e8e2d8 100%);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--fh-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--fh-ink);
  padding: 14px 16px 4px;
}
.woocommerce ul.products li.product .price {
  color: var(--fh-green);
  font-weight: 700;
  font-size: 17px;
  padding: 0 16px 12px;
  display: block;
}
.woocommerce ul.products li.product .price del { color: var(--fh-faint); font-weight: 400; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .star-rating { margin: 0 auto 10px; color: var(--fh-gold); }

/* Add-to-cart button in loop */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt {
  background: var(--fh-green);
  color: #fff;
  border-radius: var(--fh-radius-sm);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  transition: all 0.2s ease;
  border: none;
  margin: auto 16px 18px;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button.alt:hover {
  background: var(--fh-green-dark);
  color: #fff;
}
.woocommerce a.button.added::after { color: #fff; }

/* Sale flash badge */
.woocommerce span.onsale {
  background: var(--fh-gold);
  color: #fff;
  border-radius: var(--fh-radius-sm);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  min-height: auto;
  min-width: auto;
  padding: 5px 12px;
  top: 12px;
  left: 12px;
  margin: 0;
  line-height: 1.2;
}

/* ==========================================================================
   WooCommerce — Single Product
   ========================================================================== */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.single-product div.product .woocommerce-product-gallery { margin: 0; }
.single-product div.product .product_title {
  font-family: var(--fh-font-display);
  font-size: 34px;
  margin-bottom: 12px;
}
.single-product div.product p.price,
.single-product div.product span.price {
  color: var(--fh-green);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.single-product .woocommerce-product-rating { margin-bottom: 16px; }
.single-product div.product form.cart { margin: 24px 0; }
.single-product div.product form.cart .quantity input {
  padding: 10px;
  border: 2px solid var(--fh-border);
  border-radius: var(--fh-radius-sm);
  width: 72px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom-color: var(--fh-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: var(--fh-cream);
  border-color: var(--fh-border);
  border-radius: var(--fh-radius-sm) var(--fh-radius-sm) 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #fff;
  border-bottom-color: #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--fh-green); font-weight: 600; }

/* ==========================================================================
   WooCommerce — Notices, Cart, Checkout
   ========================================================================== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  border-top-color: var(--fh-green);
  background: #fff;
  border-radius: var(--fh-radius-sm);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--fh-green); }
.woocommerce-error { border-top-color: #c0392b; }
.woocommerce-error::before { color: #c0392b; }

.woocommerce table.shop_table {
  border-radius: var(--fh-radius);
  border-color: var(--fh-border);
}
.woocommerce table.shop_table th { color: var(--fh-green); }
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 { color: var(--fh-green); }
.woocommerce-checkout #payment { background: var(--fh-cream); border-radius: var(--fh-radius); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection {
  border: 2px solid var(--fh-border) !important;
  border-radius: var(--fh-radius-sm);
  padding: 10px 12px;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border-color: var(--fh-border); border-radius: var(--fh-radius-sm); overflow: hidden; }
.woocommerce nav.woocommerce-pagination ul li { border-color: var(--fh-border); }
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--fh-green); color: #fff; }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  color: var(--fh-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

/* Result count + ordering */
.woocommerce .woocommerce-result-count { color: var(--fh-muted); }
.woocommerce .woocommerce-ordering select {
  border: 2px solid var(--fh-border);
  border-radius: var(--fh-radius-sm);
  padding: 8px 12px;
}

/* ==========================================================================
   Content Layout (shop / blog with sidebar)
   ========================================================================== */
.fh-content-wrap {
  max-width: var(--fh-maxw);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.fh-content-wrap--full { grid-template-columns: minmax(0, 1fr); }
.fh-main { min-width: 0; }

/* Sidebar / widgets */
.fh-sidebar .widget {
  background: var(--fh-panel);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  padding: 20px;
  margin-bottom: 24px;
}
.fh-sidebar .widget-title {
  font-family: var(--fh-font-display);
  font-size: 17px;
  color: var(--fh-green);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fh-gold);
}
.fh-sidebar ul { list-style: none; margin: 0; padding: 0; }
.fh-sidebar li { padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--fh-border); }
.fh-sidebar li:last-child { border-bottom: none; }

/* ==========================================================================
   Blog Posts
   ========================================================================== */
.fh-post {
  background: var(--fh-panel);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.fh-post__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fh-post__body { padding: 24px 28px; }
.fh-post__title { font-size: 24px; margin-bottom: 8px; }
.fh-post__meta { color: var(--fh-muted); font-size: 13px; margin-bottom: 14px; }
.fh-post__excerpt { color: #555; margin-bottom: 16px; }
.entry-content { line-height: 1.75; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--fh-radius-sm); }
.entry-content blockquote {
  border-left: 4px solid var(--fh-gold);
  background: var(--fh-cream);
  margin: 1.5em 0;
  padding: 14px 20px;
  border-radius: 0 var(--fh-radius-sm) var(--fh-radius-sm) 0;
  font-style: italic;
}

/* ==========================================================================
   Testimonial Band
   ========================================================================== */
.fh-testimonial {
  background: linear-gradient(135deg, var(--fh-green), var(--fh-green-dark));
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fh-testimonial::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--fh-font-display);
  font-size: 160px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}
.fh-testimonial p {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 16px;
  font-style: italic;
}
.fh-testimonial cite { color: var(--fh-gold); font-weight: 600; font-size: 14px; font-style: normal; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.fh-newsletter {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}
.fh-newsletter p { color: var(--fh-muted); font-size: 14px; margin: 8px 0 20px; }
.fh-newsletter__form {
  display: flex;
  border: 2px solid var(--fh-green);
  border-radius: 8px;
  overflow: hidden;
}
.fh-newsletter__form input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
  font-family: var(--fh-font-body);
}
.fh-newsletter__form button {
  background: var(--fh-green);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.fh-newsletter__form button:hover { background: var(--fh-green-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.fh-footer {
  background: var(--fh-green-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 24px 24px;
}
.fh-footer__inner {
  max-width: var(--fh-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}
.fh-footer h4 {
  color: var(--fh-gold);
  font-family: var(--fh-font-display);
  font-size: 16px;
  margin-bottom: 16px;
}
.fh-footer p,
.fh-footer a,
.fh-footer li {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}
.fh-footer a:hover { color: var(--fh-gold); }
.fh-footer ul { list-style: none; margin: 0; padding: 0; }
.fh-footer .widget { margin: 0; }
.fh-socials { display: flex; gap: 12px; margin-top: 12px; }
.fh-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}
.fh-socials a:hover { background: var(--fh-gold); border-color: var(--fh-gold); color: #fff; }
.fh-map {
  margin-top: 14px;
  border-radius: var(--fh-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 0;
}
.fh-map iframe {
  width: 100%;
  height: 190px;
  border: 0;
  display: block;
}
.fh-footer__bottom {
  max-width: var(--fh-maxw);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.fh-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--fh-green-dark);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 150;
  font-size: 13px;
  flex-wrap: wrap;
}
.fh-cookie button {
  background: var(--fh-gold);
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.fh-cookie button:hover { background: var(--fh-gold-dark); }
.fh-cookie.is-hidden { display: none; }

/* ==========================================================================
   Off-canvas mobile nav
   ========================================================================== */
.fh-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fh-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Comments
   ========================================================================== */
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li { background: var(--fh-panel); border: 1px solid var(--fh-border); border-radius: var(--fh-radius); padding: 18px 20px; margin-bottom: 16px; }
#respond { background: var(--fh-panel); border: 1px solid var(--fh-border); border-radius: var(--fh-radius); padding: 24px; margin-top: 24px; }
#respond input[type="text"], #respond input[type="email"], #respond textarea {
  width: 100%; border: 2px solid var(--fh-border); border-radius: var(--fh-radius-sm); padding: 10px 12px; font-family: var(--fh-font-body);
}

/* ==========================================================================
   Utility & Pagination (blog)
   ========================================================================== */
.fh-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.fh-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  background: var(--fh-panel); border: 1px solid var(--fh-border); border-radius: var(--fh-radius-sm);
  font-weight: 600; font-size: 14px;
}
.fh-pagination .page-numbers.current,
.fh-pagination .page-numbers:hover { background: var(--fh-green); color: #fff; border-color: var(--fh-green); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .single-product div.product { grid-template-columns: 1fr; gap: 28px; }
  .fh-content-wrap { grid-template-columns: 1fr; }
  .fh-sidebar { order: 2; }
}

@media (max-width: 768px) {
  .fh-header__inner { padding: 12px 16px; flex-wrap: wrap; }
  .fh-logo { font-size: 18px; }
  .fh-search { order: 3; flex-basis: 100%; max-width: none; }
  .fh-menu-toggle { display: block; }

  /* Off-canvas nav on mobile */
  .fh-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    background: var(--fh-green-dark);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    padding-top: 60px;
  }
  .fh-nav.is-open { transform: translateX(0); }
  .fh-nav__inner { padding: 0; }
  .fh-nav ul { flex-direction: column; }
  .fh-nav a { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .fh-nav ul ul { position: static; display: block; box-shadow: none; background: rgba(0,0,0,0.2); }

  .fh-hero { height: 340px; }
  .woocommerce ul.products,
  ul.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
  .fh-cat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .fh-section { padding: 36px 0; }
}

@media (max-width: 480px) {
  .fh-topbar { font-size: 11px; }
  .woocommerce ul.products,
  ul.products { grid-template-columns: repeat(2, 1fr); }
}
