/* ═══════════════════════════════════════════════
   HOMELY GIFTS – Custom Frontend CSS
   Design Direction: Warm Local Premium Gift Shop
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
    /* Palette */
    --hg-cream:       #FAF7F4;
    --hg-mocha:       #8B6F5C;
    --hg-mocha-dark:  #705848;
    --hg-terracotta:  #C4956A;
    --hg-sage:        #2D5016;
    --hg-sage-light:  #E8F0E4;
    --hg-charcoal:    #2C2C2C;
    --hg-mid:         #666666;
    --hg-light:       #999999;
    --hg-white:       #FFFFFF;
    --hg-border:      #D4C5B9;
    --hg-border-light:#E8DFD7;
    --hg-bg:          #FAF7F4;
    --hg-card-shadow: 0 2px 12px rgba(44,44,44,0.06);
    --hg-card-hover:  0 4px 20px rgba(44,44,44,0.10);

    /* Typography */
    --hg-serif:       'Georgia', 'Times New Roman', serif;
    --hg-sans:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --hg-gap-xs:  8px;
    --hg-gap-sm:  16px;
    --hg-gap-md:  24px;
    --hg-gap-lg:  40px;
    --hg-gap-xl:  64px;
    --hg-gap-xxl: 96px;

    /* Radii */
    --hg-radius-sm: 4px;
    --hg-radius-md: 8px;
    --hg-radius-lg: 16px;
    --hg-radius-full: 50%;
}

/* ── Global Resets ── */
body {
    background-color: var(--hg-bg);
    color: var(--hg-charcoal);
    font-family: var(--hg-sans);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hg-serif);
    color: var(--hg-charcoal);
    line-height: 1.3;
}

a {
    color: var(--hg-mocha);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--hg-terracotta);
}

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

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.hg-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--hg-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: var(--hg-radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-align: center;
}

.hg-btn-primary {
    background: var(--hg-mocha);
    color: var(--hg-white);
    border-color: var(--hg-mocha);
}
.hg-btn-primary:hover {
    background: var(--hg-mocha-dark);
    border-color: var(--hg-mocha-dark);
    color: var(--hg-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139,111,92,0.3);
}

.hg-btn-outline {
    background: transparent;
    color: var(--hg-mocha);
    border-color: var(--hg-mocha);
}
.hg-btn-outline:hover {
    background: var(--hg-mocha);
    color: var(--hg-white);
}

/* WooCommerce button overrides */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--hg-mocha) !important;
    color: var(--hg-white) !important;
    border-radius: var(--hg-radius-sm) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    transition: all 0.25s ease;
    border: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--hg-mocha-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139,111,92,0.3);
}

/* ══════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════════════════════════ */
.hg-announcement-bar {
    background: var(--hg-charcoal);
    color: var(--hg-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hg-announce-sep {
    opacity: 0.3;
    margin: 0 8px;
}

@media (max-width: 768px) {
    .hg-announcement-bar {
        font-size: 12px;
        padding: 8px 16px;
    }
    .hg-announce-sep {
        display: none;
    }
    .hg-announcement-bar span:nth-child(n+3) {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════ */
.hg-trust-bar {
    background: var(--hg-cream);
    border-top: 1px solid var(--hg-border-light);
    border-bottom: 1px solid var(--hg-border-light);
    padding: 18px 20px;
    box-shadow: 0 0 0 100vmax var(--hg-cream);
    clip-path: inset(-1px -100vmax);
}
.hg-trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hg-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hg-charcoal);
    white-space: nowrap;
}
.hg-trust-item-icon {
    font-size: 18px;
}

@media (max-width: 768px) {
    .hg-trust-bar-inner {
        gap: 12px 24px;
        justify-content: center;
    }
    .hg-trust-item {
        font-size: 12px;
        flex: 0 0 auto;
    }
}

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hg-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hg-mocha);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 0 0 100vmax var(--hg-mocha);
    clip-path: inset(0 -100vmax);
}
.hg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,44,44,0.55) 0%, rgba(139,111,92,0.4) 100%);
}
.hg-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 40px 24px;
}
.hg-hero-content h1 {
    font-family: var(--hg-serif);
    font-size: 52px;
    font-weight: 700;
    color: var(--hg-white);
    margin: 0 0 16px 0;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hg-hero-content p {
    font-family: var(--hg-sans);
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 28px 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hg-hero {
        min-height: 380px;
    }
    .hg-hero-content h1 {
        font-size: 32px;
    }
    .hg-hero-content p {
        font-size: 15px;
    }
}

/* ══════════════════════════════════════════════
   SECTION HEADINGS
   ══════════════════════════════════════════════ */
.hg-section-heading {
    text-align: center;
    margin-bottom: var(--hg-gap-lg);
    padding: 0 20px;
}
.hg-section-heading h2 {
    font-family: var(--hg-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--hg-charcoal);
    margin: 0 0 8px 0;
}
.hg-section-heading p {
    font-size: 16px;
    color: var(--hg-mid);
    margin: 0;
}

/* ══════════════════════════════════════════════
   HOMEPAGE SECTIONS – Wrapper
   ══════════════════════════════════════════════ */
.hg-section {
    padding: var(--hg-gap-xl) 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.hg-section-wide {
    padding: var(--hg-gap-xl) 0;
}
.hg-section-cream {
    background: var(--hg-cream);
}
.hg-section-white {
    background: var(--hg-white);
}
.hg-section-mocha {
    background: var(--hg-mocha);
    color: var(--hg-white);
}

/* ══════════════════════════════════════════════
   CATEGORY GRID
   ══════════════════════════════════════════════ */
.hg-cat-grid {
    display: grid;
    gap: var(--hg-gap-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hg-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hg-cols-4 { grid-template-columns: repeat(4, 1fr); }
.hg-cols-6 { grid-template-columns: repeat(6, 1fr); }

.hg-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
    padding: 12px;
}
.hg-cat-tile:hover {
    transform: translateY(-4px);
}
.hg-cat-tile-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--hg-radius-md);
    background-size: cover;
    background-position: center;
    background-color: var(--hg-border-light);
    margin-bottom: 12px;
    box-shadow: var(--hg-card-shadow);
    transition: box-shadow 0.25s ease;
}
.hg-cat-tile:hover .hg-cat-tile-img {
    box-shadow: var(--hg-card-hover);
}

/* Circle style */
.hg-cat-grid--circle .hg-cat-tile-img {
    border-radius: var(--hg-radius-full);
    max-width: 160px;
}

/* Card style */
.hg-cat-grid--card .hg-cat-tile {
    background: var(--hg-white);
    border-radius: var(--hg-radius-md);
    box-shadow: var(--hg-card-shadow);
    padding: 0;
    overflow: hidden;
}
.hg-cat-grid--card .hg-cat-tile-img {
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}
.hg-cat-grid--card .hg-cat-tile-name,
.hg-cat-grid--card .hg-cat-tile-count {
    padding: 0 16px;
}
.hg-cat-grid--card .hg-cat-tile-name {
    padding-top: 12px;
}
.hg-cat-grid--card .hg-cat-tile-count {
    padding-bottom: 16px;
}

.hg-cat-tile-name {
    font-family: var(--hg-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--hg-charcoal);
    margin-bottom: 2px;
}
.hg-cat-tile-count {
    font-size: 12px;
    color: var(--hg-light);
}

@media (max-width: 768px) {
    .hg-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .hg-cols-6 { grid-template-columns: repeat(3, 1fr); }
    .hg-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .hg-cat-grid--circle .hg-cat-tile-img {
        max-width: 120px;
    }
}
@media (max-width: 480px) {
    .hg-cols-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════
   PRODUCTS ROW (shortcode output)
   ══════════════════════════════════════════════ */
.hg-products-row {
    display: grid;
    gap: var(--hg-gap-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ══════════════════════════════════════════════
   PRODUCT CARD (shortcode & overrides)
   ══════════════════════════════════════════════ */
.hg-product-card {
    background: var(--hg-white);
    border-radius: var(--hg-radius-md);
    overflow: hidden;
    box-shadow: var(--hg-card-shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hg-product-card:hover {
    box-shadow: var(--hg-card-hover);
    transform: translateY(-3px);
}
.hg-product-card-link {
    text-decoration: none;
    display: block;
}
.hg-product-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f8f6f3;
}
.hg-product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hg-product-card:hover .hg-product-card-img-wrap img {
    transform: scale(1.05);
}
.hg-product-card-info {
    padding: 16px;
}
.hg-product-card-title {
    font-family: var(--hg-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--hg-charcoal);
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hg-product-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--hg-mocha);
}
.hg-product-card-price del {
    color: var(--hg-light);
    font-weight: 400;
    font-size: 13px;
}
.hg-product-card-price ins {
    text-decoration: none;
    color: var(--hg-mocha);
}

@media (max-width: 768px) {
    .hg-products-row.hg-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hg-product-card-info {
        padding: 12px;
    }
    .hg-product-card-title {
        font-size: 13px;
    }
    .hg-product-card-price {
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════ */
.hg-badge {
    position: absolute;
    top: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--hg-radius-sm);
    z-index: 2;
    line-height: 1;
}
.hg-badge-sale {
    left: 10px;
    background: #D64545;
    color: var(--hg-white);
}
.hg-badge-new {
    right: 10px;
    background: var(--hg-sage);
    color: var(--hg-white);
}

/* WoodMart native badge overrides */
.product-labels .onsale,
.woodmart-sale-flash {
    background-color: #D64545 !important;
    border-radius: var(--hg-radius-sm) !important;
}
.product-labels .new {
    background-color: var(--hg-sage) !important;
    border-radius: var(--hg-radius-sm) !important;
}

/* ══════════════════════════════════════════════
   PRICE RANGE GRID
   ══════════════════════════════════════════════ */
.hg-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hg-gap-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hg-price-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--hg-white);
    border: 2px solid var(--hg-border);
    border-radius: var(--hg-radius-md);
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
}
.hg-price-tile:hover {
    border-color: var(--hg-mocha);
    box-shadow: var(--hg-card-hover);
    transform: translateY(-3px);
}
.hg-price-tile-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.hg-price-tile-label {
    font-family: var(--hg-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--hg-charcoal);
    margin-bottom: 6px;
}
.hg-price-tile-cta {
    font-size: 13px;
    color: var(--hg-mocha);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hg-price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════════
   ABOUT BAND
   ══════════════════════════════════════════════ */
.hg-about-band {
    background: var(--hg-cream);
    padding: var(--hg-gap-xl) 24px;
    box-shadow: 0 0 0 100vmax var(--hg-cream);
    clip-path: inset(0 -100vmax);
}
.hg-about-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hg-gap-xl);
    align-items: center;
    padding: 0 20px;
}
.hg-about-text h2 {
    font-size: 32px;
    margin: 0 0 16px 0;
}
.hg-about-text p {
    font-size: 16px;
    color: var(--hg-mid);
    line-height: 1.7;
    margin: 0 0 24px 0;
}
.hg-about-image-placeholder {
    background: var(--hg-border-light);
    border-radius: var(--hg-radius-md);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--hg-light);
    border: 2px dashed var(--hg-border);
}
.hg-about-image-placeholder span {
    font-size: 18px;
    font-weight: 600;
}
.hg-about-image-placeholder small {
    font-size: 12px;
    margin-top: 4px;
}
.hg-about-image img {
    width: 100%;
    border-radius: var(--hg-radius-md);
    box-shadow: var(--hg-card-shadow);
}

@media (max-width: 768px) {
    .hg-about-band-inner {
        grid-template-columns: 1fr;
        gap: var(--hg-gap-lg);
    }
}

/* ══════════════════════════════════════════════
   REASSURANCE GRID
   ══════════════════════════════════════════════ */
.hg-reassurance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hg-gap-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--hg-gap-xl) 20px;
}
.hg-reassurance-item {
    text-align: center;
    padding: 24px 16px;
}
.hg-reassurance-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}
.hg-reassurance-item h3 {
    font-family: var(--hg-serif);
    font-size: 18px;
    margin: 0 0 8px 0;
    color: var(--hg-charcoal);
}
.hg-reassurance-item p {
    font-size: 14px;
    color: var(--hg-mid);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hg-reassurance {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════════
   NEWSLETTER BAND
   ══════════════════════════════════════════════ */
.hg-newsletter {
    background: var(--hg-mocha);
    padding: var(--hg-gap-xl) 24px;
    text-align: center;
    box-shadow: 0 0 0 100vmax var(--hg-mocha);
    clip-path: inset(0 -100vmax);
}
.hg-newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
}
.hg-newsletter h2 {
    font-family: var(--hg-serif);
    color: var(--hg-white);
    font-size: 32px;
    margin: 0 0 8px 0;
}
.hg-newsletter p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin: 0 0 24px 0;
}
.hg-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 12px;
}
.hg-newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--hg-radius-sm);
    background: rgba(255,255,255,0.12);
    color: var(--hg-white);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.hg-newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}
.hg-newsletter-form input[type="email"]:focus {
    border-color: var(--hg-white);
}
.hg-newsletter-form .hg-btn {
    white-space: nowrap;
    background: var(--hg-white);
    color: var(--hg-mocha);
    border-color: var(--hg-white);
}
.hg-newsletter-form .hg-btn:hover {
    background: var(--hg-cream);
    color: var(--hg-mocha-dark);
}
.hg-newsletter small {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

@media (max-width: 600px) {
    .hg-newsletter-form {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════════════
   PRODUCT PAGE – TRUST STRIP
   ══════════════════════════════════════════════ */
.hg-product-trust {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--hg-cream);
    border-radius: var(--hg-radius-md);
    border: 1px solid var(--hg-border-light);
}
.hg-product-trust ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hg-product-trust li {
    font-size: 13px;
    color: var(--hg-charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hg-trust-icon {
    color: var(--hg-sage);
    font-weight: 700;
    font-size: 15px;
}

/* ══════════════════════════════════════════════
   CART / CHECKOUT TRUST ELEMENTS
   ══════════════════════════════════════════════ */
.hg-cart-note {
    background: var(--hg-cream);
    border: 1px solid var(--hg-border-light);
    border-radius: var(--hg-radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--hg-charcoal);
    line-height: 1.5;
}
.hg-checkout-trust {
    background: var(--hg-sage-light);
    border-radius: var(--hg-radius-md);
    padding: 14px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--hg-sage);
    font-weight: 600;
    text-align: center;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.hg-footer {
    margin-top: var(--hg-gap-xl);
    clear: both;
}
.hg-footer-main {
    background: var(--hg-charcoal);
    padding: var(--hg-gap-xl) 24px;
    box-shadow: 0 0 0 100vmax var(--hg-charcoal);
    clip-path: inset(0 -100vmax);
}
.hg-footer-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--hg-gap-lg);
    padding: 0 20px;
}
.hg-footer-title {
    font-family: var(--hg-serif);
    font-size: 18px;
    color: var(--hg-white);
    margin: 0 0 16px 0;
}
.hg-footer-col {
    color: #BBBBBB;
    font-size: 14px;
    line-height: 1.7;
}
.hg-footer-col p {
    margin: 0 0 12px 0;
    color: #BBBBBB;
}
.hg-footer-col address {
    font-style: normal;
    color: #BBBBBB;
    margin-bottom: 12px;
}
.hg-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hg-footer-col ul li {
    margin-bottom: 8px;
}
.hg-footer-col ul li a {
    color: #BBBBBB;
    text-decoration: none;
    transition: color 0.2s;
}
.hg-footer-col ul li a:hover {
    color: var(--hg-white);
}
.hg-footer-phone a,
.hg-footer-fb a {
    color: var(--hg-terracotta);
    text-decoration: none;
}
.hg-footer-phone a:hover,
.hg-footer-fb a:hover {
    color: var(--hg-white);
}
.hg-footer-social {
    margin-top: 12px;
}
.hg-footer-social a {
    color: #BBBBBB;
    transition: color 0.2s;
}
.hg-footer-social a:hover {
    color: var(--hg-white);
}

.hg-footer-bottom {
    background: #1A1A1A;
    padding: 16px 24px;
    box-shadow: 0 0 0 100vmax #1A1A1A;
    clip-path: inset(0 -100vmax);
}
.hg-footer-bottom-inner {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888888;
    flex-wrap: wrap;
    gap: 8px;
}
.hg-footer-links a {
    color: #888888;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}
.hg-footer-links a:hover {
    color: var(--hg-white);
}

@media (max-width: 768px) {
    .hg-footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: var(--hg-gap-md);
    }
    .hg-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .hg-footer-links a {
        margin: 0 10px;
    }
}
@media (max-width: 480px) {
    .hg-footer-cols {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════
   WOODMART THEME OVERRIDES
   ══════════════════════════════════════════════ */

/* WoodMart header overrides */
.woodmart-main-nav .menu > li > a {
    font-family: var(--hg-sans) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--hg-charcoal) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
}
.woodmart-main-nav .menu > li > a:hover,
.woodmart-main-nav .menu > li.current-menu-item > a {
    color: var(--hg-mocha) !important;
}

/* WoodMart product card overrides */
.product-grid-item .product-element-bottom,
.products .product {
    background: var(--hg-white);
    border-radius: var(--hg-radius-md);
    overflow: hidden;
    box-shadow: var(--hg-card-shadow);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border: none;
}
.product-grid-item:hover,
.products .product:hover {
    box-shadow: var(--hg-card-hover);
    transform: translateY(-3px);
}

.product-grid-item .product-title,
.products .product .woocommerce-loop-product__title {
    font-family: var(--hg-sans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--hg-charcoal) !important;
}

.product-grid-item .price,
.products .product .price {
    color: var(--hg-mocha) !important;
    font-weight: 700 !important;
}

/* WoodMart single product overrides */
.single-product .entry-summary .price {
    color: var(--hg-mocha) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}
.single-product .entry-summary .product_title {
    font-family: var(--hg-serif) !important;
    font-size: 28px !important;
    color: var(--hg-charcoal) !important;
}
.single-product .single_add_to_cart_button {
    background-color: var(--hg-mocha) !important;
    border-radius: var(--hg-radius-sm) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 14px 32px !important;
    transition: all 0.25s ease !important;
}
.single-product .single_add_to_cart_button:hover {
    background-color: var(--hg-mocha-dark) !important;
    box-shadow: 0 4px 12px rgba(139,111,92,0.3) !important;
}

/* WoodMart breadcrumbs */
.woocommerce-breadcrumb,
.woodmart-breadcrumbs {
    font-size: 13px !important;
    color: var(--hg-light) !important;
}
.hg-breadcrumb-sep {
    margin: 0 6px;
    color: var(--hg-border);
}

/* WoodMart mini-cart */
.woodmart-shopping-cart .widget_shopping_cart .button {
    background-color: var(--hg-mocha) !important;
}

/* WoodMart search */
.woodmart-search-wrapper input[type="text"] {
    border-radius: var(--hg-radius-sm) !important;
    border-color: var(--hg-border) !important;
}
.woodmart-search-wrapper input[type="text"]:focus {
    border-color: var(--hg-mocha) !important;
}

/* WoodMart sidebar / filters */
.widget-area .widget-title,
.woodmart-widget-title {
    font-family: var(--hg-serif) !important;
    font-size: 16px !important;
    color: var(--hg-charcoal) !important;
}

/* WoodMart tabs on product page */
.woocommerce-tabs .tabs li.active a {
    color: var(--hg-mocha) !important;
    border-bottom-color: var(--hg-mocha) !important;
}

/* Quick view modal overrides */
.woodmart-quick-view .product_title {
    font-family: var(--hg-serif) !important;
}

/* ══════════════════════════════════════════════
   PAGE TEMPLATES (About, Contact, etc.)
   ══════════════════════════════════════════════ */
.hg-page {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--hg-gap-xl) 20px;
}
.hg-page h1 {
    font-family: var(--hg-serif);
    font-size: 38px;
    text-align: center;
    margin-bottom: var(--hg-gap-md);
}
.hg-page h2 {
    font-size: 24px;
    margin-top: var(--hg-gap-lg);
    margin-bottom: var(--hg-gap-sm);
}
.hg-page p, .hg-page li {
    font-size: 16px;
    color: var(--hg-mid);
    line-height: 1.75;
}
.hg-page ul {
    padding-left: 24px;
}
.hg-page ul li {
    margin-bottom: 8px;
}

/* Contact page specifics */
.hg-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hg-gap-lg);
    margin-top: var(--hg-gap-lg);
}
.hg-contact-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.hg-contact-form input,
.hg-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hg-border);
    border-radius: var(--hg-radius-sm);
    font-family: var(--hg-sans);
    font-size: 15px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}
.hg-contact-form input:focus,
.hg-contact-form textarea:focus {
    border-color: var(--hg-mocha);
    outline: none;
}
.hg-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .hg-contact-grid {
        grid-template-columns: 1fr;
    }
    .hg-page h1 {
        font-size: 28px;
    }
}

/* ══════════════════════════════════════════════
   WOO ARCHIVE / SHOP PAGE OVERRIDES
   ══════════════════════════════════════════════ */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    color: var(--hg-mid);
    font-size: 14px;
}

/* "Load more" button styling */
.woodmart-load-more a,
a.wd-load-more {
    background: var(--hg-white) !important;
    color: var(--hg-mocha) !important;
    border: 2px solid var(--hg-mocha) !important;
    border-radius: var(--hg-radius-sm) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s ease !important;
}
.woodmart-load-more a:hover,
a.wd-load-more:hover {
    background: var(--hg-mocha) !important;
    color: var(--hg-white) !important;
}

/* ══════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════ */
@media print {
    .hg-announcement-bar,
    .hg-trust-bar,
    .hg-newsletter,
    .hg-footer {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   EMPTY STATE (when no products/categories yet)
   ══════════════════════════════════════════════ */
.hg-empty-state {
    text-align: center;
    padding: 32px 20px;
}
.hg-empty-state-text {
    font-size: 15px;
    color: var(--hg-light);
    font-style: italic;
    background: #f5f0eb;
    padding: 24px 32px;
    border-radius: var(--hg-radius-md);
    display: inline-block;
    max-width: 400px;
}

/* Category tile emoji placeholder (when no thumbnail) */
.hg-cat-tile-emoji {
    font-size: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ══════════════════════════════════════════════
   FULL-BLEED FIX FOR WOODMART CONTENT WRAPPER
   WoodMart wraps page content in a container,
   so full-width sections need to break out.
   ══════════════════════════════════════════════ */
/* Fix: WoodMart may add max-width to page content */
.page-template-templates-homepage-php .entry-content,
.page-template-templates-homepage-php .site-content .container,
body.home .entry-content,
body.home .site-content .container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Fix: sections that need inner container */
.hg-trust-bar-inner,
.hg-about-band-inner,
.hg-reassurance,
.hg-section-heading,
.hg-cat-grid,
.hg-products-row,
.hg-price-grid,
.hg-newsletter-inner {
    padding-left: 24px;
    padding-right: 24px;
}

/* Fix: ensure homepage sections have proper spacing */
.hg-section {
    padding: 64px 0;
}

/* Wrapper for cream-background homepage sections */
.hg-section-cream-wrap {
    background: var(--hg-cream);
    padding: 64px 24px;
    box-shadow: 0 0 0 100vmax var(--hg-cream);
    clip-path: inset(0 -100vmax);
}
.hg-section-white-wrap {
    background: var(--hg-white);
    padding: 64px 24px;
    border-top: 1px solid var(--hg-border-light);
    box-shadow: 0 0 0 100vmax var(--hg-white);
    clip-path: inset(-1px -100vmax);
}

/* ══════════════════════════════════════════════
   FOOTER & NEWSLETTER (rendered via wp_footer - OUTSIDE container)
   These are naturally full viewport width
   ══════════════════════════════════════════════ */
.hg-newsletter-outer {
    background: #8B6F5C;
    padding: 64px 24px;
    text-align: center;
}
.hg-newsletter-outer-inner {
    max-width: 560px;
    margin: 0 auto;
}
.hg-newsletter-outer h2 {
    font-family: Georgia, serif;
    color: #fff;
    font-size: 32px;
    margin: 0 0 8px;
}
.hg-newsletter-outer p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    margin: 0 0 24px;
}
.hg-newsletter-outer small {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}
.hg-newsletter-outer .hg-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 12px;
}
.hg-newsletter-outer .hg-newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 15px;
    outline: none;
}
.hg-newsletter-outer .hg-newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.hg-newsletter-outer .hg-newsletter-form .hg-btn {
    background: #fff;
    color: #8B6F5C;
    border-color: #fff;
    white-space: nowrap;
}

.hg-footer-outer {
    /* This is OUTSIDE the WoodMart container - naturally full width */
}
.hg-footer-outer-main {
    background: #2C2C2C;
    padding: 64px 40px;
}
.hg-footer-outer-cols {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.hg-footer-outer-col {
    color: #bbb;
    font-size: 14px;
    line-height: 1.7;
}
.hg-footer-outer-col h4 {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #fff;
    margin: 0 0 16px;
}
.hg-footer-outer-col p { color: #bbb; margin: 0 0 12px; }
.hg-footer-outer-col address { font-style: normal; color: #bbb; margin-bottom: 12px; }
.hg-footer-outer-col ul { list-style: none; margin: 0; padding: 0; }
.hg-footer-outer-col ul li { margin-bottom: 8px; }
.hg-footer-outer-col ul li a { color: #bbb; text-decoration: none; }
.hg-footer-outer-col ul li a:hover { color: #fff; }
.hg-footer-outer-col a[href*="tel"] { color: #C4956A; }
.hg-footer-outer-col a[href*="facebook"] { color: #C4956A; }

.hg-footer-outer-bottom {
    background: #1A1A1A;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
    gap: 8px;
    max-width: none;
}
.hg-footer-outer-bottom a { color: #888; text-decoration: none; }
.hg-footer-outer-bottom a:hover { color: #fff; }

@media (max-width: 768px) {
    .hg-footer-outer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hg-footer-outer-main { padding: 40px 24px; }
    .hg-footer-outer-bottom { flex-direction: column; text-align: center; padding: 16px 24px; }
    .hg-newsletter-outer .hg-newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
    .hg-footer-outer-cols { grid-template-columns: 1fr; }
}
