
/* =========================================================
   Babli Fashion Point — Contact Page
   Complete CSS
   ========================================================= */

   .bfp-contact-page {
    --bfp-contact-orange: #ff4b1f;
    --bfp-contact-ink: #202020;
    --bfp-contact-muted: #706a67;
    --bfp-contact-cream: #fff1e7;
    --bfp-contact-border: #e9e1dc;

    color: var(--bfp-contact-ink);
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

.bfp-contact-page *,
.bfp-contact-page *::before,
.bfp-contact-page *::after {
    box-sizing: border-box;
}

/* =========================================================
   PAGE WRAPPER — Merto header alignment
   ========================================================= */

body.page-template-page-contact #main.wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body.page-template-page-contact #main.wrapper > #primary.bfp-contact-page {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.bfp-contact-container {
    width: calc(100% - 64px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.bfp-contact-hero {
    padding: clamp(38px, 5.5vw, 74px) 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 109, 64, .08), transparent 34%),
        linear-gradient(125deg, #fffaf7 0%, #fff0e5 100%);
}

.bfp-contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5.5vw, 88px);
    align-items: center;
}

.bfp-contact-hero-copy,
.bfp-contact-hero-image {
    min-width: 0;
}

.bfp-contact-eyebrow {
    margin: 0 0 14px;
    color: var(--bfp-contact-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.bfp-contact-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -.055em;
    font-weight: 800;
}

.bfp-contact-hero h1 span {
    color: var(--bfp-contact-orange);
}

.bfp-contact-lead {
    max-width: 540px;
    margin: 0;
    color: var(--bfp-contact-muted);
    font-size: 16px;
    line-height: 1.8;
}

.bfp-contact-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    color: var(--bfp-contact-muted);
    font-size: 12px;
}

.bfp-contact-hero-points span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bfp-contact-hero-points i {
    color: var(--bfp-contact-orange);
    font-style: normal;
    font-weight: 800;
}

.bfp-contact-hero-image {
    position: relative;
    min-width: 0;
}

.bfp-contact-hero-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1.12 / 1;
    object-fit: cover;
    object-position: center 24%;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(79, 43, 25, .13);
}

.bfp-contact-image-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 11px 14px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .94);
    font-size: 11px;
    font-weight: 800;
}

/* =========================================================
   MAIN CONTACT SECTION
   ========================================================= */

.bfp-contact-main {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: start;
    padding-top: clamp(52px, 7vw, 88px);
    padding-bottom: clamp(52px, 7vw, 88px);
}

.bfp-contact-info,
.bfp-contact-form-card {
    min-width: 0;
}

.bfp-contact-info h2,
.bfp-contact-form-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -.045em;
    font-weight: 800;
}

.bfp-contact-info h2 {
    max-width: 440px;
}

.bfp-contact-muted {
    margin: 0;
    color: var(--bfp-contact-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Contact details */

.bfp-contact-info-list {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.bfp-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.bfp-contact-info-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--bfp-contact-cream);
    color: var(--bfp-contact-orange);
    font-size: 19px;
}

.bfp-contact-info-item > div {
    min-width: 0;
}

.bfp-contact-info-item h3 {
    margin: 1px 0 5px;
    font-size: 13px;
    font-weight: 800;
}

.bfp-contact-info-item a,
.bfp-contact-info-item p {
    margin: 0;
    color: var(--bfp-contact-muted);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.bfp-contact-info-item a:hover {
    color: var(--bfp-contact-orange);
}

/* Contact information note */

.bfp-contact-help-note {
    margin-top: 34px;
    padding: 18px 19px;
    border-left: 3px solid var(--bfp-contact-orange);
    background: #fff8f3;
}

.bfp-contact-help-note strong {
    font-size: 12px;
}

.bfp-contact-help-note p {
    margin: 7px 0 0;
    color: var(--bfp-contact-muted);
    font-size: 11px;
    line-height: 1.7;
}

/* =========================================================
   CONTACT FORM CARD
   ========================================================= */

.bfp-contact-form-card {
    width: 100%;
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid #eee3dc;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(53, 35, 24, .075);
}

.bfp-contact-form-heading {
    margin-bottom: 25px;
}

.bfp-contact-form-heading .bfp-contact-eyebrow {
    margin-bottom: 9px;
}

.bfp-contact-form-heading h2 {
    margin-bottom: 0;
    font-size: clamp(25px, 2.7vw, 34px);
}

/* Form field layout */

.bfp-contact-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bfp-contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin-bottom: 17px;
}

.bfp-contact-field label {
    color: var(--bfp-contact-ink);
    font-size: 12px;
    font-weight: 800;
}

.bfp-contact-field label span {
    color: var(--bfp-contact-orange);
}

.bfp-contact-field input,
.bfp-contact-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid #e7ded7;
    border-radius: 8px;
    outline: none;
    background: #fffdfb;
    color: var(--bfp-contact-ink);
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
}

.bfp-contact-field textarea {
    min-height: 145px;
    resize: vertical;
}

.bfp-contact-field input:focus,
.bfp-contact-field textarea:focus {
    border-color: var(--bfp-contact-orange);
    box-shadow: 0 0 0 3px rgba(255, 75, 31, .1);
}

.bfp-contact-field input::placeholder,
.bfp-contact-field textarea::placeholder {
    color: #a29a94;
}

/* Submit button */

.bfp-contact-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 19px;
    border: 0;
    border-radius: 7px;
    background: var(--bfp-contact-orange);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.bfp-contact-submit:hover {
    background: #df3810;
    color: #fff;
}

.bfp-contact-submit:focus-visible,
.bfp-contact-shop-btn:focus-visible {
    outline: 2px solid var(--bfp-contact-ink);
    outline-offset: 3px;
}

.bfp-contact-form-privacy {
    margin: 12px 0 0;
    color: #8b837e;
    font-size: 10px;
    line-height: 1.6;
}

/* Form messages */

.bfp-contact-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.6;
}

.bfp-contact-alert-success {
    border: 1px solid #b8dfc5;
    background: #f0fbf3;
    color: #21653a;
}

.bfp-contact-alert-error {
    border: 1px solid #f1c3b8;
    background: #fff4f1;
    color: #9d2d17;
}

/* Honeypot anti-spam field */

.bfp-contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================================
   BOTTOM CALL TO ACTION
   ========================================================= */

.bfp-contact-bottom {
    padding: 35px 0;
    background: linear-gradient(110deg, #ff4b1f 0%, #f05a2c 100%);
    color: #fff;
}

.bfp-contact-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.bfp-contact-bottom .bfp-contact-eyebrow {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .8);
}

.bfp-contact-bottom h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.04em;
}

.bfp-contact-bottom p:not(.bfp-contact-eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    line-height: 1.7;
}

.bfp-contact-shop-btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 47px;
    padding: 12px 17px;
    border-radius: 7px;
    background: #fff;
    color: #202020 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s ease;
}

.bfp-contact-shop-btn:hover {
    background: #fff8f3;
    color: #202020 !important;
}

/* =========================================================
   TABLET RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .bfp-contact-container {
        width: calc(100% - 48px);
        max-width: 1440px;
    }

    .bfp-contact-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }

    .bfp-contact-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .bfp-contact-info {
        max-width: 680px;
    }
}

/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
    .bfp-contact-container {
        width: calc(100% - 32px);
        max-width: 520px;
    }

    .bfp-contact-hero {
        padding: 34px 0 30px;
    }

    .bfp-contact-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .bfp-contact-hero h1 {
        font-size: clamp(38px, 10vw, 48px);
    }

    .bfp-contact-lead {
        font-size: 14px;
    }

    .bfp-contact-hero-image img {
        aspect-ratio: 1.08 / 1;
        object-position: center 22%;
        border-radius: 13px;
    }

    .bfp-contact-hero-points {
        gap: 8px 12px;
        font-size: 10px;
    }

    .bfp-contact-main {
        padding-top: 42px;
        padding-bottom: 44px;
    }

    .bfp-contact-field-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .bfp-contact-form-card {
        padding: 21px 17px;
        border-radius: 12px;
    }

    .bfp-contact-bottom {
        padding: 28px 0;
    }

    .bfp-contact-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .bfp-contact-shop-btn {
        width: 100%;
    }
}
