@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #eeeae4;
    color: #252525;
    min-height: 100vh;
}


/* ================= HEADER ================= */

.header {
    width: 100%;
    min-height: 165px;

    background: #ffffff;

    display: flex;
    align-items: center;

    padding: 22px 55px;

    border-bottom: 1px solid #d8d0c5;

    position: relative;
    z-index: 10;

    direction: ltr;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}


/* ================= LOGO ================= */

.logo-section {
    width: 28%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.company-logo {
    width: 230px;
    max-height: 120px;

    height: auto;

    object-fit: contain;
}


/* ================= COMPANY NAME ================= */

.company-name {
    width: 44%;

    text-align: center;

    padding: 0 25px;
}

.company-name h1 {
    font-family: 'Cairo', sans-serif;

    font-size: 28px;

    font-weight: 700;

    color: #292622;

    margin-bottom: 6px;
}

.company-name h2 {
    font-family: 'Montserrat', sans-serif;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 1px;

    color: #8b7355;

    direction: ltr;
}

/* ================= MAIN ================= */

.main-content {
    min-height: calc(100vh - 225px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 70px 25px;

    background:
        linear-gradient(
            rgba(35, 32, 28, 0.58),
            rgba(35, 32, 28, 0.58)
        ),
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* ==========================================
   REQUIREMENTS TABLE
   ========================================== */

.requirements-table {
    border: 1px solid #e1e1e1;
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1.3fr 1.5fr 1fr 1.4fr;
    align-items: center;
}

.table-header {
    background: #4a4a4a;
    color: #fff;
    padding: 15px;
    font-size: 12px;
}

.table-row {
    padding: 13px 15px;
    border-top: 1px solid #e8e8e8;
    gap: 12px;
}

.table-row:nth-child(even) {
    background: #fafafa;
}

.requirement-name {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.requirement-name small {
    display: block;
    margin-top: 4px;
    color: #aaa;
    font-size: 9px;
    direction: ltr;
}

.table-row > input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    outline: none;
}

.table-row > input:focus {
    border-color: #888;
}


/* ==========================================
   STATUS OPTIONS
   ========================================== */

.status-options {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.status-options input {
    display: none;
}

.status-options label span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 11px;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}

.status-options label span:hover {
    border-color: #999;
}

.status-options input:checked + span {
    background: #4a4a4a;
    color: #fff;
    border-color: #4a4a4a;
}


/* ==========================================
   GENERAL OPTION CARDS
   ========================================== */

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.select-card input {
    display: none;
}

.select-card span {
    display: block;
    padding: 22px;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    transition: .25s;
    color: #444;
}

.select-card span:hover {
    border-color: #999;
    transform: translateY(-2px);
}

.select-card span small {
    display: block;
    margin-top: 7px;
    color: #aaa;
    font-size: 9px;
    direction: ltr;
}

.select-card input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: white;
}

.select-card input:checked + span small {
    color: #ccc;
}


/* ==========================================
   LOCATION / EXTRA INPUT
   ========================================== */

.location-input {
    margin-top: 25px;
}


/* ==========================================
   ROOM OPTIONS
   ========================================== */

.room-options {
    grid-template-columns: repeat(4, 1fr);
}


/* ==========================================
   GENERAL FACILITIES
   ========================================== */

.facility-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.facility-row:last-of-type {
    border-bottom: none;
}

.facility-name strong {
    display: block;
    font-size: 14px;
    color: #444;
}

.facility-name small {
    display: block;
    margin-top: 5px;
    color: #aaa;
    font-size: 10px;
    direction: ltr;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 750px) {

    .table-header {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }

    .table-row > input {
        width: 100%;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .room-options {
        grid-template-columns: 1fr 1fr;
    }

    .facility-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}

/* ================= HERO CARD ================= */

.hero {
    width: 100%;
    max-width: 900px;

    padding: 75px 60px;

    text-align: center;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    position: relative;
}


/* Decorative corners */

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    width: 45px;
    height: 45px;

    border-color: #b69b72;
}

.hero::before {
    top: 18px;
    right: 18px;

    border-top: 2px solid #b69b72;
    border-right: 2px solid #b69b72;
}

.hero::after {
    bottom: 18px;
    left: 18px;

    border-bottom: 2px solid #b69b72;
    border-left: 2px solid #b69b72;
}


/* ================= TITLES ================= */

.hero h1 {
    font-size: 40px;
    font-weight: 700;

    color: #26231f;

    margin-bottom: 10px;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;

    font-size: 21px;
    font-weight: 500;

    letter-spacing: 1px;

    color: #8b7355;
}

.divider {
    width: 75px;
    height: 3px;

    background: #b69b72;

    margin: 28px auto 32px;
}


/* ================= TEXT ================= */

.hero p {
    max-width: 680px;

    margin: 0 auto 12px;

    font-size: 18px;
    line-height: 2;

    color: #444;
}

.english-text {
    direction: ltr;

    font-family: 'Montserrat', sans-serif;

    font-size: 15px !important;

    color: #777 !important;

    line-height: 1.8 !important;
}


/* ================= BUTTON ================= */

.start-button {
    margin-top: 35px;

    padding: 16px 42px;

    border: none;

    background: #292622;
    color: white;

    font-family: 'Cairo', sans-serif;

    font-size: 16px;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.start-button span {
    margin-right: 12px;

    font-family: 'Montserrat', sans-serif;

    font-size: 13px;
}

.start-button:hover {
    background: #b69b72;

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
}


/* ================= FOOTER ================= */

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 25px 20px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-info div {
    color: white;
    font-size: 14px;
}

footer p {
    color: white;
    margin: 0;
    font-size: 13px;
}




/* ================= MOBILE ================= */

@media (max-width: 700px) {

    .header {
        min-height: auto;

        padding: 18px 15px;

        flex-wrap: wrap;

        gap: 15px;
    }

    .logo-section {
        width: 35%;
    }

    .company-logo {
        width: 120px;
        max-height: 75px;
    }

    .company-name {
        width: 65%;
        padding: 0;
    }

    .company-name h1 {
        font-size: 18px;
    }

    .company-name h2 {
        font-size: 10px;
    }

    .document-info {
        width: 100%;

        border-left: none;
        border-top: 1px solid #e1dbd3;

        padding: 12px 0 0;

        text-align: center;
    }

    .document-number {
        font-size: 15px;
    }

    .main-content {
        padding: 35px 15px;

        background-attachment: scroll;
    }

    .hero {
        padding: 55px 25px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .hero p {
        font-size: 16px;
    }

    .english-text {
        font-size: 13px !important;
    }

    .start-button {
        width: 100%;
        padding: 15px;
    }
}

/* =================================
   PROFESSIONAL GENERAL INFORMATION
   ================================= */

.professional-form {
    max-width: 1050px;
    margin: 0 auto;
    padding: 55px 25px 80px;
}

/* ================= FORM HEADER ================= */

.form-header {
    height: 115px;
    padding: 0 55px;

    display: flex;
    align-items: center;

    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;

    direction: ltr;
}


/* ===== LOGO - LEFT ===== */

.header-logo {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-logo img {
    width: 125px;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}


/* ===== COMPANY NAME - CENTER ===== */

.header-title {
    flex: 1;
    text-align: center;
    direction: rtl;
}

.header-title h1 {
    margin: 0;

    font-family: 'Cairo', sans-serif;
    font-size: 25px;
    font-weight: 700;

    color: #292622;
}

.header-title p {
    margin: 5px 0 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;

    letter-spacing: 1px;
    color: #999;

    direction: ltr;
}


/* ===== STEP - RIGHT ===== */

.step-number {
    width: 90px;

    text-align: center;
    direction: rtl;

    color: #777;
}

.step-number span {
    display: block;

    font-family: 'Montserrat', sans-serif;
    font-size: 27px;
    font-weight: 600;

    color: #444;
}

.step-number small {
    display: block;

    margin-top: 2px;

    font-family: 'Cairo', sans-serif;
    font-size: 10px;

    color: #aaa;
}


/* Page Intro */

.page-intro {
    text-align: center;
    margin-bottom: 45px;
}

.section-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 12px;
}

.page-intro h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 500;
    color: #2f2f2f;
}

.page-intro p {
    max-width: 600px;
    margin: 15px auto 0;
    color: #888;
    line-height: 1.9;
    font-size: 14px;
}


/* Cards */

.form-section-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 32px;
    margin-bottom: 22px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.035);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.section-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #d5d5d5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

.section-heading h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #333;
}

.section-heading span {
    display: block;
    margin-top: 4px;
    color: #aaa;
    font-size: 11px;
    direction: ltr;
}


/* Inputs */

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.input-group input,
.input-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dedede;
    background: #fafafa;
    padding: 14px 15px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: .25s;
}

.input-group textarea {
    resize: vertical;
    min-height: 130px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #bbb;
}

.input-group input:focus,
.input-group textarea:focus {
    background: #fff;
    border-color: #888;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.035);
}


/* Design Options */

.section-description {
    color: #999;
    font-size: 13px;
    margin: -10px 0 22px;
}

.design-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.design-card input {
    display: none;
}

.design-content {
    position: relative;
    border: 1px solid #ddd;
    padding: 28px 15px;
    text-align: center;
    cursor: pointer;
    transition: .25s;
    background: #fff;
}

.design-content:hover {
    border-color: #999;
    transform: translateY(-2px);
}

.design-number {
    display: block;
    font-size: 10px;
    color: #aaa;
    margin-bottom: 14px;
}

.design-content strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}

.design-content small {
    display: block;
    margin-top: 6px;
    color: #aaa;
    font-size: 10px;
    direction: ltr;
}

.design-card input:checked + .design-content {
    background: #4a4a4a;
    border-color: #4a4a4a;
}

.design-card input:checked + .design-content strong,
.design-card input:checked + .design-content small,
.design-card input:checked + .design-content .design-number {
    color: #fff;
}


/* Furniture */

.compact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compact-section .section-heading {
    margin-bottom: 0;
}

.choice-row {
    display: flex;
    gap: 12px;
}

.choice input {
    display: none;
}

.choice span {
    display: block;
    min-width: 80px;
    text-align: center;
    padding: 11px 18px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 13px;
    transition: .2s;
}

.choice span:hover {
    border-color: #888;
}

.choice input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: white;
}


/* Buttons */

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
}

.back-button {
    background: transparent;
    border: none;
    color: #999;
    font-family: inherit;
    cursor: pointer;
    font-size: 13px;
}

.continue-button {
    min-width: 180px;
    padding: 15px 25px;
    border: none;
    background: #3f3f3f;
    color: white;
    cursor: pointer;
    font-family: inherit;
    transition: .25s;
}

.continue-button:hover {
    background: #222;
}

.continue-button span {
    font-size: 15px;
}

.continue-button small {
    margin-right: 10px;
    color: #bbb;
    font-size: 11px;
    direction: ltr;
}


/* Footer */

footer {
    background: #4b4b4b;
    color: white;
    text-align: center;
    padding: 28px 20px;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-info div {
    color: #eee;
    font-size: 13px;
}

footer p {
    color: #aaa;
    margin: 0;
    font-size: 11px;
}


/* Mobile */

@media (max-width: 700px) {

    .form-header {
        padding: 0 20px;
    }

    .header-title h1 {
        font-size: 16px;
    }

    .header-title p {
        display: none;
    }

    .professional-form {
        padding: 35px 15px 60px;
    }

    .page-intro h1 {
        font-size: 28px;
    }

    .form-section-card {
        padding: 22px;
    }

    .input-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .design-options {
        grid-template-columns: 1fr 1fr;
    }

    .compact-section {
        display: block;
    }

    .compact-section .section-heading {
        margin-bottom: 20px;
    }

    .form-actions {
        gap: 20px;
    }
}
/* ==========================================
   PAGE 3 - GENERAL FINISHING SPECIFICATIONS
   ========================================== */


/* ===== FINISHING TABLE ===== */

.finishing-table {
    border: 1px solid #e1e1e1;
    overflow: hidden;
}

.finishing-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    min-height: 100px;
}

.finishing-label {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 22px;

    background: #f7f7f7;
    border-left: 1px solid #e1e1e1;
}

.finishing-label strong {
    font-size: 14px;
    color: #444;
}

.finishing-label small {
    margin-top: 5px;
    color: #aaa;
    font-size: 10px;
    direction: ltr;
}


/* ===== OPTIONS ===== */

.finishing-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
}

.finish-option input {
    display: none;
}

.finish-option span {
    display: block;

    padding: 11px 18px;

    border: 1px solid #ddd;
    background: #fff;

    color: #555;

    font-size: 12px;

    cursor: pointer;

    transition: .2s;
}

.finish-option span:hover {
    border-color: #888;
    transform: translateY(-1px);
}

.finish-option input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: #fff;
}


/* ===== OTHER INPUT ===== */

.other-input {
    padding: 15px 20px 20px;
    border-top: 1px solid #eee;
}

.other-input input,
.full-extra-input {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 13px;

    outline: none;
}

.other-input input:focus,
.full-extra-input:focus {
    background: #fff;
    border-color: #888;
}


/* ===== LARGE OPTIONS ===== */

.large-options {
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.large-options .finish-option span {
    padding: 17px 12px;
    text-align: center;
}


/* ===== FULL EXTRA INPUT ===== */

.full-extra-input {
    margin-top: 20px;
}


/* ===== NOTES ===== */

.general-notes {
    width: 100%;
    min-height: 150px;

    box-sizing: border-box;

    resize: vertical;

    padding: 15px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 14px;

    outline: none;
}

.general-notes:focus {
    background: #fff;
    border-color: #888;
}
/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .finishing-row {
        grid-template-columns: 1fr;
    }

    .finishing-label {
        min-height: 70px;
        border-left: none;
        border-bottom: 1px solid #e1e1e1;
    }

    .finishing-options {
        padding: 15px;
    }

    .large-options {
        grid-template-columns: 1fr 1fr;
    }

}

/* ================= SANITARY GROUP ================= */

.sanitary-group {
    min-height: 130px;
}

.sanitary-content {
    padding: 20px;
}

.sanitary-type {
    margin-bottom: 18px;
}

.sanitary-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sanitary-field label {
    display: block;
    margin-bottom: 7px;

    font-size: 11px;
    color: #777;
}

.sanitary-field input[type="text"],
.sanitary-field input[type="number"] {
    width: 100%;
    box-sizing: border-box;

    padding: 10px 12px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    outline: none;
}

.sanitary-field input:focus {
    background: #fff;
    border-color: #888;
}


/* ===== SOLAR STATUS ===== */

.sanitary-field .choice-row {
    display: flex;
    gap: 8px;
}

.sanitary-field .choice span {
    min-width: 55px;
    padding: 9px 12px;
    font-size: 11px;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .sanitary-details {
        grid-template-columns: 1fr;
    }

    .sanitary-content {
        padding: 15px;
    }

}
/* ================= WOOD REAL TABLE ================= */

.wood-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.wood-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 750px;
}

.wood-table th,
.wood-table td {
    border: 1px solid #e1e1e1;
    padding: 16px;
    text-align: center;
    vertical-align: middle;
}

.wood-table thead th {
    background: #4a4a4a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.wood-table tbody th {
    width: 110px;
    background: #f7f7f7;
    color: #555;
    font-size: 13px;
}


/* ===== OPTIONS INSIDE TABLE ===== */

.wood-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.wood-options input,
.wood-type-options input {
    display: none;
}

.wood-options label,
.wood-type-options label {
    cursor: pointer;
}

.wood-options span,
.wood-type-options span {
    display: block;
    padding: 8px 11px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 10px;
    transition: .2s;
}

.wood-options span:hover,
.wood-type-options span:hover {
    border-color: #888;
}

.wood-options input:checked + span,
.wood-type-options input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: #fff;
}


/* ===== WOOD TYPE ===== */

.wood-type-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .wood-table {
        min-width: 750px;
    }

}
/* ================= DOOR COLOR ================= */

.door-color-row,
.door-hinges-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;

    min-height: 75px;

    border: 1px solid #e1e1e1;
    border-top: none;

    background: #fff;
}

.door-color-label,
.door-hinges-label {
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 20px;

    background: #f7f7f7;
    border-left: 1px solid #e1e1e1;
}

.door-color-label strong,
.door-hinges-label strong {
    font-size: 13px;
    color: #555;
}

.door-color-label small,
.door-hinges-label small {
    margin-top: 4px;
    color: #aaa;
    font-size: 9px;
    direction: ltr;
}


/* ===== لون الأبواب ===== */

.door-color-input {
    padding: 15px 20px;
}

.door-color-input input {
    width: 100%;
    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    outline: none;
}

.door-color-input input:focus {
    background: #fff;
    border-color: #888;
}


/* ===== مفصلات الأبواب ===== */

.door-hinges-options {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
}

.door-hinges-options input {
    display: none;
}

.door-hinges-options span {
    display: block;

    padding: 9px 18px;

    border: 1px solid #ddd;
    background: #fff;

    color: #555;
    font-size: 11px;

    cursor: pointer;
    transition: .2s;
}

.door-hinges-options span:hover {
    border-color: #888;
}

.door-hinges-options input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: #fff;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .door-color-row,
    .door-hinges-row {
        grid-template-columns: 1fr;
    }

    .door-color-label,
    .door-hinges-label {
        min-height: 55px;
        border-left: none;
        border-bottom: 1px solid #e1e1e1;
    }

}
/* ================= SPECIFICATION TABLES ================= */

.spec-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 750px;
}

.spec-table th,
.spec-table td {
    border: 1px solid #dedede;
    padding: 14px;
    text-align: center;
    vertical-align: middle;
}

.spec-table thead th {
    background: #4a4a4a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.spec-table tbody th {
    background: #f7f7f7;
    color: #555;
    font-size: 12px;
    font-weight: 600;
}


/* ===== RADIO ===== */

.spec-table input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: #4a4a4a;
    cursor: pointer;
}


/* ===== OPTIONS ===== */

.table-option {
    cursor: pointer;
}

.table-option input {
    display: none;
}

.table-option span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 11px;
    transition: .2s;
}

.table-option span:hover {
    border-color: #888;
}

.table-option input:checked + span {
    background: #4a4a4a;
    color: #fff;
    border-color: #4a4a4a;
}


/* ===== INPUTS ===== */

.table-input,
.table-wide-input {
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 12px;
    outline: none;
}

.table-input {
    width: 100%;
}

.table-wide-input {
    width: 95%;
}

.table-input:focus,
.table-wide-input:focus {
    background: #fff;
    border-color: #888;
}


/* ===== TEXTAREA ===== */

.table-textarea {
    width: 95%;
    min-height: 80px;
    resize: vertical;

    box-sizing: border-box;

    padding: 12px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    outline: none;
}

.table-textarea:focus {
    background: #fff;
    border-color: #888;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .spec-table {
        min-width: 750px;
    }

}
/* ================= COMMUNICATION & SECURITY ================= */

.systems-list {
    border: 1px solid #e1e1e1;
    background: #fff;
}


/* ===== MAIN SYSTEM ===== */

.system-item {
    border-bottom: 1px solid #e5e5e5;
}

.system-item:last-child {
    border-bottom: none;
}

.system-main {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 18px 22px;

    cursor: pointer;

    background: #f8f8f8;

    color: #444;
    font-size: 14px;
    font-weight: 600;
}


/* إخفاء checkbox الأساسي */

.system-main input {
    display: none;
}


/* مربع الاختيار */

.system-main span::before {
    content: "";

    display: inline-block;

    width: 17px;
    height: 17px;

    margin-left: 10px;

    vertical-align: middle;

    border: 1px solid #cfcfcf;
    background: #fff;

    transition: .2s;
}


/* عند الاختيار */

.system-main input:checked + span::before {
    background: #4a4a4a;

    box-shadow:
        inset 0 0 0 4px #fff;
}


/* ===== DETAILS ===== */

.system-details {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-top: 1px solid #eee;
}





/* ===== FIELDS ===== */

.detail-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.detail-field label {
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

.detail-field input,
.detail-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px;

    border: 1px solid #ddd;

    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    outline: none;

    transition: .2s;
}

.detail-field textarea {
    min-height: 90px;
    resize: vertical;
}

.detail-field input:focus,
.detail-field textarea:focus {
    background: #fff;
    border-color: #888;
}


/* ===== OPTIONS ===== */

.detail-options {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.detail-options input {
    display: none;
}

.detail-options span {
    display: block;

    padding: 10px 18px;

    border: 1px solid #ddd;

    background: #fff;

    color: #555;

    font-size: 11px;

    cursor: pointer;

    transition: .2s;
}

.detail-options span:hover {
    border-color: #888;
}

.detail-options input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: #fff;
}


/* ===== FULL WIDTH ===== */

.full-detail {
    grid-column: 1 / -1;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .system-details {
        grid-template-columns: 1fr;
    }

    .full-detail {
        grid-column: auto;
    }

}
/* ================= TABLE OPTIONS ================= */

.table-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
}

.table-options input[type="radio"] {
    display: none;
}

.table-options label {
    cursor: pointer;
}

.table-options label span {
    display: block;
    padding: 9px 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-size: 11px;
    transition: .2s;
}

.table-options label span:hover {
    border-color: #888;
}

.table-options input[type="radio"]:checked + span {
    background: #4a4a4a;
    color: #fff;
    border-color: #4a4a4a;
}

.table-options .table-input {
    width: 130px;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-family: inherit;
    font-size: 11px;
    outline: none;
}

.table-options .table-input:focus {
    background: #fff;
    border-color: #888;
}
/* ==========================================
   FINISHING SELECTION PAGE
========================================== */

.finishing-selection {
    min-height: calc(100vh - 165px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 70px 25px;

    background:
        linear-gradient(
            rgba(35, 32, 28, 0.58),
            rgba(35, 32, 28, 0.58)
        ),
        url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}


/* ===== CARD ===== */

.selection-card {
    width: 100%;
    max-width: 950px;

    padding: 65px 55px;

    background: rgba(255,255,255,.97);

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);

    border: 1px solid rgba(255,255,255,.7);
}


/* ===== TITLE ===== */

.selection-tag {
    margin-bottom: 15px;

    color: #b69b72;

    font-family: 'Montserrat', sans-serif;

    font-size: 11px;

    letter-spacing: 3px;
}


.selection-card h1 {
    margin: 0;

    color: #292622;

    font-size: 38px;

    font-weight: 600;
}


.selection-card > p {
    margin: 12px 0 35px;

    color: #999;

    font-size: 14px;
}


/* ===== OPTIONS ===== */

.finishing-options {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 15px;
}


.finishing-option {

    min-height: 145px;
    padding: 25px 15px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: .25s;
}

.finishing-option strong {

    display: block;

    color: #444;

    font-size: 17px;

    font-weight: 600;
}


.finishing-option small {

    display: block;

    margin-top: 8px;

    color: #aaa;

    font-family: 'Montserrat', sans-serif;

    font-size: 9px;

    direction: ltr;
}


.finishing-option:hover {

    border-color: #999;

    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);
}


.finishing-option.selected {

    background: #4a4a4a;

    border-color: #4a4a4a;
}


.finishing-option.selected strong {

    color: #fff;
}


.finishing-option.selected small {

    color: #ccc;
}


/* ===== QUANTITY ===== */

.quantity-box {
    display: none !important;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
     background: transparent !important;
    border: none;
}


.quantity-box.show {
    display: block !important;
    border-top: 1px solid #eee;
}


.quantity-box label {

    display: block;

    margin-bottom: 12px;

    color: #444;

    font-size: 15px;

    font-weight: 600;
}


.quantity-box input {

    width: 180px;

    padding: 13px;

    border: 1px solid #ddd;

    background: #fafafa;

    text-align: center;

    font-family: inherit;

    font-size: 15px;

    outline: none;
}


.quantity-box input:focus {

    background: #fff;

    border-color: #888;
}


/* ===== CONTINUE ===== */

#continue-finishing {

    display: block;

    margin: 20px auto 0;

    min-width: 180px;

    padding: 14px 30px;

    border: none;

    background: #292622;

    color: #fff;

    font-family: inherit;

    cursor: pointer;

    transition: .25s;
}


#continue-finishing:hover {

    background: #b69b72;

    transform: translateY(-2px);
}


#continue-finishing small {

    margin-right: 10px;

    color: #bbb;

    font-family: 'Montserrat', sans-serif;

    font-size: 10px;

    direction: ltr;
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .selection-card {

        padding: 45px 20px;
    }

    .selection-card h1 {

        font-size: 29px;
    }

    .finishing-options {

        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 450px) {

    .finishing-options {

        grid-template-columns: 1fr;
    }

}
/* ================= BACK ARROW ================= */

.back-arrow {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 22px auto 0 !important;
    padding: 3px  !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #888;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;

    cursor: pointer;

}

.back-arrow:hover {
    color: #b69b72;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.back-arrow span {
    font-size: 12px;
    margin-right: 5px;
}
/* ==========================================
   BATHROOM PAGE
========================================== */

/* ===== BATHROOM SECTIONS ===== */

.bathroom-section {
    margin-top: 35px;
    text-align: right;
}

.bathroom-section .section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #e1e1e1;
    position: relative;
}

.bathroom-section .section-title::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;

    width: 70px;
    height: 2px;

    background: #b69b72;
}

.bathroom-section .section-title h2 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #333;
}

.bathroom-section .section-title span {
    font-family: 'Montserrat', sans-serif;

    font-size: 10px;
    color: #aaa;

    direction: ltr;
}


/* ===== BATHROOM TABLE ===== */

.bathroom-table {
    width: 100%;

    border: 1px solid #e1e1e1;
    background: #fff;

    overflow-x: auto;
}

.bathroom-table .table-row {
    display: grid;

    grid-template-columns:
        1.15fr
        1.35fr
        .75fr
        1.35fr
        1.2fr
        1.5fr;

    align-items: center;

    min-width: 900px;

    padding: 0;

    border-top: 1px solid #e8e8e8;
    gap: 0;
}

.bathroom-table .table-row:first-child {
    border-top: none;
}

.bathroom-table .table-row > div {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px 10px;

    border-left: 1px solid #e8e8e8;
}

.bathroom-table .table-row > div:last-child {
    border-left: none;
}


/* ===== TABLE HEADER ===== */

.bathroom-table .table-header {
    min-height: 52px;

    background: #4a4a4a;
    color: #fff;

    border-top: none;
}

.bathroom-table .table-header > div {
    min-height: 52px;

    font-size: 11px;
    font-weight: 600;

    border-left-color: rgba(255,255,255,.15);
}


/* ===== EQUIPMENT NAME ===== */

.bathroom-table .equipment-name {
    color: #444;

    font-size: 13px;
    font-weight: 600;

    background: #f7f7f7;
}


/* ===== TABLE INPUTS ===== */

.bathroom-table input[type="text"],
.bathroom-table select {
    width: 100%;
    height: 38px;

    box-sizing: border-box;

    padding: 8px 10px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 11px;

    color: #444;

    outline: none;

    transition: .2s;
}

.bathroom-table input[type="text"]:focus,
.bathroom-table select:focus {
    background: #fff;
    border-color: #888;

    box-shadow: 0 0 0 3px rgba(0,0,0,.03);
}


/* ===== CHECKBOX ===== */

.bathroom-table input[type="checkbox"] {
    width: 17px;
    height: 17px;

    accent-color: #4a4a4a;

    cursor: pointer;
}


/* ==========================================
   BATHROOM OPTION CARDS
========================================== */

.bathroom-section .options-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.bathroom-section .option-card {
    padding: 18px;

    background: #fff;

    border: 1px solid #ddd;

    text-align: right;

    transition: .2s;
}

.bathroom-section .option-card:hover {
    border-color: #aaa;

    box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.bathroom-section .option-card label {
    display: block;

    margin-bottom: 9px;

    color: #555;

    font-size: 12px;
    font-weight: 600;
}

.bathroom-section .option-card select,
.bathroom-section .option-card input[type="text"] {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #ddd;

    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    color: #444;

    outline: none;
}

.bathroom-section .option-card select:focus,
.bathroom-section .option-card input[type="text"]:focus {
    background: #fff;
    border-color: #888;
}


/* ===== CEILING INPUT ===== */

.bathroom-section .option-card select + input[type="text"] {
    margin-top: 8px;
}


/* ==========================================
   EXECUTION OPTIONS
========================================== */

.bathroom-section .execution-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.bathroom-section .execution-options label {
    display: flex;
    align-items: center;

    gap: 9px;

    min-height: 48px;

    padding: 10px 15px;

    background: #fff;

    border: 1px solid #ddd;

    color: #555;

    font-size: 12px;

    cursor: pointer;

    transition: .2s;
}

.bathroom-section .execution-options label:hover {
    border-color: #999;
    background: #fafafa;
}

.bathroom-section .execution-options input[type="checkbox"] {
    width: 17px;
    height: 17px;

    accent-color: #4a4a4a;
}


/* ==========================================
   BATHROOM NOTES
========================================== */

.bathroom-section .bathroom-notes {
    width: 100%;

    min-height: 140px;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #ddd;

    background: #fafafa;

    resize: vertical;

    font-family: inherit;
    font-size: 13px;

    color: #333;

    outline: none;

    transition: .2s;
}

.bathroom-section .bathroom-notes:focus {
    background: #fff;
    border-color: #888;
}


/* ==========================================
   BATHROOM NAVIGATION
========================================== */

.bathroom-navigation {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #e5e5e5;
}

.bathroom-navigation .back-arrow {
    margin: 0 !important;

    padding: 5px !important;

    color: #888;
}

.bathroom-navigation .continue-button {
    margin: 0;

    min-width: 180px;

    padding: 14px 25px;

    border: none;

    background: #292622;
    color: #fff;

    font-family: inherit;

    cursor: pointer;

    transition: .25s;
}

.bathroom-navigation .continue-button:hover {
    background: #b69b72;

    transform: translateY(-2px);
}

.bathroom-navigation .continue-button small {
    margin-right: 10px;

    color: #bbb;

    font-family: 'Montserrat', sans-serif;
    font-size: 10px;

    direction: ltr;
}


/* ==========================================
   BATHROOM MOBILE
========================================== */

@media (max-width: 700px) {

    .bathroom-section .section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .bathroom-section .options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bathroom-section .execution-options {
        grid-template-columns: 1fr 1fr;
    }

    .bathroom-navigation {
        gap: 15px;
    }

    .bathroom-navigation .continue-button {
        min-width: 150px;
    }
}


@media (max-width: 450px) {

    .bathroom-section .options-grid,
    .bathroom-section .execution-options {
        grid-template-columns: 1fr;
    }

    .bathroom-navigation {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .bathroom-navigation .continue-button {
        width: 100%;
    }

    .bathroom-navigation .back-arrow {
        align-self: center;
    }
}
/* ==========================================
   CORRIDOR FINISHING PAGE
========================================== */

.corridor-section {
    margin-bottom: 22px;
}

/* ===== OPTIONS ===== */

.corridor-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.corridor-option {
    cursor: pointer;
}

.corridor-option input {
    display: none;
}

.corridor-option span {
    display: block;
    min-width: 110px;
    padding: 13px 20px;

    text-align: center;

    border: 1px solid #ddd;
    background: #fff;

    color: #555;
    font-size: 12px;

    transition: .2s;
}

.corridor-option span:hover {
    border-color: #999;
    transform: translateY(-1px);
}

.corridor-option input:checked + span {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: #fff;
}

/* ===== CONDITIONAL FIELDS ===== */

.conditional-field {
    display: none;

    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid #eee;
}

.conditional-field label {
    display: block;

    margin-bottom: 8px;

    color: #555;
    font-size: 12px;
    font-weight: 600;
}

.conditional-field input,
.conditional-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 13px;

    outline: none;
}

.conditional-field textarea {
    min-height: 100px;
    resize: vertical;
}

.conditional-field input:focus,
.conditional-field textarea:focus {
    background: #fff;
    border-color: #888;
}

/* ===== STORAGE ===== */

.storage-fields {
    display: none;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .corridor-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .corridor-option span {
        min-width: 0;
        padding: 12px 8px;
    }

}

@media (max-width: 450px) {

    .corridor-options {
        grid-template-columns: 1fr;
    }

}
/* ==========================================
   KITCHEN FINISHING PAGE
========================================== */

/* ===== KITCHEN MAIN SECTION ===== */

.kitchen {
    margin-top: 35px;
    text-align: right;
}

/* ===== SECTION TITLE ===== */

.kitchen .section-title,
.kitchen-section .section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #e1e1e1;

    position: relative;
}

.kitchen .section-title::after,
.kitchen-section .section-title::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;

    width: 70px;
    height: 2px;

    background: #b69b72;
}

.kitchen .section-title h2,
.kitchen-section .section-title h2 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #333;
}

.kitchen .section-title span,
.kitchen-section .section-title span {
    font-family: 'Montserrat', sans-serif;

    font-size: 10px;
    color: #aaa;

    direction: ltr;
}


/* ==========================================
   KITCHEN EQUIPMENT TABLE
========================================== */

.kitchen-table,
.kitchen > .table-row {
    width: 100%;
}

.kitchen .table-header,
.kitchen .table-row {
    display: grid;

    grid-template-columns:
        1.15fr
        1.35fr
        .75fr
        1.35fr
        1.2fr
        1.5fr;

    align-items: center;

    min-width: 900px;

    padding: 0;
    gap: 0;
}

.kitchen .table-row {
    min-height: 62px;

    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.kitchen .table-header {
    min-height: 52px;

    background: #4a4a4a;
    color: #fff;

    border-top: none;
}

.kitchen .table-row > div {
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px 10px;

    border-left: 1px solid #e8e8e8;
}

.kitchen .table-header > div {
    min-height: 52px;

    font-size: 11px;
    font-weight: 600;

    border-left-color: rgba(255,255,255,.15);
}

.kitchen .table-row > div:last-child {
    border-left: none;
}


/* ===== EQUIPMENT NAME ===== */

.kitchen .equipment-name {
    color: #444;

    font-size: 13px;
    font-weight: 600;

    background: #f7f7f7;
}


/* ===== INPUTS ===== */

.kitchen .table-row input[type="text"],
.kitchen .table-row select {
    width: 100%;
    height: 38px;

    box-sizing: border-box;

    padding: 8px 10px;

    border: 1px solid #ddd;
    background: #fafafa;

    font-family: inherit;
    font-size: 11px;

    color: #444;

    outline: none;

    transition: .2s;
}

.kitchen .table-row input[type="text"]:focus,
.kitchen .table-row select:focus {
    background: #fff;

    border-color: #888;

    box-shadow: 0 0 0 3px rgba(0,0,0,.03);
}


/* ===== CHECKBOX ===== */

.kitchen .table-row input[type="checkbox"] {
    width: 17px;
    height: 17px;

    accent-color: #4a4a4a;

    cursor: pointer;
}


/* ==========================================
   KITCHEN MATERIALS
========================================== */

.bathroom-section {
    margin-top: 35px;
    text-align: right;
}

.bathroom-section .section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #e1e1e1;

    position: relative;
}

.bathroom-section .section-title::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;

    width: 70px;
    height: 2px;

    background: #b69b72;
}

.bathroom-section .section-title h2 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #333;
}

.bathroom-section .section-title span {
    font-family: 'Montserrat', sans-serif;

    font-size: 10px;
    color: #aaa;

    direction: ltr;
}


/* ===== MATERIAL CARDS ===== */

.bathroom-section .options-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.bathroom-section .option-card {
    padding: 18px;

    background: #fff;

    border: 1px solid #ddd;

    text-align: right;

    transition: .2s;
}

.bathroom-section .option-card:hover {
    border-color: #aaa;

    box-shadow: 0 6px 18px rgba(0,0,0,.04);

    transform: translateY(-1px);
}

.bathroom-section .option-card label {
    display: block;

    margin-bottom: 9px;

    color: #555;

    font-size: 12px;
    font-weight: 600;
}

.bathroom-section .option-card select {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #ddd;

    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    color: #444;

    outline: none;

    transition: .2s;
}

.bathroom-section .option-card select:focus {
    background: #fff;

    border-color: #888;
}


/* ==========================================
   KITCHEN EXECUTION OPTIONS
========================================== */

.kitchen-section {
    margin-top: 35px;

    text-align: right;
}

.kitchen-section .section-title {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #e1e1e1;

    position: relative;
}

.kitchen-section .section-title::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -1px;

    width: 70px;
    height: 2px;

    background: #b69b72;
}

.kitchen-section .section-title h2 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #333;
}

.kitchen-section .section-title span {
    font-family: 'Montserrat', sans-serif;

    font-size: 10px;

    color: #aaa;

    direction: ltr;
}


/* ===== EXECUTION CARDS ===== */

.kitchen-section .execution-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.kitchen-section .execution-options label {
    display: flex;

    align-items: center;

    gap: 9px;

    min-height: 48px;

    padding: 10px 15px;

    background: #fff;

    border: 1px solid #ddd;

    color: #555;

    font-size: 12px;

    cursor: pointer;

    transition: .2s;
}

.kitchen-section .execution-options label:hover {
    border-color: #999;

    background: #fafafa;

    transform: translateY(-1px);
}

.kitchen-section .execution-options input[type="checkbox"] {
    width: 17px;
    height: 17px;

    accent-color: #4a4a4a;

    cursor: pointer;
}


/* ==========================================
   KITCHEN NOTES
========================================== */

.kitchen textarea.kitchen,
textarea#kitchen-notes {
    width: 100%;

    min-height: 140px;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #ddd;

    background: #fafafa;

    resize: vertical;

    font-family: inherit;
    font-size: 13px;

    color: #333;

    outline: none;

    transition: .2s;
}

.kitchen textarea.kitchen:focus,
textarea#kitchen-notes:focus {
    background: #fff;

    border-color: #888;

    box-shadow: 0 0 0 3px rgba(0,0,0,.03);
}


/* ==========================================
   KITCHEN NAVIGATION
========================================== */

.kitchen .back-arrow {
    display: block;

    margin: 22px auto 0 !important;

    padding: 3px !important;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    color: #888;

    font-family: 'Cairo', sans-serif;

    font-size: 13px;

    cursor: pointer;

    transition: .2s;
}

.kitchen .back-arrow:hover {
    color: #b69b72;

    background: transparent !important;

    transform: none;
}

.kitchen .back-arrow span {
    font-size: 12px;

    margin-right: 5px;
}


/* ===== CONTINUE BUTTON ===== */

#continue-bathroom {
    display: block;

    margin: 20px auto 0;

    min-width: 180px;

    padding: 14px 30px;

    border: none;

    background: #292622;

    color: #fff;

    font-family: 'Cairo', sans-serif;

    font-size: 14px;

    cursor: pointer;

    transition: .25s;
}

#continue-bathroom:hover {
    background: #b69b72;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

#continue-bathroom small {
    margin-right: 10px;

    color: #bbb;

    font-family: 'Montserrat', sans-serif;

    font-size: 10px;

    direction: ltr;
}


/* ==========================================
   KITCHEN MOBILE
========================================== */

@media (max-width: 700px) {

    .kitchen .section-title,
    .kitchen-section .section-title,
    .bathroom-section .section-title {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

    .kitchen .table-row,
    .kitchen .table-header {
        min-width: 900px;
    }

    .bathroom-section .options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kitchen-section .execution-options {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 450px) {

    .bathroom-section .options-grid,
    .kitchen-section .execution-options {
        grid-template-columns: 1fr;
    }

    #continue-bathroom {
        width: 100%;
    }
}
/* ===== FIX KITCHEN TABLE ALIGNMENT ===== */

.kitchen .table-row,
.kitchen .table-header {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.kitchen .table-row > div {
    box-sizing: border-box;
    min-width: 0;
}

.kitchen .table-row input[type="text"],
.kitchen .table-row select {
    min-width: 0;
    width: 100%;
}

/* منع الجدول من الخروج عن الكرت */
.kitchen {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

/* الحفاظ على تناسق الأعمدة */
.kitchen .table-row,
.kitchen .table-header {
    grid-template-columns:
        1.15fr
        1.35fr
        .75fr
        1.35fr
        1.2fr
        1.5fr;
}/* ==========================================
   ROOM FINISHING PAGE
   ========================================== */

/* ===== ROOM SECTIONS ===== */

.room-section {
    margin-top: 35px;
    text-align: right;
}

.room-section .section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
    padding-bottom: 12px;

    border-bottom: 1px solid #e1e1e1;

    position: relative;
}

.room-section .section-title::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -1px;

    width: 70px;
    height: 2px;

    background: #b69b72;
}

.room-section .section-title h2 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;

    color: #333;
}

.room-section .section-title span {
    font-family: 'Montserrat', sans-serif;

    font-size: 10px;

    color: #aaa;

    direction: ltr;
}


/* ==========================================
   ROOM CODE + DESCRIPTION
   ========================================== */

.room-section .section-title h2 + div {
    display: flex;
    align-items: center;
}

.room-section .section-title input[type="text"] {
    width: 180px;

    padding: 10px 12px;

    border: 1px solid #ddd;

    background: #fafafa;

    font-family: inherit;
    font-size: 12px;

    color: #444;

    outline: none;

    transition: .2s;
}

.room-section .section-title input[type="text"]:focus {
    background: #fff;
    border-color: #888;
}


/* ==========================================
   ROOM OPTIONS
   ========================================== */

.room-section .corridor-options {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

.room-section .corridor-option {
    cursor: pointer;
}

.room-section .corridor-option input {
    display: none;
}

.room-section .corridor-option span {
    display: block;

    min-width: 110px;

    padding: 13px 20px;

    text-align: center;

    border: 1px solid #ddd;

    background: #fff;

    color: #555;

    font-size: 12px;

    transition: .2s;
}

.room-section .corridor-option span:hover {
    border-color: #999;

    transform: translateY(-1px);
}


/* RADIO SELECTED */

.room-section .corridor-option input[type="radio"]:checked + span {
    background: #4a4a4a;

    border-color: #4a4a4a;

    color: #fff;
}


/* CHECKBOX SELECTED */

.room-section .corridor-option input[type="checkbox"]:checked + span {
    background: #4a4a4a;

    border-color: #4a4a4a;

    color: #fff;
}


/* ==========================================
   OTHER INPUT
   ========================================== */

.room-section .other-input {
    margin-top: 18px;

    padding: 0;

    border: none;
}

.room-section .other-input input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #ddd;

    background: #fafafa;

    font-family: inherit;

    font-size: 13px;

    color: #333;

    outline: none;

    transition: .2s;
}

.room-section .other-input input:focus {
    background: #fff;

    border-color: #888;

    box-shadow: 0 0 0 3px rgba(0,0,0,.03);
}


/* ==========================================
   CONDITIONAL FIELDS
   ========================================== */

.room-section .conditional-field {
    display: none;

    margin-top: 20px;

    padding: 20px;

    border-top: 1px solid #eee;

    background: #fafafa;
}

.room-section .conditional-field label {
    display: block;

    margin-bottom: 8px;

    margin-top: 15px;

    color: #555;

    font-size: 12px;

    font-weight: 600;
}

.room-section .conditional-field label:first-child {
    margin-top: 0;
}

.room-section .conditional-field input,
.room-section .conditional-field textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #ddd;

    background: #fff;

    font-family: inherit;

    font-size: 13px;

    color: #333;

    outline: none;

    transition: .2s;
}

.room-section .conditional-field textarea {
    min-height: 100px;

    resize: vertical;
}

.room-section .conditional-field input:focus,
.room-section .conditional-field textarea:focus {
    border-color: #888;

    box-shadow: 0 0 0 3px rgba(0,0,0,.03);
}


/* ==========================================
   ROOM EXECUTION OPTIONS
   ========================================== */

.room-section .execution-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.room-section .execution-options label {
    display: flex;

    align-items: center;

    gap: 9px;

    min-height: 48px;

    padding: 10px 15px;

    background: #fff;

    border: 1px solid #ddd;

    color: #555;

    font-size: 12px;

    cursor: pointer;

    transition: .2s;
}

.room-section .execution-options label:hover {
    border-color: #999;

    background: #fafafa;

    transform: translateY(-1px);
}

.room-section .execution-options input[type="checkbox"] {
    width: 17px;

    height: 17px;

    accent-color: #4a4a4a;

    cursor: pointer;
}


/* ==========================================
   ROOM NOTES
   ========================================== */

.room-notes {
    width: 100%;

    min-height: 140px;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid #ddd;

    background: #fafafa;

    resize: vertical;

    font-family: inherit;

    font-size: 13px;

    color: #333;

    outline: none;

    transition: .2s;
}

.room-notes:focus {
    background: #fff;

    border-color: #888;

    box-shadow: 0 0 0 3px rgba(0,0,0,.03);
}


/* ==========================================
   ROOM NAVIGATION
   ========================================== */

.room-navigation {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #e5e5e5;
}


/* ===== BACK ===== */

.room-navigation .back-arrow {
    margin: 0 !important;

    padding: 5px !important;

    background: transparent !important;

    border: none !important;

    box-shadow: none !important;

    color: #888;

    font-family: 'Cairo', sans-serif;

    font-size: 13px;

    cursor: pointer;

    transition: .2s;
}

.room-navigation .back-arrow:hover {
    color: #b69b72;

    background: transparent !important;

    border: none !important;

    transform: none;
}

.room-navigation .back-arrow span {
    font-size: 12px;

    margin-right: 5px;
}


/* ===== CONTINUE ===== */

.room-navigation .continue-button {
    margin: 0;

    min-width: 180px;

    padding: 14px 25px;

    border: none;

    background: #292622;

    color: #fff;

    font-family: 'Cairo', sans-serif;

    font-size: 14px;

    cursor: pointer;

    transition: .25s;
}

.room-navigation .continue-button:hover {
    background: #b69b72;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.room-navigation .continue-button small {
    margin-right: 10px;

    color: #bbb;

    font-family: 'Montserrat', sans-serif;

    font-size: 10px;

    direction: ltr;
}


/* ==========================================
   ROOM MOBILE
   ========================================== */

@media (max-width: 700px) {

    .room-section {
        margin-top: 28px;
    }

    .room-section .section-title {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }

    .room-section .section-title h2 + div {
        width: 100%;
    }

    .room-section .section-title input[type="text"] {
        width: 100%;
    }

    .room-section .corridor-options {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .room-section .corridor-option span {
        min-width: 0;

        padding: 12px 8px;
    }

    .room-section .execution-options {
        grid-template-columns: 1fr 1fr;
    }

    .room-navigation {
        gap: 15px;
    }

    .room-navigation .continue-button {
        min-width: 150px;
    }

}


@media (max-width: 450px) {

    .room-section .corridor-options,
    .room-section .execution-options {
        grid-template-columns: 1fr;
    }

    .room-navigation {
        flex-direction: column-reverse;

        align-items: stretch;
    }

    .room-navigation .continue-button {
        width: 100%;
    }

    .room-navigation .back-arrow {
        align-self: center;
    }

}


