/* Perfect Home footer on WooCommerce / Woodmart pages only.
   Scoped to .ph-footer so theme styles stay intact. */

.whb-footer,
.wd-footer,
.footer-container,
.copyrights-wrapper,
.wd-prefooter,
.main-footer,
footer.footer,
.wd-footer-area {
    display: none !important;
}

.ph-footer {
    --ivory: #FBF7F2;
    --blush: #E8C5B8;
    --ink: #2B2420;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
    --wrap: 1180px;
    --pad: 22px;
    box-sizing: border-box;
    background: var(--ink);
    color: #efe8e0;
    padding-top: 56px;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 5;
    clear: both;
}
.ph-footer *,
.ph-footer *::before,
.ph-footer *::after { box-sizing: border-box; }
.ph-footer a { color: #efe8e0; text-decoration: none; }
.ph-footer a:hover { color: var(--blush); }
.ph-footer p { margin: 0 0 1em; }
.ph-footer ul { margin: 0; padding: 0; list-style: none; }
.ph-footer .wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.ph-footer .visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.ph-footer .brand--footer {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.1;
    color: #efe8e0;
    display: inline-block;
    margin-bottom: .35em;
}
.ph-footer .site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr .8fr 1.1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.ph-footer .site-footer__h {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: var(--blush);
    font-weight: 500;
}
.ph-footer .site-footer__tagline {
    font-family: var(--serif);
    font-size: 1.25rem;
    margin: 0 0 .6em;
}
.ph-footer .site-footer__story,
.ph-footer .site-footer__note { color: rgba(239,232,224,.72); font-size: .92rem; }
.ph-footer .site-footer__address { font-style: normal; margin-bottom: .6rem; }
.ph-footer .site-footer__links li { margin-bottom: .4rem; }
.ph-footer .newsletter-form { display: flex; gap: 0; margin: 12px 0 16px; }
.ph-footer .newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: #fff;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
}
.ph-footer .newsletter-form button {
    background: var(--blush);
    color: var(--ink);
    border: 0;
    padding: 0 16px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .7rem;
    cursor: pointer;
    font: inherit;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ph-footer .socials { display: flex; gap: 10px; }
.ph-footer .socials a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(239,232,224,.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ph-footer .site-footer__bottom { border-top: 1px solid rgba(239,232,224,.12); }
.ph-footer .site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    font-size: .8rem;
    color: rgba(239,232,224,.65);
}
.ph-footer .site-footer__bottom-inner p { margin: 0; }

.wa-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 9999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37,211,102,.35);
}

@media (max-width: 980px) {
    .ph-footer .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .ph-footer .site-footer__grid { grid-template-columns: 1fr; }
    .ph-footer .site-footer__bottom-inner { flex-direction: column; }
}
