/* =========================================================
   GHZ Storefront Footer V3
   Porto Side Header + WPML AR/EN
   ========================================================= */

#footer .footer-main{
    background:#03143e;
}
#footer .footer-main>.container{
    width:100%;
    max-width:none;
    padding:0;
}
#footer .footer-main>.container:after{display:none}
#footer .footer-main>.container>.row{
    margin:0;
}
#footer .footer-main>.container>.row>[class*="col-"]{
    width:100%;
    max-width:100%;
    flex:0 0 100%;
    padding:0;
}
#footer .footer-main .widget,
#footer .footer-main .widget-block,
#footer .footer-main .widget-block .block,
#footer .footer-main .porto-block{
    width:100%;
    margin:0;
}

/* V3 owns legal/social/payment row.
   Keep Porto markup reversible but do not render its duplicate bottom bar. */
#footer>.footer-bottom{
    display:none!important;
}

.ghz-sf-footer{
    --navy:#03143e;
    --navy-2:#061a49;
    --navy-3:#0a2258;
    --accent:#ffb400;
    --white:#fff;
    --text:#dce3ef;
    --muted:#a9b5ca;
    --line:rgba(255,255,255,.11);
    --panel:rgba(255,255,255,.035);

    position:relative;
    width:100%;
    overflow:hidden;
    background:
        radial-gradient(circle at 85% 8%,rgba(29,79,158,.18),transparent 30%),
        radial-gradient(circle at 12% 65%,rgba(255,180,0,.035),transparent 24%),
        var(--navy);
    color:var(--white);
}

.ghz-sf-footer *,
.ghz-sf-footer *:before,
.ghz-sf-footer *:after{
    box-sizing:border-box;
}

.ghz-sf-footer a{
    text-decoration:none;
}

/* Newsletter */
.ghz-sf-footer__newsletter{
    display:grid;
    grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);
    gap:54px;
    align-items:center;
    padding:38px clamp(28px,4vw,58px);
    border-bottom:1px solid var(--line);
}

.ghz-sf-footer__eyebrow{
    display:inline-block;
    margin-bottom:8px;
    color:var(--accent)!important;
    font-size:12px;
    font-weight:800;
}

#footer .ghz-sf-footer__newsletter h2{
    max-width:700px;
    margin:0 0 9px;
    color:#fff!important;
    font-size:clamp(27px,3vw,39px);
    line-height:1.2;
}

#footer .ghz-sf-footer__newsletter p{
    max-width:620px;
    margin:0;
    color:var(--muted)!important;
    font-size:14px;
    line-height:1.75;
}

.ghz-sf-footer__newsletter-form .wpcf7,
.ghz-sf-footer__newsletter-form form,
.ghz-sf-footer__newsletter-form p,
.ghz-sf-footer__newsletter-form .widget_wysija_cont,
.ghz-sf-footer__newsletter-form .wysija-paragraph{
    margin:0;
}

.ghz-sf-footer__newsletter-form form{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:start;
}

.ghz-sf-footer__newsletter-form .wpcf7-form-control-wrap{
    min-width:0;
}

.ghz-sf-footer__newsletter-form input[type=email],
.ghz-sf-footer__newsletter-form input[type=text]{
    width:100%;
    min-height:50px;
    margin:0;
    padding:0 15px;
    border:1px solid rgba(255,255,255,.22)!important;
    border-radius:8px;
    background:rgba(255,255,255,.06)!important;
    color:#fff!important;
    box-shadow:none!important;
}

.ghz-sf-footer__newsletter-form input::placeholder{
    color:rgba(255,255,255,.62)!important;
}

.ghz-sf-footer__newsletter-form input[type=submit]{
    min-height:50px;
    margin:0;
    padding:0 22px;
    border:0!important;
    border-radius:8px;
    background:var(--accent)!important;
    color:var(--navy)!important;
    font-weight:800;
}

.ghz-sf-footer__newsletter-form .wpcf7-turnstile{
    grid-column:1/-1;
    order:3;
    margin-top:8px;
    transform:scale(.86);
    transform-origin:0 0;
}

.ghz-sf-footer[dir=rtl] .ghz-sf-footer__newsletter-form .wpcf7-turnstile{
    transform-origin:100% 0;
}

.ghz-sf-footer__newsletter-form .wpcf7-response-output{
    grid-column:1/-1;
    margin:8px 0 0!important;
    color:#fff!important;
}

/* Trust strip */
.ghz-sf-footer__trust{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,.018);
}

.ghz-sf-footer__trust-item{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    padding:16px 22px;
    border-inline-end:1px solid var(--line);
    color:#fff;
    font-size:13px;
    font-weight:750;
}

.ghz-sf-footer__trust-item:last-child{
    border-inline-end:0;
}

.ghz-sf-footer__trust-icon{
    width:30px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--accent);
}

.ghz-sf-footer__trust-icon svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* Brand + columns */
.ghz-sf-footer__main{
    display:grid;
    grid-template-columns:minmax(230px,.72fr) minmax(0,1.7fr);
    gap:58px;
    padding:44px clamp(28px,4vw,58px) 40px;
}

.ghz-sf-footer__brand{
    max-width:340px;
}

.ghz-sf-footer__logo{
    display:inline-flex;
    align-items:center;
    max-width:170px;
    margin-bottom:18px;
}

.ghz-sf-footer__logo-img{
    display:block;
    width:auto;
    max-width:155px;
    max-height:68px;
    object-fit:contain;
    filter:brightness(0) invert(1);
}

.ghz-sf-footer__wordmark{
    color:#fff!important;
    font-size:28px;
    font-weight:900;
    letter-spacing:.16em;
}

#footer .ghz-sf-footer__brand p{
    margin:0 0 20px;
    color:var(--muted)!important;
    font-size:13.5px;
    line-height:1.9;
}

.ghz-sf-footer__contact{
    display:grid;
    gap:9px;
}

.ghz-sf-footer__contact a{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff!important;
    font-size:13px;
    font-weight:700;
}

.ghz-sf-footer__contact a:hover{
    color:var(--accent)!important;
}

.ghz-sf-footer__nav{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
}

.ghz-sf-footer__column h3{
    position:relative;
    margin:0 0 18px;
    padding-bottom:11px;
    color:#fff!important;
    font-size:15px;
    font-weight:800;
}

.ghz-sf-footer__column h3:after{
    content:"";
    position:absolute;
    inset-inline-start:0;
    bottom:0;
    width:28px;
    height:2px;
    background:var(--accent);
}

.ghz-sf-footer__column ul{
    margin:0;
    padding:0;
    list-style:none;
}

.ghz-sf-footer__column li{
    margin:0 0 9px;
}

.ghz-sf-footer__column a{
    color:var(--muted)!important;
    font-size:13.5px;
    line-height:1.55;
}

.ghz-sf-footer__column a:hover{
    color:#fff!important;
}

/* Unified bottom area */
.ghz-sf-footer__bottom{
    display:grid;
    grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);
    gap:22px 38px;
    padding:18px clamp(28px,4vw,58px) 20px;
    border-top:1px solid var(--line);
}

.ghz-sf-footer__social,
.ghz-sf-footer__payments{
    display:flex;
    align-items:center;
    gap:14px;
}

.ghz-sf-footer__payments{
    justify-content:flex-end;
}

.ghz-sf-footer__social>span,
.ghz-sf-footer__payments>span{
    flex:0 0 auto;
    color:#fff;
    font-size:12px;
    font-weight:800;
}

.ghz-sf-footer__social-links,
.ghz-sf-footer__payment-badges{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

/* Porto social output */
.ghz-sf-footer__social-links .share-links{
    margin:0;
}
.ghz-sf-footer__social-links .share-links a{
    width:32px;
    height:32px;
    margin:0 4px;
    box-shadow:none;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.055);
}

.ghz-sf-footer__social-placeholder{
    color:var(--muted)!important;
    font-size:12px;
}

.ghz-sf-footer__payment-badges span{
    min-height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 11px;
    border-radius:5px;
    background:#fff;
    color:#111b3b!important;
    font-size:10px;
    font-weight:900;
}

.ghz-sf-footer__legal{
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.58);
    font-size:11.5px;
}

.ghz-sf-footer__legal>div{
    display:flex;
    gap:15px;
}

.ghz-sf-footer__legal a{
    color:rgba(255,255,255,.67)!important;
}

.ghz-sf-footer__legal a:hover{
    color:#fff!important;
}

/* Side header compatibility */
@media(min-width:992px){
    body.body-side .ghz-sf-footer{
        border-radius:0;
    }
}

@media(max-width:1180px){
    .ghz-sf-footer__main{
        grid-template-columns:1fr;
    }

    .ghz-sf-footer__brand{
        max-width:520px;
    }
}

@media(max-width:991px){
    .ghz-sf-footer__newsletter{
        grid-template-columns:1fr;
        gap:24px;
    }

    .ghz-sf-footer__trust{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .ghz-sf-footer__trust-item:nth-child(2){
        border-inline-end:0;
    }

    .ghz-sf-footer__trust-item:nth-child(-n+2){
        border-bottom:1px solid var(--line);
    }

    .ghz-sf-footer__nav{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:767px){
    .ghz-sf-footer__newsletter{
        padding-top:32px;
        padding-bottom:32px;
    }

    .ghz-sf-footer__main{
        padding-top:36px;
        padding-bottom:34px;
    }

    .ghz-sf-footer__bottom{
        grid-template-columns:1fr;
    }

    .ghz-sf-footer__payments{
        justify-content:flex-start;
    }

    .ghz-sf-footer__legal{
        grid-column:1;
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:520px){
    .ghz-sf-footer__newsletter-form form{
        grid-template-columns:1fr;
    }

    .ghz-sf-footer__newsletter-form input[type=submit]{
        width:100%;
    }

    .ghz-sf-footer__newsletter-form .wpcf7-turnstile,
    .ghz-sf-footer__newsletter-form .wpcf7-response-output{
        grid-column:1;
    }

    .ghz-sf-footer__trust{
        grid-template-columns:1fr;
    }

    .ghz-sf-footer__trust-item{
        justify-content:flex-start;
        border-inline-end:0;
        border-bottom:1px solid var(--line);
    }

    .ghz-sf-footer__trust-item:last-child{
        border-bottom:0;
    }

    .ghz-sf-footer__nav{
        grid-template-columns:1fr;
    }
}

/* ==========================================================
   GHZ FOOTER V3 — COMPACT BOTTOM / SOCIAL LINKS REMOVED
   Social profiles remain in Porto Side Header.
   ========================================================== */

.ghz-sf-footer__bottom--compact {
    display: block !important;
    padding-top: 16px !important;
    padding-bottom: 18px !important;
}

.ghz-sf-footer__bottom--compact .ghz-sf-footer__payments {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: 0 0 16px !important;
}

.ghz-sf-footer__bottom--compact .ghz-sf-footer__legal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;

    width: 100% !important;
    padding: 14px 0 0 !important;
    margin: 0 !important;

    border-top: 1px solid rgba(255,255,255,.08) !important;
}

.ghz-sf-footer__bottom--compact .ghz-sf-footer__legal-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 767px) {

    .ghz-sf-footer__bottom--compact .ghz-sf-footer__payments,
    .ghz-sf-footer__bottom--compact .ghz-sf-footer__legal {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

}


/* ==========================================================
   GHZ FOOTER FINAL COMPACT FIX — 2026
   ========================================================== */

/* Porto footer-bottom is a sibling of #footer, not a child. */
.footer-wrapper > .footer-bottom,
#footer + .footer-bottom {
    display: none !important;
}

/* Screen-reader status must remain accessible but not become visible text. */
.ghz-sf-footer__newsletter-form .screen-reader-response {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Newsletter: compact form structure */
.ghz-sf-footer__newsletter {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr) !important;
    gap: 36px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

.ghz-sf-footer__newsletter-form .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.ghz-sf-footer__newsletter-form .widget_wysija_cont {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    width: 100% !important;
}

.ghz-sf-footer__newsletter-form .wysija-paragraph,
.ghz-sf-footer__newsletter-form .d-table-cell {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
}

.ghz-sf-footer__newsletter-form .wpcf7-turnstile {
    order: 2 !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 2px 0 0 !important;
    transform: scale(.78) !important;
    transform-origin: 0 0 !important;
}

.ghz-sf-footer[dir="rtl"] .ghz-sf-footer__newsletter-form .wpcf7-turnstile {
    align-self: flex-end !important;
    transform-origin: 100% 0 !important;
}

.ghz-sf-footer__newsletter-form .wpcf7-response-output {
    order: 3 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #b9c4d7 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

/* Compress trust and main areas */
.ghz-sf-footer__trust-item {
    min-height: 58px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.ghz-sf-footer__main {
    padding-top: 32px !important;
    padding-bottom: 28px !important;
}

.ghz-sf-footer__column h3 {
    margin-bottom: 13px !important;
}

.ghz-sf-footer__column li {
    margin-bottom: 6px !important;
}

/* Payment + copyright + legal links: one row */
.ghz-sf-footer__bottom--single-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
}

.ghz-sf-footer__bottom--single-row .ghz-sf-footer__payment-badges {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.ghz-sf-footer__payment-label {
    padding: 0 4px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.ghz-sf-footer__bottom--single-row .ghz-sf-footer__legal {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    font-size: 11px !important;
}

.ghz-sf-footer__bottom--single-row .ghz-sf-footer__legal-links {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Mobile */
@media (max-width: 767px) {
    .ghz-sf-footer__newsletter {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .ghz-sf-footer__newsletter-form .widget_wysija_cont {
        grid-template-columns: 1fr !important;
    }

    .ghz-sf-footer__newsletter-form input[type="submit"] {
        width: 100% !important;
    }

    .ghz-sf-footer__bottom--single-row {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .ghz-sf-footer__bottom--single-row .ghz-sf-footer__legal {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

/* ==========================================================
   GHZ FOOTER V3 — REMOVE PORTO BOTTOM EDGE / WHITE HAIRLINE
   ========================================================== */

html,
body,
body.body-side,
.footer-wrapper,
#footer,
#footer.footer,
#footer .footer-main,
#footer .footer-main > .container,
.ghz-sf-footer {
    border-bottom: 0 !important;
    outline: 0 !important;
}

.footer-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #03143e !important;
}

#footer,
#footer .footer-main,
.ghz-sf-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

/* Prevent a 1px body/background seam after the retired Porto bottom. */
.footer-wrapper::after,
#footer::after,
.ghz-sf-footer::after {
    border: 0 !important;
    box-shadow: none !important;
}

.footer-wrapper > .footer-bottom,
#footer + .footer-bottom {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}



/* ==========================================================
   GHZ FOOTER — FOOTER51 VISUAL LOCK
   Target: compact production footer
   ========================================================== */

/* Never let experimental pseudo-elements enlarge the footer */
#footer .ghz-sf-footer::before,
#footer .ghz-sf-footer::after,
#footer .ghz-sf-footer__bottom::before,
#footer .ghz-sf-footer__bottom::after {
    content: none !important;
    display: none !important;
}

/* ---------- Newsletter ---------- */

#footer .ghz-sf-footer__newsletter {
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr) !important;

    gap: 34px !important;

    padding-top: 26px !important;
    padding-bottom: 26px !important;

    min-height: 0 !important;
}

#footer .ghz-sf-footer__newsletter-copy {
    margin: 0 !important;
    padding: 0 !important;
}

#footer .ghz-sf-footer__newsletter-copy h2 {
    margin: 5px 0 6px !important;

    font-size: clamp(28px, 2.3vw, 37px) !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
}

#footer .ghz-sf-footer__newsletter-copy p {
    margin: 0 !important;

    font-size: 13px !important;
    line-height: 1.65 !important;
}

#footer .ghz-sf-footer__eyebrow {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

#footer .ghz-sf-footer__newsletter-form {
    margin: 0 !important;
    padding: 0 !important;
}

#footer .ghz-sf-footer__newsletter-form .widget_wysija_cont {
    margin: 0 !important;
}

#footer .ghz-sf-footer__newsletter-form input[type="email"] {
    height: 46px !important;
    min-height: 46px !important;
}

#footer .ghz-sf-footer__newsletter-form input[type="submit"] {
    height: 46px !important;
    min-height: 46px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---------- Trust strip ---------- */

#footer .ghz-sf-footer__trust {
    min-height: 0 !important;
}

#footer .ghz-sf-footer__trust-item {
    min-height: 62px !important;

    padding-top: 10px !important;
    padding-bottom: 10px !important;

    margin: 0 !important;
}

/* ---------- Main footer ---------- */

#footer .ghz-sf-footer__main {
    padding-top: 30px !important;
    padding-bottom: 26px !important;

    margin: 0 !important;
}

#footer .ghz-sf-footer__brand,
#footer .ghz-sf-footer__nav,
#footer .ghz-sf-footer__column {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#footer .ghz-sf-footer__brand p {
    margin-top: 10px !important;
    margin-bottom: 12px !important;

    line-height: 1.8 !important;
}

#footer .ghz-sf-footer__contact {
    gap: 8px !important;
}

#footer .ghz-sf-footer__column h3 {
    margin-top: 0 !important;
    margin-bottom: 13px !important;
}

#footer .ghz-sf-footer__column ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#footer .ghz-sf-footer__column li {
    margin-bottom: 6px !important;
}

/* ---------- Bottom row ---------- */

#footer .ghz-sf-footer__bottom--single-row {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 18px !important;

    min-height: 0 !important;

    margin: 0 !important;

    padding-top: 11px !important;
    padding-bottom: 11px !important;

    border-bottom: 0 !important;

    box-shadow: none !important;

    background: #03143e !important;
}

#footer .ghz-sf-footer__bottom--single-row
.ghz-sf-footer__payment-badges {
    margin: 0 !important;
}

#footer .ghz-sf-footer__bottom--single-row
.ghz-sf-footer__legal {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

/* Do not allow old Porto footer bottom back in */
.footer-wrapper > .footer-bottom,
#footer + .footer-bottom {
    display: none !important;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {

    #footer .ghz-sf-footer__newsletter {
        grid-template-columns: 1fr !important;

        gap: 18px !important;

        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    #footer .ghz-sf-footer__newsletter-copy h2 {
        font-size: 27px !important;
    }

    #footer .ghz-sf-footer__main {
        padding-top: 24px !important;
        padding-bottom: 22px !important;
    }

    #footer .ghz-sf-footer__bottom--single-row {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

