/* Notifications Dropdown Content Only */
#NotificationsDropdown{
    width: 380px !important;
    max-width: calc(100vw - 20px);
    padding: 0 !important;
    overflow: hidden;
}

.notify-dropdown-head{
    padding: 18px 18px 14px;
    border-bottom: 1px solid #edf3ef;
    background:
        radial-gradient(circle at top right, rgba(0,103,71,.07), transparent 30%),
        linear-gradient(180deg, #f7fbf9 0%, #eff7f2 100%);
}

.notify-dropdown-head__top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.notify-dropdown-title{
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: #023720;
    line-height: 1.2;
}

.notify-dropdown-subtitle{
    margin: 4px 0 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.5;
}

.notify-dropdown-total{
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(220, 38, 38, 0.22);
    flex-shrink: 0;
}

.notify-dropdown-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(2,55,32,.06);
    color: #023720;
    font-size: .8rem;
    font-weight: 800;
    border: 1px solid rgba(2,55,32,.08);
}

.notify-dropdown-chip__dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.15);
}

.notify-dropdown-body{
    padding: 14px;
    background: #fbfdfc;
}

.notify-dropdown-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 2px;
}

.notify-card{
    position: relative;
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e7efea;
    border-radius: 18px;
    padding: 14px;
    transition: .25s ease;
    box-shadow: 0 10px 22px rgba(2,55,32,.04);
}

.notify-card::before{
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #023720 0%, #0d8a58 100%);
    opacity: 0;
    transition: .25s ease;
    border-radius: 18px 0 0 18px;
}

.notify-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(2,55,32,.09);
    border-color: #dce9e1;
}

.notify-card:hover::before{
    opacity: 1;
}

.notify-card__head{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notify-card__avatar{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #023720, #0f8a59);
    color: #fff;
    font-weight: 900;
    font-size: .95rem;
    box-shadow: 0 10px 20px rgba(2,55,32,.15);
}

.notify-card__content{
    min-width: 0;
    flex: 1;
}

.notify-card__topline{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.notify-card__badge{
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .70rem;
    font-weight: 800;
    background: #ecfdf3;
    color: #0f8a4b;
    border: 1px solid #bbf7d0;
    white-space: nowrap;
}

.notify-card__time{
    font-size: .74rem;
    color: #94a3b8;
    font-weight: 700;
    white-space: nowrap;
}

.notify-card__title{
    margin: 0;
    font-size: .9rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.4;
}

.notify-card__excerpt{
    margin: 6px 0 8px;
    color: #475569;
    font-size: .82rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notify-card__meta{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: .76rem;
    font-weight: 700;
}

.notify-dropdown-footer{
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2ef;
}

.notify-dropdown-viewall{
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: .9rem;
    background: linear-gradient(135deg, #023720 0%, #0b7d50 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(2,55,32,.18);
    transition: .25s ease;
}

.notify-dropdown-viewall:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(2,55,32,.24);
}

.notify-empty{
    text-align: center;
    padding: 28px 18px 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
}

.notify-empty__icon{
    width: 94px;
    height: 94px;
    margin: 0 auto 10px;
    animation: notifyBellFloat 3s ease-in-out infinite;
}

.notify-empty__icon svg{
    width: 100%;
    height: 100%;
    display: block;
}

.notify-empty__circle{
    fill: #eef9f3;
    stroke: rgba(46,185,126,.24);
    stroke-width: 2;
}

.notify-empty__bell{
    fill: none;
    stroke: #023720;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notify-empty__title{
    margin: 0 0 6px;
    color: #023720;
    font-size: 1rem;
    font-weight: 900;
}

.notify-empty__text{
    margin: 0;
    color: #64748b;
    font-size: .84rem;
    line-height: 1.7;
}

@keyframes notifyBellFloat{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-6px); }
}

@media (max-width: 640px){
    #NotificationsDropdown{
        width: min(94vw, 380px) !important;
    }

    .notify-dropdown-head{
        padding: 16px 16px 12px;
    }

    .notify-dropdown-body{
        padding: 12px;
    }

    .notify-card{
        padding: 12px;
        border-radius: 16px;
    }

    .notify-card__avatar{
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}
.cart-loading-state{
        display:flex;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        gap:14px;
        padding:42px 20px;
        text-align:center;
    }

    .cart-loading-state__spinner{
        width:52px;
        height:52px;
        border-radius:999px;
        border:4px solid rgba(2, 55, 32, 0.12);
        border-top-color:#023720;
        border-right-color:#2EB97E;
        animation:cartSpin .85s linear infinite;
        box-shadow:0 8px 24px rgba(2,55,32,.10);
    }

    .cart-loading-state__title{
        margin:0;
        font-size:15px;
        font-weight:700;
        color:#023720;
        letter-spacing:.2px;
    }

    .cart-loading-state__text{
        margin:0;
        font-size:13px;
        color:#5f6f68;
    }

    @keyframes cartSpin{
        to{ transform:rotate(360deg); }
    }

    @media (max-width: 1023px) {
    #mobile-search-sheet,
    #mobile-notifications-sheet,
    #mobile-cart-sheet-panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0 !important;
    }

    #mobile-search-panel,
    #mobile-notifications-panel,
    #mobile-cart-sheet {
        overscroll-behavior: contain;
    }

    #mobile-search-results-wrapper,
    #mobile-notifications-sheet .flex-1,
    #mobile-cart-sheet-panel .flex-1 {
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================
   MOBILE FULLSCREEN PANELS
========================= */

.mobile-fullscreen-panel{
    position: fixed;
    inset: 0;
    z-index: 99998;
}

.mobile-fullscreen-overlay{
    position: absolute;
    inset: 0;
    background: rgba(2, 12, 10, .44);
    opacity: 0;
    transition: opacity .28s ease;
    backdrop-filter: blur(2px);
}

.mobile-fullscreen-overlay.is-visible{
    opacity: 1;
}

.mobile-fullscreen-sheet{
    position: absolute;
    inset: 0;
    background: #ffffff;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    z-index: 2;
    box-shadow: 0 24px 60px rgba(2,55,32,.18);
    will-change: transform;
}

.mobile-fullscreen-sheet--top{
    transform: translateY(-100%);
    transition: transform .28s ease;
}

.mobile-fullscreen-sheet--bottom{
    transform: translateY(100%);
    transition: transform .28s ease;
}

.mobile-fullscreen-sheet.is-open{
    transform: translateY(0);
}

.mobile-sheet-head{
    padding: max(16px, env(safe-area-inset-top)) 16px 14px;
    background: #fff;
    border-bottom: 1px solid #eef2f0;
    flex-shrink: 0;
}

.mobile-sheet-head--space{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-sheet-title{
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: #023720;
    line-height: 1.2;
}

.mobile-sheet-subtitle{
    margin: 5px 0 0;
    font-size: .86rem;
    color: #6b7280;
    line-height: 1.5;
}

.mobile-sheet-searchbar{
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-sheet-searchbar__input-wrap{
    position: relative;
    flex: 1;
}

.mobile-sheet-searchbar__input{
    width: 100%;
    height: 52px;
    padding: 0 50px 0 16px;
    border: 2px solid #dfe7e2;
    border-radius: 18px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
    transition: .2s ease;
}

.mobile-sheet-searchbar__input:focus{
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,.08);
}

.mobile-sheet-searchbar__submit{
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(16,185,129,.18);
}

.mobile-sheet-close-icon{
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid #dfe7e2;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
    box-shadow: 0 6px 16px rgba(2,55,32,.06);
}

.mobile-sheet-close-icon:hover,
.mobile-sheet-close-icon:active{
    color: #023720;
    border-color: #9fd7bf;
    background: #f7fbf8;
}

.mobile-sheet-close-text{
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: .9rem;
    font-weight: 800;
    padding: 8px 0;
    transition: .2s ease;
}

.mobile-sheet-close-text:hover,
.mobile-sheet-close-text:active{
    color: #023720;
}

.mobile-sheet-chip{
    margin: 14px 16px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eaf7f0;
    color: #023720;
    border: 1px solid rgba(2,55,32,.08);
    font-size: .84rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mobile-sheet-chip__dot{
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #2EB97E;
    box-shadow: 0 0 0 4px rgba(46,185,126,.14);
}

.mobile-sheet-body{
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    padding: 14px 16px 18px;
}

.mobile-sheet-body--padded{
    padding-top: 14px;
}

.mobile-sheet-footer{
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #eef2f0;
    flex-shrink: 0;
}

.mobile-sheet-cart-footer{
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.mobile-primary-btn{
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    background: #023720;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
    box-shadow: 0 14px 28px rgba(2,55,32,.16);
}

.mobile-primary-btn:hover{
    background: #03492b;
    color: #fff;
}

html.mobile-panel-open,
body.mobile-panel-open{
    overflow: hidden !important;
    touch-action: none;
}

/* search cloned dropdown cleanup */
#mobile-search-dropdown-clone{
    min-height: 100%;
}

#mobile-search-dropdown-clone #searchDropdown{
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#mobile-search-dropdown-clone > *{
    width: 100%;
}

/* mobile cart item tuning */
#mobile-cart-sheet-content .drawer-item{
    display: flex;
    gap: 14px;
    padding: 16px 0;
    align-items: flex-start;
}

#mobile-cart-sheet-content .drawer-item > div:first-child{
    width: 82px;
    min-width: 82px;
    height: 82px;
    border-radius: 14px;
    overflow: hidden;
}

#mobile-cart-sheet-content .drawer-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#mobile-cart-sheet-content .drawer-item h3{
    font-size: .95rem;
    line-height: 1.45;
    margin: 0;
}

#mobile-cart-sheet-content .drawer-item p,
#mobile-cart-sheet-content .drawer-item span,
#mobile-cart-sheet-content .drawer-item a,
#mobile-cart-sheet-content .drawer-item button{
    font-size: .84rem;
}

/* hide any unexpected blocks inside cart content if route returns junk */
#mobile-cart-sheet-content > :not(.drawer-item):not(.cart-loading-state):not(.cart-empty-state){
    display: none !important;
}

@media (min-width: 1024px){
    .mobile-fullscreen-panel{
        display: none !important;
    }
}

.ss-overlay,
.ss-container{
    pointer-events: none;
}

.ss-overlay.ss-active,
.ss-container.ss-active{
    pointer-events: auto;
}

@media (max-width: 767px){
    .ss-container{
        overscroll-behavior: contain;
    }

    .ss-body,
    .ss-results,
    .ss-content,
    #searchDropdown{
        -webkit-overflow-scrolling: touch;
    }
}
.honor-leaderboard-link {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    overflow: hidden;

    color: #023720;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .01em;

    background:
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(227,251,241,.95)),
        radial-gradient(circle at 20% 20%, rgba(246,201,69,.45), transparent 38%);

    border: 1px solid rgba(0, 138, 80, .18);

    box-shadow:
        0 10px 24px rgba(2, 55, 32, .10),
        inset 0 1px 0 rgba(255,255,255,.9),
        0 0 0 0 rgba(46, 185, 126, .24);

    text-decoration: none;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.honor-leaderboard-link::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -2;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        #f6c945,
        #2eb97e,
        #00c875,
        #f6c945
    );
    background-size: 240% 240%;
    opacity: .65;
    animation: honorBorderGlow 3.2s linear infinite;
}

.honor-leaderboard-link::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, #ffffff 0%, #e3fbf1 55%, #ffffff 100%);
}

.honor-leaderboard-link__shine {
    position: absolute;
    top: -40%;
    left: -70%;
    width: 46%;
    height: 180%;
    transform: rotate(24deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.85),
        transparent
    );
    animation: honorShine 3s ease-in-out infinite;
    pointer-events: none;
}

.honor-leaderboard-link__icon {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff4b8, #f6c945);
    box-shadow:
        0 6px 14px rgba(246, 201, 69, .28),
        inset 0 1px 0 rgba(255,255,255,.8);
    font-size: 15px;
    transform-origin: center;
    animation: honorTrophyFloat 2.4s ease-in-out infinite;
}

.honor-leaderboard-link__spark {
    color: #008a50;
    font-size: 13px;
    animation: honorSpark 1.6s ease-in-out infinite;
}

.honor-leaderboard-link:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.025);
    border-color: rgba(246, 201, 69, .65);
    box-shadow:
        0 18px 34px rgba(2, 55, 32, .18),
        0 0 22px rgba(46, 185, 126, .28),
        0 0 36px rgba(246, 201, 69, .20);
}

.honor-leaderboard-link:hover::after {
    background: linear-gradient(135deg, #023720 0%, #008a50 72%, #2eb97e 100%);
}

.honor-leaderboard-link:hover .honor-leaderboard-link__spark {
    color: #fff4b8;
}

@keyframes honorBorderGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 240% 50%;
    }
}

@keyframes honorShine {
    0%, 42% {
        left: -70%;
        opacity: 0;
    }
    52% {
        opacity: 1;
    }
    72%, 100% {
        left: 130%;
        opacity: 0;
    }
}

@keyframes honorTrophyFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-2px) rotate(-6deg);
    }
}

@keyframes honorSpark {
    0%, 100% {
        opacity: .45;
        transform: scale(.9) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.22) rotate(18deg);
    }
}

@media (max-width: 768px) {
    .honor-leaderboard-link {
        padding: 9px 13px;
        font-size: 13px;
    }

    .honor-leaderboard-link__icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}
.mobile-lang-trigger {
    background: #ffffff !important;
    color: #0A7A48 !important;
    border: 1px solid rgba(10, 122, 72, 0.12);
    box-shadow: 0 8px 22px rgba(2, 55, 32, 0.10);
    transition: all 0.25s ease;
}

.mobile-lang-trigger svg {
    display: block;
}

.mobile-lang-trigger:hover {
    background: #F0FBF6 !important;
    color: #006747 !important;
    transform: translateY(-1px);
}

.mobile-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 999999;
    width: 12rem;
    background: #ffffff;
    border: 1px solid #eef2f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(2, 55, 32, 0.16);
}

.mobile-lang-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    inset-inline-end: 18px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #eef2f0;
    border-top: 1px solid #eef2f0;
    transform: rotate(45deg);
}

@media (max-width: 420px) {
    .mobile-lang-dropdown {
        inset-inline-end: -46px;
    }
}
.honor-leaderboard-link{
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
flex-wrap: nowrap !important;
white-space: nowrap !important;
}

.honor-leaderboard-link__text{
display: inline-block !important;
white-space: nowrap !important;
line-height: 1 !important;
word-break: keep-all !important;
overflow-wrap: normal !important;
}

html[dir="rtl"] .honor-leaderboard-link{
direction: rtl !important;
}

html[dir="rtl"] .honor-leaderboard-link__text{
white-space: nowrap !important;
}
