/* Single Space Template Styles */
.cts-single-space-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
    font-family: var(--wp--preset--font-family--source-sans-3, "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    color: #1b1c1b;
}

.cts-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #56423d;
    margin-bottom: 2rem;
}

.cts-breadcrumb a {
    color: #56423d;
    text-decoration: none;
}

.cts-breadcrumb a:hover {
    color: #601300;
}

.cts-single-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .cts-single-header {
        grid-template-columns: 2fr 1fr;
    }
}

.cts-unit-tag {
    font-size: 0.875rem;
    font-weight: 700;
    color: #662C0F;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.cts-single-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #601300;
    line-height: 1.2;
    margin: 0;
    font-family: var(--wp--preset--font-family--source-serif-4, "Source Serif 4", Georgia, serif);
}

@media (min-width: 768px) {
    .cts-single-title {
        font-size: 2.75rem;
    }
}

.cts-header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .cts-header-meta {
        align-items: flex-end;
        text-align: right;
    }
}

.cts-price-label {
    font-size: 0.875rem;
    color: #56423d;
    margin: 0;
}

.cts-price-val {
    font-size: 2.25rem;
    font-weight: 700;
    color: #601300;
    font-family: var(--wp--preset--font-family--source-serif-4, "Source Serif 4", Georgia, serif);
    margin: 0;
}

/* Gallery Grid */
.cts-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .cts-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 260px);
    }
    .cts-gallery-main {
        grid-column: span 2;
        grid-row: span 2;
    }
    .cts-gallery-wide {
        grid-column: span 2;
    }
}

.cts-gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddc0b9;
    border-radius: 4px;
    height: 240px;
}

@media (min-width: 768px) {
    .cts-gallery-item {
        height: 100%;
    }
}

.cts-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cts-gallery-item:hover img {
    transform: scale(1.03);
}

/* Specs & Details Layout */
.cts-details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .cts-details-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.cts-section-heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: #601300;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-family: var(--wp--preset--font-family--source-serif-4, "Source Serif 4", Georgia, serif);
    border-bottom: 2px solid #efedec;
    padding-bottom: 0.5rem;
}

.cts-overview-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #30302f;
    margin-bottom: 2.5rem;
}

.cts-specs-card {
    background-color: #f5f3f1;
    border: 1px solid #ddc0b9;
    padding: 2rem;
    border-radius: 4px;
}

.cts-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.cts-specs-table tr {
    border-bottom: 1px solid rgba(221, 192, 185, 0.5);
}

.cts-specs-table td {
    padding: 0.875rem 0;
    font-size: 1rem;
}

.cts-specs-td-label {
    font-weight: 600;
    color: #662C0F;
    width: 40%;
}

.cts-specs-td-value {
    color: #1b1c1b;
}

/* Sidebar CTA Card */
.cts-sidebar-cta {
    position: sticky;
    top: 2rem;
    background: #ffffff;
    border: 1px solid #ddc0b9;
    padding: 2rem;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.08);
    border-radius: 4px;
}

.cts-cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #601300;
    margin: 0 0 0.5rem 0;
    font-family: var(--wp--preset--font-family--source-serif-4, "Source Serif 4", Georgia, serif);
}

.cts-cta-text {
    color: #56423d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cts-btn-primary {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #601300;
    color: #ffffff !important;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.cts-btn-primary:hover {
    background-color: #3b0800;
    color: #ffffff !important;
    text-decoration: none;
}

/* Inquiry Form Section */
.cts-inquiry-section {
    padding-top: 3rem;
    border-top: 2px solid #ddc0b9;
    margin-top: 3rem;
}

.cts-inquiry-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.cts-inquiry-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #601300;
    margin: 0 0 0.75rem 0;
    font-family: var(--wp--preset--font-family--source-serif-4, "Source Serif 4", Georgia, serif);
}

.cts-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #ddc0b9;
    padding: 2.5rem;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.08);
    border-radius: 4px;
}
