/*
Theme Name: Hong-Treo-Gio
Description: Child theme for Flatsome Theme - Tinh túy vùng hồng, Tinh hoa D'Ran
Author: Senior WordPress Developer
Template: flatsome
Version: 1.1.4
*/

:root {
    --htg-primary: #a43700;
    --htg-primary-container: #cd4700;
    --htg-secondary: #b22c01;
    --htg-secondary-container: #ff6338;
    --htg-tertiary: #186a22;
    --htg-tertiary-container: #358438;
    --htg-surface: #fff9ea;
    --htg-surface-dim: #e0dac4;
    --htg-surface-container: #f5eed7;
    --htg-surface-container-high: #efe8d2;
    --htg-surface-container-highest: #e9e2cc;
    --htg-surface-lowest: #ffffff;
    --htg-ink: #1e1c0e;
    --htg-muted: #5a4138;
    --htg-outline: #8f7066;
    --htg-outline-variant: #e3bfb2;
    --htg-parchment-deep: #F3E5AB;
    --htg-font-display: 'Playfair Display', Georgia, serif;
    --htg-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--htg-surface) !important;
    color: var(--htg-ink);
    font-family: var(--htg-font-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: var(--htg-font-display);
    color: var(--htg-ink);
    font-weight: 700;
}

/* 1. Grain Paper Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Soft Warm Shadow */
.soft-shadow {
    box-shadow: 0 20px 40px -15px rgba(191, 54, 12, 0.12) !important;
}

/* 3. Header & Logo Styling */
.header-wrapper {
    background: rgba(255, 249, 234, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(227, 191, 178, 0.4);
    transition: all 0.3s ease;
}

.stuck .header-wrapper,
.header.stuck {
    box-shadow: 0 4px 20px rgba(164, 55, 0, 0.08) !important;
}

#logo {
    display: flex;
    align-items: center;
}

#logo a {
    display: flex;
    align-items: center;
    max-height: 64px;
}

#logo img,
.header-logo,
.header-logo-sticky,
.header-logo-dark {
    max-height: 60px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    transition: max-height 0.25s ease;
}

.stuck #logo img,
.stuck .header-logo,
.stuck .header-logo-sticky {
    max-height: 48px !important;
}

/* Navigation Links Styling */
.header-nav > li:not(.html) > a,
.header-nav > li > a.nav-top-link {
    font-family: var(--htg-font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--htg-muted) !important;
    letter-spacing: 0.03em;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-nav > li:not(.html) > a:hover,
.header-nav > li > a.nav-top-link:hover {
    color: var(--htg-primary) !important;
    background: rgba(239, 232, 210, 0.6);
}

/* CTA Button */
.header-cta-btn,
.header-cta-btn span,
.button.header-cta-btn,
.button.header-cta-btn span {
    border-radius: 99px !important;
    background-color: var(--htg-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.02em;
    padding: 10px 24px !important;
    box-shadow: 0 4px 14px rgba(164, 55, 0, 0.28) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.header-cta-btn:hover,
.header-cta-btn:hover span,
.button.header-cta-btn:hover,
.button.header-cta-btn:hover span {
    background-color: var(--htg-primary-container) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(164, 55, 0, 0.4) !important;
}

/* 4. Hero Banner Section */
.hero-badge-vibrant {
    display: inline-block;
    background: rgba(24, 106, 34, 0.5) !important;
    color: #a3f69c !important;
    border: 1.5px solid #88d982 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 99px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 24px;
}

.hero-title-vibrant {
    font-family: var(--htg-font-display);
    font-size: 62px;
    line-height: 1.18;
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
    .hero-title-vibrant {
        font-size: 36px !important;
        line-height: 1.25 !important;
    }
}

.hero-highlight-orange {
    color: #ff6e40;
    text-shadow: 0 2px 16px rgba(255, 110, 64, 0.4), 0 4px 25px rgba(0, 0, 0, 0.8);
    display: inline-block;
}

.hero-highlight-white {
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    display: inline-block;
}

.hero-lead-vibrant {
    font-size: 20px !important;
    line-height: 1.7 !important;
    color: #f7f3e8 !important;
    max-width: 700px;
    margin: 0 auto 36px auto !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero-lead-vibrant {
        font-size: 16px !important;
    }
}

.hero-btn-vibrant,
.button.hero-btn-vibrant,
a.button.hero-btn-vibrant {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #e64a19 0%, #b22c01 100%) !important;
    background-color: #b22c01 !important;
    color: #ffffff !important;
    font-family: var(--htg-font-body) !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    padding: 14px 38px !important;
    border-radius: 99px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 10px 30px rgba(178, 44, 1, 0.5) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin-top: 10px !important;
}

.hero-btn-vibrant:hover,
.button.hero-btn-vibrant:hover,
a.button.hero-btn-vibrant:hover {
    background: linear-gradient(135deg, #ff5722 0%, #d84315 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 35px rgba(255, 87, 34, 0.65) !important;
    color: #ffffff !important;
}

.hero-btn-vibrant span,
.button.hero-btn-vibrant span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.hero-btn-vibrant i,
.hero-btn-vibrant .material-symbols-outlined,
.button.hero-btn-vibrant i {
    color: #a3f69c !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    transition: transform 0.2s ease !important;
    margin-left: 6px !important;
}

.hero-btn-vibrant:hover i,
.hero-btn-vibrant:hover .material-symbols-outlined,
.button.hero-btn-vibrant:hover i {
    transform: translateY(3px) !important;
}

/* 5. Founder Section */
.founder-card-wrap {
    position: relative;
    padding-right: 18px;
    padding-bottom: 18px;
}

.founder-card-bg {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 0;
    bottom: 0;
    background-color: var(--htg-parchment-deep);
    border-radius: 24px;
    z-index: 1;
    transition: transform 0.4s ease;
}

.founder-card-wrap:hover .founder-card-bg {
    transform: translate(6px, 6px);
}

.founder-ux-img {
    position: relative !important;
    z-index: 2 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

.founder-ux-img .img-inner {
    border-radius: 24px !important;
    overflow: hidden !important;
}

.founder-ux-img img {
    border-radius: 24px !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    display: block !important;
}

.founder-badge-glass {
    position: absolute;
    bottom: 28px;
    left: 16px;
    right: 34px;
    z-index: 3;
    background: rgba(255, 249, 234, 0.92);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(227, 191, 178, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.founder-badge-glass h4 {
    color: var(--htg-primary);
    font-size: 20px;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.founder-badge-glass p {
    color: var(--htg-muted);
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

.story-overline {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--htg-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.story-overline::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 2px;
    background-color: var(--htg-secondary);
}

/* 6. Feature Box & Product Showcase Section */
.htg-feature-card,
.featured-box.htg-feature-card {
    background-color: var(--htg-surface-container) !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    border: 1px solid rgba(227, 191, 178, 0.35) !important;
    margin-bottom: 20px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-align: left !important;
}

.htg-feature-card:last-child,
.featured-box.htg-feature-card:last-child {
    margin-bottom: 0 !important;
}

.htg-feature-card:hover,
.featured-box.htg-feature-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 28px rgba(164, 55, 0, 0.08) !important;
}

.htg-feature-card h3,
.featured-box.htg-feature-card h3 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 20px !important;
    color: var(--htg-primary) !important;
    margin-bottom: 8px !important;
}

.htg-feature-card p,
.featured-box.htg-feature-card p {
    color: var(--htg-muted) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.product-showcase-wrap {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    min-height: 520px;
    display: flex;
}

.product-ux-img {
    height: 100% !important;
    width: 100% !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    display: block !important;
}

.product-ux-img .img-inner {
    height: 100% !important;
    width: 100% !important;
    border-radius: 28px !important;
    overflow: hidden !important;
}

.product-ux-img img {
    width: 100% !important;
    height: 100% !important;
    min-height: 520px !important;
    object-fit: cover !important;
    border-radius: 28px !important;
    display: block !important;
    transition: transform 0.6s ease;
}

@media (max-width: 767px) {
    .product-showcase-wrap,
    .product-ux-img img {
        min-height: 360px !important;
    }
}

.product-showcase-wrap:hover .product-ux-img img {
    transform: scale(1.04);
}

.product-hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--htg-primary);
    font-weight: 700;
    font-size: 15px;
    padding: 8px 22px;
    border-radius: 99px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

/* 7. Quote Section */
.quote-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.quote-box .eco-icon {
    font-size: 48px;
    color: var(--htg-outline-variant);
    opacity: 0.6;
    margin-bottom: 20px;
}

.quote-box h2 {
    font-size: 38px;
    color: var(--htg-ink);
    margin-bottom: 28px;
}

.quote-box p {
    font-family: var(--htg-font-display);
    font-style: italic;
    font-size: 21px;
    line-height: 1.7;
    color: var(--htg-muted);
    margin-bottom: 20px;
}

/* 8. Gallery Grid */
.gallery-ux-image {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 30px rgba(164, 55, 0, 0.08) !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.gallery-ux-image .img-inner {
    border-radius: 20px !important;
    overflow: hidden !important;
}

.gallery-ux-image img {
    border-radius: 20px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.gallery-ux-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(164, 55, 0, 0.15) !important;
}

.gallery-ux-image:hover img {
    transform: scale(1.08);
}

/* 9. Product Spec Cards - Perfect Equal Height Grid */
.row:has(.spec-card) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.col:has(.spec-card) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.col:has(.spec-card) > .col-inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    width: 100% !important;
}

.spec-card,
.featured-box.spec-card,
.icon-box.featured-box.spec-card {
    background: var(--htg-surface-container) !important;
    border-radius: 20px !important;
    padding: 32px 24px !important;
    box-shadow: 0 10px 25px rgba(164, 55, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    height: 100% !important;
    min-height: 100% !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
}

.spec-card .icon-box-text,
.featured-box.spec-card .icon-box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    width: 100% !important;
}

.spec-card:hover,
.featured-box.spec-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 32px rgba(164, 55, 0, 0.1) !important;
}

/* Card 1: Cam Đất (#a43700) */
.spec-card-1,
.featured-box.spec-card-1 { 
    border-top: 5px solid #a43700 !important; 
}
.spec-card-1 .spec-icon,
.featured-box.spec-card-1 .spec-icon { 
    color: #a43700 !important; 
}

/* Card 2: Xanh Sinh Thái (#186a22) */
.spec-card-2,
.featured-box.spec-card-2 { 
    border-top: 5px solid #186a22 !important; 
}
.spec-card-2 .spec-icon,
.featured-box.spec-card-2 .spec-icon { 
    color: #186a22 !important; 
}

/* Card 3: Cam Rực Rỡ (#cd4700) */
.spec-card-3,
.featured-box.spec-card-3 { 
    border-top: 5px solid #cd4700 !important; 
}
.spec-card-3 .spec-icon,
.featured-box.spec-card-3 .spec-icon { 
    color: #cd4700 !important; 
}

/* Card 4: Xanh Lá Đậm (#2e7d32) */
.spec-card-4,
.featured-box.spec-card-4 { 
    border-top: 5px solid #2e7d32 !important; 
}
.spec-card-4 .spec-icon,
.featured-box.spec-card-4 .spec-icon { 
    color: #2e7d32 !important; 
}

.spec-card .spec-icon,
.featured-box.spec-card .spec-icon {
    font-size: 38px;
    margin-bottom: 16px;
    display: block;
}

.spec-card h4,
.featured-box.spec-card h4 {
    font-family: var(--htg-font-body);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--htg-ink);
    margin-bottom: 10px;
}

.spec-card p,
.featured-box.spec-card p {
    color: var(--htg-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Warning Box */
.htg-warning-box {
    margin-top: 36px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(186, 26, 26, 0.06);
    border: 1px solid rgba(186, 26, 26, 0.22);
    padding: 16px 28px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(186, 26, 26, 0.04);
}

@media (max-width: 767px) {
    .htg-warning-box {
        border-radius: 16px;
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
    }
}

.htg-warning-box .warning-icon {
    color: #ba1a1a;
    font-size: 24px;
    flex-shrink: 0;
}

.htg-warning-box p {
    color: var(--htg-ink);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* 10. Contact Section & Contact Form 7 Integration */
.contact-info-card {
    background-color: var(--htg-surface-container);
    border-radius: 28px;
    padding: 40px 36px;
    border: 1px solid rgba(227, 191, 178, 0.3);
    height: auto;
}

.contact-info-card h2 {
    color: var(--htg-primary);
    font-size: 32px;
    margin-bottom: 28px;
}

.contact-info-item,
.featured-box.contact-info-item {
    margin-bottom: 16px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    color: var(--htg-ink);
    line-height: 1.6;
}

.contact-item br {
    display: none !important;
}

.contact-item .material-symbols-outlined {
    color: var(--htg-secondary);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.social-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--htg-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--htg-primary);
    box-shadow: 0 4px 10px rgba(164, 55, 0, 0.1);
    transition: all 0.2s ease;
    margin-right: 8px;
}

.social-circle-btn:hover {
    background: var(--htg-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Map Card Styling */
.map-card-wrap {
    background-color: var(--htg-surface-container);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(227, 191, 178, 0.35);
    box-shadow: 0 16px 36px -10px rgba(191, 54, 12, 0.1);
    line-height: 0;
    margin-top: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-card-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -10px rgba(191, 54, 12, 0.15);
}

.map-card-wrap iframe {
    width: 100% !important;
    height: 320px !important;
    display: block;
    border: 0 !important;
    border-radius: 28px;
}

.order-form-card {
    background-color: var(--htg-surface-lowest);
    border-radius: 28px;
    padding: 44px 40px;
    border: 1px solid rgba(227, 191, 178, 0.3);
    position: relative;
    box-shadow: 0 20px 40px -15px rgba(191, 54, 12, 0.08);
}

.order-form-card h2 {
    color: var(--htg-primary);
    font-size: 32px;
    margin-bottom: 8px;
    text-align: center;
}

.order-form-card .form-subtitle {
    text-align: center;
    color: var(--htg-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

/* CF7 Grid System */
.htg-cf7-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.htg-cf7-col-6 {
    flex: 1;
    min-width: 0;
}

@media (max-width: 767px) {
    .htg-cf7-grid {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    .htg-cf7-col-6 {
        margin-bottom: 20px;
    }
}

.htg-form-group {
    margin-bottom: 20px;
}

.htg-cf7-grid p,
.htg-form-group p,
.wpcf7 form p {
    margin-bottom: 0 !important;
}

.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

.htg-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--htg-muted);
    margin-bottom: 8px;
}

/* CF7 Input, Select, Textarea */
.wpcf7 form input[type="text"]:not(.htg-newsletter-input),
.wpcf7 form input[type="tel"]:not(.htg-newsletter-input),
.wpcf7 form input[type="number"]:not(.htg-newsletter-input),
.wpcf7 form select:not(.htg-newsletter-input),
.wpcf7 form textarea:not(.htg-newsletter-input),
.htg-input,
.htg-select,
.htg-textarea {
    width: 100% !important;
    background-color: var(--htg-surface-container) !important;
    border: 1px solid var(--htg-outline-variant) !important;
    border-radius: 12px !important;
    font-family: var(--htg-font-body) !important;
    font-size: 15px !important;
    color: var(--htg-ink) !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}

/* Perfect Height & Padding for Order Form Inputs */
.wpcf7 form input[type="text"]:not(.htg-newsletter-input),
.wpcf7 form input[type="tel"]:not(.htg-newsletter-input),
.wpcf7 form input[type="number"]:not(.htg-newsletter-input),
.htg-input {
    height: 48px !important;
    min-height: 48px !important;
    padding: 10px 18px !important;
}

/* Perfect Height & Custom Dropdown Arrow for Select */
.wpcf7 form select,
.htg-select {
    height: 48px !important;
    min-height: 48px !important;
    padding: 10px 42px 10px 18px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235a4138' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 18px !important;
}

/* Textarea */
.wpcf7 form textarea,
.htg-textarea {
    min-height: 100px !important;
    padding: 12px 18px !important;
    resize: vertical;
}

.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
    border-color: var(--htg-primary) !important;
    box-shadow: 0 0 0 3px rgba(164, 55, 0, 0.15) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* CF7 Submit Button - Compact, Balanced & Refined */
.htg-submit-wrap {
    text-align: center !important;
    width: 100% !important;
}

.wpcf7 form input[type="submit"].htg-submit-btn,
.htg-submit-btn {
    width: auto !important;
    min-width: 260px !important;
    max-width: 100% !important;
    background-color: var(--htg-primary) !important;
    color: #ffffff !important;
    font-family: var(--htg-font-body) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    padding: 12px 32px !important;
    height: auto !important;
    min-height: 44px !important;
    border-radius: 99px !important;
    border: none !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(164, 55, 0, 0.28) !important;
    transition: all 0.2s ease !important;
    margin: 8px auto 0 auto !important;
    text-transform: uppercase !important;
}

.wpcf7 form input[type="submit"].htg-submit-btn:hover,
.htg-submit-btn:hover {
    background-color: var(--htg-primary-container) !important;
    box-shadow: 0 8px 22px rgba(164, 55, 0, 0.4) !important;
    transform: translateY(-1px);
}

/* CF7 Status Messages & Validation */
.wpcf7-not-valid-tip {
    font-size: 12px !important;
    color: #ba1a1a !important;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    border-radius: 12px !important;
    padding: 14px 18px !important;
    margin: 20px 0 0 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #e8f5e9 !important;
    border: 1px solid #c8e6c9 !important;
    color: #1b5e20 !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    background: #ffebee !important;
    border: 1px solid #ffcdd2 !important;
    color: #b71c1c !important;
}

.wpcf7 .ajax-loader {
    display: block;
    margin: 8px auto 0 auto;
}

/* 11. Footer Styling */
.htg-footer {
    background-color: var(--htg-surface-container-highest) !important;
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(227, 191, 178, 0.4);
    border-bottom: none !important;
}

.htg-footer h3 {
    font-size: 26px;
    color: var(--htg-secondary);
    margin-bottom: 18px;
}

.htg-footer h4 {
    font-family: var(--htg-font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--htg-ink);
    margin-bottom: 20px;
}

.htg-footer a {
    color: var(--htg-muted);
    transition: color 0.2s;
}

.htg-footer a:hover {
    color: var(--htg-primary);
}

/* Footer Newsletter & Consultation Form - Seamless Inline Flex */
.htg-newsletter-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--htg-ink);
    margin-bottom: 10px;
}

.htg-newsletter-box,
.wpcf7 form .htg-newsletter-box,
.wpcf7 form .htg-newsletter-box p {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.htg-newsletter-box br,
.wpcf7 form .htg-newsletter-box br {
    display: none !important;
}

.htg-newsletter-box .wpcf7-form-control-wrap {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-block !important;
}

.htg-newsletter-box input[type="text"].htg-newsletter-input,
.htg-newsletter-input {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    background-color: #ffffff !important;
    border: 1.5px solid var(--htg-outline-variant) !important;
    border-right: none !important;
    border-radius: 99px 0 0 99px !important;
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    color: var(--htg-ink) !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.htg-newsletter-box input[type="text"].htg-newsletter-input:focus,
.htg-newsletter-input:focus {
    border-color: var(--htg-primary) !important;
    box-shadow: 0 0 0 3px rgba(164, 55, 0, 0.15) !important;
}

.htg-newsletter-box input[type="submit"].htg-newsletter-btn,
.htg-newsletter-btn {
    height: 44px !important;
    min-height: 44px !important;
    min-width: 50px !important;
    width: 50px !important;
    background-color: var(--htg-primary) !important;
    color: #ffffff !important;
    border-radius: 0 99px 99px 0 !important;
    border: 1.5px solid var(--htg-primary) !important;
    border-left: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.htg-newsletter-box input[type="submit"].htg-newsletter-btn:hover,
.htg-newsletter-btn:hover {
    background-color: var(--htg-primary-container) !important;
    border-color: var(--htg-primary-container) !important;
}

/* Clean Single Line Copyright Bar */
.footer-wrapper {
    border-top: none !important;
}

.absolute-footer,
.footer-bottom {
    background-color: var(--htg-surface-container-highest) !important;
    border-top: 1px solid rgba(143, 112, 102, 0.25) !important;
    border-bottom: none !important;
    color: #2b1f1a !important;
    padding: 18px 0 !important;
}

.copyright-footer,
.htg-copyright-bar {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    text-align: center !important;
}

.copyright-footer strong,
.htg-copyright-bar strong,
.footer-bottom strong {
    color: var(--htg-primary) !important;
    font-weight: 800 !important;
}