/* ==========================================================================
   Hibafy Theme — Custom Component & Layout Styles
   Uses the CSS variables defined in style.css / functions.php inline style.
   Add your header, footer, product grid, and homepage section styles here.
   ========================================================================== */

/* Example: section wrapper using brand cream background */
.hibafy-section {
    background-color: var(--hibafy-cream-bg);
    padding: 60px 20px;
}

.hibafy-section--light {
    background-color: var(--hibafy-light-bg);
}

/* Example: heading style */
.hibafy-section-title {
    font-family: var(--hibafy-font-heading);
    color: var(--hibafy-primary-green);
    text-align: center;
    margin-bottom: 30px;
}

/* ==========================================================================
   HEADER — Sticky, logo, nav, actions, mobile sidebar
   ========================================================================== */

.hibafy-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--hibafy-white, #ffffff);
    border-bottom: 1px solid var(--hibafy-border-color, #e0d8cc);
    transition: box-shadow 0.25s ease;
}

.hibafy-header.hibafy-header--scrolled {
    box-shadow: 0 4px 16px rgba(28, 28, 26, 0.08);
}

.hibafy-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 24px;
}

.hibafy-logo-text {
    font-family: var(--hibafy-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--hibafy-primary-green);
    letter-spacing: 0.5px;
}

.hibafy-logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hibafy-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hibafy-primary-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hibafy-primary-menu li a {
    font-family: var(--hibafy-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--hibafy-dark-text);
    text-decoration: none;
    padding: 8px 2px;
    position: relative;
    transition: color 0.2s ease;
}

.hibafy-primary-menu li a:hover,
.hibafy-primary-menu li.current-menu-item > a {
    color: var(--hibafy-primary-green);
}

.hibafy-primary-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--hibafy-gold-accent);
    transition: width 0.2s ease;
}

.hibafy-primary-menu li a:hover::after {
    width: 100%;
}

.hibafy-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hibafy-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--hibafy-dark-text);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.hibafy-icon-btn:hover {
    background-color: var(--hibafy-cream-bg);
    color: var(--hibafy-primary-green);
}

.hibafy-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    background-color: var(--hibafy-gold-accent);
    color: var(--hibafy-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* Search panel (dropdown) */
.hibafy-search-panel {
    max-height: 0;
    overflow: hidden;
    background-color: var(--hibafy-cream-bg);
    transition: max-height 0.3s ease;
}

.hibafy-search-panel.hibafy-search-panel--open {
    max-height: 100px;
}

.hibafy-search-panel-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hibafy-search-panel-inner .search-form {
    flex: 1;
    display: flex;
}

.hibafy-search-panel-inner input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--hibafy-border-color);
    border-radius: 4px 0 0 4px;
    font-family: var(--hibafy-font-body);
}

.hibafy-search-panel-inner button[type="submit"] {
    padding: 10px 18px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--hibafy-gold-accent);
    color: var(--hibafy-white);
    cursor: pointer;
}

.hibafy-search-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: var(--hibafy-dark-text);
    cursor: pointer;
}

/* Hamburger — hidden on desktop */
.hibafy-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hibafy-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--hibafy-primary-green);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hibafy-hamburger.hibafy-hamburger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hibafy-hamburger.hibafy-hamburger--active span:nth-child(2) {
    opacity: 0;
}

.hibafy-hamburger.hibafy-hamburger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-in sidebar */
.hibafy-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 26, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.hibafy-mobile-overlay.hibafy-mobile-overlay--active {
    opacity: 1;
    visibility: visible;
}

.hibafy-mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    max-width: 85vw;
    background-color: var(--hibafy-white);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.hibafy-mobile-sidebar.hibafy-mobile-sidebar--open {
    transform: translateX(0);
}

.hibafy-mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--hibafy-border-color);
}

.hibafy-mobile-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--hibafy-dark-text);
    cursor: pointer;
}

.hibafy-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.hibafy-mobile-menu li a {
    display: block;
    padding: 14px 20px;
    font-family: var(--hibafy-font-body);
    font-size: 16px;
    color: var(--hibafy-dark-text);
    text-decoration: none;
    border-bottom: 1px solid var(--hibafy-border-color);
}

.hibafy-mobile-menu li a:hover {
    color: var(--hibafy-primary-green);
    background-color: var(--hibafy-cream-bg);
}

.hibafy-mobile-actions {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    gap: 10px;
}

.hibafy-mobile-actions a {
    font-family: var(--hibafy-font-body);
    color: var(--hibafy-primary-green);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 900px) {
    .hibafy-header-nav {
        display: none;
    }
    .hibafy-hamburger {
        display: flex;
    }
}

/* ==========================================================================
   FOOTER — 4 columns, bottom bar, accordion on mobile
   ========================================================================== */

.hibafy-footer {
    background-color: var(--hibafy-primary-green);
    color: var(--hibafy-white);
    font-family: var(--hibafy-font-body);
}

.hibafy-footer a {
    color: var(--hibafy-white);
}

.hibafy-footer-main {
    padding: 60px 24px 40px;
}

.hibafy-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.hibafy-footer-heading {
    font-family: var(--hibafy-font-heading);
    font-size: 18px;
    color: var(--hibafy-white);
    margin: 0 0 18px;
}

.hibafy-logo-text--footer {
    font-family: var(--hibafy-font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--hibafy-white);
    display: inline-block;
    margin-bottom: 14px;
}

.hibafy-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.hibafy-footer-social {
    display: flex;
    gap: 10px;
}

.hibafy-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hibafy-social-icon:hover {
    background-color: var(--hibafy-gold-accent);
    border-color: var(--hibafy-gold-accent);
}

.hibafy-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hibafy-footer-menu li {
    margin-bottom: 12px;
}

.hibafy-footer-menu li a,
.hibafy-footer-contact-list li a {
    font-size: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.hibafy-footer-menu li a:hover,
.hibafy-footer-contact-list li a:hover {
    color: var(--hibafy-gold-accent);
}

.hibafy-footer-contact-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.hibafy-footer-contact-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.hibafy-subscribe-row {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.hibafy-subscribe-row input[type="email"] {
    flex: 1;
    padding: 12px 14px;
    border: none;
    font-family: var(--hibafy-font-body);
    font-size: 14px;
}

.hibafy-subscribe-btn {
    padding: 12px 18px;
    border: none;
    background-color: var(--hibafy-gold-accent);
    color: var(--hibafy-white);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hibafy-subscribe-btn:hover {
    background-color: var(--hibafy-secondary-green);
}

.hibafy-footer-bottom {
    background-color: #0f3d24;
}

.hibafy-footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    text-align: center;
}

.hibafy-copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* Mobile accordion footer */
@media (max-width: 780px) {
    .hibafy-footer-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hibafy-footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 18px 0;
    }

    .hibafy-footer-col-about {
        border-top: none;
    }

    .hibafy-footer-col-links .hibafy-footer-heading,
    .hibafy-footer-col-care .hibafy-footer-heading {
        position: relative;
        cursor: pointer;
        margin-bottom: 0;
        padding: 4px 24px 4px 0;
    }

    .hibafy-footer-col-links .hibafy-footer-heading::after,
    .hibafy-footer-col-care .hibafy-footer-heading::after {
        content: "+";
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
    }

    .hibafy-footer-col-links.hibafy-footer-col--open .hibafy-footer-heading::after,
    .hibafy-footer-col-care.hibafy-footer-col--open .hibafy-footer-heading::after {
        content: "−";
    }

    .hibafy-footer-col-links .hibafy-footer-menu,
    .hibafy-footer-col-care .hibafy-footer-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
    }

    .hibafy-footer-col-links.hibafy-footer-col--open .hibafy-footer-menu,
    .hibafy-footer-col-care.hibafy-footer-col--open .hibafy-footer-menu {
        max-height: 400px;
        margin-top: 14px;
    }
}
/* ==========================================================================
   FRONT PAGE — Shared section wrappers
   ========================================================================== */

.hibafy-section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 24px;
}

.hibafy-section-title {
    font-family: var(--hibafy-font-heading);
    font-size: 32px;
    color: var(--hibafy-primary-green);
    text-align: center;
    margin: 0 0 40px;
}

.hibafy-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--hibafy-font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}

.hibafy-btn--primary {
    background-color: var(--hibafy-gold-accent);
    color: var(--hibafy-white);
}

.hibafy-btn--primary:hover {
    background-color: var(--hibafy-primary-green);
}

.hibafy-btn--outline {
    background-color: transparent;
    color: var(--hibafy-primary-green);
    border-color: var(--hibafy-primary-green);
}

.hibafy-btn--outline:hover {
    background-color: var(--hibafy-primary-green);
    color: var(--hibafy-white);
}

.hibafy-btn--outline-green {
    background-color: transparent;
    color: var(--hibafy-primary-green);
    border-color: var(--hibafy-primary-green);
}

.hibafy-btn--outline-green:hover {
    background-color: var(--hibafy-primary-green);
    color: var(--hibafy-white);
}

/* ==========================================================================
   SECTION 1 — HERO SLIDER
   ========================================================================== */

.hibafy-hero {
    position: relative;
    overflow: hidden;
}

.hibafy-hero-slides {
    position: relative;
    min-height: 520px;
}

.hibafy-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

.hibafy-hero-slide--active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hibafy-hero-shape {
    position: absolute;
    border-radius: 50%;
    background-color: var(--hibafy-secondary-green);
    opacity: 0.08;
}

.hibafy-hero-shape--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -100px;
}

.hibafy-hero-shape--2 {
    width: 280px;
    height: 280px;
    bottom: -120px;
    left: -80px;
    background-color: var(--hibafy-gold-accent);
}

.hibafy-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 24px;
}

.hibafy-hero-title {
    font-family: var(--hibafy-font-heading);
    font-size: 52px;
    color: var(--hibafy-dark-text);
    margin: 0 0 16px;
    line-height: 1.2;
}

.hibafy-hero-subtitle {
    font-family: var(--hibafy-font-body);
    font-size: 18px;
    color: var(--hibafy-muted-text);
    margin: 0 0 32px;
}

.hibafy-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hibafy-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.hibafy-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(26, 94, 56, 0.3);
    cursor: pointer;
    padding: 0;
}

.hibafy-hero-dot--active {
    background-color: var(--hibafy-primary-green);
}

@media (max-width: 600px) {
    .hibafy-hero-title { font-size: 34px; }
    .hibafy-hero-slides { min-height: 420px; }
}

/* ==========================================================================
   SECTION 2 — TRUST BAR
   ========================================================================== */

.hibafy-trust-bar {
    background-color: var(--hibafy-primary-green);
}

.hibafy-trust-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.hibafy-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 200px;
    justify-content: center;
}

.hibafy-trust-icon {
    font-size: 22px;
}

.hibafy-trust-text {
    color: var(--hibafy-white);
    font-family: var(--hibafy-font-body);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 700px) {
    .hibafy-trust-item { flex: 1 1 100%; justify-content: flex-start; }
}

/* ==========================================================================
   SECTION 3 — PRODUCT CATEGORIES GRID (WooCommerce shortcode overrides)
   ========================================================================== */

.hibafy-categories-section {
    background-color: var(--hibafy-light-bg);
}

.hibafy-categories-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.hibafy-categories-grid ul.products li.product-category {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    text-align: center;
    border: 1px solid var(--hibafy-border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--hibafy-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.hibafy-categories-grid ul.products li.product-category:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 24px rgba(26, 94, 56, 0.15);
}

.hibafy-categories-grid ul.products li.product-category a {
    text-decoration: none;
    display: block;
    position: relative;
}

.hibafy-categories-grid ul.products li.product-category img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: filter 0.25s ease;
}

.hibafy-categories-grid ul.products li.product-category a::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--hibafy-primary-green);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hibafy-categories-grid ul.products li.product-category:hover a::after {
    opacity: 0.18;
}

.hibafy-categories-grid ul.products li.product-category h2,
.hibafy-categories-grid ul.products li.product-category .woocommerce-loop-category__title {
    font-family: var(--hibafy-font-heading);
    font-size: 17px;
    color: var(--hibafy-dark-text);
    padding: 16px 10px 4px;
    margin: 0;
}

.hibafy-categories-grid ul.products li.product-category .count {
    display: inline-block;
    font-size: 12px;
    color: var(--hibafy-muted-text);
    padding-bottom: 16px;
}

@media (max-width: 900px) {
    .hibafy-categories-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ==========================================================================
   SECTION 4 — PRODUCT GRID (best_selling_products shortcode overrides)
   ========================================================================== */

.hibafy-products-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.hibafy-products-grid ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    position: relative;
    border: 1px solid var(--hibafy-border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--hibafy-white);
    padding: 0 0 16px;
    transition: box-shadow 0.25s ease;
}

.hibafy-products-grid ul.products li.product:hover {
    box-shadow: 0 10px 24px rgba(26, 94, 56, 0.12);
}

.hibafy-products-grid ul.products li.product a {
    text-decoration: none;
}

.hibafy-product-thumb {
    position: relative;
    overflow: hidden;
    background-color: var(--hibafy-cream-bg);
}

.hibafy-product-thumb-link {
    display: block;
    position: relative;
}

.hibafy-product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.hibafy-product-img--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hibafy-product-thumb:hover .hibafy-product-img--hover {
    opacity: 1;
}

.hibafy-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background-color: var(--hibafy-white);
    color: var(--hibafy-dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    z-index: 5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hibafy-wishlist-btn:hover {
    color: var(--hibafy-sale-red);
    transform: scale(1.08);
}

.hibafy-wishlist-btn.hibafy-wishlist-btn--active {
    color: var(--hibafy-sale-red);
}

.hibafy-products-grid ul.products li.product span.onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--hibafy-sale-red);
    color: var(--hibafy-white);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    z-index: 5;
    min-height: 0;
    line-height: 1.4;
}

.hibafy-product-cat {
    display: block;
    font-size: 12px;
    color: var(--hibafy-muted-text);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 16px 2px;
}

.hibafy-products-grid ul.products li.product h2,
.hibafy-products-grid ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--hibafy-font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--hibafy-dark-text);
    padding: 4px 16px;
    margin: 0;
    line-height: 1.4;
}

.hibafy-products-grid ul.products li.product .price {
    padding: 0 16px;
    display: block;
    font-family: var(--hibafy-font-body);
}

.hibafy-products-grid ul.products li.product .price ins {
    text-decoration: none;
    color: var(--hibafy-sale-red);
    font-size: 17px;
    font-weight: 700;
}

.hibafy-products-grid ul.products li.product .price del {
    color: var(--hibafy-muted-text);
    font-size: 13px;
    margin-right: 6px;
    opacity: 0.8;
}

.hibafy-products-grid ul.products li.product .price:not(:has(del)) {
    color: var(--hibafy-primary-green);
    font-size: 17px;
    font-weight: 700;
}

.hibafy-products-grid ul.products li.product a.add_to_cart_button,
.hibafy-products-grid ul.products li.product a.button {
    margin: 12px 16px 0;
    display: block;
    text-align: center;
}

@media (max-width: 900px) {
    .hibafy-products-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ==========================================================================
   SECTION 5 — WHY CHOOSE US
   ========================================================================== */

.hibafy-why-section {
    background-color: var(--hibafy-cream-bg);
}

.hibafy-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hibafy-why-card {
    text-align: center;
    padding: 24px;
}

.hibafy-why-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.hibafy-why-title {
    font-family: var(--hibafy-font-heading);
    font-size: 20px;
    color: var(--hibafy-primary-green);
    margin: 0 0 10px;
}

.hibafy-why-desc {
    font-family: var(--hibafy-font-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--hibafy-muted-text);
    margin: 0;
}

@media (max-width: 800px) {
    .hibafy-why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION 6 — TESTIMONIALS
   ========================================================================== */

.hibafy-testimonials-section {
    background-color: var(--hibafy-white);
}

.hibafy-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.hibafy-testimonial-card {
    border: 1px solid var(--hibafy-border-color);
    border-radius: 8px;
    padding: 28px;
    background-color: var(--hibafy-light-bg);
}

.hibafy-testimonial-stars {
    margin-bottom: 12px;
}

.hibafy-star {
    color: var(--hibafy-border-color);
    font-size: 16px;
}

.hibafy-star--filled {
    color: var(--hibafy-gold-accent);
}

.hibafy-testimonial-text {
    font-family: var(--hibafy-font-body);
    font-size: 14px;
    line-height: 1.8;
    color: var(--hibafy-dark-text);
    margin: 0 0 16px;
}

.hibafy-testimonial-author {
    font-family: var(--hibafy-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--hibafy-primary-green);
    margin: 0;
}

.hibafy-testimonial-location {
    font-weight: 400;
    color: var(--hibafy-muted-text);
}

@media (max-width: 800px) {
    .hibafy-testimonials-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION 7 — LATEST BLOG POSTS
   ========================================================================== */

.hibafy-blog-section {
    background-color: var(--hibafy-light-bg);
}

.hibafy-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.hibafy-blog-card {
    border: 1px solid var(--hibafy-border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--hibafy-white);
    transition: box-shadow 0.25s ease;
}

.hibafy-blog-card:hover {
    box-shadow: 0 10px 24px rgba(26, 94, 56, 0.1);
}

.hibafy-blog-thumb,
.hibafy-blog-thumb--placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: var(--hibafy-cream-bg);
}

.hibafy-blog-card-body {
    padding: 20px;
}

.hibafy-blog-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--hibafy-gold-accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.hibafy-blog-title {
    font-family: var(--hibafy-font-heading);
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.4;
}

.hibafy-blog-title a {
    color: var(--hibafy-dark-text);
    text-decoration: none;
}

.hibafy-blog-title a:hover {
    color: var(--hibafy-primary-green);
}

.hibafy-blog-date {
    display: block;
    font-size: 12px;
    color: var(--hibafy-muted-text);
    margin-bottom: 10px;
}

.hibafy-blog-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--hibafy-muted-text);
    margin: 0;
}

.hibafy-blog-more-wrap {
    text-align: center;
}

@media (max-width: 900px) {
    .hibafy-blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION 8 — NEWSLETTER CTA
   ========================================================================== */

.hibafy-newsletter-section {
    background-color: var(--hibafy-primary-green);
    padding: 60px 24px;
}

.hibafy-newsletter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hibafy-newsletter-title {
    font-family: var(--hibafy-font-heading);
    font-size: 30px;
    color: var(--hibafy-white);
    margin: 0 0 12px;
}

.hibafy-newsletter-subtitle {
    font-family: var(--hibafy-font-body);
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px;
}

.hibafy-newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hibafy-newsletter-form input[type="email"] {
    flex: 1 1 320px;
    padding: 14px 16px;
    border: none;
    border-radius: 4px;
    font-family: var(--hibafy-font-body);
    font-size: 14px;
}

.hibafy-newsletter-form .hibafy-btn {
    flex: 0 0 auto;
}