/*
|--------------------------------------------------------------------------
| ATELIER — FASHION / MOTA PREMIUM HEADER
|--------------------------------------------------------------------------
| Theme-specific header styling.
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| GLOBAL RESET
|--------------------------------------------------------------------------
*/

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: var(--atelier-cream, #faf8f4);
    color: var(--atelier-black, #171717);
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.store-header {
    position: relative;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(250, 248, 244, 0.97);
    border-bottom: 1px solid var(--atelier-border, #e5e0d9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/*
|--------------------------------------------------------------------------
| TOP HEADER
|--------------------------------------------------------------------------
*/

.store-header-inner {
    width: min(1360px, calc(100% - 64px));
    min-height: 88px;
    padding-bottom: 8px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 42px;
}

/*
|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/

.store-logo {
    flex: 0 0 auto;
    min-width: 205px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--atelier-black, #171717);
    text-decoration: none;
}

.store-logo-title {
    display: block;
    color: var(--atelier-black, #171717);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;
}

.store-logo-subtitle {
    display: block;
    margin-top: 8px;
    color: var(--atelier-taupe, #8b8075);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| SEARCH
|--------------------------------------------------------------------------
*/

.store-search {
    flex: 1 1 auto;
    min-width: 220px;
}

.store-search-form {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: stretch;
    background: var(--atelier-white, #ffffff);
    border: 1px solid var(--atelier-border, #e5e0d9);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.store-search-form:focus-within {
    border-color: var(--atelier-black, #171717);
    box-shadow: 0 8px 24px rgba(23, 23, 23, 0.05);
}

.store-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--atelier-black, #171717);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.store-search-input::placeholder {
    color: var(--atelier-taupe, #8b8075);
}

.store-search-button {
    flex: 0 0 auto;
    height: 100%;
    padding: 0 22px;
    border: 0;
    border-left: 1px solid var(--atelier-border, #e5e0d9);
    background: #8a7658;
    color: var(--atelier-white, #ffffff);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.store-search-button:hover {
    background: #705f47;
}

/*
|--------------------------------------------------------------------------
| HEADER ACTIONS
|--------------------------------------------------------------------------
*/

.store-header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-header-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--atelier-black, #171717);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.store-header-action:hover {
    border-color: var(--atelier-border, #e5e0d9);
    background: var(--atelier-paper, #f5f1eb);
    color: var(--atelier-accent, #8b4b45);
}

/*
|--------------------------------------------------------------------------
| CART
|--------------------------------------------------------------------------
*/

.store-cart-action {
    gap: 9px;
}

.cart-count {
    width: 20px;
    min-width: 20px;
    height: 20px;
    flex: 0 0 20px;
    aspect-ratio: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: var(--atelier-accent, #8b4b45);
    color: var(--atelier-white, #ffffff);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}

/*
|--------------------------------------------------------------------------
| MOBILE MENU BUTTON
|--------------------------------------------------------------------------
*/

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--atelier-border, #e5e0d9);
    background: transparent;
    color: var(--atelier-black, #171717);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| CATEGORY NAVIGATION
|--------------------------------------------------------------------------
*/

.store-category-bar {
    position: relative;
    width: 100%;
    border-top: 1px solid var(--atelier-border, #e5e0d9);
    background: var(--atelier-paper, #f5f1eb);
}

.store-category-inner {
    width: min(1360px, calc(100% - 64px));
    min-height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
}

.store-category-item {
    position: static;
    display: flex;
    align-items: center;
    min-height: 52px;
}

.store-category-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: var(--atelier-black, #171717);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.store-category-link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 9px;
    height: 1px;
    background: var(--atelier-accent, #8b4b45);
    transition:
        left 0.25s ease,
        right 0.25s ease;
}

.store-category-link:hover {
    color: var(--atelier-accent, #8b4b45);
}

.store-category-link:hover::after {
    left: 0;
    right: 0;
}

/*
|--------------------------------------------------------------------------
| PREMIUM MEGA MENU
|--------------------------------------------------------------------------
*/

.store-subcategory-menu {
    z-index: 1001;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 190px;
    padding: 30px 0 34px;
    background: rgba(250, 248, 244, 0.99);
    border-top: 1px solid var(--atelier-border, #e5e0d9);
    border-bottom: 1px solid var(--atelier-border, #e5e0d9);
    box-shadow: 0 24px 50px rgba(23, 23, 23, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
}

.store-category-item:hover .store-subcategory-menu {
    z-index: 1001;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*
|--------------------------------------------------------------------------
| MEGA MENU LINKS
|--------------------------------------------------------------------------
*/

.store-subcategory-menu .store-subcategory-link {
    display: block;
    width: min(1360px, calc(100% - 64px));
    margin: 0 auto;
    padding: 9px 0;
    color: var(--atelier-muted, #756f69);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.store-subcategory-menu .store-subcategory-link:hover {
    padding-left: 8px;
    color: var(--atelier-accent, #8b4b45);
}

/*
|--------------------------------------------------------------------------
| MOBILE MENU
|--------------------------------------------------------------------------
*/

.mobile-menu {
    width: 100%;
    background: var(--atelier-cream, #faf8f4);
    border-top: 1px solid var(--atelier-border, #e5e0d9);
}

.mobile-menu-inner {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0 22px;
}

.mobile-menu-link {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--atelier-border, #e5e0d9);
    color: var(--atelier-black, #171717);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-menu-link:hover {
    color: var(--atelier-accent, #8b4b45);
}

.mobile-subcategory-list {
    padding: 3px 0 7px 18px;
}

.mobile-subcategory-link {
    display: block;
    padding: 9px 4px;
    color: var(--atelier-taupe, #8b8075);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-decoration: none;
}

.mobile-subcategory-link:hover {
    color: var(--atelier-accent, #8b4b45);
}

/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 1150px) {

    .store-header-inner {
        width: min(100%, calc(100% - 40px));
        gap: 24px;
    }

    .store-logo {
        min-width: 170px;
    }

    .store-logo-title {
        font-size: 23px;
    }

    .store-header-action {
        padding: 0 9px;
    }

    .store-category-inner {
        width: min(100%, calc(100% - 40px));
        gap: 28px;
    }

    .store-subcategory-menu .store-subcategory-link {
        width: min(100%, calc(100% - 40px));
    }
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .store-header-inner {
        width: calc(100% - 32px);
        min-height: 72px;
        flex-wrap: wrap;
        padding: 12px 0;
        gap: 12px;
    }

    .store-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .store-logo-title {
        font-size: 21px;
    }

    .store-logo-subtitle {
        margin-top: 6px;
        font-size: 7px;
    }

    .store-search {
        order: 3;
        flex: 1 0 100%;
    }

    .store-header-actions {
        gap: 4px;
    }

    .store-header-action {
        min-height: 38px;
        padding: 0 8px;
        font-size: 8px;
    }

    .store-category-bar {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .store-category-bar::-webkit-scrollbar {
        display: none;
    }

    .store-category-inner {
        width: max-content;
        min-width: 100%;
        min-height: 46px;
        justify-content: flex-start;
        padding: 0 16px;
        gap: 25px;
    }

    .store-category-item {
        min-height: 46px;
    }

    .store-category-link {
        min-height: 46px;
        font-size: 9px;
    }

    .store-category-link::after {
        bottom: 7px;
    }

    .store-subcategory-menu {
    z-index: 1001;
        display: none;
    }
}

/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {

    .store-header-inner {
        width: calc(100% - 24px);
        min-height: 64px;
        padding: 10px 0;
    }

    .store-logo-title {
        font-size: 19px;
    }

    .store-logo-subtitle {
        font-size: 7px;
        letter-spacing: 0.20em;
    }

    .store-header-actions {
        gap: 3px;
    }

    .store-header-actions .store-header-action {
        width: 38px;
        min-width: 38px;
        height: 38px;
        padding: 0;
        font-size: 0;
    }

    .store-header-actions .store-header-action::before {
        font-size: 15px;
        line-height: 1;
    }

    .store-header-actions .store-header-action[href*="login"]::before {
        content: "○";
    }

    .store-header-actions .store-header-action[href*="register"]::before {
        content: "+";
    }

    .store-header-actions .store-header-action[href*="logout"]::before {
        content: "↪";
    }

    .store-header-actions .store-header-action[href="/store/account/"]::before {
        content: "○";
    }

    .store-header-actions .store-cart-action {
        font-size: 0;
    }

    .store-header-actions .store-cart-action::before {
        content: "Bag";
        font-family: Arial, Helvetica, sans-serif;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .store-header-actions .store-cart-action .cart-count {
        font-size: 8px;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .store-search-form {
        height: 42px;
    }

    .store-search-input {
        padding: 0 14px;
        font-size: 12px;
    }

    .store-search-button {
        padding: 0 16px;
        font-size: 8px;
    }

    .store-category-inner {
        min-height: 44px;
        gap: 22px;
    }

    .store-category-item {
        min-height: 44px;
    }

    .store-category-link {
        min-height: 44px;
        font-size: 8px;
        letter-spacing: 0.13em;
    }
}

/*
|--------------------------------------------------------------------------
| VERY SMALL SCREENS
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .store-header-inner {
        width: calc(100% - 20px);
    }

    .store-logo-title {
        font-size: 17px;
    }

    .store-logo-subtitle {
        font-size: 6px;
        letter-spacing: 0.16em;
    }

    .store-header-actions .store-header-action,
    .mobile-menu-button {
        width: 35px;
        min-width: 35px;
        height: 35px;
        min-height: 35px;
    }

    .store-header-actions .store-header-action::before {
        font-size: 14px;
    }

    .store-category-inner {
        gap: 18px;
        padding: 0 12px;
    }
}

/*
|--------------------------------------------------------------------------
| MOBILE HEADER / PREMIUM LAYOUT
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .store-header-inner {
        width: calc(100% - 24px);
        min-height: auto;
        padding: 12px 0;
        gap: 10px;
    }

    .store-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .store-logo-title {
        font-size: 21px;
        line-height: 1.05;
    }

    .store-logo-subtitle {
        margin-top: 6px;
        font-size: 7px;
        letter-spacing: 0.22em;
    }

    .store-search {
        order: 3;
        flex: 1 0 100%;
        width: 100%;
    }

    .store-search-form {
        height: 44px;
    }

    .store-search-input {
        padding: 0 15px;
        font-size: 13px;
    }

    .store-search-button {
        padding: 0 18px;
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .store-header-actions {
        flex: 0 0 auto;
        gap: 5px;
    }

    .store-header-actions .store-header-action {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        font-size: 0;
        border-color: var(--atelier-border, #e5e0d9);
    }

    .store-header-actions .store-header-action::before {
        font-size: 15px;
        line-height: 1;
    }

    .store-header-actions .store-cart-action {
        gap: 5px;
    }

    .store-header-actions .store-cart-action::before {
        content: "Sepet";
        font-family: Arial, Helvetica, sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .store-header-actions .store-cart-action .cart-count {
        width: 18px;
        min-width: 18px;
        height: 18px;
        font-size: 8px;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        font-size: 19px;
    }

    .store-category-bar {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .store-category-bar::-webkit-scrollbar {
        display: none;
    }

    .store-category-inner {
        width: max-content;
        min-width: 100%;
        min-height: 45px;
        justify-content: flex-start;
        padding: 0 14px;
        gap: 24px;
    }

    .store-category-item {
        min-height: 45px;
    }

    .store-category-link {
        min-height: 45px;
        font-size: 9px;
        letter-spacing: 0.13em;
    }
}

@media (max-width: 480px) {

    .store-header-inner {
        width: calc(100% - 20px);
        padding: 10px 0;
        gap: 9px;
    }

    .store-logo-title {
        font-size: 20px;
    }

    .store-logo-subtitle {
        font-size: 7px;
        letter-spacing: 0.19em;
    }

    .store-header-actions {
        gap: 4px;
    }

    .store-header-actions .store-header-action,
    .mobile-menu-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }

    .store-header-actions .store-header-action::before {
        font-size: 14px;
    }

    .store-header-actions .store-cart-action::before {
        font-size: 8px;
    }

    .store-search-form {
        height: 43px;
    }

    .store-search-input {
        font-size: 13px;
    }

    .store-search-button {
        padding: 0 15px;
        font-size: 9px;
    }
}

/*
|--------------------------------------------------------------------------
| MOBILE HEADER / DESKTOP CATEGORY BAR HIDE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .store-category-bar {
        display: none;
    }
}

/*
|--------------------------------------------------------------------------
| MOBILE HEADER / ACTION SPACING
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

    .store-header-inner {
        column-gap: 10px;
        row-gap: 9px;
    }

    .store-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .store-logo-title {
        font-size: 20px;
    }

    .store-header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
    }

    .store-header-actions .store-header-action,
    .mobile-menu-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        flex: 0 0 38px;
    }

    /*
    |--------------------------------------------------------------------------
    | SEPET
    |--------------------------------------------------------------------------
    */

    .store-header-actions .store-cart-action {
        width: 58px;
        min-width: 58px;
        flex-basis: 58px;
        gap: 5px;
        padding: 0 6px;
    }

    .store-header-actions .store-cart-action::before {
        font-size: 8px;
        white-space: nowrap;
    }

    .store-header-actions .store-cart-action .cart-count {
        width: 17px;
        min-width: 17px;
        height: 17px;
        flex: 0 0 17px;
        font-size: 8px;
    }

    /*
    |--------------------------------------------------------------------------
    | ARAMA
    |--------------------------------------------------------------------------
    */

    .store-search {
        margin-top: 1px;
    }

    .store-search-form {
        width: 100%;
    }
}

@media (max-width: 390px) {

    .store-header-inner {
        width: calc(100% - 16px);
        column-gap: 8px;
    }

    .store-header-actions {
        gap: 5px;
    }

    .store-header-actions .store-header-action,
    .mobile-menu-button {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        flex-basis: 36px;
    }

    .store-header-actions .store-cart-action {
        width: 55px;
        min-width: 55px;
        flex-basis: 55px;
    }

    .store-logo-title {
        font-size: 19px;
    }
}

/*
|--------------------------------------------------------------------------
| MOBILE HEADER / CLEAN ACTIONS
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {

    .store-header-inner {
        width: calc(100% - 20px);
        column-gap: 8px;
        row-gap: 10px;
    }

    .store-logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .store-logo-title {
        font-size: 20px;
    }

    .store-logo-subtitle {
        font-size: 7px;
        letter-spacing: 0.20em;
    }

    .store-header-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        margin-left: auto;
    }

    /*
    |--------------------------------------------------------------------------
    | ÜYE OL'U MOBİLDE GÖSTER
    |--------------------------------------------------------------------------
    */

    .store-header-actions .store-header-action[href*="login.php"],
    .store-header-actions .store-header-action[href*="register.php"],
    .store-header-actions .store-header-action[href*="logout.php"],
    .store-header-actions .store-header-action[href="/store/account/"] {
        display: inline-flex;
        width: auto;
        min-width: 0;
        height: 38px;
        min-height: 38px;
        padding: 0 11px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.04em;
        border: 1px solid var(--atelier-border, #e5e0d9);
        white-space: nowrap;
    }

    .store-header-actions .store-header-action[href*="login.php"]::before,
    .store-header-actions .store-header-action[href*="register.php"]::before,
    .store-header-actions .store-header-action[href*="logout.php"]::before,
    .store-header-actions .store-header-action[href="/store/account/"]::before {
        content: none;
    }

    /*
    |--------------------------------------------------------------------------
    | SEPET
    |--------------------------------------------------------------------------
    */

    .store-header-actions .store-cart-action {
        width: 68px;
        min-width: 68px;
        height: 38px;
        min-height: 38px;
        padding: 0 7px;
        gap: 6px;
        border: 1px solid var(--atelier-border, #e5e0d9);
    }

    .store-header-actions .store-cart-action::before {
        content: "Sepet";
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    .store-header-actions .store-cart-action .cart-count {
        width: 18px;
        min-width: 18px;
        height: 18px;
        flex: 0 0 18px;
        font-size: 8px;
    }

    /*
    |--------------------------------------------------------------------------
    | HAMBURGER
    |--------------------------------------------------------------------------
    */

    .mobile-menu-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        flex: 0 0 38px;
    }
}

@media (max-width: 390px) {

    .store-header-inner {
        width: calc(100% - 16px);
        column-gap: 6px;
    }

    .store-logo-title {
        font-size: 19px;
    }

    .store-header-actions {
        gap: 5px;
    }

    .store-header-actions .store-header-action[href*="login.php"],
    .store-header-actions .store-header-action[href*="register.php"],
    .store-header-actions .store-header-action[href*="logout.php"],
    .store-header-actions .store-header-action[href="/store/account/"] {
        min-width: 0;
        padding: 0 9px;
        font-size: 9px;
    }

    .store-header-actions .store-cart-action {
        width: 64px;
        min-width: 64px;
        flex-basis: 64px;
    }
}

/*
|--------------------------------------------------------------------------
| HEADER / PREMIUM NAV TYPOGRAPHY
|--------------------------------------------------------------------------
*/

@media (min-width: 901px) {

    .store-category-inner {
        gap: 38px !important;
        min-height: 54px !important;
    }

    .store-category-item {
        min-height: 54px !important;
    }

    .store-category-link {
        min-height: 54px !important;
        padding: 0 3px !important;
        font-family: Inter, "Segoe UI", Arial, sans-serif !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 0.12em !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
        transition:
            color 0.2s ease,
            letter-spacing 0.2s ease !important;
    }

    .store-category-link:hover {
        letter-spacing: 0.15em !important;
    }

    .store-category-link::after {
        bottom: 8px !important;
        height: 1px !important;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {

    .store-category-inner {
        gap: 27px !important;
    }

    .store-category-link {
        font-size: 10px !important;
        letter-spacing: 0.10em !important;
    }
}

/*
|--------------------------------------------------------------------------
| HEADER / PREMIUM NAV TYPOGRAPHY — FINAL
|--------------------------------------------------------------------------
*/

@media (min-width: 901px) {

    .store-category-link {
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.08em !important;
    }

    .store-category-link:hover {
        letter-spacing: 0.10em !important;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {

    .store-category-link {
        font-size: 11px !important;
        letter-spacing: 0.07em !important;
    }
}


/*
|--------------------------------------------------------------------------
| MOBILE HEADER / FINAL ACTION STYLE
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {

    .store-logo {
        align-items: center;
    }

    .store-header-actions {
        margin-left: auto !important;
        gap: 7px !important;
    }

    .store-header-actions .store-header-action[href*="login.php"],
    .store-header-actions .store-header-action[href*="register.php"],
    .store-header-actions .store-header-action[href*="logout.php"],
    .store-header-actions .store-header-action[href="/store/account/"] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 48px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 11px !important;
        border: 1px solid var(--atelier-border, #e5e0d9) !important;
        border-radius: 4px;
        background: var(--atelier-white, #ffffff);
        color: var(--atelier-black, #171717);
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 0.03em !important;
        line-height: 1 !important;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .store-header-actions .store-header-action[href*="login.php"]::before,
    .store-header-actions .store-header-action[href*="register.php"]::before,
    .store-header-actions .store-header-action[href*="logout.php"]::before,
    .store-header-actions .store-header-action[href="/store/account/"]::before {
        content: none !important;
    }

    .store-header-actions .store-header-action:hover {
        background: var(--atelier-paper, #f5f1eb);
        color: var(--atelier-accent, #8b4b45);
    }

    .store-header-actions .store-cart-action {
        width: 70px !important;
        min-width: 70px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 8px !important;
        gap: 6px !important;
        border: 1px solid var(--atelier-border, #e5e0d9) !important;
        border-radius: 4px;
    }

    .store-header-actions .store-cart-action::before {
        content: "Sepet" !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 0.03em !important;
        white-space: nowrap;
    }
}

@media (max-width: 390px) {

    .store-header-actions {
        gap: 5px !important;
    }

    .store-header-actions .store-header-action[href*="login.php"],
    .store-header-actions .store-header-action[href*="register.php"],
    .store-header-actions .store-header-action[href*="logout.php"],
    .store-header-actions .store-header-action[href="/store/account/"] {
        min-width: 44px !important;
        padding: 0 9px !important;
        font-size: 10px !important;
    }

    .store-header-actions .store-cart-action {
        width: 66px !important;
        min-width: 66px !important;
    }
}

/*
|--------------------------------------------------------------------------
| DESKTOP HEADER ACTIONS / READABLE TYPOGRAPHY
|--------------------------------------------------------------------------
*/

@media (min-width: 641px) {

    .store-header-actions .store-header-action {
        min-height: 42px;
        padding: 0 15px;
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.06em !important;
        line-height: 1.1;
    }

    .store-header-actions .store-cart-action {
        gap: 8px;
    }

    .store-header-actions .store-cart-action::before {
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.04em !important;
    }
}

 /* ==========================================================
    HOME & LIVING HEADER PALETTE
    ========================================================== */

.store-theme-home {
    --atelier-cream: #f6f3ed;
    --atelier-paper: #eee9df;
    --atelier-white: #ffffff;
    --atelier-black: #292720;
    --atelier-taupe: #7b746a;
    --atelier-muted: #777268;
    --atelier-border: #ddd6ca;
    --atelier-accent: #8a7658;
}

.store-theme-home .store-search-button {
    background: #8a7658;
}

.store-theme-home .store-search-button:hover {
    background: #705f47;
}

/* ==========================================================
   MOBILE LOGO OVERFLOW FIX
   ========================================================== */

@media (max-width: 640px) {

    .store-logo {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .store-logo-image {
        display: block;
        width: auto !important;
        max-width: 100% !important;
        max-height: 42px;
        height: auto !important;
        object-fit: contain;
    }

    .store-logo-title,
    .store-logo-subtitle {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 390px) {

    .store-logo-image {
        max-height: 36px;
    }

    .store-logo-title {
        font-size: 17px !important;
    }
}
