/* =========================================================
   ESPAGLOBAL
   HEADER 2
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.espa-header-2 {
    position: relative;
    z-index: 1030;

    width: 100%;

    background: #ffffff;

    font-family:
            var(--font-family-base);

    color:
            var(--espa-heading);
}


/* =========================================================
   TOP BAR
========================================================= */

.espa-header-2__top {
    position: relative;
    z-index: 30;

    width: 100%;
    min-height: 32px;

    background:
            var(--espa-primary);

    color: #ffffff;
}


.espa-header-2__top-inner {
    min-height: 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   TOP SOCIALS
========================================================= */

.espa-header-2__socials {
    display: flex;
    align-items: center;

    gap: 6px;
}


.espa-header-2__social {
    width: 24px;
    height: 24px;

    flex:
            0 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
            rgba(
                    255,
                    255,
                    255,
                    .15
            );

    opacity: 1;

    transition:
            color .18s ease,
            background-color .18s ease,
            transform .18s ease;
}


.espa-header-2__social
iconify-icon {
    display: block;

    font-size: 14px;
}


.espa-header-2__social:hover {
    color: #ffffff;

    background:
            rgba(
                    255,
                    255,
                    255,
                    .28
            );

    transform:
            translateY(-1px);
}


/* =========================================================
   TOP CONTACT
========================================================= */

.espa-header-2__top-contact {
    margin-left: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 16px;
}


.espa-header-2__top-contact-link {
    min-height: 32px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #ffffff;

    font-family:
            var(--font-family-base);

    font-size: 11px;
    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    opacity: 1;
}


.espa-header-2__top-contact-link
iconify-icon {
    display: block;

    font-size: 13px;
}


.espa-header-2__top-contact-link:hover {
    color: #ffffff;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.espa-header-2__main {
    position: relative;
    z-index: 20;

    width: 100%;

    background: #ffffff;

    border-bottom:
            1px solid
            var(--espa-border);
}


.espa-header-2__main-inner {
    min-height: 80px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.espa-header-2__logo {
    width: 220px;

    flex:
            0 0 auto;

    display: flex;
    align-items: center;

    min-width: 0;
}


.espa-header-2__logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 210px;
    max-height: 60px;

    object-fit: contain;
}


.espa-header-2__logo strong {
    color:
            var(--espa-heading);

    font-family:
            var(--font-family-heading);

    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.espa-header-2__nav {
    position: static;

    flex: 1;

    min-width: 0;

    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 2px;
}


.espa-header-2__nav-link {
    position: relative;

    min-height: 80px;

    padding:
            0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #102a43;

    font-family:
            var(--font-family-base);

    font-size: 14px;
    font-weight: 500;

    line-height: 1;

    letter-spacing: 0;

    white-space: nowrap;

    transition:
            color .18s ease;
}


.espa-header-2__nav-link
> iconify-icon:not(
    .espa-header-2__nav-caret
) {
    font-size: 16px;
}


.espa-header-2__nav-link:hover,
.espa-header-2__nav-link:focus,
.espa-menu-parent:hover
> .espa-header-2__nav-link,
.espa-menu-parent:focus-within
> .espa-header-2__nav-link {
    color:
            var(--espa-primary);
}


/* =========================================================
   NAV UNDERLINE
========================================================= */

.espa-header-2__nav-link::before {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 0;

    height: 2px;

    background:
            var(--espa-primary);

    transform:
            scaleX(0);

    transform-origin:
            center;

    transition:
            transform .18s ease;
}


.espa-header-2__nav-link:hover::before,
.espa-menu-parent:hover
> .espa-header-2__nav-link::before,
.espa-menu-parent:focus-within
> .espa-header-2__nav-link::before {
    transform:
            scaleX(1);
}


/* =========================================================
   CARET
========================================================= */

.espa-header-2__nav-caret {
    flex:
            0 0 auto;

    margin-left: 1px;

    font-size: 12px;

    transition:
            transform .18s ease;
}


.espa-menu-parent:hover
> .espa-header-2__nav-link
.espa-header-2__nav-caret,
.espa-menu-parent:focus-within
> .espa-header-2__nav-link
.espa-header-2__nav-caret {
    transform:
            rotate(180deg);
}


/* =========================================================
   MENU PARENT
========================================================= */

.espa-menu-parent {
    position: static;

    display: flex;
    align-items: stretch;
}


/* =========================================================
   SIMPLE DROPDOWN
========================================================= */

.espa-menu-parent--simple {
    position: relative;
}


.espa-simple-dropdown {
    position: absolute;

    top: calc(100% - 1px);
    left: 0;

    z-index: 1060;

    min-width: 230px;
    max-width: 340px;

    padding: 8px;

    border:
            1px solid
            var(--espa-border);

    border-radius: 10px;

    background: #ffffff;

    box-shadow:
            0 14px 32px
            rgba(
                    15,
                    23,
                    42,
                    .12
            );

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
            translateY(7px);

    transition:
            opacity .17s ease,
            visibility .17s ease,
            transform .17s ease;
}


.espa-menu-parent--simple:hover
> .espa-simple-dropdown,
.espa-menu-parent--simple:focus-within
> .espa-simple-dropdown {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
            translateY(0);
}


/* SIMPLE LEVEL 2 */

.espa-simple-dropdown__link {
    width: 100%;
    min-height: 39px;

    padding:
            8px 10px;

    display: flex;
    align-items: center;

    border-radius: 7px;

    color: #102a43;

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 500;

    line-height: 1.3;
}


.espa-simple-dropdown__link:hover {
    color:
            var(--espa-primary);

    background:
            color-mix(
                    in srgb,
                    var(--espa-primary) 7%,
                    #ffffff
            );
}


/* SIMPLE GROUP */

.espa-simple-dropdown__group {
    padding:
            5px 3px 8px;
}


.espa-simple-dropdown__group
+ .espa-simple-dropdown__group {
    border-top:
            1px solid
            var(--espa-border);
}


.espa-simple-dropdown__group-title {
    min-height: 36px;

    padding:
            6px 8px;

    display: flex;
    align-items: center;

    color:
            var(--espa-heading);

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 700;
}


.espa-simple-dropdown__group-title:hover {
    color:
            var(--espa-primary);
}


.espa-simple-dropdown__group-links {
    display: flex;
    flex-direction: column;
}


.espa-simple-dropdown__group-links a {
    min-height: 34px;

    padding:
            5px 12px;

    display: flex;
    align-items: center;

    border-radius: 6px;

    color:
            var(--espa-muted);

    font-family:
            var(--font-family-base);

    font-size: 12px;
    font-weight: 500;
}


.espa-simple-dropdown__group-links a:hover {
    color:
            var(--espa-primary);

    background:
            color-mix(
                    in srgb,
                    var(--espa-primary) 5%,
                    #ffffff
            );
}


/* =========================================================
   MEGA MENU ROOT
========================================================= */

.espa-menu-parent--mega {
    position: static;
}


.espa-mega {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    z-index: 1050;

    width: 100%;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
            translateY(8px);

    transition:
            opacity .17s ease,
            visibility .17s ease,
            transform .17s ease;
}


.espa-menu-parent--mega:hover
> .espa-mega,
.espa-menu-parent--mega:focus-within
> .espa-mega {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
            translateY(0);
}


.espa-mega
> .container-xxl {
    position: relative;
}


/* =========================================================
   MEGA SURFACE
========================================================= */

.espa-mega__surface {
    overflow: hidden;

    min-height: 250px;

    padding:
            34px 40px;

    border:
            1px solid
            var(--espa-border);

    border-top: 0;

    border-radius:
            0 0 20px 20px;

    background: #ffffff;

    box-shadow:
            0 20px 45px
            rgba(
                    15,
                    23,
                    42,
                    .10
            );
}


/* =========================================================
   MEGA COLUMNS
========================================================= */

.espa-mega-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px 28px;
    align-items: start;
}


.espa-mega-column {
    min-width: 0;
}


.espa-mega-column__title {
    display: inline-flex;
    align-items: center;

    margin-bottom: 10px;

    color:
            var(--espa-heading);

    font-family:
            var(--font-family-base);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.3;
}


.espa-mega-column__title:hover {
    color:
            var(--espa-primary);
}


.espa-mega-column__links {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
}


.espa-mega-column__links a {
    min-height: 30px;

    display: inline-flex;
    align-items: center;

    padding:
            4px 0;

    color: #27364a;

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 400;

    line-height: 1.35;
}


.espa-mega-column__links a:hover {
    color:
            var(--espa-primary);
}


/* =========================================================
   MEGA COLUMNS + IMAGE
========================================================= */

.espa-mega-columns-image {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 42px;

    align-items: start;
}


.espa-mega-columns-image__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}


.espa-mega-columns-image__media {
    min-width: 0;
}


.espa-mega-image {
    display: block;

    overflow: hidden;

    border-radius: 16px;

    background:
            var(--espa-surface-secondary);
}


.espa-mega-image img {
    width: 100%;

    aspect-ratio:
            16 / 9;

    object-fit: cover;

    transition:
            transform .3s ease;
}


.espa-mega-image:hover img {
    transform:
            scale(1.025);
}


/* =========================================================
   MEGA SIDEBAR
========================================================= */

.espa-mega--sidebar
.espa-mega__surface {
    padding: 18px;
}


/* =========================================================
   SIDEBAR LAYOUT
========================================================= */

.espa-sidebar-layout {
    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr);

    min-height: 270px;
}


.espa-sidebar-layout.has-media {
    grid-template-columns:
        260px
        minmax(0, 1fr)
        340px;
}


/* =========================================================
   SIDEBAR LEFT
   LEVEL 2
========================================================= */

.espa-sidebar-layout__categories {
    padding-right: 18px;

    border-right:
            1px solid
            var(--espa-border);
}


.espa-sidebar-category {
    width: 100%;
    min-height: 54px;

    padding:
            8px 12px;

    display: grid;

    grid-template-columns:
        36px
        minmax(0, 1fr)
        18px;

    align-items: center;

    gap: 10px;

    border: 0;

    border-radius: 12px;

    background: transparent;

    color: #41506a;

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.3;

    text-align: left;

    transition:
            color .15s ease,
            background-color .15s ease;
}


.espa-sidebar-category:hover,
.espa-sidebar-category.is-active {
    color:
            var(--espa-primary);

    background:
            color-mix(
                    in srgb,
                    var(--espa-primary) 7%,
                    #ffffff
            );
}


.espa-sidebar-category__icon {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
            #f4f6f8;

    color: inherit;
}


.espa-sidebar-category__icon
iconify-icon {
    font-size: 18px;
}


.espa-sidebar-category__title {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: normal;
}


.espa-sidebar-category__arrow {
    font-size: 16px;
}


/* =========================================================
   SIDEBAR CONTENT
========================================================= */

.espa-sidebar-layout__content {
    position: relative;

    min-width: 0;

    padding:
            4px 30px;
}


.espa-sidebar-pane {
    display: none;
}


.espa-sidebar-pane.is-active {
    display: block;
}


/* =========================================================
   LEVEL 2 CONTENT TITLE
========================================================= */

.espa-sidebar-pane__header {
    margin-bottom: 18px;
}


.espa-sidebar-pane__title {
    display: inline-flex;
    align-items: center;

    color:
            var(--espa-heading);

    font-family:
            var(--font-family-base);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.3;
}


.espa-sidebar-pane__title:hover {
    color:
            var(--espa-primary);
}

/* =========================================================
   LEVEL 3 GROUPS
========================================================= */

.espa-sidebar-groups {
    display: grid;
    gap: 20px;
    align-items: start;
}

/* mega_sidebar: 4 sütun */
.espa-sidebar-layout:not(.has-media) .espa-sidebar-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* mega_sidebar_images: 3 sütun */
.espa-sidebar-layout.has-media .espa-sidebar-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.espa-sidebar-group {
    min-width: 0;
}


/* =========================================================
   LEVEL 3 IMAGE
========================================================= */

.espa-sidebar-group__image {
    display: block;

    width: 100%;

    margin-bottom: 11px;

    overflow: hidden;

    border-radius: 12px;

    background:
            var(
                    --espa-surface-secondary,
                    #f3f4f6
            );
}


.espa-sidebar-group__image img {
    display: block;

    width: 100%;

    aspect-ratio:
            16 / 9;

    object-fit: cover;

    transition:
            transform .25s ease;
}


.espa-sidebar-group__image:hover img {
    transform:
            scale(1.04);
}


/* =========================================================
   LEVEL 3 TITLE
========================================================= */

.espa-sidebar-group__title {
    display: inline-flex;
    align-items: center;

    margin-bottom: 8px;

    color:
            var(--espa-heading);

    font-family:
            var(--font-family-base);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;
}


.espa-sidebar-group__title:hover {
    color:
            var(--espa-primary);
}


/* =========================================================
   LEVEL 4 LINKS
========================================================= */

.espa-sidebar-group__links {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 2px;
}


.espa-sidebar-group__links a {
    width: 100%;
    min-height: 31px;

    padding:
            4px 0;

    display: flex;
    align-items: center;

    color: #41506a;

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 400;

    line-height: 1.35;
}


.espa-sidebar-group__links a:hover {
    color:
            var(--espa-primary);
}


/* =========================================================
   SIDEBAR EMPTY
========================================================= */

.espa-sidebar-pane__empty {
    padding:
            8px 0;
}


.espa-sidebar-pane__empty a {
    display: inline-flex;

    color:
            var(--espa-primary);

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   SIDEBAR MEDIA
========================================================= */

.espa-sidebar-layout__media {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 14px;
}


.espa-sidebar-media-card {
    display: block;

    overflow: hidden;

    border-radius: 15px;

    background:
            var(--espa-surface-secondary);
}


.espa-sidebar-media-card img {
    width: 100%;

    aspect-ratio:
            16 / 5.8;

    object-fit: cover;

    transition:
            transform .3s ease;
}


.espa-sidebar-media-card:hover
img {
    transform:
            scale(1.025);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.espa-header-2__actions {
    margin-left: auto;

    flex:
            0 0 auto;

    display: flex;
    align-items: center;

    gap: 11px;
}


/* =========================================================
   PHONE
========================================================= */

.espa-header-2__phone {
    min-height: 39px;

    padding:
            0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border:
            1px solid
            #111827;

    border-radius: 999px;

    color:
            #111827;

    background:
            #ffffff;

    font-family:
            var(--font-family-base);

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


.espa-header-2__phone
iconify-icon {
    font-size: 14px;
}


.espa-header-2__phone:hover {
    color:
            var(--espa-primary);

    border-color:
            var(--espa-primary);
}


/* =========================================================
   LOGIN
========================================================= */

.espa-header-2__login {
    min-height: 39px;

    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #111827;

    font-family:
            var(--font-family-base);

    font-size: 13px;
    font-weight: 500;

    white-space: nowrap;
}


.espa-header-2__login
iconify-icon {
    font-size: 16px;
}


.espa-header-2__login:hover {
    color:
            var(--espa-primary);
}


/* =========================================================
   REGISTER
========================================================= */

.espa-header-2__register {
    min-height: 39px;

    padding:
            0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border-radius: 999px;

    background:
            var(--espa-primary);

    color: #ffffff;

    font-family:
            var(--font-family-button);

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}


.espa-header-2__register
iconify-icon {
    font-size: 16px;
}


.espa-header-2__register:hover {
    color: #ffffff;

    background:
            var(--espa-primary-hover);
}


/* =========================================================
   MOBILE TRIGGER
========================================================= */

.espa-header-2__mobile-trigger {
    display: none;

    width: 44px;
    height: 44px;

    flex:
            0 0 44px;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
            1px solid
            var(--espa-border);

    border-radius: 12px;

    background: #ffffff;

    color:
            var(--espa-heading);
}


.espa-header-2__mobile-trigger
iconify-icon {
    font-size: 25px;
}


/* =========================================================
   MOBILE OFFCANVAS
========================================================= */

.espa-header-2__mobile-menu {
    width: 100% !important;

    max-width: 430px;

    border: 0 !important;

    background: #ffffff;

    font-family:
            var(--font-family-base);
}


/* =========================================================
   MOBILE HEADER
========================================================= */

.espa-header-2__mobile-head {
    min-height:
            calc(
                    64px
                    + env(safe-area-inset-top)
            );

    padding:
            calc(
                    10px
                    + env(safe-area-inset-top)
            )
            14px
            10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    border-bottom:
            1px solid
            var(--espa-border);

    background: #ffffff;
}


.espa-header-2__mobile-logo {
    min-width: 0;

    display: flex;
    align-items: center;
}


.espa-header-2__mobile-logo img {
    display: block;

    width: auto;

    max-width: 150px;
    max-height: 42px;

    object-fit: contain;
}


.espa-header-2__mobile-close {
    width: 44px;
    height: 44px;

    flex:
            0 0 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 12px;

    background:
            var(--espa-surface-secondary);

    color:
            var(--espa-heading);
}


.espa-header-2__mobile-close
iconify-icon {
    font-size: 24px;
}


/* =========================================================
   MOBILE BODY
========================================================= */

.espa-header-2__mobile-body {
    height:
            calc(
                    100dvh
                    - 64px
                    - env(safe-area-inset-top)
            );

    padding:
            8px
            14px
            calc(
                    22px
                    + env(safe-area-inset-bottom)
            );

    overflow-y: auto;

    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   MOBILE RECURSIVE MENU
========================================================= */

.espa-mobile-menu-item {
    width: 100%;
}


.espa-mobile-menu-link {
    width: 100%;
    min-height: 52px;

    padding:
            0 6px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border: 0;

    border-bottom:
            1px solid
            var(--espa-border);

    background: transparent;

    color:
            var(--espa-heading);

    font-family:
            var(--font-family-base);

    font-size: 15px;
    font-weight: 600;

    line-height: 1.3;

    text-align: left;
}


.espa-mobile-menu-link:hover,
.espa-mobile-menu-link:active {
    color:
            var(--espa-primary);
}


.espa-mobile-menu-link__content {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}


.espa-mobile-menu-link__content
span:last-child {
    overflow: hidden;

    text-overflow: ellipsis;
}


.espa-mobile-menu-link__icon {
    flex:
            0 0 auto;

    font-size: 18px;
}


.espa-mobile-menu-link__arrow,
.espa-mobile-menu-link__toggle {
    flex:
            0 0 auto;

    color:
            var(--espa-muted);

    font-size: 17px;

    transition:
            transform .2s ease;
}


.espa-mobile-menu-link[
    aria-expanded="true"
]
.espa-mobile-menu-link__toggle {
    transform:
            rotate(45deg);
}


/* =========================================================
   MOBILE LEVEL 2
========================================================= */

.espa-mobile-submenu {
    padding-left: 14px;
}


.espa-mobile-submenu
.espa-mobile-menu-link {
    min-height: 47px;

    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   MOBILE LEVEL 3
========================================================= */

.espa-mobile-submenu
.espa-mobile-submenu {
    padding-left: 16px;
}


.espa-mobile-submenu
.espa-mobile-submenu
.espa-mobile-menu-link {
    min-height: 45px;

    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   MOBILE LEVEL 4
========================================================= */

.espa-mobile-submenu
.espa-mobile-submenu
.espa-mobile-submenu {
    padding-left: 18px;
}


.espa-mobile-submenu
.espa-mobile-submenu
.espa-mobile-submenu
.espa-mobile-menu-link {
    min-height: 44px;

    color:
            var(--espa-muted);

    font-size: 13px;
    font-weight: 400;
}


/* =========================================================
   MOBILE ACTIONS
========================================================= */

.espa-header-2__mobile-actions {
    margin-top: 22px;

    display: grid;

    gap: 10px;
}


.espa-mobile-action-card {
    min-height: 54px;

    padding:
            10px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border:
            1px solid
            var(--espa-border);

    border-radius: 13px;

    color:
            var(--espa-heading);

    background: #ffffff;

    font-family:
            var(--font-family-base);

    font-size: 13px;
}


.espa-mobile-action-card
span {
    display: flex;
    align-items: center;

    gap: 8px;
}


.espa-mobile-action-card
iconify-icon {
    font-size: 19px;
}


.espa-mobile-action-card--whatsapp {
    justify-content: center;

    border-color:
            #22c55e;

    background:
            #22c55e;

    color: #ffffff;

    font-weight: 600;
}


.espa-mobile-action-card--whatsapp:hover {
    color: #ffffff;

    background:
            #16a34a;

    border-color:
            #16a34a;
}


/* =========================================================
   MOBILE SOCIALS
========================================================= */

.espa-header-2__mobile-socials {
    margin-top: 20px;

    padding-top: 18px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    border-top:
            1px solid
            var(--espa-border);
}


.espa-header-2__mobile-socials
a {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
            1px solid
            var(--espa-border);

    border-radius: 50%;

    color:
            var(--espa-heading);

    background: #ffffff;
}


.espa-header-2__mobile-socials
a:hover {
    color: #ffffff;

    border-color:
            var(--espa-primary);

    background:
            var(--espa-primary);
}


.espa-header-2__mobile-socials
iconify-icon {
    font-size: 18px;
}


/* =========================================================
   LAPTOP
========================================================= */

@media
(max-width: 1199.98px) {

    .espa-header-2__main-inner {
        gap: 14px;
    }


    .espa-header-2__logo {
        width: 160px;
    }


    .espa-header-2__logo img {
        max-width: 150px;
    }


    .espa-header-2__nav-link {
        padding:
                0 8px;

        font-size: 12px;
    }


    .espa-header-2__phone {
        display: none;
    }


    .espa-mega__surface {
        padding:
                28px;
    }


    .espa-sidebar-layout.has-media {
        grid-template-columns:
            220px
            minmax(0, 1fr)
            290px;
    }


    .espa-sidebar-layout {
        grid-template-columns:
            220px
            minmax(0, 1fr);
    }


    .espa-sidebar-groups {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap: 18px;
    }


    .espa-sidebar-layout.has-media .espa-sidebar-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / MOBILE HEADER
========================================================= */

@media
(max-width: 991.98px) {

    .espa-header-2 {
        position: sticky;

        top: 0;

        z-index: 1030;
    }


    .espa-header-2__top {
        display: none;
    }


    .espa-header-2__main {
        background:
                #ffffff;
    }


    .espa-header-2__main-inner {
        min-height: 64px;

        gap: 12px;
    }


    .espa-header-2__logo {
        width: auto;

        max-width:
                calc(100% - 60px);
    }


    .espa-header-2__logo img {
        max-width: 150px;
        max-height: 42px;
    }


    .espa-header-2__nav,
    .espa-header-2__phone,
    .espa-header-2__login,
    .espa-header-2__register {
        display: none;
    }


    .espa-header-2__actions {
        margin-left: auto;
    }


    .espa-header-2__mobile-trigger {
        display: inline-flex;
    }


    /*
     * Desktop mega menus mobilde tamamen kapalÄ±.
     */
    .espa-mega,
    .espa-simple-dropdown {
        display: none !important;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media
(max-width: 575.98px) {

    .espa-header-2__main-inner {
        min-height: 60px;
    }


    .espa-header-2__logo img {
        max-width: 135px;
        max-height: 38px;
    }


    .espa-header-2__mobile-menu {
        max-width: none;
    }


    .espa-header-2__mobile-body {
        padding-left: 12px;
        padding-right: 12px;
    }


    .espa-mobile-menu-link {
        min-height: 50px;
    }

}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media
(max-width: 380px) {

    .espa-header-2__logo img {
        max-width: 120px;
    }


    .espa-header-2__mobile-trigger {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .espa-header-2__mobile-head {
        padding-left: 10px;
        padding-right: 10px;
    }


    .espa-header-2__mobile-body {
        padding-left: 10px;
        padding-right: 10px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .espa-simple-dropdown,
    .espa-mega,
    .espa-header-2__nav-caret,
    .espa-mega-image img,
    .espa-sidebar-media-card img,
    .espa-sidebar-group__image img,
    .espa-header-2__social,
    .espa-mobile-menu-link__toggle {
        transition:
                none !important;
    }

}

/* =========================================================
   HEADER CONTAINER
========================================================= */

.espa-header-2__container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.espa-header-2__container--wide {
    max-width: none;
    padding-left: clamp(24px, 3vw, 56px);
    padding-right: clamp(24px, 3vw, 56px);
}


/* =========================================================
   ACCOUNT / AUTHENTICATED USER
========================================================= */

.espa-header-2__account {
    position: relative;
    flex: 0 0 auto;
}

.espa-header-2__account-trigger {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--espa-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--espa-heading);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.espa-header-2__account-trigger:hover,
.espa-header-2__account-trigger[aria-expanded="true"] {
    border-color: color-mix(in srgb, var(--espa-primary) 30%, var(--espa-border));
    background: var(--espa-surface-secondary, #f8fafc);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.espa-header-2__account-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--espa-primary) 10%, #ffffff);
    color: var(--espa-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.espa-header-2__account-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.espa-header-2__account-copy strong {
    max-width: 130px;
    overflow: hidden;
    color: var(--espa-heading);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.espa-header-2__account-copy small {
    margin-top: 3px;
    color: var(--espa-text-muted, #64748b);
    font-size: 9px;
    font-weight: 500;
}

.espa-header-2__account-caret {
    flex: 0 0 auto;
    color: var(--espa-text-muted, #64748b);
    font-size: 12px;
    transition: transform .2s ease;
}

.espa-header-2__account-trigger[aria-expanded="true"] .espa-header-2__account-caret {
    transform: rotate(180deg);
}

.espa-header-2__account-menu {
    min-width: 245px;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid var(--espa-border);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .13);
}

.espa-header-2__account-menu-head {
    display: flex;
    flex-direction: column;
    padding: 10px 11px 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--espa-border);
}

.espa-header-2__account-menu-head strong {
    color: var(--espa-heading);
    font-size: 13px;
    font-weight: 700;
}

.espa-header-2__account-menu-head span {
    max-width: 205px;
    margin-top: 3px;
    overflow: hidden;
    color: var(--espa-text-muted, #64748b);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.espa-header-2__account-menu-link {
    min-height: 39px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--espa-text, #334155);
    font-size: 12px;
    font-weight: 600;
}

.espa-header-2__account-menu-link iconify-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    font-size: 17px;
}

.espa-header-2__account-menu-link:hover {
    background: var(--espa-surface-secondary, #f8fafc);
    color: var(--espa-primary);
}

.espa-header-2__account-menu-link--logout,
.espa-header-2__account-menu-link--logout:hover {
    color: #dc2626;
}


/* =========================================================
   MOBILE ACCOUNT
========================================================= */

.espa-header-2__mobile-account {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--espa-border);
}

.espa-header-2__mobile-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid var(--espa-border);
    border-radius: 14px;
    background: var(--espa-surface-secondary, #f8fafc);
}

.espa-header-2__mobile-user-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--espa-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.espa-header-2__mobile-user-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.espa-header-2__mobile-user-copy strong {
    overflow: hidden;
    color: var(--espa-heading);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.espa-header-2__mobile-user-copy small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--espa-text-muted, #64748b);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.espa-header-2__mobile-user-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

.espa-header-2__mobile-user-links a,
.espa-header-2__mobile-auth-buttons a {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--espa-border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--espa-text, #334155);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.espa-header-2__mobile-user-links a iconify-icon,
.espa-header-2__mobile-auth-buttons a iconify-icon {
    flex: 0 0 auto;
    font-size: 16px;
}

.espa-header-2__mobile-user-links a:hover {
    border-color: color-mix(in srgb, var(--espa-primary) 28%, var(--espa-border));
    color: var(--espa-primary);
}

.espa-header-2__mobile-user-links .is-logout {
    border-color: #fee2e2;
    background: #fff7f7;
    color: #dc2626;
}

.espa-header-2__mobile-auth-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.espa-header-2__mobile-auth-buttons .espa-header-2__mobile-auth-register {
    border-color: var(--espa-primary);
    background: var(--espa-primary);
    color: #ffffff;
}

.espa-header-2__mobile-auth-buttons .espa-header-2__mobile-auth-register:hover {
    background: var(--espa-primary-hover);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .espa-header-2__mobile-user-links {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   HEADER 2 - PREMIUM TWO ROW LAYOUT
========================================================= */
.espa-header-2__top{display:none}
.espa-header-2__main{background:var(--espa-surface);border-bottom:1px solid var(--espa-border);box-shadow:0 5px 18px rgba(15,23,42,.045)}
.espa-header-2__main-inner{min-height:auto;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"logo spacer actions" "nav nav nav";align-items:center;gap:0 28px;padding-top:14px}
.espa-header-2__logo{grid-area:logo;width:220px;min-height:56px}
.espa-header-2__logo img{max-width:205px;max-height:52px}
.espa-header-2__actions{grid-area:actions;align-self:center;gap:10px;padding-bottom:12px}
.espa-header-2__nav{grid-area:nav;width:100%;min-height:50px;border-top:1px solid var(--espa-border);justify-content:space-between;gap:0}
.espa-header-2__nav-link{min-height:50px;padding:0 14px;color:var(--espa-heading);font-family:var(--font-family-menu);font-size:13px;font-weight:var(--font-weight-menu)}
.espa-header-2__nav-link::before{left:14px;right:14px;height:2px;background:var(--espa-primary)}
.espa-header-2__phone{min-height:44px;padding:4px 14px 4px 5px;display:inline-flex;align-items:center;gap:10px;border:1px solid color-mix(in srgb,var(--espa-secondary) 16%,var(--espa-border));border-radius:999px;background:color-mix(in srgb,var(--espa-secondary) 3%,var(--espa-surface));color:var(--espa-heading);text-decoration:none;white-space:nowrap;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
.espa-header-2__phone:hover{border-color:color-mix(in srgb,var(--espa-secondary) 32%,var(--espa-border));background:color-mix(in srgb,var(--espa-secondary) 6%,var(--espa-surface));color:var(--espa-heading);box-shadow:0 8px 22px rgba(15,23,42,.07);transform:translateY(-1px)}
.espa-header-2__phone-icon{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:color-mix(in srgb,var(--espa-secondary) 10%,var(--espa-surface));color:var(--espa-secondary)}
.espa-header-2__phone-icon iconify-icon{width:18px;height:18px;font-size:18px}
.espa-header-2__phone-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}
.espa-header-2__phone-copy small{margin-bottom:4px;color:var(--espa-muted);font-size:8px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.espa-header-2__phone-copy strong{color:var(--espa-heading);font-family:var(--font-family-heading);font-size:13px;font-weight:800;letter-spacing:.01em}
.espa-header-2__login{min-height:38px;padding:0 4px;color:var(--espa-heading);font-weight:600}
.espa-header-2__register{min-height:38px;padding:0 16px;border-radius:999px;background:var(--espa-accent);color:#fff;font-size:12px}
.espa-header-2__register:hover{background:color-mix(in srgb,var(--espa-accent) 86%,#000);color:#fff}
.espa-header-2__callme{min-height:38px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;background:var(--espa-secondary);color:#fff;font-family:var(--font-family-button);font-size:12px;font-weight:var(--font-weight-button);text-decoration:none;white-space:nowrap;transition:transform .18s ease,background .18s ease}
.espa-header-2__callme:hover{background:color-mix(in srgb,var(--espa-secondary) 86%,#000);color:#fff;transform:translateY(-1px)}
.espa-header-2__callme iconify-icon{font-size:15px}
.espa-header-2__account-trigger{min-height:42px;border-radius:999px;padding:4px 10px 4px 4px}
.espa-header-2__account-avatar{border-radius:50%}
.espa-header-2__account-copy small{display:none}
.espa-header-2__account-copy strong{max-width:120px}
.espa-menu-parent--simple>.espa-simple-dropdown{top:100%}
.espa-mega{top:100%}
.espa-mobile-action-card--callme{border-color:color-mix(in srgb,var(--espa-secondary) 18%,var(--espa-border));background:color-mix(in srgb,var(--espa-secondary) 5%,#fff);color:var(--espa-secondary);font-weight:700}
.espa-mobile-action-card--callme:hover{color:var(--espa-secondary)}

@media(max-width:1199.98px){
    .espa-header-2__main-inner{gap:0 16px}
    .espa-header-2__logo{width:175px}
    .espa-header-2__logo img{max-width:165px}
    .espa-header-2__nav-link{padding:0 10px;font-size:12px}
    .espa-header-2__callme{padding:0 13px}
}

@media(max-width:991.98px){
    .espa-header-2__main-inner{display:flex;min-height:64px;padding-top:0}
    .espa-header-2__logo{width:auto;min-height:0}
    .espa-header-2__actions{padding-bottom:0;margin-left:auto}
    .espa-header-2__callme{display:none}
    .espa-header-2__nav{display:none}
}

/* =========================================================
   HEADER 2 - WIDE MODE
   Sadece üst logo/action satırı wide.
   Menü ve mega menu aynı boxed eksende.
========================================================= */

@media (min-width: 992px) {

    .espa-header-2__container--wide .espa-header-2__main-inner {
        width: 100%;
    }

    .espa-header-2__container--wide .espa-header-2__nav {
        width: min(100%, 1320px);
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
        justify-self: center;
    }
}

@media (min-width: 1400px) {

    .espa-header-2__container--wide .espa-header-2__nav {
        width: 1320px;
        max-width: 1320px;
    }
}

/* ESPAVEL EspaGlobal Header 2 - B2C menu icons */
.espa-header-2__nav-link > .espa-header-2__nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.15em;
    width: 1.15em;
    height: 1.15em;
    font-size: 1.1em;
    line-height: 1;
    vertical-align: middle;
}

.espa-header-2__nav-link:has(> .espa-header-2__nav-icon) {
    display: inline-flex;
    align-items: center;
    column-gap: .45rem;
}

/* Mobile menu markup uses the same class in all header variants. */
.espa-header-2 .espa-mobile-menu-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.3rem;
    width: 1.3rem;
    height: 1.3rem;
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
}
