/* =========================================================
   ESPAGLOBAL
   HEADER 1
========================================================= */


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

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

    width: 100%;

    background: #ffffff;

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

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


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

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

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

    background:
            var(--espa-primary);

    color: #ffffff;
}


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

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

    gap: 20px;
}


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

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

    gap: 6px;
}


.espa-header-1__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-1__social
iconify-icon {
    display: block;

    font-size: 14px;
}


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

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

    transform:
            translateY(-1px);
}


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

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

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

    gap: 16px;
}


.espa-header-1__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-1__top-contact-link
iconify-icon {
    display: block;

    font-size: 13px;
}


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


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

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

    width: 100%;

    background: #ffffff;

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


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

    display: flex;
    align-items: center;

    gap: 28px;
}


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

.espa-header-1__logo {
    width: 215px;

    flex:
            0 0 auto;

    display: flex;
    align-items: center;

    min-width: 0;
}


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

    width: auto;
    height: auto;

    max-width: 220px;
    max-height: 70px;

    object-fit: contain;
}


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

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

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


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

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

    flex: 1;

    min-width: 0;

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

    gap: 2px;
}


.espa-header-1__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-1__nav-link
> iconify-icon:not(
    .espa-header-1__nav-caret
) {
    font-size: 16px;
}


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


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

.espa-header-1__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-1__nav-link:hover::before,
.espa-menu-parent:hover
> .espa-header-1__nav-link::before,
.espa-menu-parent:focus-within
> .espa-header-1__nav-link::before {
    transform:
            scaleX(1);
}


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

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

    margin-left: 1px;

    font-size: 12px;

    transition:
            transform .18s ease;
}


.espa-menu-parent:hover
> .espa-header-1__nav-link
.espa-header-1__nav-caret,
.espa-menu-parent:focus-within
> .espa-header-1__nav-link
.espa-header-1__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-1__actions {
    margin-left: auto;

    flex:
            0 0 auto;

    display: flex;
    align-items: center;

    gap: 11px;
}


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

.espa-header-1__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-1__phone
iconify-icon {
    font-size: 14px;
}


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

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


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

.espa-header-1__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-1__login
iconify-icon {
    font-size: 16px;
}


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


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

.espa-header-1__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-1__register
iconify-icon {
    font-size: 16px;
}


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

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


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

.espa-header-1__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-1__mobile-trigger
iconify-icon {
    font-size: 25px;
}


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

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

    max-width: 430px;

    border: 0 !important;

    background: #ffffff;

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


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

.espa-header-1__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-1__mobile-logo {
    min-width: 0;

    display: flex;
    align-items: center;
}


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

    width: auto;

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

    object-fit: contain;
}


.espa-header-1__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-1__mobile-close
iconify-icon {
    font-size: 24px;
}


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

.espa-header-1__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-1__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-1__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-1__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-1__mobile-socials
a:hover {
    color: #ffffff;

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

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


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


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

@media
(max-width: 1199.98px) {

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


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


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


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

        font-size: 12px;
    }


    .espa-header-1__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-1 {
        position: sticky;

        top: 0;

        z-index: 1030;
    }


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


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


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

        gap: 12px;
    }


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

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


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


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


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


    .espa-header-1__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-1__main-inner {
        min-height: 60px;
    }


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


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


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


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

}


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

@media
(max-width: 380px) {

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


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

        flex-basis: 42px;
    }


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


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

}


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

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

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

}

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

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

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


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

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

.espa-header-1__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-1__account-trigger:hover,
.espa-header-1__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-1__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-1__account-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.espa-header-1__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-1__account-copy small {
    margin-top: 3px;
    color: var(--espa-text-muted, #64748b);
    font-size: 9px;
    font-weight: 500;
}

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

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

.espa-header-1__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-1__account-menu-head {
    display: flex;
    flex-direction: column;
    padding: 10px 11px 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--espa-border);
}

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

.espa-header-1__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-1__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-1__account-menu-link iconify-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    font-size: 17px;
}

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

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


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

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

.espa-header-1__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-1__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-1__mobile-user-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

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

.espa-header-1__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-1__mobile-user-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

.espa-header-1__mobile-user-links a,
.espa-header-1__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-1__mobile-user-links a iconify-icon,
.espa-header-1__mobile-auth-buttons a iconify-icon {
    flex: 0 0 auto;
    font-size: 16px;
}

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

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

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

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

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

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