/* CARD WRAPPER – like sample screenshot */
.cpl-single-card {
    max-width: 540px;
    margin: 40px auto;
    padding: 26px 26px 30px;
    background: #f3efe9;
    border: 1px solid #d6cfc4;
    font-family: "Times New Roman", Georgia, serif;
    color: #555;
}

/* TOP HEADER ROW */
.cpl-header-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #d6cfc4;
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.cpl-header-left {
    flex: 1;
}

.cpl-title {
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.cpl-meta-line {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

/* PRICE COLUMN */
.cpl-header-right {
    min-width: 150px;
    text-align: right;
}

.cpl-price-main {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 3px;
}

.cpl-price-sub {
    font-size: 16px;
    margin-top: 8px;
}

.cpl-price-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* DESCRIPTION */
.cpl-description-block {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.cpl-description-block p {
    margin: 0 0 6px;
}

.cpl-extra-desc {
    font-size: 10px;
    margin-top: 4px;
}

/* GALLERY GRID – same style feel */
.cpl-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 100px;
    gap: 4px;
    margin-bottom: 26px;
}

.cpl-gallery-grid .cpl-gallery-item {
    display: block;
    overflow: hidden;
}

.cpl-gallery-grid .cpl-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* first image big (2x2) */
.cpl-gallery-grid .cpl-gallery-item:nth-child(1) {
    grid-row: span 2;
    grid-column: span 2;
}

/* CONTACT SECTION */
.cpl-contact-section {
    margin-top: 10px;
    font-size: 11px;
}

.cpl-contact-heading {
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.cpl-contact-sub {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

/* FORM + CTA TWO COLUMN */
.cpl-contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

.cpl-contact-form {
    background: #f8f5f0;
    padding: 10px 10px 12px;
    border: 1px solid #d6cfc4;
}

.cpl-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cpl-contact-row label {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    flex: 1 1 22%;
}

.cpl-contact-row label span {
    margin-bottom: 2px;
}

.cpl-contact-row input,
.cpl-contact-row textarea {
    border: 1px solid #ccc;
    padding: 4px 6px;
    font-size: 11px;
    background: #fff;
}

.cpl-contact-row .cpl-message-label {
    flex-basis: 40%;
}

.cpl-send-wrap {
    display: flex;
    align-items: flex-end;
    margin-left: auto;
}

.cpl-btn-send {
    padding: 6px 18px;
    border: 1px solid #e38aa3;
    background: #f8f5f0;
    color: #e38aa3;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
}

/* RIGHT CTA BOX */
.cpl-contact-cta {
    background: #eee0d5;
    border: 1px solid #d6cfc4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.cpl-cta-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.cpl-btn-apply {
    padding: 8px 24px;
    background: #e8713c;
    color: #fff;
    border: none;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
}

/* LIGHTBOX (same as before) */
.cpl-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cpl-lightbox-inner {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.cpl-lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.cpl-lightbox-close,
.cpl-lightbox-prev,
.cpl-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
}

.cpl-lightbox-close {
    top: 10px;
    right: 10px;
    transform: none;
}

.cpl-lightbox-prev { left: -40px; }
.cpl-lightbox-next { right: -40px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .cpl-single-card {
        margin: 20px auto;
        padding: 18px;
    }
    .cpl-header-row {
        flex-direction: column;
        text-align: left;
    }
    .cpl-header-right {
        text-align: left;
    }
    .cpl-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px;
    }
    .cpl-gallery-grid .cpl-gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .cpl-contact-grid {
        grid-template-columns: 1fr;
    }
    .cpl-contact-row label,
    .cpl-contact-row .cpl-message-label {
        flex-basis: 100%;
    }
    .cpl-send-wrap {
        margin-top: 6px;
    }
}
