/*
Theme Name: Higher Deeper Fishing
Theme URI: https://fishing.higherdeeper.com.au
Author: AFDV Marketing
Author URI: https://afdvprojects.com
Description: CRO-optimized premium fishing ecommerce — "Premium Gear. Real Impact."
Version: 2.0.0
Tags: block-patterns, full-site-editing, ecommerce, woocommerce
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
*/

/* ==========================================================================
   0. CSS Variables (Design Tokens from Stitch + Brand)
   ========================================================================== */
:root {
    /* === Brand Palette (4 colors) === */
    --hdf-primary: #0000FF;           /* Blue */
    --hdf-primary-hover: #0000CC;
    --hdf-cyan: #00C8FF;              /* Cyan */
    --hdf-gray: #E8EAED;             /* Light Gray */
    --hdf-charcoal: #2D2D2D;         /* Dark Charcoal */

    /* === Derived Colors === */
    --hdf-white: #ffffff;
    --hdf-bg-light: #ffffff;
    --hdf-bg-alt: #F5F7F9;
    --hdf-text-dark: #2D2D2D;
    --hdf-text-body: #4A4A4A;
    --hdf-text-muted: #7A7A7A;
    --hdf-text-light: #9E9E9E;
    --hdf-border-light: #E8EAED;

    /* === Radii === */
    --hdf-radius: 0.75rem;
    --hdf-radius-lg: 1.25rem;
    --hdf-radius-xl: 2rem;
    --hdf-radius-full: 9999px;

    /* === Shadows === */
    --hdf-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --hdf-shadow-card-hover: 0 10px 25px rgba(0,0,0,0.08);
    --hdf-shadow-primary: 0 4px 14px rgba(0,0,255,0.2);
    --hdf-shadow-xl: 0 20px 40px rgba(0,0,0,0.1);

    /* === Motion === */
    --hdf-transition: all 0.2s ease;

    /* === Typography === */
    --hdf-font-heading: 'Outfit', sans-serif;
    --hdf-font-body: 'Roboto', sans-serif;
    --hdf-font-accent: 'Covered By Your Grace', cursive;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Kill WordPress default block margins — seamless sections */
.wp-site-blocks > * + * {
    margin-top: 0 !important;
}

.wp-site-blocks > .wp-block-template-part + *,
.wp-site-blocks > * + .wp-block-template-part,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove root body padding WordPress injects */
.wp-site-blocks {
    padding: 0 !important;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body .is-layout-flow > * {
    margin-top: 0;
    margin-bottom: 0;
}

/* Zero out all top-level section margins */
.wp-site-blocks .wp-block-group,
.wp-site-blocks .wp-block-cover,
.wp-site-blocks .wp-block-template-part {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--hdf-font-body);
    background-color: var(--hdf-bg-light) !important;
    color: var(--hdf-text-body) !important;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--hdf-transition);
}

a:hover {
    color: var(--hdf-primary);
}

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

/* ==========================================================================
   2. Trust Bar — Centered announcement strip
   ========================================================================== */
.hdf-trust-bar {
    background-color: var(--hdf-primary) !important;
    padding: 0.45rem 1rem !important;
    margin: 0 !important;
    justify-content: center !important;
}

.hdf-trust-bar p {
    margin: 0 !important;
    white-space: nowrap;
    font-family: var(--hdf-font-body) !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.85) !important;
    text-align: center !important;
}

/* ==========================================================================
   3. Header — Sticky glass morphism nav
   ========================================================================== */
.hdf-header {
    background: #0000FF !important;
    border-bottom: none !important;
    padding: 0.8rem 2rem !important;
    margin: 0 !important;
    position: sticky !important;
    top: 0;
    z-index: 100;
    transition: var(--hdf-transition);
}

.hdf-header .wp-block-site-logo img,
.hdf-header img {
    max-height: 52px !important;
    width: auto !important;
    object-fit: contain;
}

.hdf-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Navigation styling */
.hdf-header .wp-block-navigation {
    font-family: var(--hdf-font-body) !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

.hdf-header .wp-block-navigation a {
    color: rgba(255,255,255,0.85) !important;
    transition: var(--hdf-transition) !important;
    padding: 0.4rem 0 !important;
    position: relative;
}

.hdf-header .wp-block-navigation a:hover,
.hdf-header .wp-block-navigation a[aria-current="page"] {
    color: #ffffff !important;
}

/* Shop Now header button */
.hdf-shop-now-btn .wp-block-button__link {
    background: var(--hdf-cyan) !important;
    color: #ffffff !important;
    border-radius: 26px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    padding: 0.55rem 1.25rem !important;
    box-shadow: none !important;
    transition: var(--hdf-transition) !important;
}

.hdf-shop-now-btn .wp-block-button__link:hover {
    background: #00b3e6 !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   4. Hero Section — Full-bleed dramatic cover
   ========================================================================== */
.hdf-hero {
    min-height: 85vh !important;
    position: relative;
    margin: 0 !important;
}

.hdf-hero .wp-block-cover__background {
    background: linear-gradient(to bottom, rgba(5, 5, 21, 0.3), rgba(5, 5, 21, 0.92)) !important;
}

.hdf-hero .wp-block-cover__inner-container {
    max-width: 800px !important;
}

/* Hero accent subtitle */
.hdf-hero-accent {
    font-family: var(--hdf-font-heading) !important;
    color: var(--hdf-cyan) !important;
    font-weight: 700 !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
}

/* Hero heading */
.hdf-hero h1 {
    font-family: var(--hdf-font-heading) !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.03em;
}

/* Gradient text effect for "IMPACT" */
.hdf-gradient-text {
    background: linear-gradient(135deg, var(--hdf-primary), var(--hdf-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   5. Buttons — Premium pill style
   ========================================================================== */
.hdf-btn-primary .wp-block-button__link,
.wp-block-button.hdf-btn-primary a {
    background-color: var(--hdf-primary) !important;
    color: #ffffff !important;
    border-radius: var(--hdf-radius-full) !important;
    padding: 0.85rem 2rem !important;
    font-family: var(--hdf-font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    box-shadow: var(--hdf-shadow-primary) !important;
    transition: var(--hdf-transition) !important;
    border: none !important;
}

.hdf-btn-primary .wp-block-button__link:hover,
.wp-block-button.hdf-btn-primary a:hover {
    background-color: var(--hdf-primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 255, 0.3) !important;
}

.hdf-btn-secondary .wp-block-button__link,
.wp-block-button.hdf-btn-secondary a {
    background-color: #ffffff !important;
    color: var(--hdf-primary) !important;
    border-radius: var(--hdf-radius-full) !important;
    padding: 0.85rem 2rem !important;
    font-family: var(--hdf-font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: var(--hdf-transition) !important;
    border: none !important;
}

.hdf-btn-secondary .wp-block-button__link:hover,
.wp-block-button.hdf-btn-secondary a:hover {
    background-color: #f0f0f0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.hdf-btn-outline .wp-block-button__link,
.wp-block-button.hdf-btn-outline a {
    background: transparent !important;
    color: var(--hdf-primary) !important;
    border: 1.5px solid var(--hdf-primary) !important;
    border-radius: var(--hdf-radius-full) !important;
    padding: 0.85rem 2rem !important;
    font-family: var(--hdf-font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    transition: var(--hdf-transition) !important;
}

.hdf-btn-outline .wp-block-button__link:hover,
.wp-block-button.hdf-btn-outline a:hover {
    background: var(--hdf-primary) !important;
    color: var(--hdf-white) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   6. Product Cards — Clean White
   ========================================================================== */
.hdf-product-card {
    background: var(--hdf-white) !important;
    border: 1px solid var(--hdf-border-light) !important;
    border-radius: var(--hdf-radius) !important;
    padding: 1rem !important;
    transition: var(--hdf-transition) !important;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--hdf-shadow-card);
}

.hdf-product-card:hover {
    border-color: rgba(0, 0, 255, 0.3) !important;
    transform: translateY(-4px) !important;
    box-shadow: var(--hdf-shadow-card-hover) !important;
}

.hdf-product-card .wp-block-image {
    overflow: hidden !important;
    border-radius: 0.75rem !important;
    margin-bottom: 1rem !important;
    background-color: #fafafa;
    /* Light bg for real product photos */
}

.hdf-product-card .wp-block-image img {
    width: 100% !important;
    height: 16rem !important;
    object-fit: cover !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hdf-product-card:hover .wp-block-image img {
    transform: scale(1.1) !important;
}

/* Product badge */
.hdf-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.3rem 0.85rem;
    border-radius: var(--hdf-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

.hdf-badge--new {
    background: var(--hdf-cyan);
    color: var(--hdf-text-dark);
}

.hdf-badge--bestseller {
    background: var(--hdf-primary);
    color: var(--hdf-white);
}

/* Product price */
.hdf-price {
    color: var(--hdf-primary) !important;
    font-weight: 900 !important;
    font-size: 1.15rem !important;
    font-family: var(--hdf-font-heading) !important;
}

/* Add to cart button mini */
.hdf-add-to-cart-mini {
    background: var(--hdf-bg-alt);
    border: none;
    color: var(--hdf-text-dark);
    width: 40px;
    height: 40px;
    border-radius: var(--hdf-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--hdf-transition);
}

.hdf-add-to-cart-mini:hover {
    background: var(--hdf-primary);
}

/* Section heading accent bar */
.hdf-section-bar {
    width: 4rem;
    height: 4px;
    background: var(--hdf-cyan);
    border-radius: var(--hdf-radius-full);
    margin-top: 0.5rem;
}

/* ==========================================================================
   7. Mission Impact — Dark section with accent font
   ========================================================================== */
.hdf-mission-impact {
    background: linear-gradient(135deg, #0000FF 0%, #00C8FF 100%) !important;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

/* Handwritten accent heading */
.hdf-accent-heading {
    font-family: var(--hdf-font-accent) !important;
    color: var(--hdf-cyan) !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    line-height: 1.2 !important;
}

/* Mission pillar icons */
.hdf-pillar-icon {
    width: 5rem;
    height: 5rem;
    border-radius: var(--hdf-radius-full);
    border: 1px solid rgba(0, 200, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--hdf-transition);
    font-size: 2.5rem;
}

.hdf-pillar-icon:hover {
    background: rgba(0, 200, 255, 0.1);
}

/* ==========================================================================
   8. Email Capture — Gradient card with inline form
   ========================================================================== */
.hdf-email-capture {
    background: linear-gradient(135deg, var(--hdf-primary), #0000CC) !important;
    border-radius: var(--hdf-radius-xl) !important;
    box-shadow: var(--hdf-shadow-xl) !important;
    max-width: 1200px;
    margin: 0 auto;
}

.hdf-email-capture h2 {
    font-family: var(--hdf-font-heading) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   9. Footer — Premium dark
   ========================================================================== */
.hdf-footer {
    background-color: var(--hdf-primary) !important;
    border-top: none !important;
    margin: 0 !important;
}

.hdf-footer h4 {
    font-family: var(--hdf-font-heading) !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    margin-bottom: 1.25rem !important;
}

.hdf-footer .hdf-footer__links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hdf-footer .hdf-footer__links li {
    margin-bottom: 0.6rem;
}

.hdf-footer .hdf-footer__links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    transition: var(--hdf-transition);
}

.hdf-footer .hdf-footer__links a:hover {
    color: var(--hdf-cyan) !important;
}

/* Social icons */
.hdf-footer .wp-block-social-links.is-style-logos-only .wp-social-link {
    width: 2.25rem;
    height: 2.25rem;
    background: transparent !important;
    border: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--hdf-radius-full) !important;
    transition: var(--hdf-transition);
}

.hdf-footer .wp-block-social-links.is-style-logos-only .wp-social-link:hover {
    background: transparent !important;
    border: none !important;
    opacity: 0.7;
}

/* ==========================================================================
   10. Floating Cart Badge
   ========================================================================== */
.hdf-floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--hdf-primary);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--hdf-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hdf-white);
    font-size: 1.5rem;
    box-shadow: var(--hdf-shadow-xl);
    z-index: 200;
    cursor: pointer;
    transition: var(--hdf-transition);
}

.hdf-floating-cart:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   11. Scroll Reveal Animation
   ========================================================================== */
.hdf-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hdf-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   12. WooCommerce Overrides
   ========================================================================== */
.woocommerce ul.products li.product {
    background: var(--hdf-white);
    border: 1px solid var(--hdf-border-light);
    border-radius: var(--hdf-radius);
    padding: 1rem;
    transition: var(--hdf-transition);
    box-shadow: var(--hdf-shadow-card);
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(0, 0, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--hdf-shadow-card-hover);
}

.woocommerce .price {
    color: var(--hdf-primary) !important;
    font-weight: 900 !important;
    font-family: var(--hdf-font-heading) !important;
}

.woocommerce a.button,
.woocommerce button.button {
    background: var(--hdf-primary) !important;
    color: #ffffff !important;
    /* WCAG: high contrast on blue */
    border-radius: var(--hdf-radius-full) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: var(--hdf-transition) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--hdf-primary-hover) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   13. Material Icons (loaded via Google Fonts)
   ========================================================================== */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

/* ==========================================================================
   14. WordPress Admin Bar adjustment
   ========================================================================== */
body.admin-bar .hdf-header-wrapper {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .hdf-header-wrapper {
        top: 46px;
    }
}

/* ==========================================================================
   15. Responsive — Mobile First
   ========================================================================== */
@media (max-width: 768px) {
    .hdf-hero h1 {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
    }

    .hdf-trust-bar {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.5rem !important;
        gap: 0.5rem !important;
    }

    .hdf-product-card .wp-block-image img {
        height: 12rem !important;
    }

    .hdf-email-capture {
        border-radius: var(--hdf-radius) !important;
        padding: 2rem 1.5rem !important;
    }

    .hdf-floating-cart {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
    }

    .hdf-contact-form div {
        flex-direction: column !important;
    }
}

/* ==========================================================================
   16. Inner Page Styles
   ========================================================================== */

/* Post/page content area — readable typography on light bg */
.wp-block-post-content p,
.wp-block-post-content li {
    color: var(--hdf-text-body);
    font-size: 1.05rem;
    line-height: 1.8;
}

.wp-block-post-content h2 {
    color: var(--hdf-text-dark);
    font-family: var(--hdf-font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.wp-block-post-content h3 {
    color: var(--hdf-text-dark);
    font-family: var(--hdf-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.wp-block-post-content h4 {
    color: var(--hdf-text-dark);
    font-family: var(--hdf-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.wp-block-post-content a {
    color: var(--hdf-primary);
}

.wp-block-post-content a:hover {
    color: var(--hdf-primary-hover);
}

.wp-block-post-content img {
    border-radius: 0.75rem;
}

.wp-block-post-content ul,
.wp-block-post-content ol {
    padding-left: 1.5rem;
}

/* Pagination styling */
.wp-block-query-pagination {
    gap: 0.5rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
    color: var(--hdf-text-body) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--hdf-radius-full);
    border: 1px solid var(--hdf-border-light);
    font-size: 0.95rem;
    transition: var(--hdf-transition);
}

.wp-block-query-pagination a:hover {
    background: var(--hdf-primary) !important;
    color: var(--hdf-white) !important;
    border-color: var(--hdf-primary) !important;
}

/* WooCommerce inner page overrides */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering select {
    color: var(--hdf-text-body);
    background: var(--hdf-white);
    border: 1px solid var(--hdf-border-light);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.woocommerce-page .woocommerce-breadcrumb {
    color: var(--hdf-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.woocommerce-page .woocommerce-breadcrumb a {
    color: var(--hdf-primary);
}

/* Contact form styling */
.hdf-contact-form input:focus,
.hdf-contact-form textarea:focus {
    outline: none;
    border-color: var(--hdf-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.15);
}

.hdf-contact-form input::placeholder,
.hdf-contact-form textarea::placeholder {
    color: var(--hdf-text-light);
}

.hdf-contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 255, 0.2);
}

/* Blockquote styling */
.wp-block-quote {
    border-left: 4px solid var(--hdf-cyan) !important;
    padding-left: 1.5rem !important;
    margin: 2rem 0 !important;
}

.wp-block-quote cite {
    color: var(--hdf-text-muted) !important;
    font-style: normal !important;
    font-size: 0.9rem !important;
    display: block;
    margin-top: 0.75rem;
}

/* Social links on contact page */
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
    background: var(--hdf-bg-alt) !important;
    border: 1px solid var(--hdf-border-light);
    border-radius: 50% !important;
    transition: var(--hdf-transition);
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link:hover {
    background: var(--hdf-primary) !important;
    border-color: var(--hdf-primary) !important;
}

/* Inner page heading accents */
.hdf-hero+.wp-block-group h2:first-of-type {
    position: relative;
}


/* ==========================================================================
   17. Trust Badges Row
   ========================================================================== */
.hdf-trust-badges {
    gap: 2.5rem !important;
    margin: 0 !important;
    background: var(--hdf-gray) !important;
}

.hdf-trust-badges .wp-block-group {
    gap: 0.35rem !important;
}

.hdf-trust-badges p {
    margin: 0 !important;
    color: var(--hdf-charcoal) !important;
}

/* ==========================================================================
   18. Gifts for Dad — Split Section
   ========================================================================== */
.hdf-gifts-section {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.hdf-gifts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 255, 0.03), transparent);
    pointer-events: none;
}

.hdf-gifts-section ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.hdf-gifts-section ul li {
    padding: 0.25rem 0;
}

/* ==========================================================================
   19. Why Buy From Us — SEO Section
   ========================================================================== */
.hdf-why-us {
    position: relative;
    margin: 0 !important;
}

.hdf-why-us::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 255, 0.04), transparent 70%);
    pointer-events: none;
}

/* ==========================================================================
   20. Final CTA Section
   ========================================================================== */
.hdf-final-cta {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}

.hdf-final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 255, 0.04), transparent 60%);
    pointer-events: none;
}

/* ==========================================================================
   21. Tablet Breakpoint (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .hdf-header .wp-block-navigation {
        font-size: 0.85rem !important;
    }

    .hdf-hero {
        min-height: 65vh !important;
    }

    .hdf-product-card .wp-block-image img {
        height: 14rem !important;
    }

    /* Reduce section padding on tablet */
    .hdf-mission-impact,
    .hdf-gifts-section,
    .hdf-why-us,
    .hdf-final-cta {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

/* ==========================================================================
   22. Mobile Additions (768px)
   ========================================================================== */
@media (max-width: 768px) {
    .hdf-trust-badges {
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .hdf-trust-badges .wp-block-group p:first-child {
        font-size: 1.2rem !important;
    }

    .hdf-trust-badges .wp-block-group p:last-child {
        font-size: 0.8rem !important;
    }

    .hdf-gifts-section .wp-block-columns {
        flex-direction: column !important;
    }

    .hdf-final-cta h2 {
        font-size: 1.5rem !important;
    }

    /* Reduce section padding on mobile */
    .hdf-mission-impact,
    .hdf-gifts-section,
    .hdf-why-us,
    .hdf-final-cta {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .hdf-btn-primary .wp-block-button__link,
    .wp-block-button.hdf-btn-primary a,
    .hdf-btn-outline .wp-block-button__link,
    .wp-block-button.hdf-btn-outline a {
        padding: 0.85rem 2rem !important;
        font-size: 0.85rem !important;
    }

    .hdf-footer h4 {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    .hdf-footer .hdf-footer__links a {
        font-size: 0.9rem;
    }

    /* Blog grid: 1 column on mobile */
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: 1fr !important;
    }

    .wp-block-post-content h2 {
        font-size: 1.5rem;
    }

    .wp-block-post-content h3 {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   23. Shop Page — Figma Design Implementation
   ========================================================================== */

/* --- Shop Banner --- */
.hdf-shop-banner {
    background: var(--hdf-gray) !important;
    margin: 0 !important;
}

.hdf-shop-banner h1 {
    margin-bottom: 0.25rem !important;
    font-family: var(--hdf-font-heading) !important;
    color: var(--hdf-charcoal) !important;
}

.hdf-shop-banner p {
    margin-top: 0 !important;
    color: var(--hdf-text-muted) !important;
}

/* --- Hero Section (Sidebar + Banners) --- */
.hdf-shop-hero-section {
    background: var(--hdf-white) !important;
    margin: 0 !important;
}

.hdf-shop-hero-section > .wp-block-columns {
    background: var(--hdf-white);
    border: 1px solid #DCE0E5;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
    align-items: stretch !important;
}

/* --- Category Sidebar --- */
.hdf-shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2px !important;
}

.hdf-shop-sidebar h4 {
    color: #2D2D2D !important;
    margin-bottom: 0.5rem !important;
    padding: 0.5rem 0.625rem;
}

.hdf-shop-cat-item {
    padding: 0.5rem 0.625rem !important;
    border-radius: 8px;
    transition: var(--hdf-transition);
    cursor: pointer;
}

.hdf-shop-cat-item:hover {
    background: #EDF0F2;
}

.hdf-shop-cat-active {
    background: #EDF0F2 !important;
}

.hdf-shop-cat-item p {
    color: #2D2D2D !important;
    margin: 0 !important;
}

/* Category icons */
.hdf-cat-icon {
    margin: 0 !important;
    flex-shrink: 0;
}

.hdf-cat-icon img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
}

.hdf-cat-arrow {
    color: #2D2D2D !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}

/* --- Featured Banner --- */
.hdf-shop-featured-banner {
    position: relative;
    overflow: hidden;
}

.hdf-shop-featured-banner > .wp-block-group {
    background: var(--hdf-gray);
    border-radius: 8px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hdf-shop-featured-title {
    font-family: 'Inter', var(--hdf-font-heading) !important;
    line-height: 1.2 !important;
}

.hdf-shop-learn-btn .wp-block-button__link {
    background: var(--hdf-white) !important;
    color: #2D2D2D !important;
    border: 1px solid white !important;
    box-shadow: 0px 1px 2px rgba(56, 56, 56, 0.08) !important;
    text-transform: none !important;
    letter-spacing: -0.3px !important;
    padding: 0.5rem 0.75rem !important;
    font-weight: 500 !important;
}

.hdf-shop-learn-btn .wp-block-button__link:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0px 4px 12px rgba(56, 56, 56, 0.12) !important;
}

/* --- Promo Banner --- */
.hdf-shop-promo-banner > .wp-block-group {
    background: var(--hdf-primary);
    border-radius: 8px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hdf-shop-offer-btn .wp-block-button__link {
    background: transparent !important;
    color: var(--hdf-white) !important;
    border: 1px solid white !important;
    text-transform: none !important;
    letter-spacing: -0.3px !important;
    padding: 0.5rem 0.75rem !important;
    font-weight: 400 !important;
}

.hdf-shop-offer-btn .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* --- Section Title --- */
.hdf-shop-title-section {
    margin: 0 !important;
}

.hdf-shop-title-section h2 {
    color: #1C1C1C !important;
    font-family: 'Inter', var(--hdf-font-heading) !important;
}

.hdf-shop-title-arrow {
    color: #1C1C1C !important;
    margin: 0 !important;
    font-weight: 300;
}

/* --- Product Grid --- */
.hdf-shop-products {
    margin: 0 !important;
}

/* Override WooCommerce flex layout to use CSS Grid for 5-column layout */
.hdf-shop-grid .wc-block-product-template,
.hdf-shop-grid ul.wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    flex-wrap: unset !important;
    flex-direction: unset !important;
}

/* Ensure list items fill grid cells */
.hdf-shop-grid .wc-block-product-template > li,
.hdf-shop-grid .wc-block-product-template > li.wc-block-product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* --- Product Card --- */
.hdf-shop-card {
    background: var(--hdf-white) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: var(--hdf-transition);
    width: 100% !important;
    min-width: 0 !important;
}

.hdf-shop-card:hover {
    box-shadow: var(--hdf-shadow-card-hover);
    transform: translateY(-3px);
}

/* Card image area */
.hdf-shop-card-image {
    background: #EDF0F2;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.hdf-shop-card-image .wc-block-components-product-image {
    margin: 0 !important;
}

.hdf-shop-card-image img,
.hdf-shop-card-image .wc-block-components-product-image img,
.hdf-shop-card-image .wp-block-woocommerce-product-image img {
    width: 100% !important;
    height: 270px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hdf-shop-card:hover .hdf-shop-card-image img {
    transform: scale(1.05) !important;
}

/* Card info area */
.hdf-shop-card-info {
    min-width: 0 !important;
}

.hdf-shop-card-info h3,
.hdf-shop-card-info .wp-block-post-title {
    font-family: var(--hdf-font-body) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.3px !important;
    color: #2D2D2D !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: break-word !important;
}

.hdf-shop-card-info h3 a,
.hdf-shop-card-info .wp-block-post-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.hdf-shop-card-info h3 a:hover,
.hdf-shop-card-info .wp-block-post-title a:hover {
    color: var(--hdf-primary) !important;
}

/* Hide mission badge on shop cards */
.hdf-shop-card-info .hdf-product-card__badge {
    display: none !important;
}

/* Rating */
.hdf-shop-card-info .wc-block-components-product-rating {
    margin: 0 !important;
}

.hdf-shop-card-info .wc-block-components-product-rating__stars {
    font-size: 13px !important;
}

/* Price row */
.hdf-shop-card-price-row {
    margin-top: 0.25rem !important;
}

.hdf-shop-card-price-row .wc-block-components-product-price,
.hdf-shop-card-price-row .wp-block-woocommerce-product-price {
    font-family: var(--hdf-font-heading) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2D2D2D !important;
}

.hdf-shop-card-price-row .wc-block-components-product-price .woocommerce-Price-amount,
.hdf-shop-card-price-row .wc-block-components-product-price .wc-block-components-product-price__value {
    color: #2D2D2D !important;
}

/* Add to cart icon button */
.hdf-shop-add-btn,
.hdf-shop-add-btn.wp-block-button,
.hdf-shop-add-btn.wc-block-components-product-button {
    width: 40px !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
}

.hdf-shop-add-btn .wp-block-button__link,
.hdf-shop-add-btn .wc-block-components-product-button__button,
.hdf-shop-add-btn a.wp-element-button {
    background: var(--hdf-white) !important;
    border: 1px solid #DCE0E5 !important;
    border-radius: 8px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2D2D2D !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: inset 0px 12px 12px rgba(255, 255, 255, 0.12), inset 0px -2px 2px rgba(48, 48, 48, 0.1) !important;
    transition: var(--hdf-transition) !important;
    overflow: hidden !important;
}

.hdf-shop-add-btn .wp-block-button__link::before,
.hdf-shop-add-btn .wc-block-components-product-button__button::before,
.hdf-shop-add-btn a.wp-element-button::before {
    content: '\e8cc';
    font-family: 'Material Icons' !important;
    font-size: 20px !important;
    color: #2D2D2D;
}

.hdf-shop-add-btn .wp-block-button__link:hover,
.hdf-shop-add-btn .wc-block-components-product-button__button:hover,
.hdf-shop-add-btn a.wp-element-button:hover {
    background: var(--hdf-primary) !important;
    border-color: var(--hdf-primary) !important;
    color: var(--hdf-white) !important;
}

.hdf-shop-add-btn .wp-block-button__link:hover::before,
.hdf-shop-add-btn .wc-block-components-product-button__button:hover::before,
.hdf-shop-add-btn a.wp-element-button:hover::before {
    color: var(--hdf-white);
}

/* ==========================================================================
   24. Shop Page — Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hdf-shop-grid .wc-block-product-template,
    .hdf-shop-grid ul.wc-block-product-template {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .hdf-shop-card-image img {
        height: 220px !important;
    }

    .hdf-shop-promo-banner {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hdf-shop-hero-section > .wp-block-columns {
        flex-direction: column !important;
    }

    .hdf-shop-sidebar {
        flex-basis: auto !important;
    }

    .hdf-shop-featured-banner .hdf-shop-featured-inner {
        padding: 1.5rem !important;
    }

    .hdf-shop-featured-title {
        font-size: 24px !important;
    }

    .hdf-shop-grid .wc-block-product-template,
    .hdf-shop-grid ul.wc-block-product-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .hdf-shop-card-image img {
        height: 180px !important;
    }

    .hdf-shop-title-section h2 {
        font-size: 22px !important;
    }
}

@media (max-width: 480px) {
    .hdf-shop-grid .wc-block-product-template,
    .hdf-shop-grid ul.wc-block-product-template {
        grid-template-columns: 1fr !important;
    }

    .hdf-shop-banner h1 {
        font-size: 32px !important;
    }
}

/* ==========================================================================
   25. Page Banner — Blue header strip for inner pages
   ========================================================================== */
.hdf-page-banner {
    background: var(--hdf-gray) !important;
    margin: 0 !important;
    text-align: center;
}

.hdf-page-banner h1 {
    font-family: var(--hdf-font-heading) !important;
    color: var(--hdf-charcoal) !important;
    margin: 0 !important;
}

.hdf-page-banner p {
    color: var(--hdf-text-muted) !important;
}

.hdf-page-banner .hdf-breadcrumb-current {
    color: var(--hdf-text-dark);
    font-weight: 600;
}

/* Post banner */
.hdf-post-banner {
    background: var(--hdf-gray) !important;
    margin: 0 !important;
    text-align: center;
}

.hdf-post-banner h1 {
    font-family: var(--hdf-font-heading) !important;
    color: var(--hdf-charcoal) !important;
    margin: 0 !important;
}

.hdf-post-banner .wp-block-post-date {
    color: var(--hdf-text-muted) !important;
}

/* Product breadcrumb */
.hdf-product-breadcrumb-banner {
    background: var(--hdf-gray) !important;
    margin: 0 !important;
}

.hdf-product-breadcrumb-banner p {
    color: var(--hdf-text-muted) !important;
}

/* ==========================================================================
   26. Page & Post Content Areas
   ========================================================================== */
.hdf-page-content,
.hdf-post-content,
.hdf-product-content {
    margin: 0 !important;
}

.hdf-page-content .wp-block-post-content,
.hdf-post-content .wp-block-post-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Featured image on single posts */
.hdf-post-content .wp-block-post-featured-image {
    margin-bottom: 2rem;
}

.hdf-post-content .wp-block-post-featured-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   27. Blog Grid Cards
   ========================================================================== */
.wp-block-post-template.is-layout-grid {
    gap: 1.5rem !important;
}

/* Blog card wrapper */
.wp-block-post-template.is-layout-grid .wp-block-group {
    background: var(--hdf-white);
    border: 1px solid var(--hdf-border-light);
    overflow: hidden;
    transition: var(--hdf-transition);
    box-shadow: var(--hdf-shadow-card);
    height: 100%;
}

.wp-block-post-template.is-layout-grid .wp-block-group:hover {
    transform: translateY(-3px);
    box-shadow: var(--hdf-shadow-card-hover);
    border-color: rgba(0, 0, 255, 0.2);
}

/* Blog card image */
.wp-block-post-template .wp-block-post-featured-image {
    margin: 0 !important;
    overflow: hidden;
}

.wp-block-post-template .wp-block-post-featured-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.wp-block-post-template .wp-block-group:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

/* Blog card title */
.wp-block-post-template .wp-block-post-title {
    font-family: var(--hdf-font-heading) !important;
    margin-bottom: 0.5rem !important;
}

.wp-block-post-template .wp-block-post-title a {
    color: #2D2D2D !important;
    text-decoration: none !important;
}

.wp-block-post-template .wp-block-post-title a:hover {
    color: var(--hdf-primary) !important;
}

/* Blog card excerpt */
.wp-block-post-template .wp-block-post-excerpt__excerpt {
    color: var(--hdf-text-body);
    line-height: 1.6;
}

/* Blog card date */
.wp-block-post-template .wp-block-post-date {
    margin-top: 0.75rem !important;
}

/* ==========================================================================
   28. Homepage — Best Sellers Section
   ========================================================================== */
.hdf-best-sellers {
    margin: 0 !important;
}

.hdf-accent-bar {
    width: 60px !important;
    height: 3px !important;
    border: none !important;
}

/* Homepage product grid — 4 columns */
.hdf-product-grid .wc-block-product-template,
.hdf-product-grid ul.wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
}

.hdf-product-grid .wc-block-product-template > li {
    width: 100% !important;
    min-width: 0 !important;
}

.hdf-product-grid .wc-block-components-product-image {
    border-radius: 0.75rem;
    overflow: hidden;
}

.hdf-product-grid .wc-block-components-product-image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.hdf-product-grid .wc-block-product-template > li:hover .wc-block-components-product-image img {
    transform: scale(1.05);
}

/* ==========================================================================
   29. WooCommerce Single Product Overrides
   ========================================================================== */
.hdf-product-content .woocommerce div.product {
    max-width: 1200px;
    margin: 0 auto;
}

.hdf-product-content .woocommerce div.product div.images {
    border-radius: 12px;
    overflow: hidden;
}

.hdf-product-content .woocommerce div.product .product_title {
    font-family: var(--hdf-font-heading) !important;
    font-weight: 800 !important;
    color: #2D2D2D !important;
    font-size: 2rem !important;
}

.hdf-product-content .woocommerce div.product p.price {
    font-family: var(--hdf-font-heading) !important;
    font-weight: 700 !important;
    color: var(--hdf-primary) !important;
    font-size: 1.5rem !important;
}

.hdf-product-content .woocommerce div.product .single_add_to_cart_button {
    background: var(--hdf-primary) !important;
    border-radius: var(--hdf-radius-full) !important;
    padding: 0.85rem 2.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: var(--hdf-transition) !important;
}

.hdf-product-content .woocommerce div.product .single_add_to_cart_button:hover {
    background: var(--hdf-primary-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 255, 0.25) !important;
}

/* Product tabs */
.hdf-product-content .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--hdf-font-heading) !important;
    font-weight: 600 !important;
    color: var(--hdf-text-muted) !important;
}

.hdf-product-content .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--hdf-primary) !important;
}

/* ==========================================================================
   30. Inner Pages — Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hdf-page-banner,
    .hdf-post-banner {
        padding: 1.5rem 1rem !important;
    }

    .hdf-page-banner h1,
    .hdf-post-banner h1 {
        font-size: 26px !important;
    }

    .hdf-page-content,
    .hdf-post-content {
        padding: 2rem 1rem !important;
    }

    .wp-block-post-template .wp-block-post-featured-image img {
        height: 160px !important;
    }

    .hdf-product-grid .wc-block-product-template,
    .hdf-product-grid ul.wc-block-product-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .hdf-product-grid .wc-block-components-product-image img {
        height: 200px !important;
    }
}

/* ==========================================================================
   31. WooCommerce Cart & Checkout — Light Theme
   ========================================================================== */
.wc-block-cart,
.wc-block-checkout {
    color: var(--hdf-text-body) !important;
}

.wc-block-cart .wc-block-components-product-name,
.wc-block-checkout .wc-block-components-product-name {
    color: #2D2D2D !important;
    font-family: var(--hdf-font-heading) !important;
}

.wc-block-cart .wc-block-components-totals-item__value,
.wc-block-checkout .wc-block-components-totals-item__value {
    color: #2D2D2D !important;
    font-weight: 700 !important;
}

.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button {
    background: var(--hdf-primary) !important;
    color: #ffffff !important;
    border-radius: var(--hdf-radius-full) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: var(--hdf-transition) !important;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
    background: var(--hdf-primary-hover) !important;
    transform: translateY(-1px) !important;
}

/* WooCommerce form inputs */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-textarea textarea {
    border-color: var(--hdf-border-light) !important;
    border-radius: 0.5rem !important;
    color: var(--hdf-text-body) !important;
}

.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-textarea textarea:focus {
    border-color: var(--hdf-cyan) !important;
    box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.15) !important;
}

/* ==========================================================================
   32. Contact Form — Light Theme Override
   ========================================================================== */
.hdf-contact-form input,
.hdf-contact-form textarea {
    background: #ffffff !important;
    border: 1px solid var(--hdf-border-light) !important;
    border-radius: 0.75rem !important;
    color: var(--hdf-text-body) !important;
    font-family: var(--hdf-font-body) !important;
    font-size: 0.95rem !important;
    padding: 0.9rem 1.2rem !important;
}

.hdf-contact-form button[type="submit"] {
    background: var(--hdf-primary) !important;
    color: #ffffff !important;
    border-radius: var(--hdf-radius-full) !important;
    box-shadow: var(--hdf-shadow-primary) !important;
}
