html,
body {
    font-family: "Inter", sans-serif;
}

.shop-header {
    position: relative;
    z-index: 1040;
    color: #fff;
}

.shop-header-main {
    background:
        radial-gradient(circle at 8% 0%, rgba(20, 184, 166, .18), transparent 28%),
        radial-gradient(circle at 92% 30%, rgba(59, 130, 246, .12), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #0f3d3e 48%, #115e59 100%);
}

.shop-header-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}

.shop-brand {
    min-width: 245px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.shop-brand:hover {
    color: #fff;
}

.shop-logo-shell {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    color: var(--primary);
    font-size: 22px;
    box-shadow: 0 12px 30px rgba(2, 44, 34, .25);
}

.shop-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.shop-brand-copy {
    min-width: 0;
}

.shop-brand-copy strong,
.shop-brand-copy small {
    display: block;
}

.shop-brand-copy strong {
    max-width: 175px;
    overflow: hidden;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-brand-copy small {
    max-width: 180px;
    overflow: hidden;
    margin-top: 5px;
    color: #99f6e4;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .85px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-location {
    min-width: 165px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #fff;
    text-align: left;
    transition: .2s ease;
}

.header-location:hover {
    border-color: rgba(153, 246, 228, .34);
    background: rgba(20, 184, 166, .12);
}

.header-location > i {
    color: #5eead4;
    font-size: 20px;
}

.header-location span {
    min-width: 0;
}

.header-location small,
.header-location strong {
    display: block;
}

.header-location small {
    color: #99f6e4;
    font-size: 9px;
}

.header-location strong {
    max-width: 140px;
    overflow: hidden;
    margin-top: 2px;
    color: #fff;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search-box {
    height: 52px;
    min-width: 0;
    display: flex;
    flex: 1;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .2);
}

.header-search-box:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
}

.header-search-category {
    width: 160px;
    flex: 0 0 160px;
    border: 0;
    border-right: 1px solid #ccfbf1;
    background: #f0fdfa;
    padding: 0 13px;
    color: #134e4a;
    font-size: 11px;
    outline: none;
}

.header-search-box input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 0 16px;
    font-size: 13px;
    outline: none;
}

.header-search-button {
    width: 62px;
    flex: 0 0 62px;
    border: 0;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
    font-size: 20px;
}

.header-actions {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.header-action {
    position: relative;
    min-height: 49px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
}

.header-action:hover {
    border-color: rgba(153, 246, 228, .3);
    background: rgba(20, 184, 166, .12);
    color: #fff;
}

.header-action-icon {
    color: #5eead4;
    font-size: 19px;
}

.header-action-copy {
    white-space: nowrap;
}

.header-action-copy small,
.header-action-copy strong {
    display: block;
}

.header-action-copy small {
    color: #99f6e4;
    font-size: 8px;
}

.header-action-copy strong {
    margin-top: 2px;
    color: #fff;
    font-size: 10px;
    font-weight: 750;
}

.header-user-circle {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2dd4bf, #0f766e);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.header-cart-icon {
    position: relative;
    color: #fff;
    font-size: 29px;
}

.header-cart-count,
.mobile-cart-count {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #0f172a;
    border-radius: 999px;
    background: var(--header-accent);
    color: #111827;
    font-size: 9px;
    font-weight: 900;
}

.header-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
}

.shop-navigation {
    position: relative;
    z-index: 1041;
    overflow: visible;
    background: linear-gradient(90deg, #0f3d3e 0%, var(--header-nav) 52%, #0f766e 100%);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 5px 16px rgba(15, 23, 42, .2);
}

.shop-navigation .container-fluid,
.shop-nav-inner {
    overflow: visible;
}

.shop-nav-inner {
    position: relative;
    min-height: 47px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.shop-nav-item {
    position: relative;
    flex: 0 0 auto;
}

.shop-nav-link {
    height: 47px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.shop-nav-link:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.shop-nav-link.deal-link {
    color: var(--header-accent);
}

.shop-nav-link.all-menu {
    font-size: 12px;
    font-weight: 850;
}

.nav-chevron {
    font-size: 8px;
}

.category-hover-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 99999;
    width: 720px;
    max-width: calc(100vw - 30px);
    display: grid;
    grid-template-columns: 235px 1fr;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    border: 1px solid #ccfbf1;
    border-top: 3px solid var(--secondary);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .24);
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.shop-nav-item:hover > .category-hover-menu,
.shop-nav-item:focus-within > .category-hover-menu,
.shop-nav-item.mega-open > .category-hover-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-category-left {
    padding: 18px;
    background: linear-gradient(160deg, #f0fdfa, #ecfeff);
}

.mega-category-title {
    margin-bottom: 10px;
    color: #134e4a;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.mega-category-description {
    color: #64748b;
    font-size: 10px;
    line-height: 1.65;
}

.mega-category-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    padding: 8px 12px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.mega-category-right {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
    padding: 18px;
}

.mega-subcategory-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px;
    border: 1px solid #ecfeff;
    border-radius: 10px;
    color: #334155;
    font-size: 10px;
    font-weight: 650;
    text-decoration: none;
}

.mega-subcategory-link:hover {
    border-color: #5eead4;
    background: #f0fdfa;
    color: #0f766e;
    transform: translateY(-2px);
}

.account-dropdown {
    min-width: 285px;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .22);
}

.account-dropdown-head {
    padding: 17px;
    background: linear-gradient(135deg, #0f172a, #134e4a);
    color: #fff;
}

.account-dropdown-head strong,
.account-dropdown-head small {
    display: block;
}

.account-dropdown-head small {
    color: #99f6e4;
}

.account-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    font-size: 11px;
}

.account-dropdown .dropdown-item i {
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.account-dropdown .dropdown-item:hover {
    background: #f0fdfa;
    color: #0f766e;
}

.mobile-header-row,
.mobile-search-box {
    display: none;
}

.mobile-header-row {
    min-height: 58px;
    align-items: center;
    gap: 12px;
}

.mobile-menu-trigger {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 20px;
}

.mobile-logo {
    min-width: 0;
    flex: 1;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
}

.mobile-logo img {
    max-width: 145px;
    height: 40px;
    object-fit: contain;
}

.mobile-header-action {
    position: relative;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.mobile-cart-count {
    position: absolute;
    top: -9px;
    right: -10px;
}

.mobile-search-box {
    padding-bottom: 11px;
}

.mobile-search-box .header-search-box {
    width: 100%;
    height: 45px;
}

.shop-category-offcanvas {
    width: 390px !important;
}

.shop-category-offcanvas .offcanvas-header {
    background: linear-gradient(135deg, #0f172a, #134e4a);
    color: #fff;
}

.shop-category-offcanvas .btn-close {
    filter: invert(1);
}

.offcanvas-user-box {
    display: flex;
    align-items: center;
    gap: 11px;
}

.offcanvas-user-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

.offcanvas-category-group {
    border-bottom: 1px solid #eef2f7;
}

.offcanvas-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.offcanvas-category-link:hover {
    background: #f0fdfa;
    color: #0f766e;
}

.offcanvas-category-link span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offcanvas-subcategory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 18px 15px 49px;
}

.offcanvas-subcategory-list a {
    color: #64748b;
    font-size: 10px;
    text-decoration: none;
}

.location-modal-card {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
}

.location-modal-card .modal-header {
    padding: 22px 22px 10px;
}

.location-modal-card .modal-body {
    padding: 12px 22px 10px;
}

.location-modal-card .modal-footer {
    padding: 12px 22px 22px;
}

@media (max-width: 1399px) {
    .header-action-copy {
        display: none;
    }

    .header-action {
        min-width: 46px;
        justify-content: center;
    }

    .shop-brand {
        min-width: 190px;
    }
}

@media (max-width: 1199px) {
    .shop-header-row,
    .shop-navigation {
        display: none;
    }

    .mobile-header-row,
    .mobile-search-box {
        display: flex;
    }
}

@media (max-width: 575px) {
    .shop-category-offcanvas {
        width: 91% !important;
    }

    .offcanvas-subcategory-list {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   FIXED ACCOUNT DROPDOWN
========================================== */

.shop-header,
.shop-header-main,
.shop-header-row,
.header-actions,
.header-account-dropdown {
    overflow: visible !important;
}

.shop-header {
    z-index: 99990;
}

.shop-header-main {
    position: relative;
    z-index: 99992;
}

.shop-navigation {
    z-index: 99991;
}

.header-account-dropdown {
    position: relative;
    z-index: 100010;
}

.header-account-button {
    border: 1px solid rgba(153, 246, 228, .22);
    background: rgba(20, 184, 166, .08);
    cursor: pointer;
}

.header-account-button:hover,
.header-account-button.account-open {
    border-color: rgba(153, 246, 228, .48);
    background: rgba(20, 184, 166, .18);
}

.account-chevron {
    margin-left: 2px;
    color: #99f6e4;
    font-size: 9px;
    transition: transform .2s ease;
}

.header-account-button.account-open .account-chevron {
    transform: rotate(180deg);
}

.header-account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 100050;

    width: 320px;
    max-width: calc(100vw - 25px);

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    overflow: hidden;

    border: 1px solid #dbe4ea;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 25px 65px rgba(15, 23, 42, .25);

    transform: translateY(10px) scale(.98);

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

.header-account-menu.menu-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-account-menu::before {
    content: "";

    position: absolute;
    top: -8px;
    right: 30px;

    width: 16px;
    height: 16px;

    border-top: 1px solid #dbe4ea;
    border-left: 1px solid #dbe4ea;

    background: #0f3d3e;

    transform: rotate(45deg);
}

.account-dropdown-head {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(45, 212, 191, .18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #0f172a,
            #134e4a
        );

    color: #ffffff;
}

.account-large-avatar {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex: 0 0 48px;

    border: 2px solid rgba(255, 255, 255, .25);
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #2dd4bf,
            #0f766e
        );

    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.account-dropdown-head strong,
.account-dropdown-head small {
    display: block;
}

.account-dropdown-head strong {
    font-size: 14px;
    font-weight: 850;
}

.account-dropdown-head small {
    margin-top: 4px;
    color: #99f6e4;
    font-size: 9px;
    text-transform: capitalize;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 15px;

    border-bottom: 1px solid #f1f5f9;

    color: #111827;
    text-decoration: none;

    transition: .18s ease;
}

.account-menu-item:hover {
    padding-left: 18px;

    background: #f0fdfa;
    color: #0f766e;
}

.account-menu-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex: 0 0 38px;

    border-radius: 11px;

    background: #ccfbf1;
    color: #0f766e;

    font-size: 14px;
}

.account-menu-item > span:last-child {
    min-width: 0;
}

.account-menu-item strong,
.account-menu-item small {
    display: block;
}

.account-menu-item strong {
    color: #111827;
    font-size: 11px;
    font-weight: 800;
}

.account-menu-item small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 8px;
}

.account-menu-divider {
    height: 8px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.logout-menu-item {
    border-bottom: 0;
}

.logout-menu-item .account-menu-icon {
    background: #fee2e2;
    color: #dc2626;
}

.logout-menu-item strong {
    color: #dc2626;
}

@media(max-width:1399px) {
    .header-account-button .header-action-copy {
        display: block;
    }
}

@media(max-width:1199px) {
    .header-account-menu {
        display: none;
    }
}