/* ==========================================================================
   Cerafilo Overseas — public frontend brand layer
   Loaded after the Webflow design system stylesheet.

   Sections:
     1. Ported global-styles (were inline in the static export)
     2. Layout fixes for wrappers the export styled via generated node ids
     3. Local replacements for remote CDN background images
     4. Navigation (desktop + mobile) without the Webflow runtime
     5. Motion: reveal, marquee, accordion, slider
     6. Cerafilo components with no theme equivalent
   ========================================================================== */

/* ---------------------------------------------------------------- 1. global */

:root {
    --cerafilo-primary: #041438;
    --cerafilo-accent: #F86410;
    --cerafilo-white: #FFFFFF;
    --cerafilo-primary-soft: rgba(4, 20, 56, 0.06);
    --cerafilo-accent-soft: rgba(248, 100, 16, 0.12);

    --accent: var(--cerafilo-primary);
    --accent-secondary: #eef1f6;
    --color-base--black: var(--cerafilo-primary);
    --color-base--white: var(--cerafilo-white);
    --color-neutral--50: #f4f6f9;
    --color-neutral--100: #e8ecf2;
    --color-neutral--200: #d5dbe6;
}

html,
body {
    overflow-x: hidden;
}

.page-wrapper {
    overflow-x: visible;
    overflow-y: visible;
}

.main-wrapper {
    overflow-x: clip;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--cerafilo-primary);
}

body.dw-is-loading { overflow: hidden !important; }

.cerafilo-preloader {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.125rem;
    background-color: var(--cerafilo-primary);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cerafilo-preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cerafilo-preloader-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cerafilo-white);
    border-radius: 0.75rem;
    padding: 0.7rem 1rem;
    line-height: 0;
    animation: cerafilo-preloader-pulse 1.5s ease-in-out infinite;
}

.cerafilo-preloader-mark img {
    display: block;
    max-height: 2.75rem;
    max-width: 10.5rem;
    width: auto;
    height: auto;
}

.cerafilo-preloader-mark span {
    font-family: var(--fonts--heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--cerafilo-primary);
}

.cerafilo-preloader-bar {
    display: block;
    width: 4.5rem;
    height: 0.1875rem;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--cerafilo-accent), transparent);
    background-size: 200% 100%;
    animation: cerafilo-preloader-bar 1.1s linear infinite;
}

.cerafilo-preloader-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@keyframes cerafilo-preloader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.98); opacity: 0.92; }
}

@keyframes cerafilo-preloader-bar {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cerafilo-preloader-mark,
    .cerafilo-preloader-bar { animation: none; }
}

.button,
a.button,
button.button,
.w-button {
    background-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
    border: 0.0625rem solid var(--cerafilo-primary);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover,
a.button:hover,
button.button:hover,
.w-button:hover,
.button:focus-visible,
a.button:focus-visible,
.w-button:focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.button.is-secondary,
a.button.is-secondary,
.w-button.is-secondary {
    background-color: var(--cerafilo-white);
    color: var(--cerafilo-primary);
    border: 0.0625rem solid var(--cerafilo-primary);
}

.button.is-secondary:hover,
a.button.is-secondary:hover,
.w-button.is-secondary:hover,
.button.is-secondary:focus-visible,
a.button.is-secondary:focus-visible {
    background-color: var(--cerafilo-primary);
    border-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
}

a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card) {
    color: var(--cerafilo-primary);
    transition: color 0.25s ease;
}

a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):hover,
a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus-visible {
    color: var(--cerafilo-accent);
}

.form_input:focus,
.form_input:focus-visible,
select.form_input:focus,
textarea.form_input:focus,
.dw-select-label select:focus,
.dw-search input:focus,
.dw-search input:focus-visible {
    border-color: var(--cerafilo-accent);
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--cerafilo-accent-soft);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--cerafilo-accent);
}

*[tabindex]:focus-visible,
input[type="file"]:focus-visible {
    outline: 0.125rem solid var(--cerafilo-accent);
    outline-offset: 0.125rem;
}

.inherit-color * { color: inherit; }

.w-richtext > :not(div):first-child,
.w-richtext > div:first-child > :first-child { margin-top: 0 !important; }

.w-richtext > :last-child,
.w-richtext ol li:last-child,
.w-richtext ul li:last-child { margin-bottom: 0 !important; }

.container-medium,
.container-small,
.container-large {
    margin-right: auto !important;
    margin-left: auto !important;
}

.text-style-3lines {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.text-style-2lines {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hide { display: none !important; }

@media screen and (max-width: 991px) {
    .hide, .hide-tablet { display: none !important; }
}
@media screen and (max-width: 767px) {
    .hide-mobile-landscape { display: none !important; }
}
@media screen and (max-width: 479px) {
    .hide-mobile { display: none !important; }
}

.margin-0 { margin: 0 !important; }
.padding-0 { padding: 0 !important; }

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: visible;
}

.main-wrapper { flex: 1 0 auto; }

.bottom-blur {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 5;
    height: 6rem;
    pointer-events: none;
    backdrop-filter: blur(7px);
    background-image: linear-gradient(#fff0, #ffffff00 90%, var(--color-base--white));
    mask-image: linear-gradient(#0000, 10%, #fff 40% 100%);
}

/* keep anchor jumps clear of the fixed navbar */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 7rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------- 2. wrapper layout fixes */

.property_heading {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
}

.property_price {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: none;
    padding-left: 1rem;
}

.home1_type_content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home1_metrics_item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: var(--radius--default);
    background-color: var(--color-neutral--50);
    padding: 1.5rem;
}

.about_hero_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section_home1_about .dw-home-about-copy {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.section_home1_about .dw-home-about-copy > :first-child { margin-top: 0; }
.section_home1_about .dw-home-about-copy p { margin-bottom: 0.5em; }
.section_home1_about .dw-home-about-copy p:last-child { margin-bottom: 0; }

.section_home1_about .media_marquee { overflow: hidden; }

.property_content_left { min-width: 0; }

.property_content_info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-radius: var(--radius--button);
    background-color: var(--color-neutral--50);
    padding: 1rem;
}

.contact2_office_info { min-width: 0; }

/* home type grid: first cell is a tall image spanning two rows */
.home1_type_grid > .home1_type_image { grid-area: span 2 / span 1 / span 2 / span 1; }

@media screen and (max-width: 991px) {
    .home1_type_grid > .home1_type_image { grid-area: auto; }
}

/* product/service detail: text column first, media second */
.product_grid > .product_content { grid-area: span 1 / span 1 / span 1 / span 1; }

/* ------------------------------------------------------- 2b. home page */

/* the hero is a flex container in the theme, so the inner band needs width */
.section_home1_hero > .padding-global,
.section_home1_cta > .padding-global { width: 100%; }

.dw-hero-media { position: absolute; inset: 0; overflow: hidden; }

.dw-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.dw-hero-slide.is-active { opacity: 1; }

.dw-hero-slide > img,
.dw-hero-slide > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dw-hero-fallback {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
                      url("../media/texture-warm.svg");
    background-size: auto, 30rem;
    background-color: var(--accent);
}

.dw-hero-aside {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 100%;
}

.dw-hero-stats { display: grid; gap: 1.25rem; }

@media screen and (min-width: 992px) {
    .dw-hero-stats { grid-template-columns: minmax(0, 1fr); }
}

@media screen and (max-width: 991px) {
    .dw-hero-stats { grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); }
}

.dw-hero-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dw-hero-dot {
    width: 2.25rem;
    height: 0.25rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s;
}

.dw-hero-dot.is-active { background-color: var(--color-base--white); }

/* icon chip used for contact rows, catalogue cards and the hero aside link */
.dw-agent-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius--button);
    background-color: var(--accent);
    color: var(--color-base--white);
}

.dw-agent-mark svg { width: 1.375rem; height: 1.375rem; }
.dw-agent-mark.is-light { background-color: rgba(255, 255, 255, 0.2); color: var(--color-base--white); }

.dw-agent-mark.is-outline {
    background-color: var(--color-base--white);
    color: var(--accent);
    border: 0.0625rem solid var(--color-neutral--200);
    width: 3.5rem;
    height: 3.5rem;
}

/* legibility layer above card imagery */
.dw-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.6));
}

.dw-scrim.is-strong {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75));
}

.dw-about-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: var(--radius--default);
    display: block;
}

/* the two lead metric cards are tall; items stack beside them */
@media screen and (min-width: 992px) {
    .home1_metrics_grid > .home1_metrics_card { grid-row: span 2; }
}

.home1_metrics_item.is-plain { background-color: var(--color-base--white); }

/* tile format swatch used when a size has no photograph */
.dw-format-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius--default);
    background-color: var(--color-neutral--100);
    overflow: hidden;
}

.dw-format-shape {
    display: block;
    border: 0.125rem solid var(--accent);
    border-radius: 0.25rem;
    background-color: var(--cerafilo-primary-soft);
}

.dw-format-shape.is-generic { width: 60%; height: 60%; }

.dw-format-label {
    position: absolute;
    bottom: 0.625rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--fonts--badge);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

.dw-markets { justify-content: center; }
.dw-markets .label { background-color: var(--color-base--white); }

.dw-center { justify-content: center; }

/* blog cards keep white text whether or not an article has a cover image */
.blog_content {
    background-color: var(--accent);
    color: var(--color-base--white);
}

.blog_content .divider { background-color: rgba(255, 255, 255, 0.25); }

/* theme .badge is a white pill — hide it on blog cards so it does not sit on the image */
.blog_card .badge {
    display: none;
}

.blog_card .blog_info {
    justify-content: flex-start;
    gap: 0.5rem;
}

.blog_card .button-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog_card .button-arrow .button.is-small {
    background-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
    border: 0.0625rem solid var(--cerafilo-primary);
}

.blog_card:hover .button-arrow .button.is-small,
.blog_card:focus-visible .button-arrow .button.is-small {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.blog_card .button-arrow .button.is-icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cerafilo-white);
    color: var(--cerafilo-primary);
    border: 0.0625rem solid var(--cerafilo-primary);
}

.blog_card:hover .button-arrow .button.is-icon,
.blog_card:focus-visible .button-arrow .button.is-icon {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

/* cards that are whole-link anchors */
a.categories_card,
a.home1_type_card { display: flex; color: inherit; text-decoration: none; }
a.categories_card { display: block; }
.categories_info a { color: inherit; text-decoration: none; display: block; }
.categories_info a.button,
.categories_info a.w-button {
    color: var(--cerafilo-white);
    display: inline-flex;
}
.categories_info a.button:hover,
.categories_info a.w-button:hover {
    color: var(--cerafilo-white);
}
.categories_info a.button.is-secondary,
.categories_info a.w-button.is-secondary {
    color: var(--cerafilo-primary);
}
.categories_info a.button.is-secondary:hover,
.categories_info a.w-button.is-secondary:hover,
.categories_info a.button.is-secondary:focus-visible,
.categories_info a.w-button.is-secondary:focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}
.categories_product { align-items: center; gap: 0.75rem; }
.categories_product svg { flex: none; opacity: 0.5; }

.section_contact_home { flex-direction: column; justify-content: center; }

/* ------------------------------------------------------ 2c. inner pages */

.dw-icon { width: 1.5rem; height: 1.5rem; display: block; }
.dw-icon.is-large { width: 3rem; height: 3rem; }

/* numbered step marker used on the quality and export process grids */
.dw-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background-color: var(--accent);
    color: var(--color-base--white);
    font-family: var(--fonts--badge);
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

/* inner-page header band */
.section_properties1_header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: 50%;
}

.section_properties1_header.has-cover { background-repeat: no-repeat; }
.section_properties1_header > .padding-global { width: 100%; }
.section_properties1_header p,
.section_properties1_header .dw-breadcrumb { color: var(--color-base--white); }

.section_about_hero,
.section_about_features,
.section_about_team { flex-direction: column; justify-content: center; }

.about_hero_image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius--default);
}

/* media/content pairs where the copy should come first */
.info_assist.dw-reverse > :first-child { order: 2; }
.info_assist.dw-reverse > :last-child { order: 1; }

@media screen and (max-width: 767px) {
    .info_assist.dw-reverse > :first-child,
    .info_assist.dw-reverse > :last-child { order: 0; }
}

.about_features_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius--default);
    background-color: var(--color-base--white);
    padding: 1.5rem;
}

.background-color-alternate .about_features_card { background-color: var(--color-base--white); }

/* a full-width texture band used for the export/global callouts */
.dw-static-band {
    height: auto;
    display: block;
    padding: 3rem 2rem;
    overflow: visible;
}

.dw-band-inner { position: relative; z-index: 2; }
.dw-static-band h2 { color: var(--color-base--white); }
.dw-anchor-list.is-inverse .label { background-color: rgba(255, 255, 255, 0.16); color: var(--color-base--white); }

@media screen and (max-width: 767px) {
    .dw-static-band { padding: 2rem 1.25rem; }
}

/* ------------------------------------------- 3. local decorative textures */

.highlight_marquee,
.home1_metrics_card.is-black,
.contact1_hero_info,
.section_properties1_header,
.dw-texture {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
                      url("../media/texture-warm.svg");
    background-position: 0 0, 50%;
    background-repeat: repeat, repeat;
    background-size: auto, 30rem;
    background-color: var(--accent);
}

.highlight_marquee { background-color: var(--accent); }

/* compact inner-page title band */
.section_properties1_header {
    min-height: 0;
    color: var(--cerafilo-white);
}

.section_properties1_header .padding-section-medium {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media screen and (max-width: 767px) {
    .section_properties1_header .padding-section-medium {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }
}

.properties1_headerr_overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.properties1_header_box { position: relative; z-index: 2; }

.section_properties1_header .properties1_header_box h1 {
    color: var(--cerafilo-white);
    overflow-wrap: break-word;
}

.section_properties1_header .properties1_header_box .dw-breadcrumb {
    color: var(--cerafilo-white);
    opacity: 1;
    font-size: 0.875rem;
}

.section_properties1_header .properties1_header_box .dw-breadcrumb a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card) {
    color: var(--cerafilo-white);
}

.section_properties1_header .properties1_header_box .dw-breadcrumb a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):hover,
.section_properties1_header .properties1_header_box .dw-breadcrumb a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus-visible {
    color: var(--cerafilo-accent);
}

.section_properties1_header .properties1_header_box .dw-breadcrumb span[aria-hidden] {
    color: var(--cerafilo-white);
    opacity: 0.7;
}

.section_properties1_header .properties1_header_box .dw-breadcrumb span[aria-current="page"] {
    color: var(--cerafilo-accent);
}

/* post header band */
.section_post_header {
    position: relative;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--color-base--white);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                      url("../media/texture-warm.svg");
    background-size: auto, 30rem;
    background-repeat: repeat, repeat;
    background-color: var(--accent);
}

.section_post_header.has-cover { background-size: auto, cover; }

.post_header_box { position: relative; z-index: 2; }
.post_header_box h1 { color: var(--color-base--white); }

.post_header_overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

/* ------------------------------------------------------- 4. navigation */

.navbar {
    --cera-navy: var(--cerafilo-primary);
    --cera-orange: var(--cerafilo-accent);
    --cera-white: var(--cerafilo-white);
    --dw-nav-height: 4.75rem;
    position: sticky;
    top: 0;
    z-index: 1100;
    overflow: visible;
    background-color: var(--cera-white);
}

.navbar.is-scrolled {
    box-shadow: 0 2px 12px rgba(4, 20, 56, 0.08);
}

.navbar .nav-background {
    background-color: var(--cera-white);
    border-bottom: 0.0625rem solid rgba(4, 20, 56, 0.08);
}

.nav-content {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
}

.navbar .padding-global {
    width: 100%;
    max-width: none;
}

.navbar .container-default {
    width: 100%;
}

.navbar .nav-wrapper,
.nav-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 1.5rem;
    width: 100%;
    height: 100%;
    min-height: 4.75rem;
}

.navbar-logo,
.nav-brand {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 0.625rem;
    float: none;
    justify-self: start;
    min-width: 0;
    flex: 0 0 auto;
    margin: 0;
}

.nav-logo {
    display: block;
    max-height: 2.75rem;
    max-width: 11rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.nav-brand-text {
    font-family: var(--fonts--heading);
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.2;
    color: var(--cera-navy);
    white-space: nowrap;
}

.navbar-navigation,
.nav-menu-wrapper {
    justify-self: stretch;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.navbar .nav-menu {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}

.navbar .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 2.5rem;
    color: var(--cera-navy);
    font-weight: 500;
    margin: 0;
    padding: 0 0.85rem;
    line-height: 1;
    white-space: nowrap;
    opacity: 1;
    transition: color 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
    color: var(--cera-orange);
}

.navbar .nav-link.w--current,
.navbar .nav-link.is-active {
    color: var(--cera-navy);
    opacity: 1;
}

.navbar .nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 0.125rem;
    border-radius: 999px;
    background-color: var(--cera-orange);
}

.navbar .nav-wrapper .navbar-actions,
.navbar .nav-wrapper .nav-buttons {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 0.75rem;
    min-width: max-content;
    height: 2.5rem;
    margin: 0;
    flex: 0 0 auto;
    transform: none !important;
}

.navbar .navbar-action,
.navbar .nav-links-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    height: 2.5rem;
    min-height: 2.5rem;
    margin: 0;
    padding: 0 1.05rem;
    line-height: 1;
    white-space: nowrap;
    border-radius: var(--radius--button);
    font-weight: 500;
    box-shadow: none;
    transform: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.navbar a.button.navbar-action-profile {
    background-color: rgba(4, 20, 56, 0.06);
    color: var(--cera-navy);
    border: 0.0625rem solid var(--cera-navy);
}

.navbar a.button.navbar-action-profile:hover,
.navbar a.button.navbar-action-profile:focus-visible {
    background-color: var(--cera-orange);
    color: var(--cera-white);
    border-color: var(--cera-orange);
}

.navbar a.button.navbar-action-quote {
    background-color: var(--cera-navy);
    color: var(--cera-white);
    border: 0.0625rem solid var(--cera-navy);
}

.navbar a.button.navbar-action-quote:hover,
.navbar a.button.navbar-action-quote:focus-visible {
    background-color: var(--cera-orange);
    color: var(--cera-white);
    border-color: var(--cera-orange);
}

/* products dropdown */
.dw-nav-item { position: relative; }

.dw-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.dw-nav-toggle svg { transition: transform 0.25s ease; }
.dw-nav-item.is-open .dw-nav-toggle svg { transform: rotate(180deg); }

.navbar .dw-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-0.5rem);
    width: min(56rem, calc(100vw - 3rem));
    background-color: var(--cera-white);
    border: 0.0625rem solid rgba(4, 20, 56, 0.1);
    border-radius: var(--radius--default);
    box-shadow: 0 1.5rem 3rem rgba(4, 20, 56, 0.12);
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 30;
}

.navbar .dw-nav-item.is-open .dw-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dw-dropdown-inner {
    display: grid;
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 1.25rem;
}

.dw-dropdown-types { display: flex; flex-direction: column; gap: 0.25rem; }

.navbar .dw-dropdown-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    border: 0;
    border-radius: var(--radius--button);
    background: transparent;
    padding: 0.75rem 0.875rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    color: var(--cera-navy);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.navbar .dw-dropdown-type:hover { background-color: rgba(4, 20, 56, 0.04); color: var(--cera-orange); }
.navbar .dw-dropdown-type.is-active { background-color: rgba(248, 100, 16, 0.08); color: var(--cera-orange); }
.navbar .dw-dropdown-type svg { margin-left: auto; opacity: 0.45; flex: none; }

.dw-dropdown-panel { display: none; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.dw-dropdown-panel.is-active { display: grid; }

.navbar .dw-dropdown-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 0.0625rem solid rgba(4, 20, 56, 0.1);
    border-radius: var(--radius--button);
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cera-navy);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.navbar .dw-dropdown-card:hover {
    background-color: rgba(4, 20, 56, 0.04);
    border-color: var(--cera-orange);
    color: var(--cera-orange);
}

.navbar .dw-dropdown-kicker {
    font-family: var(--fonts--badge);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.5;
    color: inherit;
}

.dw-dropdown-card.is-all { border-style: dashed; opacity: 0.75; }

/* hamburger */
.navbar .nav-menu-button {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: var(--radius--button);
    color: var(--cera-navy);
    transition: color 0.25s ease;
}

.navbar .nav-menu-button:hover,
.navbar .nav-menu-button:focus-visible,
.navbar .nav-menu-button[aria-expanded="true"] {
    color: var(--cera-orange);
}

.nav-menu-icon { width: 1.75rem; height: 1.75rem; display: block; }
.nav-menu-icon-close { display: none; }
.navbar .nav-menu-button[aria-expanded="true"] .nav-menu-icon-open { display: none; }
.navbar .nav-menu-button[aria-expanded="true"] .nav-menu-icon-close { display: block; }

.dw-nav-products-mobile { display: none; }

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .nav-logo { max-height: 2.35rem; max-width: 9.5rem; }
    .navbar .nav-link { padding-left: 0.55rem; padding-right: 0.55rem; font-size: 0.9375rem; }
    .navbar-actions,
    .nav-buttons { gap: 0.5rem; }
}

@media screen and (max-width: 991px) {
    .nav-wrapper {
        display: flex;
        grid-template-columns: none;
        column-gap: 0.75rem;
        justify-content: space-between;
        align-items: center;
        min-height: var(--dw-nav-height);
    }

    .navbar-logo,
    .nav-brand {
        position: relative;
        z-index: 2;
        flex: 1 1 auto;
        min-width: 8rem;
        max-width: calc(100% - 3.25rem);
    }

    .nav-logo {
        max-height: 2.5rem;
        max-width: min(11rem, 62vw);
    }

    .navbar-navigation,
    .nav-menu-wrapper {
        position: static;
        flex: 0 0 0;
        width: 0;
        min-width: 0;
        overflow: visible;
        justify-content: flex-start;
    }

    .navbar-actions,
    .nav-buttons {
        position: relative;
        z-index: 2;
        gap: 0;
        min-width: 0;
        height: auto;
    }

    .navbar .navbar-actions .navbar-action { display: none; }

    .navbar .nav-menu-button { display: flex; }

    .navbar .nav-menu {
        position: fixed;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 0;
        padding: 1.25rem 1.5rem 6rem;
        gap: 0.25rem;
        align-items: stretch;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
        border-right: 0.0625rem solid rgba(4, 20, 56, 0.1);
        background-color: var(--cera-white);
        max-width: 26rem;
        top: var(--dw-nav-height);
        bottom: 0;
        left: 0;
        right: auto;
        width: 100%;
        overflow-y: auto;
        z-index: 1101;
    }

    .navbar .nav-menu.is-open { transform: translateX(0); visibility: visible; }

    .navbar .nav-link { height: auto; min-height: 2.75rem; padding: 0.875rem 0.5rem; font-size: 1.0625rem; }
    .navbar .nav-link.is-active::after { left: 0.5rem; right: auto; width: 1.5rem; bottom: 0.5rem; }

    .navbar .nav-links-buttons {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
    }

    .navbar .nav-links-buttons .button { width: 100%; }

    .dw-nav-backdrop {
        position: fixed;
        inset: var(--dw-nav-height) 0 0 0;
        background-color: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 1090;
    }

    .dw-nav-backdrop.is-open { opacity: 1; visibility: visible; }

    .dw-nav-products-desktop { display: none; }

    .dw-nav-products-mobile {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
    }

    .navbar .dw-nav-heading {
        margin: 0;
        pointer-events: none;
        font-weight: 600;
    }

    .navbar .dw-nav-heading.is-active::after { display: none; }

    .dw-mobile-products {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
        padding: 0 0 0.5rem 0.85rem;
        border-left: 0.125rem solid rgba(4, 20, 56, 0.1);
        margin: 0 0 0.25rem 0.5rem;
    }

    .navbar a.dw-mobile-product {
        display: block;
        padding: 0.55rem 0.35rem;
        color: var(--cera-navy);
        font-size: 0.9375rem;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none;
    }

    .navbar a.dw-mobile-product:hover,
    .navbar a.dw-mobile-product:focus-visible {
        color: var(--cera-orange);
    }

    .navbar a.dw-mobile-product.is-active {
        color: var(--cera-orange);
    }
}

body.dw-no-scroll { overflow: hidden !important; }

/* ------------------------------------------------------------ 5. motion */

html.dw-js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
    transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
    will-change: opacity, transform;
}

html.dw-js [data-reveal].is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html.dw-js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* marquees (the export animated these with the Webflow interactions runtime) */
.media_marquee,
.highlight_marquee { --dw-marquee-duration: 40s; }

.media_marquee-group,
.highlight_marquee-group {
    animation: dw-marquee var(--dw-marquee-duration) linear infinite;
    will-change: transform;
}

.media_marquee:hover .media_marquee-group,
.highlight_marquee:hover .highlight_marquee-group { animation-play-state: paused; }

@keyframes dw-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .media_marquee-group,
    .highlight_marquee-group { animation: none; }
}

.highlight_marquee-copy { white-space: nowrap; }

@media screen and (max-width: 767px) {
    .highlight_marquee { height: 8rem; }
    .highlight_marquee-copy { font-size: 2rem; }
}

/* accordion */
.faq_accordion { cursor: pointer; }

.faq_question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    padding: 0;
}

.faq_answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s ease;
}

.faq_accordion.is-open .faq_answer { grid-template-rows: 1fr; }

.faq_answer > .faq_answer-wrapper { min-height: 0; overflow: hidden; }

.faq_icon img,
.faq_icon svg { transition: transform 0.3s ease; }
.faq_accordion.is-open .faq_icon img,
.faq_accordion.is-open .faq_icon svg { transform: rotate(45deg); }

/* slider */
.dw-slider { position: relative; }

.dw-slider-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}

.dw-slider-track::-webkit-scrollbar { display: none; }

.dw-slider-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
    min-width: 0;
}

.dw-slider[data-per-view="2"] .dw-slider-slide { width: calc((100% - 0.5rem) / 2); }
.dw-slider[data-per-view="3"] .dw-slider-slide { width: calc((100% - 1rem) / 3); }

@media screen and (max-width: 991px) {
    .dw-slider[data-per-view="3"] .dw-slider-slide { width: calc((100% - 0.5rem) / 2); }
}

@media screen and (max-width: 767px) {
    .dw-slider[data-per-view="2"] .dw-slider-slide,
    .dw-slider[data-per-view="3"] .dw-slider-slide { width: 100%; }
}

.dw-slider-nav {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* matches the theme's .slider-arrow-v2 treatment */
.dw-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0.0625rem solid #f2f2f2;
    border-radius: 0.375rem;
    background-color: #fff;
    color: var(--color-base--black);
    cursor: pointer;
    transition: all 0.2s;
}

.dw-slider-btn:hover { background-color: var(--cerafilo-white); border-color: var(--cerafilo-accent); color: var(--cerafilo-accent); }
.dw-slider-btn[disabled] { opacity: 0.35; cursor: default; background-color: #fff; }

/* ------------------------------------------- 6. Cerafilo-only components */

.dw-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--fonts--badge);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.dw-breadcrumb a { color: inherit; text-decoration: none; }
.dw-breadcrumb a:hover { text-decoration: underline; }
.dw-breadcrumb span[aria-hidden] { opacity: 0.5; }

/* generic card grids */
.dw-grid { display: grid; gap: 0.5rem; }
.dw-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dw-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dw-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media screen and (max-width: 991px) {
    .dw-grid.is-3, .dw-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 600px) {
    .dw-grid.is-2, .dw-grid.is-3, .dw-grid.is-4 { grid-template-columns: minmax(0, 1fr); }

    [data-product-listing] .dw-grid.is-2,
    [data-product-listing] .dw-grid.is-3,
    [data-product-listing] .dw-grid.is-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.dw-gap-lg { gap: 1.5rem; }

/* product / catalogue listing shell */
.dw-listing {
    display: grid;
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

@media screen and (max-width: 991px) {
    .dw-listing { grid-template-columns: minmax(0, 1fr); }
}

.dw-filter-panel {
    border: 0.0625rem solid var(--color-neutral--100);
    border-radius: var(--radius--default);
    background-color: var(--color-base--white);
    padding: 1.25rem;
    position: sticky;
    top: 7rem;
    max-height: calc(100vh - 9rem);
    overflow-y: auto;
}

.dw-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dw-filter-head h2 {
    font-size: 1.125rem;
    font-family: var(--fonts--heading);
    font-weight: 600;
    margin: 0;
}

.dw-link-button {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    color: var(--cerafilo-primary);
    opacity: 1;
}

.dw-filter-head a.dw-link-button:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card) {
    color: var(--cerafilo-primary);
    opacity: 1;
}

.dw-filter-head a.dw-link-button:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):hover,
.dw-filter-head a.dw-link-button:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus-visible {
    color: var(--cerafilo-accent);
    opacity: 1;
}

.dw-filter-close { display: none; }

.dw-filter-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1rem;
    border: 0;
    border-radius: var(--radius--button);
    background-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.dw-filter-open-btn:hover,
.dw-filter-open-btn:focus-visible {
    background-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
    outline: none;
}

.dw-filter-group { border-top: 0.0625rem solid var(--color-neutral--100); padding: 0.875rem 0; }
.dw-filter-group:first-of-type { border-top: 0; }

.dw-filter-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.dw-filter-group-title svg { transition: transform 0.25s ease; flex: none; }
.dw-filter-group.is-collapsed .dw-filter-group-title svg { transform: rotate(-90deg); }

.dw-filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    max-height: 14rem;
    overflow-y: auto;
}

.dw-filter-group.is-collapsed .dw-filter-options { display: none; }

.dw-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
    cursor: pointer;
}

.dw-check input { margin-top: 0.2rem; accent-color: var(--cerafilo-accent); flex: none; }

.dw-filter-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }

.dw-filter-backdrop { display: none; }

.dw-mobile-filter-bar { display: none; }

@media screen and (max-width: 991px) {
    .dw-mobile-filter-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.25rem;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .dw-filter-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        z-index: 1201;
        width: min(22rem, 92vw);
        max-height: none;
        border-radius: 0;
        border: 0;
        border-left: 0.0625rem solid rgba(4, 20, 56, 0.1);
        background-color: var(--cerafilo-white);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
    }

    [data-product-listing].filter-open .dw-filter-panel {
        transform: translateX(0);
        visibility: visible;
    }

    .dw-filter-panel.is-static {
        position: static;
        width: auto;
        border-radius: var(--radius--default);
        transform: none;
        visibility: visible;
    }

    .dw-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border: 0;
        background: transparent;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        font-size: 1.5rem;
        color: var(--cerafilo-primary);
    }

    .dw-filter-close:hover,
    .dw-filter-close:focus-visible {
        color: var(--cerafilo-accent);
        outline: none;
    }

    .dw-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background-color: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    [data-product-listing].filter-open .dw-filter-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.filter-open .dw-music,
    body.filter-open .dw-whatsapp {
        visibility: hidden;
        pointer-events: none;
    }
}

.dw-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dw-toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

/* centred variant of the theme's section header (it is left-aligned by default) */
.section_header.is-center { justify-content: center; text-align: center; }
.section_header.is-center .section_heading { align-items: center; }

.dw-facets { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.dw-facets .dw-specs { max-width: 26rem; }

.dw-grid-controls {
    display: flex;
    gap: 0.25rem;
    border: 0.0625rem solid var(--color-neutral--100);
    border-radius: var(--radius--button);
    padding: 0.1875rem;
}

.dw-grid-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--color-base--black);
    opacity: 0.45;
    cursor: pointer;
    transition: all 0.2s;
}

.dw-grid-controls button.is-active {
    background-color: var(--accent-secondary);
    opacity: 1;
}

.section_properties1__list { flex-direction: column; justify-content: center; }

.dw-select-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.dw-select-label select {
    border: 0.0625rem solid var(--color-neutral--100);
    border-radius: var(--radius--button);
    background-color: var(--color-base--white);
    padding: 0.5rem 0.75rem;
    font: inherit;
    font-size: 0.8125rem;
    min-height: 2.5rem;
}

.dw-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }

.dw-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    background-color: var(--cerafilo-white);
    color: var(--cerafilo-primary);
    border: 0.0625rem solid rgba(4, 20, 56, 0.16);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.dw-chip:hover,
.dw-chip.is-active {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.dw-chip button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    color: inherit;
}

.dw-skeletons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }

.dw-skeletons > div {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius--default);
    background: linear-gradient(90deg, var(--color-neutral--50), var(--color-neutral--200), var(--color-neutral--50));
    background-size: 200% 100%;
    animation: dw-shimmer 1.3s linear infinite;
}

@keyframes dw-shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

@media screen and (max-width: 767px) {
    .dw-skeletons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dw-empty {
    border: 0.0625rem dashed var(--color-neutral--400);
    border-radius: var(--radius--default);
    padding: 3rem 1.5rem;
    text-align: center;
}

.dw-empty h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.dw-empty p { margin: 0 0 1.25rem; opacity: 0.7; }
.dw-empty-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

.dw-count { font-family: var(--fonts--badge); font-size: 0.8125rem; opacity: 0.7; margin: 0; }

/* product card (built on the theme's categories_* card) */
.dw-card-media { position: relative; overflow: hidden; border-radius: var(--radius--default); }

.dw-card-media img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.categories_card:hover .dw-card-media img { transform: scale(1.04); }

/* catalogue covers are portrait rather than landscape */
.dw-card-media.is-portrait img { aspect-ratio: 3 / 4; }
.dw-card-media.is-portrait .dw-placeholder { aspect-ratio: 3 / 4; }
.dw-gallery-main.is-portrait { aspect-ratio: 3 / 4; }

.dw-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    z-index: 2;
}

.dw-badges span {
    border-radius: 999px;
    background-color: var(--color-base--white);
    padding: 0.25rem 0.625rem;
    font-family: var(--fonts--badge);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* badges rendered inline in page flow rather than pinned over a card image */
.dw-badges.is-static { position: static; top: auto; left: auto; }

.dw-badges.is-static span {
    border: 0.0625rem solid var(--color-neutral--200);
    background-color: var(--color-base--white);
}

.dw-specs { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.dw-specs span {
    border-radius: 0.25rem;
    background-color: var(--color-base--white);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    opacity: 0.85;
}

.dw-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.dw-card-actions .button {
    margin: 0;
    flex: 0 1 auto;
}

.dw-card-actions .button.is-secondary {
    background-color: var(--cerafilo-white);
    color: var(--cerafilo-primary);
    border: 0.0625rem solid var(--cerafilo-primary);
}

.dw-card-actions .button.is-secondary:hover,
.dw-card-actions .button.is-secondary:focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.dw-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius--default);
    background-color: var(--color-neutral--100);
    color: var(--color-base--black);
    font-family: var(--fonts--badge);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
    text-align: center;
    padding: 1rem;
}

/* forms */
.dw-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.75rem; }

@media screen and (max-width: 767px) {
    .dw-form-grid { grid-template-columns: 1fr; }
}

.dw-field { display: flex; flex-direction: column; margin-bottom: 0.5rem; }

.dw-field > label {
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.dw-field.is-full { grid-column: 1 / -1; }

.dw-field-error {
    color: #9c2b2b;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.125rem;
}

.form_input.has-error { border-color: #9c2b2b; }

select.form_input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

input[type="file"].form_input { padding: 0.75rem 1rem; }

.dw-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}

.dw-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.dw-consent input { margin-top: 0.2rem; accent-color: var(--cerafilo-accent); flex: none; }

.dw-alert {
    display: flex;
    gap: 0.75rem;
    border-radius: var(--radius--button);
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.dw-alert strong { display: block; margin-bottom: 0.125rem; }
.dw-alert p { margin: 0; }
.dw-alert.is-success { background-color: #e9f3e6; color: #22491c; }
.dw-alert.is-error { background-color: #fbeceb; color: #7d2420; }
.dw-alert-icon { flex: none; font-weight: 700; }

/* contact info card list — compact, content-sized, no stretch-to-form */
.contact1_hero_grid > .contact1_hero_info {
    align-self: start;
    height: auto;
    min-width: 0;
}

.contact1_hero_info {
    color: var(--cerafilo-white);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
    align-content: start;
    justify-items: stretch;
    gap: 0.75rem;
    padding: 1.25rem;
    min-width: 0;
    height: auto;
}

.contact1_hero_info .contact1_hero_card,
.contact1_hero_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 10.5rem;
    height: auto;
    max-height: none;
    padding: 1.5rem 1.625rem;
    margin: 0;
    min-width: 0;
    box-sizing: border-box;
}

.contact1_hero_card > :last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 0;
    padding-top: 0;
    min-width: 0;
    width: 100%;
}

.contact1_hero_card .dw-agent-mark {
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    background-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
    box-shadow: inset 0 0 0 1px rgba(248, 100, 16, 0.4);
}

.contact1_hero_card .dw-agent-mark svg {
    width: 1.125rem;
    height: 1.125rem;
}

.contact1_hero_card .text-style-badge {
    margin: 0;
    color: var(--cerafilo-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact1_hero_card .text-size-small,
.contact1_hero_card .text-size-large,
.contact1_hero_card .text-style-muted80,
.contact1_hero_card a {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--cerafilo-white);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact1_hero_card a:hover,
.contact1_hero_card a:focus-visible {
    color: var(--cerafilo-accent);
}

@media screen and (max-width: 767px) {
    .contact1_hero_info {
        grid-template-columns: minmax(0, 1fr);
        padding: 1rem;
        gap: 0.625rem;
    }

    .contact1_hero_info .contact1_hero_card,
    .contact1_hero_card {
        min-height: 0;
        padding: 1.25rem 1.375rem;
        gap: 0.625rem;
    }
}

/* map */
.dw-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius--default);
    overflow: hidden;
    display: block;
    background-color: var(--color-neutral--50);
}

.dw-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.dw-contact-lines { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.dw-contact-lines a:hover { text-decoration: underline; }

.dw-map-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 0.875rem;
    opacity: 0.7;
    text-align: center;
    padding: 1.5rem;
}

.dw-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius--default);
    background-color: var(--color-neutral--50);
    font-size: 0.875rem;
    opacity: 0.7;
    text-align: center;
    padding: 1.5rem;
}

/* specification table */
/* detail page: main column + sticky side card */
.section_property_details,
.section_post_content,
.section_blog_listing,
.section_catalogues,
.section_catalogue_preview { display: flex; flex-direction: column; }

/* inline PDF preview */
.dw-pdf-frame {
    border-radius: var(--radius--default);
    overflow: hidden;
    background-color: var(--color-base--white);
    height: min(45rem, 85vh);
}

.dw-pdf-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* non-interactive button look for unavailable actions */
.button.is-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* blog grid outside the home page: even columns, no feature cell */
.blog_grid.is-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    grid-auto-rows: auto;
    gap: 1.5rem;
}

.blog_grid.is-listing > .blog_card { grid-area: auto; min-height: 24rem; }

.dw-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6.5rem; }
.dw-sidebar .dw-side-card { position: static; }

.dw-side-card.is-inverse { background-color: var(--accent); }

.dw-side-list { display: flex; flex-direction: column; gap: 0.75rem; }

.dw-side-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
}

.dw-side-list img {
    flex: none;
    width: 4rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.dw-side-list a:hover { opacity: 0.7; }

@media screen and (max-width: 991px) {
    .dw-sidebar { position: static; }
}

.dw-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.dw-side-card {
    position: sticky;
    top: 6.5rem;
    border-radius: var(--radius--default);
    background-color: var(--color-base--white);
    padding: 1.75rem;
}

.dw-spec-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

/* rich text coming from the admin editor */
.dw-prose > *:first-child { margin-top: 0; }
.dw-prose > *:last-child { margin-bottom: 0; }
.dw-prose p, .dw-prose ul, .dw-prose ol { margin: 0 0 1rem; }
.dw-prose ul, .dw-prose ol { padding-left: 1.25rem; }
.dw-prose li { margin-bottom: 0.375rem; }
.dw-prose h2, .dw-prose h3, .dw-prose h4 { margin: 1.75rem 0 0.75rem; }
.dw-prose a { text-decoration: underline; }
.dw-prose img { max-width: 100%; height: auto; border-radius: var(--radius--default); }
.dw-prose table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.dw-prose th, .dw-prose td {
    border: 0.0625rem solid var(--color-neutral--200);
    padding: 0.625rem 0.75rem;
    text-align: left;
}

@media screen and (max-width: 991px) {
    .dw-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .dw-side-card { position: static; }
}

@media screen and (max-width: 479px) {
    .dw-spec-cards { grid-template-columns: 1fr; }
}

.dw-spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.dw-spec-table th,
.dw-spec-table td {
    border-bottom: 0.0625rem solid var(--color-neutral--200);
    padding: 0.75rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.dw-spec-table th { width: 38%; font-weight: 600; }
.dw-spec-table tr:last-child th,
.dw-spec-table tr:last-child td { border-bottom: 0; }

.text-rich-text table { width: 100%; border-collapse: collapse; }
.text-rich-text th,
.text-rich-text td {
    border: 0.0625rem solid var(--color-neutral--200);
    padding: 0.625rem 0.75rem;
    text-align: left;
}
.text-rich-text img { border-radius: var(--radius--default); }
.text-rich-text a { text-decoration: underline; }

/* gallery */
.dw-gallery-main {
    position: relative;
    width: 100%;
    border-radius: var(--radius--default);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--color-neutral--50);
}

.dw-gallery-main[data-lightbox-src] { cursor: zoom-in; }

.dw-gallery-main > img,
.dw-gallery-main > .dw-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dw-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

.dw-gallery-thumb {
    width: 5.5rem;
    height: 4.25rem;
    border: 0.125rem solid transparent;
    border-radius: var(--radius--button);
    padding: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

.dw-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-gallery-thumb.is-active { border-color: var(--accent); }

/* lightbox */
.dw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 2rem;
}

.dw-lightbox.is-open { display: flex; }

.dw-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius--button);
    object-fit: contain;
}

.dw-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background-color: var(--color-base--white);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

/* PDF viewer modal */
.dw-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    padding: 1.5rem;
}

.dw-viewer.is-open { display: block; }

.dw-viewer-backdrop { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.7); }

.dw-viewer-dialog {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 68rem;
    margin: 0 auto;
    background-color: var(--color-base--white);
    border-radius: var(--radius--default);
    overflow: hidden;
}

.dw-viewer-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 0.0625rem solid var(--color-neutral--100);
}

.dw-viewer-head h2 { margin: 0; font-size: 1.125rem; font-family: var(--fonts--heading); font-weight: 600; }
.dw-viewer-controls { display: flex; align-items: center; gap: 0.5rem; }
.dw-viewer-body { flex: 1; min-height: 0; }
.dw-viewer-body iframe { width: 100%; height: 100%; border: 0; display: block; }

.dw-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0.0625rem solid var(--color-neutral--200);
    border-radius: var(--radius--button);
    background-color: var(--color-base--white);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

/* pagination */
.dw-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; margin-top: 2rem; }

.dw-pagination button {
    min-width: 2.5rem;
    height: 2.5rem;
    border: 0.0625rem solid var(--color-neutral--200);
    border-radius: var(--radius--button);
    background-color: var(--color-base--white);
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.dw-pagination button.is-active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--color-base--white);
}

.dw-pagination button[disabled] { opacity: 0.4; cursor: default; }

/* search box */
.dw-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
}

.dw-search .form_input { margin-bottom: 0; flex: 1 1 14rem; min-width: 0; }

.dw-search .button,
.dw-search .w-button {
    background-color: var(--cerafilo-primary);
    border-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
}

.dw-search .button:hover,
.dw-search .w-button:hover,
.dw-search .button:focus-visible,
.dw-search .w-button:focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

/* floating music control — sits above WhatsApp */
.dw-music {
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: calc(max(1.25rem, env(safe-area-inset-bottom, 0px)) + 3.25rem + 0.75rem);
    z-index: 901;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.dw-music:hover,
.dw-music:focus-visible {
    background-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
    transform: translateY(-0.1875rem);
    outline: none;
}

.dw-music svg {
    width: 1.375rem;
    height: 1.375rem;
    display: block;
}

.dw-music .dw-music-off { display: none; }
.dw-music.is-muted .dw-music-on { display: none; }
.dw-music.is-muted .dw-music-off { display: block; }

/* floating WhatsApp action */
.dw-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background-color: #25d366;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}

.dw-whatsapp:hover { transform: translateY(-0.1875rem); }
.dw-whatsapp svg { width: 1.625rem; height: 1.625rem; fill: #fff; }

/* footer — the theme footer is light (accent-secondary) with dark text; only
   the pieces the export had no markup for are added here. */
.footer_nav { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }

@media screen and (max-width: 991px) {
    .footer_nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 600px) {
    .footer_nav { grid-template-columns: minmax(0, 1fr); }
}

.footer,
.footer-box {
    background-color: var(--cerafilo-primary);
    background-image: none;
    color: var(--cerafilo-white);
}

.footer,
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer .heading-style-h6,
.footer .text-size-small,
.footer .text-style-muted80,
.footer .text-style-muted60,
.footer .text-style-badge,
.footer .footer_nav-link,
.footer .footer_info,
.footer .footer_info p,
.footer .social-link,
.footer .dw-footer-contact,
.footer .dw-footer-contact a {
    color: var(--cerafilo-white);
    opacity: 1;
}

.footer .divider { background-color: rgba(255, 255, 255, 0.18); }

.footer_nav-column { min-width: 0; gap: 1rem; }
.footer_nav-link { color: var(--cerafilo-white); font-size: 0.9375rem; }

.footer a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card),
.footer a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):hover,
.footer a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus,
.footer a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus-visible,
.footer a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):active {
    color: var(--cerafilo-white);
    text-decoration: none;
    opacity: 1;
    transform: none;
    transition: none;
}

.footer_brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

.footer_brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cerafilo-white);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    line-height: 0;
}

.footer_brand-logo {
    display: block;
    max-height: 2.75rem;
    max-width: 10.5rem;
    width: auto;
    height: auto;
}

@media screen and (max-width: 479px) {
    .footer_brand-mark { padding: 0.4rem 0.625rem; }
    .footer_brand-logo { max-height: 2.25rem; max-width: 8.75rem; }
}

.social-link { color: var(--cerafilo-white); }
.social-link-image { width: 1.5rem; height: 1.5rem; }
.social-link svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.dw-footer-contact { display: flex; flex-direction: column; gap: 0.625rem; }

.dw-footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--cerafilo-white);
    opacity: 1;
    word-break: break-word;
}

.dw-footer-contact svg { flex: none; margin-top: 0.1875rem; width: 1rem; height: 1rem; fill: currentColor; }

.footer .button:not(.is-secondary) {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.footer .button:not(.is-secondary):hover,
.footer .button:not(.is-secondary):focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.footer .button.is-secondary {
    background-color: transparent;
    color: var(--cerafilo-white);
    border-color: var(--cerafilo-white);
}

.footer .button.is-secondary:hover,
.footer .button.is-secondary:focus-visible {
    background-color: transparent;
    border-color: var(--cerafilo-white);
    color: var(--cerafilo-white);
}

/* utility */
.dw-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dw-hidden { display: none !important; }
.dw-stack { display: flex; flex-direction: column; }
.dw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.dw-mt-auto { margin-top: auto; }
.button.max-width-full { width: 100%; display: block; }
.button-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.button-arrow { display: inline-flex; align-items: center; gap: 0.75rem; }
.dot { width: 0.625rem; height: 0.625rem; border-radius: 999px; background-color: var(--accent); }
.dot.is-steps { flex: none; }

.dw-anchor-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.dw-anchor-list a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card) {
    border-radius: 999px;
    border: 0.0625rem solid var(--cerafilo-primary);
    background-color: var(--cerafilo-white);
    color: var(--cerafilo-primary);
    padding: 0.4375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.dw-anchor-list a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):hover,
.dw-anchor-list a:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.dw-anchor-list a.is-active:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card) {
    background-color: var(--cerafilo-primary);
    border-color: var(--cerafilo-primary);
    color: var(--cerafilo-white);
}

.dw-anchor-list a.is-active:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):hover,
.dw-anchor-list a.is-active:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card):focus-visible {
    background-color: var(--cerafilo-accent);
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-white);
}

.dw-anchor-list.is-inverse a.is-active:not(.button):not(.w-button):not(.nav-link):not(.navbar-action):not(.categories_card):not(.home1_type_card):not(.blog_card) {
    background-color: var(--color-base--white);
    border-color: var(--color-base--white);
    color: var(--color-base--black);
}

/* Production QA: keep long titles, tables and filter sidebars inside the viewport
   without changing the theme's visual language. */
html, body { overflow-x: hidden; }

h1, h2, h3, .heading-style-h1, .heading-style-h2, .heading-style-h3 {
    overflow-wrap: break-word;
}

.text-weight-semibold { font-weight: 600; }

.property_content_grid > .property_content_left,
.property_content_grid > .property_content_info,
.property_content_grid > .property_content_right { min-width: 0; }

.property_content_grid > .property_content_info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: var(--radius--default);
    background-color: var(--color-neutral--50);
    padding: 1.5rem;
    position: sticky;
    top: 5.5rem;
}

@media screen and (max-width: 991px) {
    .property_content_grid > .property_content_info { position: static; }
}

.dw-search input[type="search"],
.dw-search input[type="text"] {
    border: 0.0625rem solid var(--color-neutral--100);
    border-radius: var(--radius--button);
    background-color: var(--color-base--white);
    min-height: 3rem;
    margin-bottom: 0;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    flex: 1 1 14rem;
    min-width: 0;
}

.dw-pagination a,
.dw-pagination span,
.dw-pagination button {
    min-width: 2.5rem;
    height: 2.5rem;
    border: 0.0625rem solid var(--color-neutral--200);
    border-radius: var(--radius--button);
    background-color: var(--color-base--white);
    font: inherit;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
}

.dw-pagination a.is-active,
.dw-pagination span.is-active,
.dw-pagination button.is-active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--color-base--white);
}

.dw-pagination span[aria-disabled="true"],
.dw-pagination button[disabled] {
    opacity: 0.4;
    cursor: default;
}

.dw-spec-table,
.dw-prose table,
.text-rich-text table { max-width: 100%; }

.dw-side-card,
.property_content_info,
.dw-prose,
.text-rich-text { overflow-x: auto; }

.categories_card,
.home1_type_card,
.about_features_card { height: 100%; }

.dw-card-actions { margin-top: auto; }

@media screen and (max-width: 479px) {
    .heading-style-h1, h1 { font-size: 2rem; line-height: 1.15; }
    .heading-style-h2 { font-size: 1.75rem; }
    .heading-style-h3 { font-size: 1.5rem; }
    .nav-logo { max-height: 2.25rem; }
    .button-group { width: 100%; }
    .button-group .button { flex: 1 1 auto; text-align: center; }
}

.highlight_marquee,
.home1_metrics_card.is-black,
.contact1_hero_info,
.section_properties1_header,
.blog_content,
.dw-side-card.is-inverse,
.dw-static-band {
    color: var(--cerafilo-white);
}

.highlight_marquee a:not(.button):not(.w-button),
.home1_metrics_card.is-black a:not(.button):not(.w-button),
.contact1_hero_info a:not(.button):not(.w-button),
.section_properties1_header a:not(.button):not(.w-button),
.blog_content a:not(.button):not(.w-button),
.dw-side-card.is-inverse a:not(.button):not(.w-button),
.dw-static-band a:not(.button):not(.w-button) {
    color: inherit;
}

.highlight_marquee a:not(.button):not(.w-button):hover,
.home1_metrics_card.is-black a:not(.button):not(.w-button):hover,
.contact1_hero_info a:not(.button):not(.w-button):hover,
.section_properties1_header a:not(.button):not(.w-button):hover,
.blog_content a:not(.button):not(.w-button):hover,
.dw-side-card.is-inverse a:not(.button):not(.w-button):hover,
.dw-static-band a:not(.button):not(.w-button):hover {
    color: var(--cerafilo-accent);
}

.dw-pagination a:hover,
.dw-pagination button:hover:not([disabled]) {
    border-color: var(--cerafilo-accent);
    color: var(--cerafilo-accent);
}

.dw-breadcrumb a:hover { color: var(--cerafilo-accent); text-decoration: none; }

.categories_card:hover,
.home1_type_card:hover,
.about_features_card:hover {
    border-color: var(--cerafilo-accent);
}
