/* Theme-specific details stay behind content and follow the saved palette. */
#site-theme-root.theme-terranova #header::after{inset-inline:auto!important;left:var(--sp-logo-center,14%)!important;right:auto!important;top:100%!important;bottom:auto!important;transform:translateX(-50%);width:calc(var(--sp-logo-width,160px) * 1.12)!important;height:clamp(9px,1vw,15px);border-radius:0 0 65% 38%;margin-top:-1px}
#site-theme-root.theme-wave #header .logo::after{display:none!important}
#site-theme-root.theme-wave #header::after{display:block!important;content:"";position:absolute;inset:auto!important;left:var(--sp-logo-center,14%)!important;top:100%!important;transform:translateX(-50%);width:calc(var(--sp-logo-width,160px) * 1.18)!important;height:18px!important;background:var(--header-bg);border-radius:0 0 55% 55%;margin-top:-1px;pointer-events:none;z-index:0}
#site-theme-root.theme-forgeaxis #header .logo::after{width:clamp(38px,calc(var(--sp-logo-width,160px) * .32),68px);height:22px}
/* Orbitra: circular orbits enter the composition from alternating edges. */
#site-theme-root.theme-orbitra{--orbit-line:color-mix(in srgb,var(--site-text) 15%,var(--module-bg,var(--site-bg)));--orbit-soft:color-mix(in srgb,var(--site-text) 5%,transparent)}
#site-theme-root.theme-orbitra main .section{position:relative;isolation:isolate;overflow:clip;--orbit-line:color-mix(in srgb,currentColor 14%,transparent);--orbit-soft:color-mix(in srgb,currentColor 4%,transparent)}
#site-theme-root.theme-orbitra main .section>.container{position:relative;z-index:1}
#site-theme-root.theme-orbitra main .section::before,
#site-theme-root.theme-orbitra main .section::after{content:"";display:block;position:absolute;pointer-events:none;border-radius:50%;border:1px solid var(--orbit-line);box-sizing:border-box;z-index:0;inset:auto;transform:none;background:transparent;max-height:none;opacity:1}
#site-theme-root.theme-orbitra main .section::before{width:clamp(460px,59vw,920px);height:clamp(460px,59vw,920px);left:calc(clamp(460px,59vw,920px) * -.65);top:8%;box-shadow:0 0 0 22px var(--orbit-soft),0 0 0 23px var(--orbit-line),0 0 0 68px var(--orbit-soft),0 0 0 69px var(--orbit-line)}
#site-theme-root.theme-orbitra main .section::after{width:180px;height:180px;right:-116px;bottom:-34px;border-width:14px;border-color:color-mix(in srgb,var(--primary-dark) 12%,transparent)}
#site-theme-root.theme-orbitra main .section[data-orbit-phase="1"]::before{left:auto;right:calc(clamp(460px,59vw,920px) * -.65);top:12%}
#site-theme-root.theme-orbitra main .section[data-orbit-phase="1"]::after{right:auto;left:-116px}
#site-theme-root.theme-orbitra main .section[data-orbit-phase="2"]::before{width:114vw;height:114vw;left:-7vw;top:calc(100% - 30vw);box-shadow:0 0 0 32px var(--orbit-soft),0 0 0 33px var(--orbit-line),0 0 0 90px var(--orbit-soft),0 0 0 91px var(--orbit-line)}
#site-theme-root.theme-orbitra main .section[data-orbit-phase="2"]::after{display:none}
#site-theme-root.theme-orbitra #hero-slider::before{width:clamp(270px,44vw,660px);height:clamp(270px,44vw,660px);inset:auto -16% -70% auto;border:1px solid color-mix(in srgb,var(--primary-color) 42%,transparent);box-shadow:0 0 0 24px #ffffff03,0 0 0 25px color-mix(in srgb,var(--primary-color) 25%,transparent);transform:none;opacity:1}
#site-theme-root.theme-orbitra #hero-slider::after{display:none}
#site-theme-root.theme-orbitra .footer{position:relative;overflow:hidden;isolation:isolate}
#site-theme-root.theme-orbitra .footer::before{content:"";position:absolute;pointer-events:none;width:480px;height:480px;right:-250px;top:-120px;border:1px solid color-mix(in srgb,var(--footer-text) 15%,transparent);border-radius:50%;box-shadow:0 0 0 32px #ffffff03,0 0 0 33px color-mix(in srgb,var(--footer-text) 8%,transparent);z-index:0}
@media(max-width:600px){
 #site-theme-root.theme-orbitra main .section::before{width:360px;height:360px;left:-295px;top:12%;box-shadow:0 0 0 16px var(--orbit-soft),0 0 0 17px var(--orbit-line),0 0 0 40px var(--orbit-soft),0 0 0 41px var(--orbit-line)}
 #site-theme-root.theme-orbitra main .section[data-orbit-phase="1"]::before{left:auto;right:-295px}
 #site-theme-root.theme-orbitra main .section[data-orbit-phase="2"]::before{width:160vw;height:160vw;left:-30vw;top:calc(100% - 27vw)}
 #site-theme-root.theme-orbitra main .section::after{display:none}
 #site-theme-root.theme-orbitra #hero-slider::before{inset:auto -120px -200px auto;width:300px;height:300px;border-width:1px}
 #site-theme-root.theme-terranova #header::after,#site-theme-root.theme-wave #header::after{height:10px!important}
}

/* Hamburger and close lines use contrast against the rendered navigation surface. */
#site-theme-root #header .mobile-menu-btn{color:var(--sp-menu-ink,var(--header-text))!important;background-color:var(--sp-menu-surface,transparent)!important}
#site-theme-root #header .mobile-menu-btn span{background:currentColor!important}

/* Saved sidebar placement overrides individual themes, preserving the card grid inside the main column. */
html[dir="rtl"] #site-theme-root{--sp-copy-direction:rtl}
#site-theme-root[data-sidebar-position] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,28%)!important;gap:clamp(24px,3vw,44px)!important;align-items:start!important;direction:ltr;min-width:0}
#site-theme-root[data-sidebar-position] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section)>:not(style,script,link){min-width:0!important;width:auto!important;max-width:100%!important;float:none!important;direction:var(--sp-copy-direction,ltr);grid-column:1!important;grid-row:1}
#site-theme-root[data-sidebar-position] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section)>:is(.sidebar,.sidebar-section,div:has(> .sidebar,> .sidebar-section)){grid-column:2!important;grid-row:1!important;margin-top:0!important;align-self:start!important}
#site-theme-root[data-sidebar-position="left"] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section){grid-template-columns:minmax(240px,28%) minmax(0,1fr)!important}
#site-theme-root[data-sidebar-position="left"] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section)>:not(style,script,link){grid-column:2!important}
#site-theme-root[data-sidebar-position="left"] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section)>:is(.sidebar,.sidebar-section,div:has(> .sidebar,> .sidebar-section)){grid-column:1!important}
@media(max-width:900px){
#site-theme-root[data-sidebar-position] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section){grid-template-columns:minmax(0,1fr)!important}
#site-theme-root[data-sidebar-position] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section)>:not(style,script,link){grid-column:1!important;grid-row:auto}
#site-theme-root[data-sidebar-position] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section)>:is(.sidebar,.sidebar-section,div:has(> .sidebar,> .sidebar-section)){grid-column:1!important;grid-row:2!important}
}

#site-theme-root.theme-driveboard .sp-drive-form{grid-template-columns:minmax(0,1fr) auto!important}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-result{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;text-align:start}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-thumb{width:58px;height:58px;object-fit:cover}
@media(max-width:520px){#site-theme-root.theme-driveboard .sp-drive-form{grid-template-columns:minmax(0,1fr)!important}}


/* A hidden sidebar releases its column at every viewport size. */
#site-theme-root[data-sidebar-position="none"] .page-layout:has(> .sidebar,> .sidebar-section,> div > .sidebar,> div > .sidebar-section){grid-template-columns:minmax(0,1fr)!important}
#site-theme-root[data-sidebar-position="none"] .page-layout>:is(.sidebar,.sidebar-section,div:has(> .sidebar,> .sidebar-section)){display:none!important}
#site-theme-root[data-sidebar-position="none"] .page-layout>:not(style,script,link){grid-column:1!important;grid-row:auto!important}

/* Keep decorative off-canvas rings from creating horizontal scrolling, including RTL. */
html:has(#site-theme-root){overflow-x:clip}

#site-theme-root.theme-momentum .hero-slider::before{background:linear-gradient(110deg,color-mix(in srgb,var(--banner) 24%,transparent) 0 40%,color-mix(in srgb,var(--banner) 10%,transparent) 41% 62%,transparent 63%)}

/* Search cards use the same palette/contrast pair as other content cards. */
#site-theme-root.theme-driveboard .sp-drive-response{color:var(--header-text)}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-result{background:var(--site-bg)!important;color:var(--site-text)!important;border:1px solid color-mix(in srgb,var(--site-text) 15%,var(--site-bg));border-radius:9px;padding:14px;align-items:start}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-result:hover{box-shadow:inset 0 0 0 1px var(--primary-color);background:var(--site-bg)!important}
#site-theme-root.theme-driveboard .sp-drive-results :is(.ddqs-name,.ddqs-type,.ddqs-desc){color:var(--site-text)!important}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-type{opacity:.8;font-size:11px;letter-spacing:.025em}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-name{font-size:15px;line-height:1.35}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-desc{opacity:.82;font-size:13px;line-height:1.45}
#site-theme-root.theme-driveboard .sp-drive-results .ddqs-thumb{margin-top:3px}

/* Shared performance safeguards apply when any theme or palette is selected. */
#site-theme-root #whatsappBtn{animation:none!important}
#site-theme-root .mobile-menu-btn span,#site-theme-root .btn,#site-theme-root .cookie-consent{transition-property:transform,opacity!important}
.site-credit-name{font-size:14px;font-weight:700;line-height:1.2}
/* Navigation has one casing convention, independent of stored page titles. */
#site-theme-root :is(.nav-desktop,.nav-mobile) a,
#site-theme-root footer nav[aria-labelledby="footer-quick"] a{text-transform:uppercase!important}
.sp-ref-band:not(:has(a)){display:none!important}

/* Header geometry must settle immediately, never animate document flow. */

/* Footer artwork takes its palette from the footer, never from a page section. */
#site-theme-root .footer>.sp-theme-art{
 --primary-color:color-mix(in srgb,var(--footer) 64%,var(--footer-text));
 --primary-dark:color-mix(in srgb,var(--footer) 48%,var(--footer-text));
 --site-bg:var(--footer);--header-bg:var(--footer)
}
#site-theme-root .footer>.sp-theme-art :is(.fold-light,.fold-crease){color:var(--footer-text)}
#site-theme-root .footer>.sp-theme-art .fold-light{fill:currentColor}
#site-theme-root .footer>.sp-theme-art .fold-crease{stroke:currentColor}

/* These themes used the last .section as their footer edge. Keep one edge on
   the footer itself, so legal, detail, list and contact layouts all agree. */
#site-theme-root:is(.theme-ezlyn,.theme-palms,.theme-warner) .footer{
 --sp-footer-edge:48px;position:relative;overflow:visible;isolation:isolate;
 margin-top:var(--sp-footer-edge)!important
}
#site-theme-root.theme-palms .footer{--sp-footer-edge:40px}
#site-theme-root.theme-warner .footer{--sp-footer-edge:66px}
#site-theme-root:is(.theme-ezlyn,.theme-palms,.theme-warner) .footer[data-edge-joined]{margin-top:0!important}
#site-theme-root:is(.theme-ezlyn,.theme-palms,.theme-warner) .section[data-footer-edge-source]::after{content:none!important}
#site-theme-root:is(.theme-ezlyn,.theme-palms,.theme-warner) .footer::before{
 content:"";display:block!important;position:absolute;inset:calc(1px - var(--sp-footer-edge)) 0 auto;
 width:100%;height:var(--sp-footer-edge);background:var(--footer);opacity:1;
 border:0;border-radius:0;box-shadow:none;transform:none;clip-path:none;
 pointer-events:none;z-index:0
}
#site-theme-root.theme-ezlyn .footer::before{mask:url('/css/theme-art/brush.svg?v=afa118c7dc') center/100% 100% no-repeat}
#site-theme-root.theme-palms .footer::before{mask:url('/css/theme-art/palms-edge.svg?v=5eeb905294') center/100% 100% no-repeat}
#site-theme-root.theme-warner .footer::before{mask:none;clip-path:polygon(0 100%,100% 0,100% 100%)}
@media(max-width:600px){
 #site-theme-root:is(.theme-ezlyn,.theme-warner) .footer{--sp-footer-edge:30px}
 #site-theme-root.theme-palms .footer{--sp-footer-edge:26px}
}
#site-theme-root #header,#site-theme-root #header .header-content{transition-property:transform,opacity!important}

/* Pages without a cover still use the selected header color and contrast. */
#site-theme-root:not(:has(.hero-slider,.page-banner)) #header{background:var(--header-bg)!important;color:var(--header-text)!important}
#site-theme-root:not(:has(.hero-slider,.page-banner)) #header :is(.nav-link,.lang-toggle,.mobile-menu-btn,.ddqs-trigger){color:var(--header-text)!important}

/* Logo strips size to their actual rows; do not stack full-section padding.
   Also covers previously saved modules with embedded studio CSS. */
#site-theme-root section.sp-module[data-sp-style-type="logos"]{height:auto!important;min-height:0!important;margin-block:0!important;padding:0!important}
#site-theme-root section.sp-module[data-sp-style-type="logos"] .sp-logo-window{padding-block:clamp(6px,calc(var(--sp-logo-height,90px)*.1),12px)!important}
#site-theme-root .section.ozel-preview.sp-logos-only{height:auto!important;min-height:0!important;padding-block:12px!important}
#site-theme-root .sp-logos-only>.container,#site-theme-root .sp-logos-only .ozel-content{height:auto!important;min-height:0!important;padding-block:0!important;margin-block:0!important}
#site-theme-root .sp-logos-only .ozel-content>:not([data-sp-style-type="logos"],style):not(:has([data-sp-style-type="logos"])){display:none!important}
#site-theme-root .sp-logos-only .ozel-content{display:flow-root}

/* Shared brand actions use the selected accent and its calculated contrast. */
#site-theme-root .btn.btn-primary{background:var(--primary-color)!important;color:var(--primary-text,#111)!important}
#site-theme-root .btn.btn-primary:hover{background:var(--primary-dark)!important;color:var(--primary-dark-text,#fff)!important}

@media(max-width:500px){#site-theme-root .sp-module[data-sp-style-type=stats]>.sp-mod-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px;padding:0}#site-theme-root .sp-module[data-sp-style-type=stats] .sp-mod-card{padding:18px 8px}#site-theme-root .sp-module[data-sp-style-type=stats] p{font-size:14px;line-height:1.5}}

/* Contact is an inner-page surface, not an alternating home section. */
#site-theme-root .sp-contact-section{background:var(--site-bg)!important;color:var(--site-text)}

/* A content surface is a saved choice, never a frame imposed by the theme.
   Only template wrappers are reset; nested module/card paints remain independent. */
#site-theme-root#site-theme-root[data-content-surface] .sp-content-section{background:transparent!important}
#site-theme-root#site-theme-root[data-content-surface] .sp-content-container,
#site-theme-root#site-theme-root[data-content-surface] .sp-content-surface{
 background:var(--sp-content-bg,transparent)!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;
}
#site-theme-root#site-theme-root[data-content-surface] .sp-content-container>.page-layout,
#site-theme-root#site-theme-root[data-content-surface] .sp-content-container>.page-layout>:first-child,
#site-theme-root#site-theme-root[data-content-surface] .sp-content-container:not(:has(>.page-layout))>div:first-child,
#site-theme-root#site-theme-root[data-content-surface] .sp-content-container>.product-detail-layout>:first-child{
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;padding:0!important;
}
#site-theme-root#site-theme-root[data-content-surface] .sp-content-section .sp-contact-details,
#site-theme-root#site-theme-root[data-content-surface] .sp-content-section .contact-form-box{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#site-theme-root#site-theme-root[data-content-surface][data-content-surface="color"] .sp-content-container,
#site-theme-root#site-theme-root[data-content-surface][data-content-surface="color"] .sp-content-surface{
 --site-bg:var(--sp-content-bg);--card-bg:var(--sp-content-bg);--site-text:var(--sp-content-ink);--text-primary:var(--sp-content-ink);--text-secondary:var(--sp-content-ink);--heading-color:var(--sp-content-ink);
 color:var(--sp-content-ink);padding-block:24px;
}
#site-theme-root#site-theme-root[data-content-surface][data-content-surface="color"] .sp-content-surface{padding-inline:clamp(16px,3vw,32px)}
/* Transparent home sections keep their text on the site's existing canvas. */
#site-theme-root#site-theme-root[data-content-surface] #home-sections>section[style*="--module-bg:transparent"]{background:transparent!important;--module-ink:var(--site-text);color:var(--site-text)}

/* White form fields retain their own readable text on any chosen content color. */
#site-theme-root#site-theme-root .sp-content-section .contact-form-box>h2{color:var(--site-text)!important}
#site-theme-root#site-theme-root .sp-content-section .contact-form-box :is(input:not([type=checkbox],[type=radio],[type=hidden]),textarea,select){background:#fff!important;color:#182235!important}
#site-theme-root#site-theme-root .sp-content-section .contact-form-box :is(input,textarea)::placeholder{color:#616b7a!important;opacity:1}
