/* =========================================================
   DESIGN CONSULTATION WORKFLOW – v1.1
   ========================================================= */
.fcq-wrap .fcq-design-fields {
    padding: 30px !important;
    background: #fff !important;
}
.fcq-design-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .95fr);
    gap: 36px;
    align-items: start;
}
.fcq-design-main { min-width: 0; }
.fcq-design-area {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) minmax(120px, .48fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}
.fcq-design-label {
    margin: 0 0 10px;
    color: #51483f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.25px;
}
.fcq-design-packages {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-bottom: 24px;
}
.fcq-design-packages .fcq-package {
    min-height: 92px;
    padding: 17px 15px !important;
}
.fcq-design-packages .fcq-package-title {
    font-size: 20px !important;
    margin-bottom: 3px !important;
}
.fcq-design-packages .fcq-package small {
    margin: 0 !important;
    font-size: 13px !important;
}
.fcq-design-packages .fcq-recommended {
    position: static !important;
    display: inline-block;
    max-width: none;
    margin-left: 5px;
}
.fcq-design-options {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin: 4px 0 24px;
}
.fcq-design-options label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #403a35;
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
}
.fcq-design-options input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 3px 0 0;
    accent-color: #a48350;
}
.fcq-design-options small {
    display: block;
    margin-top: 3px;
    color: #847b72;
    font-size: 12px;
}
.fcq-wrap .fcq-design-cta {
    margin: 0 0 28px !important;
    min-width: min(100%, 380px);
}
.fcq-design-summary {
    position: sticky;
    top: 25px;
    min-width: 0;
    padding: 25px;
    border: 1px solid #e4d9cb;
    background: #fff;
}
.fcq-design-summary .fcq-eyebrow {
    font-size: 11px;
}
.fcq-design-summary h3 {
    margin: 7px 0 17px;
    color: #211c18;
    font-family: Georgia,serif;
    font-size: clamp(21px,2vw,27px);
    font-weight: 400;
    line-height: 1.35;
}
.fcq-design-summary hr {
    height: 1px;
    margin: 0 0 15px;
    border: 0;
    background: #e9dfd4;
}
.fcq-design-summary > p {
    margin: 7px 0;
    color: #51483f;
    font-size: 14px;
    line-height: 1.55;
}
.fcq-assumptions {
    margin-top: 20px;
    border: 1px solid #e4d9cb;
    background: #f8f4ee;
}
.fcq-assumptions summary {
    display: flex;
    justify-content: space-between;
    padding: 17px 15px;
    color: #51483f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    list-style: none;
}
.fcq-assumptions summary::-webkit-details-marker { display:none; }
.fcq-assumptions div {
    padding: 0 15px 16px;
    color: #71685f;
    font-size: 13px;
    line-height: 1.65;
}
.fcq-design-total {
    margin-top: 17px;
    color: #9a7746;
    font-size: 17px;
    font-weight: 600;
}
.fcq-deliverable-card {
    margin: 0 0 25px;
    padding: 22px;
    border: 1px solid #e5dbcf;
    background: #fff;
}
.fcq-deliverable-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
    color: #62574c;
    font-family: Georgia,serif;
    font-size: 12px;
    letter-spacing: 1px;
}
.fcq-deliverable-heading b {
    color: #987650;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    text-align: right;
}
.fcq-deliverables ul {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fcq-deliverables li {
    position: relative;
    min-width: 0;
    padding-left: 24px;
    color: #81786f;
    font-size: 14px;
    line-height: 1.5;
}
.fcq-deliverables li::before {
    position: absolute;
    left: 0;
    top: 0;
    content: "–";
    color: #aaa096;
    font-size: 17px;
    font-weight: 500;
}
.fcq-deliverables li.is-included {
    color: #39332e;
}
.fcq-deliverables li.is-included::before {
    content: "✓";
    color: #9a7746;
    font-weight: 700;
}
.fcq-deliverables li em {
    display: inline-block;
    margin-left: 4px;
    color: #8b7e6e;
    font-size: 10px;
    font-style: normal;
    letter-spacing: .7px;
}
.fcq-deliverable-note {
    margin: 17px 0 0;
    color: #81786f;
    font-size: 12px;
    line-height: 1.6;
}
.fcq-interior-deliverables-card .fcq-deliverables li::before {
    content: "✓";
    color: #9a7746;
    font-weight: 700;
}
.fcq-interior-deliverables-card .fcq-deliverables li {
    color: #39332e;
}
@media(max-width:900px) {
    .fcq-design-layout {
        grid-template-columns: minmax(0,1fr);
        gap: 25px;
    }
    .fcq-design-summary {
        position: static;
        grid-row: 1;
    }
}
@media(max-width:600px) {
    .fcq-wrap .fcq-design-fields { padding: 17px !important; }
    .fcq-design-area { grid-template-columns: minmax(0,1fr) minmax(105px,.6fr); }
    .fcq-design-packages { grid-template-columns: 1fr !important; }
    .fcq-design-packages .fcq-package {
        min-height: 0;
        border-right: 0 !important;
        border-bottom: 1px solid #ded4c8 !important;
    }
    .fcq-design-options { grid-template-columns: 1fr; gap: 14px; }
    .fcq-deliverable-card { padding: 16px; }
    .fcq-deliverables ul { grid-template-columns: 1fr; gap: 9px; }
    .fcq-deliverable-heading { align-items: flex-start; flex-direction: column; }
    .fcq-deliverable-heading b { text-align: left; }
    .fcq-design-summary { padding: 19px; }
}
/* ==========================================
   FOUR CORNERS – FIXED STICKY SCOPE SUMMARY
   ========================================== */

/* 1. Remove overflow restrictions from ancestors */
.fcq-wrap {
    overflow: visible !important;
}

.fcq-wrap .fcq-design-fields {
    overflow: visible !important;
}

.fcq-wrap .fcq-panel.fcq-design-fields {
    overflow: visible !important;
}

.fcq-wrap .fcq-design-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .95fr) !important;
    align-items: start !important;
    overflow: visible !important;
}

/* 2. Sticky selected scope */
.fcq-wrap .fcq-design-summary {
    position: -webkit-sticky !important;
    position: sticky !important;

    top: 120px !important;

    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 140px);

    overflow-y: auto;
    z-index: 20;
}

/* 3. Override the original 900px rule */
@media (min-width: 768px) {

    .fcq-wrap .fcq-design-summary {
        position: sticky !important;
        top: 120px !important;
    }

    .fcq-wrap .fcq-design-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(300px, .95fr) !important;
    }
}

/* 4. Mobile: normal document flow */
@media (max-width: 767px) {

    .fcq-wrap .fcq-design-layout {
        grid-template-columns: 1fr !important;
    }

    .fcq-wrap .fcq-design-summary {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}