/*
Theme Name:   Epolac
Description:  Child theme for Flatsome
Template:     flatsome
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain:  epolac
*/

/*******************************
 ROOT
 *******************************/
:root {
  /* --- צבעים --- */
  --fs-color-primary: #f04820;
  --fs-color-secondary: #1a1a1a;
  --fs-color-sherwin: #0367b3;
  --fs-color-white: #ffffff;
  --fs-color-grey: #888888;
  --fs-color-border: #e5e5e5;
  --fs-color-border-light: #f3f3f3;
  --fs-color-border-alt: #696969;

  /* --- מסגרות --- */
  --fs-border-default: 1px solid var(--fs-color-border);
  --fs-border-alt: 1px solid var(--fs-color-border-alt);

  /* --- רדיוס פינות --- */
  --fs-radius-sm: 4px;
  --fs-radius-md: 10px;

  /* --- מעברים --- */
  --fs-transition: 0.2s ease;
}

/*******************************
 TYPOGRAPHY
 *******************************/

body, p {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: .6em;
}

h1 {
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: .1em;
}

h3 {
    font-size: 1.4rem;
    line-height: 1.4;
}

h4, h5, h6 {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #000;
}

@media (max-width: 767px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4, h5, h6 { font-size: 1.1rem; }
    p { font-size: 1.1rem; }
}

.hero-title {
    font-size: clamp(2rem, 4vw + 1rem, 4rem);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 1.2vw + 1rem, 1.625rem);
    line-height: 1.5;
    font-weight: 600;
    margin-top: 1.5rem;
}

blockquote {
    border-right: 2px solid var(--fs-color-primary);
    border-left: 0;
    margin: 0 0 1em;
    padding: 0 1em 0 1em;
}

.post-body-text ul {
    padding-right: 30px !important;
}

.post-body-text ul li {
    margin-bottom: 8px;
}

/*******************************
 HEADER
 *******************************/

.header-main .container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 850px) and (max-width: 1024px) {
    .header-main .show-for-medium {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .header-main .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 575px) {
    .header-main .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 850px) {
    .header-inner {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
    }

    .header-inner .logo,
    .header-inner .header-search {
        width: 180px;
        flex: 0 0 180px;
    }

    .logo-left .logo {
        margin-left: 0;
        margin-right: 0;
    }

    .header-inner .flex-grow {
        flex: 1 1 auto !important;
        display: flex;
        justify-content: center;
    }

    .header-nav-main.nav-left {
        margin: 0 auto;
        justify-content: center;
        width: 100%;
    }

    .header-inner .header-search > a {
        margin-left: 0;
        margin-right: auto;
    }

    #logo .header_logo.header-logo {
        display: none;
    }

    #logo .header-logo-dark {
        display: block;
    }

    .header-bg-color,
    .shade-top {
        transition: none !important;
    }

    .header-nav-main > li.menu-item-has-block > .nav-dropdown {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .header-wrapper:has(.header-nav-main > li.menu-item-has-block:hover .nav-dropdown),
    .header-wrapper:has(.header-nav-main > li.menu-item-has-block.current-dropdown .nav-dropdown) {
        .header-bg-color {
            background-color: var(--fs-color-white);
        }

        .shade-top {
            opacity: 0;
        }

        .header-main.nav-dark .header-nav-main > li > a.nav-top-link,
        .header-main.nav-dark .header-nav-main > li > a.nav-top-link i,
        .header-main.nav-dark .header-search-lightbox i,
        .header-main.nav-dark .header-actions,
        .header-main.nav-dark .header-actions > a,
        .nav-dropdown a,
        .nav-dropdown .text,
        .nav-dropdown p,
        .nav-dropdown h1,
        .nav-dropdown h2,
        .nav-dropdown h3,
        .nav-dropdown h4,
        .nav-dropdown h5,
        .nav-dropdown h6 {
            color: var(--fs-color-secondary) !important;
        }

        .nav-dropdown,
        .nav-dropdown .section {
            box-shadow: none !important;
            border: none !important;
        }

        #logo .header_logo.header-logo {
            display: block !important;
        }

        #logo .header-logo-dark {
            display: none !important;
        }
    }

    .header-nav-main > li.menu-item-has-block > a.nav-top-link i.icon-angle-down {
        display: none !important;
    }

    .header-nav-main.nav-spacing-xlarge > li {
        margin-left: 0;
        margin-right: 0;
    }

    .header-nav-main.nav-spacing-xlarge > li > a.nav-top-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .header-nav-main > li > a.nav-top-link {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        border-radius: var(--fs-radius-sm);
        transition: background-color .15s ease;
    }

    .header-nav-main > li:hover > a.nav-top-link {
        background-color: rgba(0, 0, 0, 0.075);
    }
}

.menu-image {
    border-radius: var(--fs-radius-sm);
    overflow: hidden;
}

.has-equal-box-heights .box-image img, .has-format img, .image-cover img, .video-fit iframe, .video-fit video, img.back-image {
    border-radius: var(--fs-radius-sm);
}

.header-bottom {
    display: none;
}

.header-wrapper.search-open .header-bottom {
    display: block !important;
}

#custom-header-search-bar {
    display: none;
    background-color: var(--fs-color-white);
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    overflow: visible !important;
}

.header-wrapper.custom-search-active #custom-header-search-bar,
#custom-header-search-bar.custom-search-active {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 80% !important;
}

#custom-header-search-bar .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: flex !important;
    justify-content: flex-start !important;
    overflow: visible !important;
}

#custom-header-search-bar input[type="search"] {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    color: #333333;
    text-align: right !important;
    direction: rtl !important;
    transition: border-color 0.2s ease !important;
}

#custom-header-search-bar input[type="search"]::placeholder {
    color: #888888;
}

#custom-header-search-bar input[type="search"]:focus {
    box-shadow: none !important;
    outline: none !important;
}

#custom-header-search-bar .ux-search-submit,
#custom-header-search-bar button[type="submit"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: var(--fs-color-primary) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transition: border-color 0.2s ease !important;
}

#custom-header-search-bar .searchform:focus-within input[type="search"],
#custom-header-search-bar .searchform:focus-within .ux-search-submit,
#custom-header-search-bar .searchform:focus-within button[type="submit"] {
    border-bottom-color: var(--fs-color-primary) !important;
}

#custom-header-search-bar .ux-search-submit i {
    color: var(--fs-color-primary) !important;
}

#custom-header-search-bar .searchform {
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 0 0 auto !important;
    border: none;
    box-shadow: none !important;
    position: relative !important;
    overflow: visible !important;
}

#custom-header-search-bar .searchform .flex-row {
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

#custom-header-search-bar .searchform .flex-row > .flex-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1024px) {
    .header-wrapper.custom-search-active #custom-header-search-bar,
    #custom-header-search-bar.custom-search-active {
        flex: 1 0 100% !important;
    }

    #custom-header-search-bar .searchform {
        width: 100% !important;
        max-width: 100% !important;
    }
}

#custom-header-search-bar .searchform .live-search-results,
#custom-header-search-bar .searchform .autocomplete-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    background: var(--fs-color-white) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    border: var(--fs-border-default) !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.header-wrapper.custom-search-active,
.header-wrapper.custom-search-active .header-bg-color,
.header-wrapper.custom-search-active .header-main,
.header-wrapper.custom-search-active .header-bottom {
    background-color: var(--fs-color-white) !important;
    box-shadow: none !important;
}

.header-wrapper.custom-search-active .shade-top {
    opacity: 0 !important;
}

.header-wrapper.custom-search-active #logo .header_logo.header-logo {
    display: block !important;
}

.header-wrapper.custom-search-active #logo .header-logo-dark {
    display: none !important;
}

.header-wrapper.custom-search-active .nav > li > a,
.header-wrapper.custom-search-active .header-nav i,
.header-wrapper.custom-search-active #custom-search-toggle,
.header-wrapper.custom-search-active .header-main.nav-dark .header-nav-main > li > a.nav-top-link {
    color: var(--fs-color-secondary) !important;
    stroke: var(--fs-color-secondary) !important;
}

.header-wrapper.custom-search-active #custom-search-toggle,
.header-wrapper.custom-search-active #custom-search-toggle i {
    color: var(--fs-color-primary) !important;
    stroke: var(--fs-color-primary) !important;
}

.header-bottom .flex-col,
.header-bottom .nav,
.header-bottom li.html_topbar_right,
#custom-header-search-bar {
    flex: 1 0 80% !important;
}

.header-bottom,
#wide-nav {
    display: none !important;
    background-color: var(--fs-color-white) !important;
}

.header-wrapper.custom-search-active .header-bottom,
.header-wrapper.custom-search-active #wide-nav {
    display: block !important;
}

.header-search-form .searchform .flex-row {
    align-items: flex-end !important;
}

.header-bottom .nav-center,
.header-bottom-nav.nav-center {
    justify-content: right;
}

.header-wrapper.custom-search-active,
.header-wrapper.custom-search-active .header-bg-color,
.header-wrapper.custom-search-active #masthead,
.header-wrapper.custom-search-active .header-bottom {
    background-color: var(--fs-color-white) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-wrapper.custom-search-active .shade-top {
    opacity: 0 !important;
}

.header-wrapper.custom-search-active #logo .header_logo.header-logo {
    display: block !important;
}

.header-wrapper.custom-search-active #logo .header-logo-dark {
    display: none !important;
}

.header-wrapper.custom-search-active .nav > li > a,
.header-wrapper.custom-search-active .header-nav i,
.header-wrapper.custom-search-active #custom-search-toggle,
.header-wrapper.custom-search-active .header-main.nav-dark .header-nav-main > li > a.nav-top-link {
    color: #333333 !important;
    stroke: #333333 !important;
}

.header-wrapper.custom-search-active #custom-search-toggle,
.header-wrapper.custom-search-active #custom-search-toggle i,
.header-wrapper.custom-search-active #custom-search-toggle svg {
    color: var(--fs-color-primary) !important;
    stroke: var(--fs-color-primary) !important;
}

.header-bottom .searchform {
    border: none !important;
    box-shadow: none !important;
}

.header-bottom .searchform input[type="search"] {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #333333 !important;
    text-align: right !important;
    direction: rtl !important;
}

.header-bottom .searchform input[type="search"]:focus {
    border-bottom-color: var(--fs-color-primary) !important;
    outline: none !important;
}

.header-bottom .searchform button[type="submit"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    color: var(--fs-color-primary) !important;
}

.header-bottom .searchform button[type="submit"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    color: var(--fs-color-primary) !important;
    transition: border-color 0.2s ease !important;
}

.header-bottom .searchform:focus-within input[type="search"],
.header-bottom .searchform:focus-within button[type="submit"],
.header-bottom .searchform button[type="submit"]:focus {
    border-bottom-color: var(--fs-color-primary) !important;
}

.col .live-search-results, .header .search-form .live-search-results, .header-block .live-search-results {
   background-color: hsla(0, 0%, 100%);
   box-shadow: none; 
   color: var(--fs-color-secondary);
   left: 0;
   position: inherit; 
   right: 0;
   text-align: right;
   top: 133%;
   width: 84%;
}

.header-bottom {
    border-bottom: none;
}

.header-bottom:has(.search-field:not(:placeholder-shown)) {
    border-bottom: 1px solid #878787;
}

.header-bottom:has(.autocomplete-suggestions:not(:empty)) {
    border-bottom: 1px solid #878787;
}

.header.show-on-scroll:not(.stuck), .header.transparent:not(.stuck) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.transparent .header-wrapper {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.about-image .image-cover img {
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 100% 0%;
}

.reveal-column:hover .text h4 span,
.menu-image:hover .text h4 span,
a:hover .text h4 span,
.text a:hover h4 span {
	color: var(--fs-color-primary) !important;
	transition: color 0.2s ease;
}

.sub-menu.nav-dropdown .section-content.relative {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.sub-menu.nav-dropdown .section-content > .row,
.sub-menu.nav-dropdown .section-content {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 1400px !important;
    float: none !important;
}

/*******************************
 HOME PAGE
 *******************************/

.video-hero-section {
    position: relative;
    width: 100%;
    min-height: 650px;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #000000;
}

.video-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 2;
}

.video-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 50px;
}

.video-hero-container {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.video-hero-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.32);
    margin-bottom: 20px;
    transform-origin: right;
    animation: vhRevealDivider 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes vhRevealDivider {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.video-hero-title-animated {
    color: var(--fs-color-white);
    margin: 0;
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    opacity: 0;
    transform-origin: left top;
    animation: vhDropTitle 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1.2s both;
}

.video-hero-dot {
    color: var(--fs-color-primary);
}

@keyframes vhDropTitle {
    0% {
        opacity: 0;
        transform: translateY(-25px) rotate(-1.5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.video-hero-btn-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.video-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--fs-color-white);
    color: #000000;
    text-decoration: none;
    border-radius: var(--fs-radius-sm);
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform-origin: right bottom;
    animation: vhRiseBtn 0.7s cubic-bezier(0.25, 1, 0.5, 1) 1.6s both;
}

.video-hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
    animation: vhArrowNudge 1.4s ease-in-out 2.4s 3;
}

.video-hero-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.video-hero-btn:hover {
    color: var(--fs-color-white);
    background-color: var(--fs-color-primary);
    opacity: 0.9;
}

.video-hero-btn:hover .video-hero-arrow {
    animation: none;
    transform: translateX(-5px);
}

@keyframes vhRiseBtn {
    0% {
        opacity: 0;
        transform: translateY(25px) rotate(1.5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes vhArrowNudge {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5px);
    }
}

@media (min-width: 850px) {
    .video-hero-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .video-hero-content {
        padding-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    .video-hero-section {
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 480px;
    }
    .video-hero-content {
        padding-bottom: 30px;
    }
}

@media (max-width: 567px) {
    .video-hero-section {
        height: auto;
        aspect-ratio: 16 / 10;
        min-height: 450px;
    }
}

.sub-heading {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--fs-color-secondary);
    line-height: 1;
    gap: 8px;
    margin-bottom: 5px;
    padding: 0;
}

.sub-heading::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--fs-color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.sub-heading-alt {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: var(--fs-color-white);
    line-height: 1;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.sub-heading-alt::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--fs-color-white);
    border-radius: 50%;
    flex-shrink: 0;
}

.heading-main {
    color: var(--fs-color-sherwin) !important;
    font-size: clamp(26px, 1.5vw + 1.25rem, 40px);
    line-height: 1.15;
    text-transform: uppercase;
}

.heading-main-alt {
    color: var(--fs-color-white) !important;
    font-size: clamp(26px, 1.5vw + 1.25rem, 40px);
    line-height: 1.15;
    text-transform: uppercase;
}

.main-description {
    font-size: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
    line-height: clamp(1.5rem, 0.5vw + 1.25rem, 1.875rem);
}

.home-cat-text {
    font-size: 1.5rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .home-cat-text {
        font-size: 1.3rem;
        line-height: 1.2;
    }
}

.banner-image {
    width: 400px !important;
}

.sherwin-col-3 > .col-inner {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%), url('http://epolac.s1231.upress.link/wp-content/uploads/2026/08/Protective-coating.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--fs-radius-md);
}

.sherwin-col-3 .row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.sherwin-col-3 .heading-main-alt {
    font-size: clamp(24px, 2.5vw, 40px) !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}

.sherwin-col-3 .main-description {
    font-size: clamp(17px, 1.1vw, 18px) !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
}

.sherwin-col-3 .sub-heading-alt {
    font-size: clamp(14px, 1.2vw, 16px) !important;
}

@media (max-width: 849px) {
    .sherwin-banner .sherwin-col .col-inner {
        text-align: center !important;
    }

    .sherwin-banner .sherwin-col-3 .col-inner {
        min-height: 350px;
        background-image: linear-gradient(to left, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%), url('http://epolac.s1231.upress.link/wp-content/uploads/2026/08/Protective-coating.webp') !important;
        background-position: top center !important;
    }

    .sherwin-banner .sub-heading {
        display: flex !important;
        justify-content: center !important;
    }

    .sherwin-banner .custom-primary-btn {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
    }
}

.dual-banner-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
    width: 100%;
    position: relative;
}

.dual-banner-card {
    grid-column: 1 / span 6;
    grid-row: 1;
    z-index: 2;
    position: relative;
    top: -30px;
    display: flex;
    flex-direction: column;
}

.dual-banner-card > .col-inner {
    background-color: var(--fs-color-white);
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 0.7s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.dual-banner-media {
    grid-column: 6 / span 7;
    grid-row: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.dual-banner-media > .col-inner {
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    overflow: hidden;
    background-color: var(--fs-color-white);
    height: 100%;
}

.dual-banner-video-box {
    width: 100%;
    height: 100%;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.dual-banner-video-box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.dual-banner-container:hover .dual-banner-video-box video {
    transform: scale(1.06);
}

.dual-banner-card:hover > .col-inner {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 849px) {
    .dual-banner-container {
        display: flex;
        flex-direction: column;
    }

    .dual-banner-media {
        width: 100%;
        order: 1;
        height: auto;
    }

    .dual-banner-media > .col-inner {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: none;
    }

    .dual-banner-card {
        width: 100%;
        order: 2;
        top: 0;
    }

    .dual-banner-card > .col-inner {
        padding: 25px 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

.image-banner-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
    width: 100%;
    position: relative;
}

.image-banner-card {
    grid-column: 1 / span 6;
    grid-row: 1;
    z-index: 2;
    position: relative;
    top: -30px;
    display: flex;
    flex-direction: column;
}

.image-banner-card > .col-inner {
    background-color: var(--fs-color-white);
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 0.7s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-banner-media {
    grid-column: 6 / span 7;
    grid-row: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.image-banner-media > .col-inner {
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    overflow: hidden;
    background-color: var(--fs-color-white);
    height: 450px;
}

.image-banner-box {
    width: 100%;
    height: 100%;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.image-banner-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-banner-container:hover .image-banner-box img {
    transform: scale(1.06);
}

.image-banner-card:hover > .col-inner {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 849px) {
    .image-banner-container {
        display: flex;
        flex-direction: column;
    }

    .image-banner-media {
        width: 100%;
        order: 1;
        height: auto;
    }

    .image-banner-media > .col-inner {
        height: 250px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: none;
    }

    .image-banner-card {
        width: 100%;
        order: 2;
        top: 0;
    }

    .image-banner-card > .col-inner {
        padding: 25px 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

.image-banner-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
    width: 100%;
    position: relative;
}

.image-banner-card {
    grid-column: 1 / span 6;
    grid-row: 1;
    z-index: 2;
    position: relative;
    top: -30px;
    display: flex;
    flex-direction: column;
}

.image-banner-card > .col-inner {
    background-color: var(--fs-color-white);
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 0.7s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-banner-media {
    grid-column: 6 / span 7;
    grid-row: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.image-banner-media > .col-inner {
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    overflow: hidden;
    background-color: var(--fs-color-white);
    height: 450px;
}

.image-banner-box {
    width: 100%;
    height: 100%;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.image-banner-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-banner-container:hover .image-banner-box img {
    transform: scale(1.06);
}

.image-banner-card:hover > .col-inner {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 849px) {
    .image-banner-container {
        display: flex;
        flex-direction: column;
    }

    .image-banner-media {
        width: 100%;
        order: 1;
        height: auto;
    }

    .image-banner-media > .col-inner {
        height: 250px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: none;
    }

    .image-banner-card {
        width: 100%;
        order: 2;
        top: 0;
    }

    .image-banner-card > .col-inner {
        padding: 25px 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}
/*******************************
 FOOTER
 *******************************/

.footer-accordion-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: var(--fs-color-white);
    width: 100%;
    direction: rtl;
    text-align: right;
}

.footer-col {
    flex: 1;
}

.footer-col-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 18px;
}

.footer-col h4 {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: var(--fs-color-white);
    margin: 0;
    line-height: 1.2;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background-color: var(--fs-color-primary);
}

.accordion-arrow {
    display: none;
    transition: transform 0.3s ease;
    line-height: 1;
}

.accordion-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 0 6px 0 !important;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--fs-transition), font-weight 0.2s ease;
    display: inline-block;
    padding-bottom: 4px;
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--fs-color-white);
    font-weight: bold;
    text-decoration: underline !important;
    text-decoration-style: dashed !important;
    text-underline-offset: 6px !important;
}

@media screen and (max-width: 768px) {
    .footer-divider-col {
        display: none !important;
    }
    .footer-accordion-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);;
    }

    .footer-col-header {
        padding: 12px 0 12px 0 !important;
        cursor: pointer;
        align-items: baseline;
    }

    .footer-col h4 {
        padding-bottom: 0;
    }

    .footer-col h4::after {
        display: none;
    }

    .accordion-arrow {
        display: inline-flex;
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .footer-col.active .footer-links {
        max-height: 250px;
        padding-bottom: 10px;
    }

    .footer-col.active .accordion-arrow {
        transform: rotate(180deg);
    }
}

.footer-col-header p,
.accordion-arrow {
    margin-bottom: 0 !important;
}

.footer-legal-links {
    display: flex;
    gap: 12px;
    direction: ltr;
}

.footer-legal-links a {
    color: var(--fs-color-white);
    text-decoration: none;
    transition: font-weight 0.2s ease;
    display: inline-block;
}

.footer-legal-links a:hover {
    font-weight: bold;
    text-decoration: underline !important;
    text-decoration-style: dashed !important;
    text-underline-offset: 6px !important;
}

@media screen and (max-width: 768px) {
    .footer-legal-links {
        gap: 10px;
        flex-wrap: wrap;
        direction: rtl;
    }
}

.footer-divider-col,
.footer-divider-col .col-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-legal-row,
.footer-legal-row .col,
.footer-legal-row .col-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-legal-row p,
.footer-legal-links a {
    font-size: 14px !important;
}

.absolute-footer {
    display: none;
}

/*******************************
 BUTTON ELEMENTS
 *******************************/

.dark-button {
    border: 2px solid var(--fs-color-white);
}

.icon-angle-right:before {
    content: "" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-top: -4px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M19 12H5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 19L5 12L12 5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M19 12H5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 19L5 12L12 5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

.icon-angle-left:before {
    content: "" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-top: -4px;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M5 12H19" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 5L19 12L12 19" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M5 12H19" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 5L19 12L12 19" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

/*******************************
 SEARCH
 *******************************/

#search-lightbox {
    font-size: 1.5em;
    margin: 0 auto;
    max-width: 800px;
}

#search-lightbox .is-large {
    font-size: 22px;
}


/*******************************
 PRODUCT PAGE
 *******************************/

.des-stack {
    background: var(--fs-color-white);
    border: var(--fs-border-default);
    padding: 18px 22px;
    border-radius: var(--fs-radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    color: #333;
    line-height: 1.6;
    max-width: none;
    margin: 20px 0;
}

.des-stack .product-short-description {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
    line-height: inherit !important;
    max-width: none !important;
    margin: 0 !important;
}

.des-stack .product-short-description p {
    margin: 0 0 10px 0;
}

.des-stack .product-short-description p:last-child {
    margin-bottom: 0;
}

.des-stack .pp-download-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    height: auto !important;
    margin-top: 10px !important;
}

.des-stack .pp-btn-text {
    color: var(--fs-color-secondary) !important;
    text-decoration: underline !important;
    text-decoration-style: dashed !important;
    text-underline-offset: 4px !important;
    line-height: 1 !important;
}

.des-stack .pp-btn-icon {
    font-size: 16px !important;
    color: var(--fs-color-primary) !important;
    line-height: 1 !important;
}

.custom-product-page .woocommerce-product-gallery .flickity-slider .woocommerce-product-gallery__image,
.custom-product-page .woocommerce-product-gallery .flickity-slider .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .flickity-slider .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .flickity-slider .woocommerce-product-gallery__image img {
    border-radius: var(--fs-radius-md) !important;
    border: var(--fs-border-default) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.related-products-wrapper,
.related.product-section {
    border-top: none !important;
}

.related-products-wrapper .flickity-viewport {
    overflow: visible !important;
}

.related-products-wrapper .slider {
    padding-top: 8px;
    padding-bottom: 8px;
}

.product-section-title-related {
    color: var(--fs-color-secondary) !important;
}

@media (min-width: 1050px) {
    .custom-product-page h1 {
        font-size: 4rem !important;
        line-height: 1.1;
        padding-top: 8px;
    }
}

@media (max-width: 650px) {
    .custom-product-page h1 {
        font-size: 2.8rem !important;
        line-height: 1.1;
        padding-top: 5px;
    }
}

.related-products-custom-section {
    margin: 40px 0;
    direction: rtl;
}

.related-products-custom-section .products.row {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.related-products-custom-section .products.row > .col {
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-bottom: 16px !important;
}

.related-products-custom-section .product-small .col-inner {
    padding: 0px !important;
}

.related-products-custom-section .product-small .box-text-products {
    padding: 10px 12px !important;
}

.related-products-custom-section .product-small .title-wrapper {
    margin-bottom: 4px !important;
}

.related-products-custom-section .product-small .product-title {
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
}

.related-products-custom-section .product-small .custom-box-excerpt {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-custom-related-title {
    margin-bottom: 20px;
    color: var(--fs-color-secondary);
}

.related-products-scroll-wrapper {
    position: relative;
}

.related-custom-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-top: -12px !important;
    margin-bottom: -12px !important;
}

.related-custom-row::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1024px) {
    .related-custom-row {
        scroll-snap-type: x mandatory;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        gap: 10px;
    }

    .related-custom-row .product-small.col {
        display: flex !important;
        flex-direction: column !important;
        scroll-snap-align: start;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex: 0 0 calc((100% - 20px) / 3) !important;
        max-width: calc((100% - 20px) / 3) !important;
    }

    .related-custom-row .col-inner,
    .related-custom-row .product-small.box {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100%;
    }

    .related-custom-row .box-image {
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    .related-custom-row .box-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .related-custom-row .box-text {
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        justify-content: space-between !important;
        height: auto !important;
    }

    .related-custom-row .product-title {
        height: auto !important;
    }

    .related-custom-row .title-wrapper {
        flex-grow: 1;
    }
}

@media (max-width: 600px) {
    .related-custom-row {
        gap: 0px;
    }

    .related-custom-row .product-small.col {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
    }
}

.related-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
    border: none;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.related-scroll-arrow svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    fill: none !important;
    stroke: var(--fs-color-white) !important;
}

.related-scroll-arrow svg path {
    stroke: var(--fs-color-white) !important;
    stroke-width: 2.5 !important;
}

.related-scroll-arrow:hover {
    background-color: var(--fs-color-secondary);
    color: var(--fs-color-white);
}

.related-scroll-arrow.related-prev-arrow { 
    right: 10px; 
}

.related-scroll-arrow.related-next-arrow { 
    left: 0px; 
}

@media (min-width: 1025px) {
    .related-scroll-arrow {
        display: none !important;
    }
}

.layers-con {
    background-color: var(--fs-color-white);
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}

.custom-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.custom-buttons-container > a.engineer-button,
.custom-buttons-container > .quote-btn-wrapper {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    box-sizing: border-box;
}

.custom-buttons-container > a.engineer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0 !important;
    text-align: center;
    border-radius: var(--fs-radius-sm) !important;
}

.custom-buttons-container > a.engineer-button::before {
    content: '\f095' !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    color: var(--fs-color-white) !important;
    line-height: 1 !important;
}

.custom-buttons-container .quote-btn-wrapper .epolac-raq-btn-wrapper,
.custom-buttons-container .quote-btn-wrapper button.epolac-raq-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    border-radius: var(--fs-radius-sm) !important;
}

@media (max-width: 1200px) {
    .custom-buttons-container > a.engineer-button,
    .custom-buttons-container > .quote-btn-wrapper {
        flex: 1 1 100%;
    }
}

/*******************************
 PRODUCT CATALOG
 *******************************/

@media screen and (max-width: 1023px) {
    body .category-page-row .hide-for-medium {
        display: none !important;
    }

    body .show-for-medium {
        display: block !important;
    }

    body .category-page-row > .col.large-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body .category-page-row .products.row > .col {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

@media screen and (max-width: 767px) {
    body .category-page-row .products.row > .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media screen and (min-width: 1024px) {
    body .category-page-row .hide-for-medium {
        display: block !important;
    }

    body .show-for-medium {
        display: none !important;
    }

    body .category-page-row > .col.large-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }

    body .category-page-row > .col.large-9 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
        width: 75% !important;
    }

    body .category-page-row .products.row > .col {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

.shop-page-title.featured-title {
    background-color: transparent !important;
}

.category-page-row {
    padding-top: 30px;
}

.woocommerce-breadcrumb.breadcrumbs {
    text-transform: none !important;
}

.product-small.box {
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    background-color: var(--fs-color-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.product-small.box:hover {
    border-color: var(--fs-color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.product-small.box .box-text-products {
    padding: 12px;
}

.product-small.box .add-to-cart-button a {
    border-radius: var(--fs-radius-sm);
    font-weight: 700;
}

.product-small.box .product-title {
    font-weight: 700;
}

.product-small:hover .product-title a {
    color: var(--fs-color-primary);
}

.product-small .product-title {
    height: auto !important;
}

.product-small .box-text {
    display: flex;
    flex-direction: column;
}

.product-small .custom-box-excerpt {
    font-size: 0.95em;
    font-weight: normal !important;
    line-height: 1.4;
    margin-top: 0;
}

.product-small .custom-box-excerpt * {
    font-weight: normal !important;
    font-size: inherit !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .post-type-archive-product) .shop-page-title .flex-row {
    align-items: flex-end;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .post-type-archive-product) .shop-page-title .category-filter-row {
    padding-top: 20px;
}

@media (max-width: 849px) {
    :is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .post-type-archive-product, .tax-pwb-brand, .tax-product_brand) .shop-page-title .medium-text-center {
        text-align: right !important;
    }
}

@media (max-width: 549px) {
    .row.custom-prod.row-small > .col {
        padding: 0 5px 19.6px !important;
    }

    .woocommerce-page .products.row-small > .col,
    .archive.woocommerce-page .row-small > .col {
        padding: 0 6.5px 19.6px !important;
    }
}

@media (min-width: 849px) {
    .epolac-af-wrapper {
        background-color: var(--fs-color-white);
        border: var(--fs-border-default);
        border-radius: var(--fs-radius-md);
        padding: 15px;
    }
}

.custom-cat-header-box {
  background: var(--fs-color-white);
  border: var(--fs-border-default);
  border-radius: var(--fs-radius-md);
  padding: 24px 12px;
  text-align: right;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
  .custom-cat-header-box {
    padding: 16px 12px;
    margin-bottom: 20px;
  }
}

.custom-cat-header-box .button,
.custom-cat-header-box button,
.custom-cat-header-box fieldset,
.custom-cat-header-box input,
.custom-cat-header-box select,
.custom-cat-header-box textarea {
  margin-bottom: 0;
}

.cat-header-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fs-color-primary);
}

.cat-short-desc {
  font-weight: 600;
  margin-bottom: 4px;
}

.cat-short-desc p {
  margin-bottom: 0 !important;
}

.cat-full-desc-wrapper {
  line-height: 1.5;
}

.cat-full-desc-first p:first-child {
  margin-top: 0 !important;
}

.cat-full-desc-first p:last-child {
  margin-bottom: 0;
}

.cat-full-desc-rest {
  margin-top: 10px;
}

.custom-cat-header-box ul {
  padding-right: 20px !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
  list-style-type: disc !important;
}

.custom-cat-header-box li {
  margin-bottom: 6px;
}

.cat-desc-toggle-btn {
  background: none !important;
  border: none !important;
  color: var(--fs-color-primary);
  font-weight: 700;
  padding: 0 !important;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none !important;
  outline: none;
}

.cat-desc-toggle-btn .btn-text-more,
.cat-desc-toggle-btn .btn-text-less {
  color: var(--fs-color-primary);
  text-decoration: underline !important;
  text-decoration-style: dashed !important;
  text-underline-offset: 6px !important;
}

.cat-desc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.cat-desc-toggle-btn.is-expanded .cat-desc-arrow {
  transform: rotate(90deg);
}

.cat-desc-toggle-btn:hover {
  opacity: 0.8;
}

.category-links-wrapper {
    margin-top: 15px;
    padding-top: 10px;
    border-top: var(--fs-border-default);
}

.simple-category-links {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.simple-category-links li {
    flex: 0 0 auto;
}

.simple-category-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--fs-color-border-light);
    color: var(--fs-color-secondary);
    text-decoration: none;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 600;
    border: var(--fs-border-alt);
    white-space: nowrap;
    transition: background-color var(--fs-transition), color var(--fs-transition), border-color var(--fs-transition);
}

.simple-category-links li a:hover,
.simple-category-links li a.active {
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
    border-color: var(--fs-color-primary);
}

.simple-category-links .cat-icon-fa,
.simple-category-links .cat-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/*******************************
 FORMS
 *******************************/

.cf7-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.cf7-inline-form .cf7-field-group {
    flex: 1 1 200px;
    margin: 0;
}

.cf7-inline-form .cf7-submit-group {
    flex: 0 0 auto;
    margin: 0;
}

.cf7-inline-form input[type="text"],
.cf7-inline-form input[type="tel"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    background-color: var(--fs-color-white);
    font-size: 20px;
    font-weight: 600;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cf7-inline-form input[type="text"]:focus,
.cf7-inline-form input[type="tel"]:focus {
    border-color: var(--fs-color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 72, 32, 0.15);
}

.cf7-inline-form input[type="submit"] {
    height: 48px;
    padding: 0 28px;
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
    border: none;
    border-radius: var(--fs-radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
}

.cf7-inline-form input[type="submit"]:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .cf7-inline-form {
        flex-direction: column;
        align-items: stretch;
    }

    .cf7-inline-form .cf7-field-group,
    .cf7-inline-form .cf7-submit-group {
        width: 100%;
        flex: 1 1 100%;
    }
}

.cf7-inline-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7 .cf7-inline-form .wpcf7-spinner {
    margin: 0;
    position: absolute;
}

.cf7-inline-form input[type="tel"],
.cf7-inline-form input[type="tel"]::placeholder {
    text-align: right !important;
    direction: rtl !important;
}

.cta-banner {
    border-radius: var(--fs-radius-md) !important;
    overflow: hidden !important;
}


/*******************************
 CONTACT PAGE
 *******************************/

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .contact-section .row > .col.large-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .contact-section .row-small > .col.medium-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .contact-section .row-small > .col.medium-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media screen and (max-width: 767px) {
    .contact-section .col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .contact-section .epform-row-flex {
        flex-direction: column !important;
    }

    .contact-section .epform-row-flex .epform-col {
        width: 100% !important;
    }
}

@media screen and (min-width: 1024px) {
    .contact-section .row > .col.large-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }

    .contact-section .row-small > .col.large-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .contact-section .row-small > .col.large-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

.icon-box.whatsapp .icon-box-img {
    margin-left: 15px;
}

.wa-chat-box,
.email-box,
.phone-box,
.address-box,
.hours-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.wa-chat-content,
.email-content,
.phone-content,
.address-content,
.hours-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* עמוד תוצאות חיפוש - כותרות ותיבת "עמודים שנמצאו" */
.uppercase.epolac-search-heading {
    color: var(--fs-color-secondary) !important;
}

.epolac-search-pages .row {
    justify-content: flex-start;
}

.epolac-search-pages .page-box {
    background-color: var(--fs-color-white);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

.epolac-search-pages .page-box:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.epolac-search-pages .box-text {
    background-color: var(--fs-color-white) !important;
    padding: 16px 20px !important;
}

.epolac-search-pages .box-text-inner p {
    margin: 0;
    font-size: 1.1rem;
}

/* ============================================
   עמוד תוכן - קטגוריית פרויקטים (Case Studies)
   ============================================ */
.epolac-project-lead {
    font-size: 1.08rem;
    color: var(--fs-color-secondary);
}

.epolac-project-meta {
    background-color: var(--fs-color-border-light);
    border: var(--fs-border-default);
    border-radius: var(--fs-radius-md);
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 0.98rem;
}

.epolac-project-meta strong {
    color: var(--fs-color-primary);
}

.epolac-project-card {
    background-color: var(--fs-color-border-light);
    border-inline-start: 4px solid var(--fs-color-primary);
    border-radius: var(--fs-radius-sm);
    padding: 20px 24px;
    margin: 18px 0 26px;
}

.epolac-project-card h3 {
    margin-top: 0 !important;
}

.epolac-project-tag {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fs-color-white);
    background-color: var(--fs-color-primary);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.epolac-project-divider {
    border: none;
    border-top: var(--fs-border-default);
    margin: 44px 0;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
}

.wa-chat-content h4,
.email-content h4,
.phone-content h4,
.address-content h4,
.hours-content h4 {
    font-size: 1.1em;
}

.wa-chat-content p,
.email-content p,
.phone-content p,
.address-content p,
.hours-content p {
    font-size: 0.95em;
    line-height: 1.2;
}

.wa-chat-icon,
.email-icon,
.phone-icon,
.address-icon,
.hours-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-chat-icon {
    background-color: #25D366;
}

.email-icon,
.phone-icon,
.address-icon,
.hours-icon {
    background-color: #f9f9f9;
    border: var(--fs-border-default);
}

.email-icon svg,
.phone-icon svg,
.address-icon svg,
.hours-icon svg {
    stroke: var(--fs-color-secondary);
}

.wa-chat-box .button,
.email-box .button,
.phone-box .button,
.wa-chat-box p:last-child,
.email-box p:last-child,
.phone-box p:last-child,
.address-box p:last-child,
.hours-box p:last-child {
    margin-bottom: 0;
}

.whatsapp-col > .col-inner,
.email-col > .col-inner,
.phone-col > .col-inner,
.address-col > .col-inner,
.hours-col > .col-inner {
    padding: 20px;
    border-radius: var(--fs-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-col > .col-inner,
.phone-col > .col-inner,
.address-col > .col-inner,
.hours-col > .col-inner {
    background-color: #f9f9f9;
}

.whatsapp-col > .col-inner:hover,
.email-col > .col-inner:hover,
.phone-col > .col-inner:hover,
.address-col > .col-inner:hover,
.hours-col > .col-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.address-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--fs-color-primary);
    font-weight: bold;
    font-size: 0.85em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.address-link .arrow-icon {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.address-link:hover .arrow-icon {
    transform: translateX(-4px);
}

@media (max-width: 549px) {
    .wa-chat-box,
    .email-box,
    .phone-box,
    .address-box,
    .hours-box {
        gap: 10px;
    }

    .wa-chat-icon,
    .email-icon,
    .phone-icon,
    .address-icon,
    .hours-icon {
        width: 40px;
        height: 40px;
    }

    .wa-chat-icon svg,
    .email-icon svg,
    .phone-icon svg,
    .address-icon svg,
    .hours-icon svg {
        width: 20px;
        height: 20px;
    }

    .wa-chat-content h4,
    .email-content h4,
    .phone-content h4,
    .address-content h4,
    .hours-content h4 {
        font-size: 0.95em;
    }

    .wa-chat-content p,
    .email-content p,
    .phone-content p,
    .address-content p,
    .hours-content p {
        font-size: 0.85em;
        line-height: 1.2;
    }

    .whatsapp-col > .col-inner,
    .email-col > .col-inner,
    .phone-col > .col-inner,
    .address-col > .col-inner,
    .hours-col > .col-inner {
        padding: 15px;
    }
}

.email-box .button {
    text-transform: lowercase !important;
}

.epform-container {
    direction: rtl;
    text-align: right;
}

.epform-container .epform-row {
    margin-bottom: 5px;
}

.epform-container .epform-row-flex {
    display: flex;
    gap: 20px;
}

.epform-container .epform-col {
    flex: 1;
    min-width: 0;
}

.epform-container .epform-col-full {
    width: 100%;
}

.epform-container .epform-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
}

.epform-container input[type="text"],
.epform-container input[type="email"],
.epform-container input[type="tel"],
.epform-container textarea,
.epform-container .wpcf7-form-control-wrap {
    width: 100% !important;
    display: block;
    box-sizing: border-box;
    text-align: right;
    border-radius: var(--fs-radius-sm);
}

.epform-container .epform-acceptance-row {
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.epform-container .epform-acceptance-row .wpcf7-list-item {
    margin: 0;
}

.epform-container a.epform-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    transition: border-color 0.2s ease;
}

.epform-container a.epform-link:hover {
    border-bottom-style: solid;
}

.epform-container .epform-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
    border: none;
    border-radius: var(--fs-radius-sm);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.epform-container .epform-submit-btn:hover {
    opacity: 0.9;
}

.epform-container .epform-submit-btn svg {
    transform: rotate(-95deg);
    transition: transform 0.2s ease;
}

.epform-container .epform-submit-btn:hover svg {
    transform: rotate(-95deg);
}

@media (max-width: 768px) {
    .epform-container .epform-row-flex {
        flex-direction: column;
        gap: 15px;
    }
}

.epform-container .epform-submit-btn:disabled,
.epform-container .epform-submit-btn[disabled] {
    opacity: 1;
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
}

.epform-container .epform-acceptance-row .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.epform-container .epform-acceptance-row input[type="checkbox"] {
    margin-top: 6px;
    flex-shrink: 0;
}

.wpcf7-list-item-label {
    font-size: 14px;
}

.form-col > .col-inner {
    padding: 20px;
    border-radius: var(--fs-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-col > .col-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/*******************************
 BUTTONS
 *******************************/

.custom-primary-btn {
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
    padding: 10px 14px;
    border-radius: var(--fs-radius-sm);
    font-size: 1em;
    font-weight: 600;
    letter-spacing: .03em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.custom-primary-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.custom-primary-btn:hover::after {
    opacity: 1;
}

.custom-primary-btn:hover {
    color: var(--fs-color-white);
}

.custom-primary-btn,
.col-inner > p:last-child {
    margin-bottom: 0;
}

.custom-secondary-btn {
    background-color: var(--fs-color-secondary);
    color: var(--fs-color-white);
    padding: 10px 14px;
    border-radius: var(--fs-radius-sm);
    font-size: 1em;
    font-weight: 600;
    letter-spacing: .03em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.custom-secondary-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.custom-secondary-btn:hover::after {
    opacity: 1;
}

.custom-secondary-btn:hover {
    color: var(--fs-color-white);
}

.custom-secondary-btn:hover .custom-primary-arrow {
    transform: translateX(-3px);
}

.custom-alt-btn {
    background-color: var(--fs-color-white);
    color: var(--fs-color-secondary) !important;
    padding: 10px 14px;
    border-radius: var(--fs-radius-sm);
    font-size: 1em;
    font-weight: 600;
    letter-spacing: .03em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.2s ease, transform 0.2s ease;
}

.custom-alt-btn:hover {
    color: var(--fs-color-primary) !important;
}

.custom-primary-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.custom-primary-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.custom-primary-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.custom-primary-btn:hover .custom-primary-arrow,
.custom-alt-btn:hover .custom-primary-arrow {
    transform: translateX(-3px);
}

.dash-btn {
    text-decoration: underline !important;
    text-decoration-style: dashed !important;
    text-underline-offset: 4px !important;
    line-height: 1 !important;
}

/* קבוצת פעולות בהדר: בקשת הצעת מחיר | חיפוש
   בדסקטופ הקבוצה בצד ימין, ולכן החיפוש הקיצוני לימין. במובייל היא בצד שמאל והחיפוש קיצוני לשמאל. */
.header-actions {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 14px;
    vertical-align: middle;
}

/* רוחב הכפתור = רוחב האייקון, כדי שהאייקון הקיצוני ייצמד לקצה המיכל. הגובה נשאר נוח ללחיצה. */
.header-actions > a,
.header-actions > a.nav-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0;
    color: inherit;
}

.header-actions > a svg {
    display: block;
    width: 20px;
    height: 20px;
}

.header-actions__divider {
    flex-shrink: 0;
    width: 1px;
    height: 22px;
    background-color: currentColor;
    opacity: 0.2;
}

.header-actions .epolac-raq-header-btn .epolac-raq-count {
    top: 2px;
    inset-inline-end: -8px;
}

@media (max-width: 849px) {
    .header-actions {
        flex-direction: row;
        gap: 10px;
    }

    .header-actions > a,
    .header-actions > a.nav-top-link {
        height: 34px;
    }

    .header-actions > a svg {
        width: 20px;
        height: 20px;
    }

    .header-actions__divider {
        height: 18px;
    }

    .header-actions .epolac-raq-header-btn .epolac-raq-count {
        top: 1px;
        inset-inline-end: -7px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 16px;
    }
}

/*******************************
 SHERWIN-WILLIAMS BRAND PAGE (/sherwin-williams/)
 *******************************/

.swp-section,
.swp-section .section-content > .row,
.swp-section .col,
.swp-section .col-inner {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.swp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--fs-color-white);
    border: 1px solid #e3e8ed;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    color: var(--fs-color-secondary);
}

.swp-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--fs-color-primary);
    flex-shrink: 0;
}

.swp-p {
    margin: 0 !important;
}

.swp-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.swp-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--fs-radius-sm);
    font-weight: 600;
    font-size: 16px;
    color: var(--fs-color-white) !important;
    background-color: var(--fs-color-secondary);
    transition: opacity var(--fs-transition);
}

.swp-btn:hover {
    opacity: 0.88;
}

.swp-btn--blue {
    background-color: var(--fs-color-sherwin);
}

.swp-btn--orange {
    background-color: var(--fs-color-primary);
    font-weight: 700;
}

/* חץ אחרי הטקסט – אותו custom-primary-arrow של כפתורי דף הבית */
.swp-btn--arrow {
    gap: 8px;
}

.swp-btn--arrow:hover .custom-primary-arrow {
    transform: translateX(-3px);
}

/* --- Hero --- */
/* ההירו + ניווט הקטגוריות חייבים להיכנס במסך הפתיחה, ולכן הגדלים תלויים גם בגובה המסך (vh) */
/* תמונה ← פס שכבות ← ניווט קטגוריות: שלושה חלקים צמודים ברוחב מלא שממלאים יחד את מסך הפתיחה.
   העמוד בתבנית הדר שקוף: --swp-header-h נמדד ב-JS (theme-scripts.js) כדי שהטקסט ירד מתחת להדר */
.swp-hero,
.swp-layers,
.swp-catnav {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.swp-hero {
    --swp-layers-h: clamp(54px, 10vh, 100px);
    --swp-catnav-h: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(360px, 58svh, 580px);
    padding: calc(var(--swp-header-h, 135px) + 2vh) max(20px, calc(50vw - 610px)) clamp(24px, 4vh, 48px);
    overflow: hidden;
    background: #dfe7ee;
    box-sizing: border-box;
}

/* הכהיה בראש התמונה, כדי שהטקסט הלבן של ההדר השקוף יהיה קריא */
.swp-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: calc(var(--swp-header-h, 135px) + 48px);
    background: linear-gradient(to bottom, rgba(10, 20, 30, 0.55), rgba(10, 20, 30, 0));
    z-index: 1;
}

.swp-hero__bg {
    position: absolute;
    inset: 0;
}

.swp-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* שכבה בהירה מצד הטקסט (ימין), כדי שהעובד בתמונה יישאר גלוי משמאל */
.swp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(244, 246, 248, 0.97) 0%, rgba(244, 246, 248, 0.9) 40%, rgba(244, 246, 248, 0.35) 72%, rgba(244, 246, 248, 0) 100%);
}

.swp-hero__text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(10px, 2vh, 18px);
    max-width: 620px;
    text-align: right;
}

.swp-hero h1 {
    margin: 0;
    color: var(--fs-color-sherwin);
    font-size: clamp(32px, min(4.8vw, 7.5vh), 72px);
    line-height: 1.02;
    font-weight: 700;
    text-transform: uppercase;
    direction: ltr;
    text-align: right;
}

.swp-hero__text > p:not(.swp-pill) {
    margin: 0;
    font-size: clamp(16px, min(1.4vw, 2.4vh), 21px);
    line-height: 1.55;
    color: #222222;
}

/* פס השכבות מצויר כולו ב-CSS על div ריק אחד – UX Builder מוחק span-ים ריקים */
.swp-layers {
    height: clamp(54px, 10vh, 100px);
    background:
        linear-gradient(to bottom,
            var(--fs-color-primary) 0 14%,
            var(--fs-color-sherwin) 14% 40%,
            #6f9fc9 40% 58%,
            #b9cfe2 58% 70%,
            transparent 70%),
        repeating-linear-gradient(135deg, #5b6168 0 8px, #6a7178 8px 16px);
}

/* --- Sticky category nav ---
   top מתעדכן ב-JS (theme-scripts.js) לפי ההדר של Flatsome, שנעלם בגלילה למטה וחוזר בגלילה למעלה */
.swp-nav-section {
    position: sticky !important;
    top: var(--swp-nav-top, 0px);
    z-index: 20;
    transition: top 0.2s ease, box-shadow 0.2s ease;
}

.swp-nav-section.is-stuck,
.swp-nav-section.is-stuck .section-bg {
    background-color: var(--fs-color-white) !important;
}

.swp-nav-section.is-stuck {
    box-shadow: 0 6px 18px rgba(16, 38, 60, 0.08);
}

.swp-catnav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: max(0px, calc(50vw - 625px));
    background: var(--fs-color-white);
    border-bottom: 1px solid #e3e8ed;
    box-sizing: border-box;
}

.swp-catnav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 0 16px;
    font-weight: 700;
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--fs-color-secondary) !important;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: color var(--fs-transition), border-color var(--fs-transition);
}

.swp-catnav a + a {
    border-inline-start: 1px solid #e3e8ed;
}

.swp-catnav b {
    font-size: 13px;
    color: #c2380f;
}

.swp-catnav a:hover,
.swp-catnav a[aria-current="true"] {
    color: var(--fs-color-sherwin) !important;
    border-bottom-color: var(--fs-color-primary);
}

/* --- Category cards --- */
.swp-card {
    background: var(--fs-color-white);
    border: 1px solid #e3e8ed;
    border-radius: var(--fs-radius-md);
    overflow: hidden;
}

.swp-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.swp-card__text {
    flex: 999 1 480px;
    min-width: 0;
    padding: clamp(28px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.swp-card__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5560;
}

.swp-card__kicker b {
    color: #c2380f;
}

.swp-card__kicker i {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--fs-color-primary);
}

.swp-card h2 {
    margin: 0;
    color: var(--fs-color-sherwin);
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.12;
    font-weight: 700;
}

.swp-card__text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: #333333;
}

.swp-card__img {
    flex: 1 1 380px;
    min-width: 0;
    min-height: 280px;
    position: relative;
}

.swp-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swp-card__bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e3e8ed;
}

.swp-card__bottom > div {
    padding: 24px clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.swp-card__stat {
    background: #f8fafc;
}

.swp-card__stat span {
    font-size: 14px;
    font-weight: 600;
    color: #4a5560;
}

.swp-card__stat strong {
    font-size: 36px;
    line-height: 1.1;
    color: var(--fs-color-sherwin);
    direction: ltr;
    text-align: right;
}

.swp-card__bottom h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.swp-checks {
    list-style: none;
    margin: 0 !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.swp-checks li {
    position: relative;
    margin: 0 !important;
    padding-inline-start: 22px;
    font-size: 15px;
    line-height: 1.5;
}

/* סימן ✓ – גבולות פיזיים (right/bottom) כדי שלא יתהפך ב-RTL */
.swp-checks li::before {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: 4px;
    width: 6px;
    height: 11px;
    border-right: 2.5px solid var(--fs-color-primary);
    border-bottom: 2.5px solid var(--fs-color-primary);
    transform: rotate(45deg);
}

.swp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.swp-chips span {
    padding: 6px 12px;
    background: #e8f1f9;
    color: #10426b;
    border-radius: 999px;
    font-size: 14px;
}

.swp-card__action {
    margin-top: 8px !important;
}

/* --- Partnership (מיד אחרי ההירו, בלי תמונה) --- */
.swp-intro {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    background: var(--fs-color-white);
    border-radius: var(--fs-radius-md);
    border-top: 4px solid var(--fs-color-sherwin);
}

.swp-intro__head {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.swp-intro__logos {
    display: flex;
    align-items: center;
    gap: 14px;
}

.swp-intro__logos img {
    height: 38px;
    width: auto;
}

.swp-intro__logos i {
    font-style: normal;
    font-size: 22px;
    font-weight: 700;
    color: var(--fs-color-primary);
}

.swp-intro__logos img.swp-intro__sw {
    height: 44px;
}

.swp-intro h2 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
}

.swp-intro__head p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #444444;
}

.swp-intro__list {
    flex: 1 1 420px;
    min-width: 0;
    list-style: none;
    margin: 0 !important;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.swp-intro__list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    margin: 0 !important;
    padding: 14px 0;
    border-bottom: 1px solid #e3e8ed;
}

.swp-intro__list li:first-child {
    padding-top: 0;
}

.swp-intro__list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.swp-intro__list b {
    grid-row: span 2;
    font-size: 15px;
    color: #c2380f;
}

.swp-intro__list strong {
    font-size: 17px;
    color: var(--fs-color-sherwin);
}

.swp-intro__list span {
    font-size: 15px;
    line-height: 1.5;
    color: #444444;
}

@media (max-width: 849px) {
    .swp-hero {
        --swp-catnav-h: 52px;
    }

    .swp-hero::after {
        background: rgba(244, 246, 248, 0.86);
    }

    .swp-hero__bg img {
        object-position: center;
    }

    .swp-catnav {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .swp-catnav a {
        flex: none;
        min-height: 52px;
        font-size: 15px;
        white-space: nowrap;
    }

    .swp-card__bottom {
        grid-template-columns: minmax(0, 1fr);
    }

    .swp-card__img {
        min-height: 220px;
    }
}

@media (max-width: 549px) {
    .swp-hero .swp-btn {
        min-height: 44px;
        padding: 0 16px;
    }
}
