.cb-description {
    --cb-color-ink: #2a2621;
    --cb-color-muted: #6b5c47;
    --cb-color-soft: #EFE7E2;
    --cb-color-accent: #422F28;
    --cb-color-accent-text: #f5efe5;
    --cb-color-white: #fff;
    --cb-radius: 12px;
    --cb-gap: 16px;
    color: inherit;
    font: inherit;
    line-height: 1.6;
    width: 100%;
}

.cb-description,
.cb-description * {
    box-sizing: border-box;
}

.cb-description .cb-block[data-cb-block-hidden="1"] {
    display: none !important;
}

.cb-description .cb-block + .cb-block {
    margin-top: clamp(20px, 3vw, 36px);
}

.cb-description img {
    height: auto;
    max-width: 100%;
}

/* Heading */
.cb-description .cb-block-heading h1,
.cb-description .cb-block-heading h2,
.cb-description .cb-block-heading h3,
.cb-description .cb-block-heading h4,
.cb-description .cb-block-heading h5,
.cb-description .cb-block-heading h6,
.cb-description > [data-cb-block-type="heading"] h1,
.cb-description > [data-cb-block-type="heading"] h2,
.cb-description > [data-cb-block-type="heading"] h3,
.cb-description > [data-cb-block-type="heading"] h4,
.cb-description > [data-cb-block-type="heading"] h5,
.cb-description > [data-cb-block-type="heading"] h6 {
    color: inherit;
    line-height: 1.18;
    margin: 0;
}

.cb-description .cb-block-heading h2,
.cb-description > [data-cb-block-type="heading"] h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    letter-spacing: -.02em;
}

/* Text */
.cb-description .cb-block-text,
.cb-description > [data-cb-block-type="text"] {
    color: inherit;
    font-size: 1rem;
}

.cb-description .cb-block-text > :first-child,
.cb-description > [data-cb-block-type="text"] > :first-child {
    margin-top: 0;
}

.cb-description .cb-block-text > :last-child,
.cb-description > [data-cb-block-type="text"] > :last-child {
    margin-bottom: 0;
}

.cb-description .cb-block-text p,
.cb-description > [data-cb-block-type="text"] p {
    line-height: 1.75;
}

/* Single image */
.cb-description .cb-block-image figure,
.cb-description .cb-block-image .cb-image-frame,
.cb-description > [data-cb-block-type="image"] .cb-image-frame,
.cb-description > [data-cb-block-type="image"] figure {
    margin: 0;
}

.cb-description .cb-block-image img,
.cb-description > [data-cb-block-type="image"] img {
    border-radius: var(--cb-radius);
    display: block;
    width: 100%;
}

/* Highlights and specifications */
.cb-description .cb-highlights,
.cb-description .cb-block-highlights,
.cb-description > [data-cb-block-type="highlights"],
.cb-description .cb-specs,
.cb-description .cb-block-specs,
.cb-description > [data-cb-block-type="specs"] {
    background: var(--cb-color-soft);
    border-radius: var(--cb-radius);
    color: var(--cb-color-ink);
    padding: clamp(20px, 3vw, 32px) 0;
}

.cb-description .cb-specs,
.cb-description .cb-block-specs{
    padding: clamp(20px, 3vw, 32px);
}

.cb-description .cb-highlights,
.cb-description .cb-block-highlights{
    box-shadow:0 0 0 100vw var(--cb-color-soft);
    clip-path: inset(0 -100vw);
}

.cb-description .cb-highlights-title,
.cb-description .cb-specs-title {
    color: inherit;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 5px;
}

.cb-description .cb-highlights-sub {
    color: var(--cb-color-muted);
    font-size: .9rem;
    margin: 0 0 18px;
}

.cb-description .cb-highlights-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cb-description .cb-highlight-item {
    background: var(--cb-color-white);
    border: 1px solid rgba(58, 47, 36, .06);
    border-radius: 9px;
    min-width: 0;
    padding: 14px;
}

.cb-description .cb-highlight-label,
.cb-description .cb-spec-label {
    color: var(--cb-color-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.3;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.cb-description .cb-highlight-value,
.cb-description .cb-spec-value {
    color: var(--cb-color-ink);
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    overflow-wrap: anywhere;
}

/* CTA */
.cb-description .cb-cta,
.cb-description .cb-block-cta,
.cb-description > [data-cb-block-type="cta"] {
    align-items: center;
    background: var(--cb-color-accent);
    border-radius: var(--cb-radius);
    color: var(--cb-color-accent-text);
    display: flex;
    gap: clamp(20px, 4vw, 48px);
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
}

.cb-description .cb-cta-text {
    flex: 1 1 55%;
    min-width: 0;
}

.cb-description .cb-cta h2,
.cb-description .cb-cta h3,
.cb-description .cb-cta h4,
.cb-description .cb-block-cta h2,
.cb-description .cb-block-cta h3,
.cb-description .cb-block-cta h4,
.cb-description > [data-cb-block-type="cta"] h2,
.cb-description > [data-cb-block-type="cta"] h3,
.cb-description > [data-cb-block-type="cta"] h4 {
    color: inherit;
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    line-height: 1.2;
    margin: 0 0 10px;
}

.cb-description .cb-cta p,
.cb-description .cb-block-cta p,
.cb-description > [data-cb-block-type="cta"] p {
    color: inherit;
    line-height: 1.65;
    margin: 0 0 18px;
    opacity: .82;
}

.cb-description .cb-cta-btn {
    background: var(--cb-color-white);
    border: 1px solid var(--cb-color-white);
    border-radius: 6px;
    color: var(--cb-color-accent);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1.25;
    padding: 11px 18px;
    text-decoration: none;
    transition: opacity .18s ease, transform .18s ease;
}

.cb-description .cb-cta-btn:hover,
.cb-description .cb-cta-btn:focus {
    color: var(--cb-color-accent);
    opacity: .9;
    text-decoration: none;
    transform: translateY(-1px);
}

.cb-description .cb-cta > img,
.cb-description .cb-block-cta > img,
.cb-description > [data-cb-block-type="cta"] > img {
    border-radius: 9px;
    display: block;
    flex: 0 1 42%;
    max-height: 370px;
    object-fit: cover;
    width: 42%;
}

/* Gallery */
.cb-description .cb-gallery-2,
.cb-description .cb-block-gallery_2,
.cb-description > [data-cb-block-type="gallery_2"] {
    display: grid;
    gap: var(--cb-gap);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cb-description .cb-gallery-2--single {
    grid-template-columns: minmax(0, 1fr);
}

.cb-description .cb-gallery-2 img,
.cb-description .cb-block-gallery_2 img,
.cb-description > [data-cb-block-type="gallery_2"] img,
.cb-description .cb-image-placeholder {
    aspect-ratio: 5 / 3;
    border-radius: var(--cb-radius);
    display: block;
    object-fit: cover;
    width: 100%;
}

.cb-description .cb-image-placeholder {
    align-items: center;
    background: var(--cb-color-soft);
    color: var(--cb-color-muted);
    display: flex;
    justify-content: center;
    max-height: 420px;
    min-height: 180px;
}

/* Two-column details */
.cb-description .cb-detail-row,
.cb-description .cb-block-details_2,
.cb-description > [data-cb-block-type="details_2"] {
    display: grid;
    gap: clamp(20px, 4vw, 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cb-description .cb-detail {
    border-top: 1px solid rgba(58, 47, 36, .2);
    min-width: 0;
    padding-top: 18px;
}

.cb-description .cb-detail h3,
.cb-description .cb-detail h4 {
    color: inherit;
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 0 0 7px;
}

.cb-description .cb-detail p {
    color: var(--cb-color-muted);
    line-height: 1.65;
    margin: 0;
}

/* Feature cards */
.cb-description .cb-features,
.cb-description .cb-block-features,
.cb-description > [data-cb-block-type="features"] {
    display: grid;
    gap: var(--cb-gap);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cb-description .cb-feature {
    background: var(--cb-color-soft);
    border-radius: var(--cb-radius);
    color: var(--cb-color-ink);
    min-width: 0;
    padding: clamp(20px, 3vw, 28px);
}

.cb-description .cb-feature h3,
.cb-description .cb-feature h4 {
    color: inherit;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 9px;
}

.cb-description .cb-feature p {
    color: var(--cb-color-muted);
    line-height: 1.6;
    margin: 0;
}

/* Specifications */
.cb-description .cb-specs-grid {
    display: grid;
    gap: 18px 24px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
}

.cb-description .cb-specs-grid > div {
    min-width: 0;
}

/* Footnote */
.cb-description .cb-footnote,
.cb-description .cb-block-footnote,
.cb-description > [data-cb-block-type="footnote"] {
    border-top: 1px solid rgba(58, 47, 36, .16);
    color: var(--cb-color-muted);
    font-size: .8rem;
    padding-top: 14px;
}

.cb-description .cb-footnote p,
.cb-description .cb-block-footnote p,
.cb-description > [data-cb-block-type="footnote"] p {
    margin: 0;
}

/* Custom block helpers */
.cb-description .cb-custom-pair {
    align-items: baseline;
    border-bottom: 1px solid rgba(58, 47, 36, .12);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 10px 0;
}

.cb-description .cb-custom-card {
    background: var(--cb-color-soft);
    border-radius: var(--cb-radius);
    padding: 20px;
}

@media (max-width: 991px) {
    .cb-description .cb-highlights-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-description .cb-specs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cb-description .cb-block + .cb-block {
        margin-top: 22px;
    }

    .cb-description .cb-highlights-row,
    .cb-description .cb-gallery-2,
    .cb-description .cb-block-gallery_2,
    .cb-description > [data-cb-block-type="gallery_2"],
    .cb-description .cb-detail-row,
    .cb-description .cb-block-details_2,
    .cb-description > [data-cb-block-type="details_2"] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-description .cb-features,
    .cb-description .cb-block-features,
    .cb-description > [data-cb-block-type="features"] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cb-description .cb-specs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cb-description .cb-cta,
    .cb-description .cb-block-cta,
    .cb-description > [data-cb-block-type="cta"] {
        align-items: stretch;
        flex-direction: column;
    }

    .cb-description .cb-cta > img,
    .cb-description .cb-block-cta > img,
    .cb-description > [data-cb-block-type="cta"] > img {
        max-height: none;
        width: 100%;
    }
}

@media (max-width: 479px) {
    .cb-description .cb-highlights-row,
    .cb-description .cb-specs-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
