/* Casa Brand only: contextual shell/Collections and isolated legacy composition support.
 * Archives stay in casa-section.css / casa-visual-acceptance.css. */
.wwts-casa-breadcrumbs {
    margin: 0;
}

.wwts-casa-brand-hero {
    position: relative;
    display: grid !important;
    min-height: clamp(520px, 70vw, 860px);
    overflow: hidden;
    background: #332a24;
}

.wwts-casa-brand-hero > .elementor-widget-image,
.wwts-casa-brand-hero > .elementor-widget-image .elementor-widget-container,
.wwts-casa-brand-hero > .elementor-widget-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wwts-casa-brand-hero > .elementor-widget-image img {
    object-fit: cover;
}

.wwts-casa-brand-hero__shade {
    position: absolute !important;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(26, 21, 18, 0.72), rgba(26, 21, 18, 0.22) 64%, rgba(26, 21, 18, 0.08)),
        linear-gradient(180deg, rgba(26, 21, 18, 0.05) 35%, rgba(26, 21, 18, 0.66));
    pointer-events: none;
}

.wwts-casa-brand-hero__content {
    position: relative !important;
    z-index: 2;
    display: flex !important;
    width: 100%;
    min-height: inherit;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 14px;
    padding-block: clamp(54px, 7vw, 96px) !important;
    color: #fffdf9;
}

.wwts-casa-brand-hero__content .rank-math-breadcrumb,
.wwts-casa-brand-hero__content .rank-math-breadcrumb a,
.wwts-casa-brand-hero__content .rank-math-breadcrumb span,
.wwts-casa-brand-hero__content .elementor-heading-title,
.wwts-casa-brand-hero__content .elementor-widget-text-editor {
    color: inherit;
}

.wwts-casa-brand-hero__logo {
    width: min(220px, 52vw) !important;
}

.wwts-casa-brand-hero__logo img {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.wwts-casa-brand-hero__title .elementor-heading-title {
    margin: 0;
    font-family: var(--wwts-font-primary, "Cormorant Garamond", serif);
    font-size: clamp(56px, 7vw, 104px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.wwts-casa-brand-hero__text {
    max-width: 720px;
    font-family: var(--wwts-font-text, Roboto, sans-serif);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
}

.wwts-casa-brand-about,
.wwts-casa-brand-history__inner,
.wwts-casa-brand-collections > .wwts-inner,
.wwts-casa-brand-cta__inner {
    padding-block: clamp(64px, 8vw, 112px) !important;
}

.wwts-casa-brand-about {
    gap: clamp(34px, 7vw, 110px);
    align-items: flex-start;
    background: #fffdf9;
}

.wwts-casa-brand-about__heading {
    flex: 0 0 30%;
}

.wwts-casa-brand-about__content {
    flex: 1 1 auto;
    max-width: 820px;
}

.wwts-casa-brand-about .elementor-heading-title,
.wwts-casa-brand-history .elementor-heading-title,
.wwts-casa-brand-collections .elementor-heading-title,
.wwts-casa-brand-cta .elementor-heading-title {
    font-family: var(--wwts-font-primary, "Cormorant Garamond", serif);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1;
}

.wwts-casa-brand-history {
    background: #24211d;
    color: #f8f4eb;
}

.wwts-casa-brand-history__inner {
    gap: clamp(34px, 7vw, 110px);
    align-items: flex-start;
}

.wwts-casa-brand-history__text {
    flex: 0 0 38%;
    gap: 24px;
}

.wwts-casa-brand-history__gallery {
    flex: 1 1 auto;
    min-width: 0;
}

.wwts-casa-brand-history .elementor-heading-title,
.wwts-casa-brand-history .elementor-widget-text-editor {
    color: inherit;
}

.wwts-casa-brand-collections {
    background: #f4eee7;
}

.wwts-casa-brand-collections > .wwts-inner {
    gap: 48px;
}

.wwts-casa-collections .wwts-rf-collections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.wwts-casa-collections .wwts-rf-collection-card {
    min-width: 0;
}

.wwts-casa-collections__empty {
    margin: 0;
    color: rgba(67, 52, 42, 0.72);
    font-family: var(--wwts-font-text, Roboto, sans-serif);
    font-size: 15px;
    line-height: 1.6;
}

.wwts-casa-brand-cta {
    background: #c9b99b;
}

.wwts-casa-brand-cta__inner {
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.wwts-casa-brand-shell {
    min-height: 60vh;
}

.wwts-casa-brand-fallback {
    padding-block: 72px;
}

@media (max-width: 1024px) {
.wwts-casa-brand-hero {
        min-height: clamp(500px, 82vw, 720px);
    }

.wwts-casa-brand-about,
    .wwts-casa-brand-history__inner,
    .wwts-casa-brand-cta__inner {
        flex-direction: column !important;
    }

.wwts-casa-brand-about__heading,
    .wwts-casa-brand-history__text {
        flex-basis: auto;
        width: 100%;
    }

.wwts-casa-collections .wwts-rf-collections {
        display: flex;
        gap: 16px;
    }
}

@media (max-width: 767px) {
.wwts-casa-brand-hero {
        min-height: 520px;
    }

.wwts-casa-brand-hero__content {
        padding-block: 42px !important;
    }

.wwts-casa-brand-hero__shade {
        background: linear-gradient(180deg, rgba(24, 20, 18, 0.12) 12%, rgba(24, 20, 18, 0.78) 100%);
    }
}

/* Preserve the historical override cascade after base support. */
.wwts-casa-brand-hero {
    box-sizing: border-box;
    width: 100% !important;
    max-width: var(--wwts-shell-max-width, 100%) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

.wwts-casa-brand-history,
.wwts-casa-brand-collections,
.wwts-casa-brand-cta {
    background: transparent !important;
}

.wwts-casa-brand-about,
.wwts-casa-brand-history__inner,
.wwts-casa-brand-collections > .wwts-inner,
.wwts-casa-brand-cta__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--wwts-shell-max-width, 100%);
    margin-inline: auto;
}

.wwts-casa-brand-about {
    display: flex !important;
    flex-direction: row !important;
    gap: 70px !important;
    padding: 88px 35px !important;
    background: #fffdf9 !important;
}

.wwts-casa-brand-about__heading {
    width: 30% !important;
    flex: 0 0 30% !important;
}

.wwts-casa-brand-about__content {
    width: 64% !important;
    max-width: none !important;
    flex: 0 0 64% !important;
}

.wwts-casa-brand-history__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 112px !important;
    padding: 156px 35px !important;
    background: #24211d !important;
}

.wwts-casa-brand-history__text {
    width: 40% !important;
    min-width: 0;
    flex: 0 1 40% !important;
}

.wwts-casa-brand-history__gallery {
    width: 60% !important;
    min-width: 0;
    flex: 0 1 60% !important;
}

.wwts-casa-brand-collections > .wwts-inner {
    gap: 56px !important;
    padding: 156px 35px 116px !important;
    background: #f4eee7 !important;
}

.wwts-casa-brand-collections .elementor-heading-title {
    margin: 0;
    text-align: left !important;
}

.wwts-casa-collections .wwts-rf-collections {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.wwts-casa-collections .wwts-rf-collection-card--full:nth-child(1) {
    grid-column: span 8 !important;
}

.wwts-casa-collections .wwts-rf-collection-card--full:nth-child(2) {
    grid-column: span 4 !important;
}

.wwts-casa-collections .wwts-rf-collection-card--full:nth-child(3),
.wwts-casa-collections .wwts-rf-collection-card--full:nth-child(4),
.wwts-casa-collections .wwts-rf-collection-card--full:nth-child(5) {
    grid-column: span 4 !important;
}

.wwts-casa-brand-cta__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 120px !important;
    padding: 84px 35px !important;
    background: #c9b99b !important;
}

.wwts-casa-brand-cta__inner > :first-child {
    width: 57% !important;
    flex: 0 0 57% !important;
}

.wwts-casa-brand-cta__inner > :last-child {
    width: 34% !important;
    flex: 0 0 34% !important;
}

.wwts-casa-brand-cta .elementor-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    border-radius: var(--wwts-button-radius, 3px) !important;
    font-family: var(--wwts-font-text, Roboto, sans-serif) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
.wwts-casa-brand-hero {
        width: 100% !important;
    }

.wwts-casa-brand-about,
    .wwts-casa-brand-history__inner,
    .wwts-casa-brand-cta__inner {
        flex-direction: column !important;
    }

.wwts-casa-brand-about {
        gap: 34px !important;
        padding: 72px 28px !important;
    }

.wwts-casa-brand-history__inner {
        gap: 38px !important;
        padding: 80px 28px !important;
    }

.wwts-casa-brand-collections > .wwts-inner {
        padding: 80px 28px !important;
    }

.wwts-casa-brand-cta__inner {
        align-items: flex-start !important;
        gap: 28px !important;
        padding: 64px 28px !important;
    }

.wwts-casa-brand-about__heading,
    .wwts-casa-brand-about__content,
    .wwts-casa-brand-history__text,
    .wwts-casa-brand-history__gallery,
    .wwts-casa-brand-cta__inner > :first-child,
    .wwts-casa-brand-cta__inner > :last-child {
        width: 100% !important;
        flex-basis: 100% !important;
    }

.wwts-casa-collections .wwts-rf-collections {
        display: flex !important;
        gap: 16px !important;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

.wwts-casa-collections .wwts-rf-collection-card {
        flex: 0 0 min(78vw, 560px) !important;
        width: min(78vw, 560px) !important;
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
.wwts-casa-brand-hero {
        width: 100% !important;
    }

.wwts-casa-brand-about {
        gap: 26px !important;
        padding: 56px 15px !important;
    }

.wwts-casa-brand-history__inner {
        gap: 32px !important;
        padding: 64px 15px !important;
    }

.wwts-casa-brand-collections > .wwts-inner {
        gap: 38px !important;
        padding: 64px 15px !important;
    }

.wwts-casa-brand-cta__inner {
        align-items: stretch !important;
        gap: 22px !important;
        padding: 56px 15px !important;
    }

.wwts-casa-collections .wwts-rf-collection-card {
        flex-basis: 86vw !important;
        width: 86vw !important;
    }
}


/* Copied Elementor Post Info / Home Zones: visually identify this Casa route only. */
.wwts-casa-brand-shell .elementor-widget-post-info a.elementor-post-info__terms-list-item.wwts-casa-current-zone {
    color: #254f7c;
    background-color: #e1ebf5;
    border-radius: 3px;
    padding: 2px 6px;
    font-weight: 600;
    text-decoration: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
