@import '/Content/css/mythemesdefault.css?v=20261009-accessible-coral';

/* Actionable recovery after an interrupted or expired partial-page request. */
.request-recovery {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647;
    width: 520px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    border: 1px solid #e3c9a3;
    border-radius: 12px;
    background: #fffaf2;
    color: #382e20;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
    font-size: 1rem;
    line-height: 1.5;
}
/* Existing shared account/related-product styles previously loaded through wishlist.css. */
.site-page-navigation {
    max-width: 1220px;
    margin: 0 auto;
    padding: 10px 24px 0;
}

.site-page-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ColorSecondary);
    font-size: max(13px,.875rem);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

    .site-page-back:hover {
        background: #f4f4f4;
        color: var(--ColorSecondary);
        text-decoration: none;
    }

    .site-page-back:focus-visible {
        outline: 2px solid var(--ColorInputFocus);
        outline-offset: 2px;
    }

    .site-page-back[aria-disabled="true"] {
        opacity: .6;
        cursor: wait;
    }

@media(max-width:768px) {
    .site-page-navigation {
        padding: 4px 12px 0;
    }

    /* Match the inbox's 12px content gutter while preserving the 44px Back target. */
    /* Match the inbox's 12px content gutter while preserving the 44px Back target. */
    #pageContent:has(.messages-page) > .site-page-navigation .site-page-back {
        margin-inline-start: -10px;
    }
}
/* Desktop Back follows the existing page content edge, including narrower cards.
   The icon aligns with that edge; its padded 44px target extends into the gutter. */
@media(min-width:769px) {
    .site-page-navigation {
        width: 100%;
        max-width: none;
        padding: 10px 0 0;
    }

    .site-page-back {
        margin-inline-start: -10px;
    }

    #pageContent:has(.ProddetailsMaincontainer1) > .site-page-navigation {
        width: min(1440px,calc(100% - 40px));
    }

    #pageContent:has(.basket-page) > .site-page-navigation {
        max-width: 1220px;
        padding-inline: 24px;
    }

    #pageContent:has(.store-page) > .site-page-navigation {
        max-width: 1440px;
        padding-inline: 1.5rem;
    }

    #pageContent:has(.access-page) > .site-page-navigation {
        width: calc(100% - 40px);
        max-width: 480px;
    }

    .account-center-layout > #pageContent > .site-page-navigation {
        padding: 0;
        margin-bottom: 12px;
    }
}

@media(min-width:901px) {
    #pageContent:has(.account-auth-page) > .site-page-navigation {
        max-width: calc(880px + 1.5rem);
    }
}

@media(min-width:769px) and (max-width:800px) {
    #pageContent:has(.ProddetailsMaincontainer1) > .site-page-navigation {
        width: calc(100% - 24px);
    }
}

/* Contextual order links share the accessible Back target without adding another control. */
.orderitems-back-link.site-page-back,
.productreview-back-link.site-page-back {
    margin-inline-start: -10px;
    margin-bottom: 0;
    font-size: max(13px,.875rem);
}

.personal-center-header {
    font-weight: 600;
    margin-bottom: .75rem;
    font-size: .95rem;
}

.personal-center-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .personal-center-menu li + li {
        margin-top: .5rem;
    }

    .personal-center-menu a {
        display: inline-flex;
        align-items: center;
        gap: .1rem;
        text-decoration: none;
        color: var(--text-color);
        font-size: .9rem;
    }

        .personal-center-menu a:hover {
            color: var(--primary-color);
        }

.Ruleline {
    font-weight: bolder;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.GridCoverRep {
    padding: 20px;
}
/* Shared catalog recommendation sections retain the existing card/grid language. */
.catalog-recommendations {
    grid-column: 1/-1;
    min-width: 0;
    margin: 24px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: .5rem;
    overflow-anchor: none;
}

.catalog-recommendation-heading {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

    .catalog-recommendation-heading h2 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 650;
        line-height: 1.4;
        color: var(--ColorSecondary);
    }

.catalog-recommendation-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
}

.catalog-recommendation-status {
    margin: 0;
    color: var(--ColorFairGrey);
    font-size: max(13px,.8125rem);
    line-height: 1.5;
    text-align: center;
}

    .catalog-recommendation-status:empty {
        display: none;
    }

.catalog-recommendation-more {
    min-height: 44px;
    min-width: 140px;
    padding: 10px 24px;
    font-size: max(13px,.875rem);
}

    .catalog-recommendation-more:disabled {
        cursor: wait;
        opacity: .7;
    }

    .catalog-recommendations:not(.is-enhanced) [data-recommendation-more], .catalog-recommendation-skeleton[hidden], .catalog-recommendation-more[hidden] {
        display: none;
    }

.catalog-recommendation-skeleton {
    margin-top: 20px;
}

/* Shared purchase insets retain recommendation scope and recently viewed ordering. */
.catalog-recommendations .product-card, .recently-viewed-products .catalog-purchase-card { display: flex; flex-direction: column; min-width: 0; }
.catalog-recommendations .product-card > .product-info, .recently-viewed-products .catalog-purchase-info { flex: 1 0 auto; min-width: 0; padding: .75rem; }
.catalog-recommendations .product-info > .catalog-card-link, .recently-viewed-products .catalog-purchase-info > .catalog-card-link { height: auto; }
.catalog-recommendations [data-recommendation-grid] .product-image-wrapper .catalog-card-visual, .recently-viewed-products .catalog-purchase-media .catalog-card-visual { box-sizing: border-box; padding: .75rem; }
.catalog-recommendations [data-recommendation-skeleton] .skeleton-image { box-shadow: inset 0 0 0 .75rem #fff; }
.catalog-recommendations .product-card > .recommendation-quick-add, .recently-viewed-products .catalog-purchase-card > .recently-viewed-quick-add { position: relative; z-index: 2; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .5rem; width: auto; min-width: 0; height: auto; min-height: 44px; margin: 0 .75rem .75rem; padding: .65rem .4rem; box-sizing: border-box; font-size: .875rem; line-height: 1.4; text-align: center; color: var(--ColorPrimaryText); }
.catalog-recommendations .recommendation-quick-add:disabled, .recently-viewed-products .recently-viewed-quick-add:disabled { opacity: .5; cursor: not-allowed; }
.catalog-recommendations .product-card > .recommendation-skeleton-action { width: auto; flex: 0 0 auto; height: 44px; margin: 0 .75rem .75rem; border-radius: var(--btn-border-radius, 6px); }
.catalog-recommendations[data-recommendation-mode="orders"] .recommendation-skeleton-action,
.catalog-recommendations[data-recommendation-mode="order-more"] .recommendation-skeleton-action,
.catalog-recommendations[data-recommendation-mode="order-items"] .recommendation-skeleton-action,
.catalog-recommendations[data-recommendation-mode="order-items-more"] .recommendation-skeleton-action { display: none; }
@media(max-width:767px) {
    .catalog-recommendations .product-card > .product-info, .recently-viewed-products .catalog-purchase-info { padding: .625rem; }
    .catalog-recommendations [data-recommendation-grid] .product-image-wrapper .catalog-card-visual, .recently-viewed-products .catalog-purchase-media .catalog-card-visual { padding: .625rem; }
    .catalog-recommendations [data-recommendation-skeleton] .skeleton-image { box-shadow: inset 0 0 0 .625rem #fff; }
    .catalog-recommendations .product-card > .recommendation-quick-add, .recently-viewed-products .catalog-purchase-card > .recently-viewed-quick-add { margin: 0 .625rem .625rem; padding: .55rem .3rem; gap: .35rem; font-size: max(13px,.8125rem); }
    .catalog-recommendations .product-card > .recommendation-skeleton-action { margin: 0 .625rem .625rem; }
}


@media(max-width:768px) {
    .catalog-recommendations {
        margin: 20px 0;
        padding: 14px 12px;
    }

    .catalog-recommendation-heading {
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

        .catalog-recommendation-heading h2 {
            font-size: 1.125rem;
        }

    .catalog-recommendation-more {
        min-width: 116px;
        padding: 8px 18px;
    }
}

.orders-page .wishlist-empty {
    text-align: center;
    padding: 40px 10px;
    color: #777;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,.08);
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.wishlist-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--ColorPrimary);
}

.wishlist-empty-text-main {
    font-size: 1rem;
    margin-bottom: 4px;
}

.wishlist-empty-text-sub {
    font-size: .85rem;
}

.request-recovery[hidden] {
    display: none;
}

.request-recovery p {
    margin: 0 0 14px;
}

.request-recovery:focus,
.request-recovery button:focus-visible {
    outline: 3px solid #382e20;
    outline-offset: 3px;
}

:root {
    --primary-color: var(--ColorPrimary);
    --text-color: #444;
    --muted-text: #777;
    --bg-light: #fafafa;
    --border-color: #eee;
    --navbackcolor: #f7f0f0; /*#E0F5FA;*/
    --whitecolor: #fff1ed;
    --fullwhitecolor: #ffffff;
    --bodycolor: var(--bg-light);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-color);
    background: var(--bodycolor);
    background-repeat: no-repeat;
    scroll-behavior: smooth;
    /* Grow with page content so the home gradient spans the full document. */
    min-height: 100vh;
}

html {
    font-size: 85%;
}

/* --- header base --- */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    /* Sticky retains the header's layout space; no scroll-time fixed-position switch. */
    position: sticky;
    top: calc(-1 * var(--rana-utility-height, 40px));
    z-index: 1000;
}

/* SHEIN-like top utility strip */
.header-utility {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 1.75rem;
    font-size: 0.75rem;
    background-color: #f5f5f5;
    color: #666;
    height: 40px;
    overflow: visible;
    position: relative;
    z-index: 1004;
}

.to-freez-navbar {
    position: relative;
}

/* The navigation stays in normal header flow at every viewport width. */
.to-freez-navbar {
    background: #fff;
}


.utility-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.utility-link {
    color: #666;
    text-decoration: none;
}

    .utility-link:hover {
        text-decoration: underline;
    }

.utility-account {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.utility-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

    .utility-account-trigger::after {
        content: "▾";
        font-size: 0.72rem;
        line-height: 1;
    }

.utility-account-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 0.5rem;
    /*margin-top: 0.1rem;*/
    background: #fff;
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 0.9rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 1003;
}

.utility-account:hover .utility-account-menu,
.utility-account:focus-within .utility-account-menu {
    display: block;
}

.utility-account-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 0;
    border-radius: 0.7rem;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    text-align: left;
    font-size: 0.88rem;
    cursor: pointer;
}

    .utility-account-item:hover,
    .utility-account-item:focus {
        background: rgba(249, 81, 49, 0.08);
        color: #c84327;
        outline: none;
    }

.utility-account-item-primary {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.utility-account-signout {
    margin-top: 0.2rem;
    color: #c0392b;
}

.mobile-account-overlay,
.mobile-account-sidebar {
    display: none;
}

/* main header bar */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.75rem;
    background-color: var(--whitecolor);
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

    .logo a {
        text-decoration: none;
        color: var(--text-color);
    }

/* search */
.search-box {
    flex: 1;
    max-width: 560px;
    margin: 0 1.5rem;
    display: flex;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 0.55rem 0.8rem;
    border-radius: 999px 0 0 999px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 0.9rem;
}

.search-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 0 999px 999px 0;
    border: 1px solid var(--ColorPrimaryHover);
    /* background: var(--ColorPrimaryGradient) ;
    background-color: transparent;
    color: #fff;*/
    font-size: 0.9rem;
    cursor: pointer;
}

    .search-btn:hover {
        background-color: var(--ColorPrimaryHover);
    }

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    background: var(--fullwhitecolor);
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 1rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    padding: 0.45rem;
    max-height: min(22rem, 60vh);
    overflow-y: auto;
    z-index: 1200;
}

.search-recent-panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    background: var(--fullwhitecolor);
    border: 1px solid rgba(128, 128, 128, 0.18);
    border-radius: 1rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0.8rem;
    z-index: 1199;
}

    .search-recent-panel[hidden] {
        display: none !important;
    }

.search-recent-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--muted-text);
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.search-recent-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.search-recent-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid rgba(249, 81, 49, 0.18);
    border-radius: 999px;
    background: rgba(249, 81, 49, 0.05);
    color: var(--text-color);
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    cursor: pointer;
}

    .search-recent-chip:hover {
        background: rgba(249, 81, 49, 0.11);
        color: #c84327;
    }

.search-suggestions[hidden] {
    display: none !important;
}

.search-suggestion-item,
.search-suggestion-action {
    display: flex;
    align-items: center;
    width: 100%;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.search-suggestion-item {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
}

.search-suggestion-action {
    margin-top: 0.2rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary-color);
}

    .search-suggestion-item:hover,
    .search-suggestion-item.is-active,
    .search-suggestion-action:hover,
    .search-suggestion-action.is-active {
        background: rgba(249, 81, 49, 0.08);
        color: #c84327;
    }

.search-suggestion-prefix {
    color: var(--muted-text);
    margin-right: 0.5rem;
    flex: 0 0 auto;
}

.search-suggestion-text {
    min-width: 0;
}


/*inputs*/
input[type="text"] {
    outline: none;
}

    input[type="text"]:focus {
        border: solid 1px #ff5a5f;
    }

/*inputs*/


/* cart */
.header-actions .cart-link {
    color: #111;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.cart-icon {
    margin-right: 0.35rem;
}

/* --- SHEIN-like nav bar (desktop) --- */
.nav-shein-shell {
    position: relative;
    overflow: visible;
}

.nav-shein-viewport {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .nav-shein-viewport::-webkit-scrollbar {
        display: none;
    }

.nav-shein {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 2.75rem;
    min-height: 44px;
    background-image: var(--ColorPrimaryGradient);
    background-color: transparent /*var(--ColorPrimaryGradient2) */;
    position: relative;
    z-index: 998;
    overflow-y: visible;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
}

.nav-shein-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.nav-shein-scroll-left {
    left: 0.45rem;
}

.nav-shein-scroll-right {
    right: 0.45rem;
}

.nav-shein-scroll-btn:hover {
    background: #ffffff;
}

/* top category items */
.nav-shein .nav-item {
    position: relative;
    margin-right: 1.75rem;
    height: 100%;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.navlinkcover {
    text-align: center;
}

    .navlinkcover:hover {
        border-bottom: solid 1px var(--primary-color);
    }

.nav-shein .nav-link {
    border: 0;
    background: transparent;
    font-family: inherit;
    min-height: 44px;
    font-size: 0.9rem;
    letter-spacing: .06em;
    color: var(--whitecolor) /*#222*/;
    text-decoration: none;
    padding: 0.2rem 0;
    text-align: center;
    cursor: pointer;
}

.nav-shein .nav-item:hover .nav-link {
    /*border-color: #111;*/
}

.nav-panel-template {
    display: none;
}

.nav-panel-host {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 420px;
    max-width: min(820px, calc(100vw - 3.5rem));
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 0.75rem 1rem 1rem;
    z-index: 1002;
}

    .nav-panel-host.is-open {
        display: block;
    }

    .nav-panel-host .nav-panel-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        min-width: 100%;
    }

/* inner grid of subcategories */
.nav-panel-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 100%;
    /*background-color:antiquewhite;*/
}

/* each subcategory tile (circle image + text) */
.nav-panel-item {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    justify-self: center;
    align-self: center;
}

    .nav-panel-item:hover .nav-panel-photo {
        border-color: var(--primary-color);
        transition: all 0.8s;
    }

    .nav-panel-item:hover .nav-panel-title {
        color: var(--primary-color);
        transition: all 0.8s;
    }

.nav-panel-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(12, 11, 11, 0.2);
    overflow: hidden;
    transition: all 0.8s;
    cursor: pointer;
}

    .nav-panel-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.nav-panel-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

    .nav-panel-title:hover {
        color: #111;
    }

/* Layout */

/* Shared storefront footer: quiet surfaces, the existing coral accent and real destinations. */
.footer.site-footer {
    margin-top: 24px;
    padding: 0;
    border-top: 1px solid #e4e4e4;
    background: #F7F5F3;
    color: var(--ColorSecondary);
}

.site-footer-inner {
    width: 85%;
    margin: 0 auto;
    padding: 44px 1.75rem 20px;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 40px;
    padding-bottom: 32px;
}

    .site-footer-main > * {
        min-width: 0;
    }

.site-footer a {
    color: var(--ColorSecondary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

    .site-footer a:hover {
        color: var(--ColorPrimary);
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .site-footer a:focus-visible {
        outline: 2px solid var(--ColorInputFocus);
        outline-offset: 3px;
        border-radius: 4px;
    }

.site-footer .site-footer-logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.site-footer-logo span {
    color: var(--ColorPrimary);
}

.site-footer-intro {
    max-width: 280px;
    margin: 12px 0 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer .site-footer-seller {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ColorPrimary);
    border-radius: 6px;
    color: var(--ColorPrimary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

    .site-footer .site-footer-seller:hover {
        background: #fff1ed;
        color: var(--ColorPrimaryHover);
        text-decoration: none;
    }

.site-footer-seller i {
    flex: 0 0 auto;
}

.site-footer-social-label {
    margin: 20px 0 8px;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
}

.site-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #d6d1cd;
    border-radius: 50%;
    color: var(--ColorSecondary);
    font-size: 17px;
}

.site-footer-main h2 {
    margin: 8px 0 12px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.site-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .site-footer-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 7px 0;
        font-size: 14px;
        line-height: 1.5;
        color: #555;
    }

.site-footer .site-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.site-footer-contact i {
    color: var(--ColorPrimary);
    font-size: 14px;
}

.site-footer-hours {
    margin: 4px 0 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}

.site-footer-support-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

    .site-footer-support-links a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 7px 0;
        font-size: 13px;
        line-height: 1.5;
    }

    .site-footer-support-links i {
        flex: 0 0 auto;
    }

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 16px;
    border-top: 1px solid #e9e9e9;
}

.site-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 24px;
    min-width: 0;
}

    .site-footer-legal p {
        color: #555;
        font-size: 12px;
        line-height: 1.6;
    }

    .site-footer-legal nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0 20px;
    }

    .site-footer-legal a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 7px 0;
        font-size: 12px;
        line-height: 1.5;
        color: #555;
    }

.site-footer-payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
}

    .site-footer-payments li {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .site-footer-payments i {
        color: var(--ColorSecondary);
        font-size: 15px;
    }

.site-footer-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .site-footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer-intro {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .footer.site-footer {
        margin-top: 16px;
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .site-footer-inner {
        width: 100%;
        padding: 28px max(20px, env(safe-area-inset-right)) 18px max(20px, env(safe-area-inset-left));
    }

    .site-footer-main {
        gap: 24px;
        padding-bottom: 24px;
    }

    .site-footer-bottom {
        align-items: flex-start;
        gap: 8px;
    }

    .site-footer-legal {
        width: 100%;
        gap: 8px;
    }

        .site-footer-legal p {
            width: 100%;
        }
    /* The cart has a second fixed action bar above the shared mobile navigation. */
    #pageContent:has(.basket-mobile-summary) + .site-footer {
        padding-bottom: calc(148px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 600px) {
    .site-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }

        .site-footer-main h2 {
            margin-top: 0;
            margin-bottom: 6px;
        }

    .site-footer-support {
        grid-column: 1 / -1;
        padding-top: 20px;
        border-top: 1px solid #e9e9e9;
    }

    .site-footer-intro {
        margin-top: 8px;
        margin-bottom: 16px;
    }
}

@media (forced-colors: active) {
    .site-footer a:focus-visible {
        outline-color: Highlight;
    }

    .site-footer .site-footer-seller {
        border-color: ButtonText;
    }
}

.main-content {
    padding: 1.5rem 1.75rem;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.main-contentnopadding {
    margin-left: auto;
    margin-right: auto;
    width: 85% !important;
}

.hero {
    background: linear-gradient(135deg, #ffe1e1, #ffeadd);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero-banner h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.hero-banner p {
    color: var(--muted-text);
}




/* main category scroller */
.main-categories-wrapper {
    position: relative;
    margin: 1.25rem 0;
}

.main-categories {
    display: grid;
    grid-auto-flow: column; /* lay out in columns */
    grid-auto-columns: minmax(120px, 1fr); /* each column width */
    grid-template-rows: repeat(2, auto); /* exactly 2 rows vertically */
    gap: 2rem 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2.5rem; /* space for arrows */

    scroll-behavior: smooth;
    /* hide scrollbars cross-browser */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

    .main-categories::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

/* keep existing category tile styles as-is */
.category-icon {
    display: flex;
    text-align: center;
    text-decoration: none;
    color: #333;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .category-icon a {
        text-align: center;
        text-decoration: none;
        color: var(--text-color);
    }

.category-icon-image-wrapper {
    border-radius: 50%;
    background-color: red;
    width: 120px;
    height: 120px;
    border: solid 1px rgba(0 0 0 0.6);
}

    .category-icon-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }


/* scroll buttons */
.main-categories-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: #333;
}



.main-categories-scroll-left {
    left: 0.25rem;
}

.main-categories-scroll-right {
    right: 0.25rem;
}

.main-categories-scroll-btn .fa-chevron-left,
.main-categories-scroll-btn .fa-chevron-right {
    font-size: 0.9rem;
}

/* optional hover */
.main-categories-scroll-btn:hover {
    background: #fff;
}





/* Shein-like product grid */

.filters-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.filters {
    display: grid;
    grid-auto-flow: column; /* horizontal flow */
    grid-auto-columns: min-content; /* button-sized columns */
    grid-template-rows: repeat(1, auto); /* max 2 rows */
    gap: 0.5rem 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2.5rem; /* space for arrows */
    scroll-behavior: smooth;
    /* hide scrollbars */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

    .filters::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

.filter-pill {
    border-radius: 999px;
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* filters scroll buttons */
.filters-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: #333;
}

.filters-scroll-left {
    left: 0.25rem;
}

.filters-scroll-right {
    right: 0.25rem;
}

.filters-scroll-btn .fa-chevron-left,
.filters-scroll-btn .fa-chevron-right {
    font-size: 0.8rem;
}

.filters-scroll-btn:hover {
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

    .product-card a {
        color: inherit;
        text-decoration: none;
    }

.product-image-wrapper {
    position: relative;
    padding-top: 135%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

/* Slim ribbon with continuing product-approved captions; the countdown stays still. */
.flash-deal-timer {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    box-sizing: border-box;
    max-width: calc(100% - 14px);
    padding: 4px 8px 4px 13px;
    border: 0;
    border-radius: 0 5px 5px 0;
    clip-path: polygon(7px 0,100% 0,100% 100%,7px 100%,0 50%);
    background-color: var(--ColorPrimary);
    background-image: var(--ColorPrimaryGradient);
    color: var(--ColorPrimaryText);
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
    animation: rana-flash-enter .3s cubic-bezier(.2,.7,.3,1) both;
}

    .flash-deal-timer[hidden] {
        display: none;
    }

.flash-deal-timer-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: max(11px,.72rem);
    font-weight: 700;
    white-space: nowrap;
}

    .flash-deal-timer-label i {
        font-size: .85em;
    }

.flash-deal-title {
    display: inline-grid;
    grid-template-areas: "phrase";
    min-width: 0;
    --flash-phrase-animation: rana-flash-pop;
    --flash-phrase-duration: 3.6s;
}

    .flash-deal-title[data-flash-phrases="2"] {
        --flash-phrase-animation: rana-flash-rotate-two;
        --flash-phrase-duration: 7.2s;
    }

    .flash-deal-title[data-flash-phrases="3"] {
        --flash-phrase-animation: rana-flash-rotate-three;
        --flash-phrase-duration: 10.8s;
    }

.flash-deal-phrase {
    grid-area: phrase;
    justify-self: center;
    align-self: center;
    display: inline-block;
    opacity: 0;
    transform-origin: center;
}

    .flash-deal-phrase:first-child {
        opacity: 1;
    }

    .flash-deal-phrase:nth-child(2) {
        --flash-phrase-delay: 3.6s;
    }

    .flash-deal-phrase:nth-child(3) {
        --flash-phrase-delay: 7.2s;
    }
/* Start only when the admin setting and customer reduced-motion preference allow it. */
html[data-flash-motion="running"] .flash-deal-phrase {
    animation: var(--flash-phrase-animation) var(--flash-phrase-duration) ease-in-out var(--flash-phrase-delay,0s) infinite;
    animation-play-state: var(--flash-deal-play-state,running);
}

html[data-flash-visibility="hidden"] {
    --flash-deal-play-state: paused;
}

.flash-deal-accessible-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.flash-deal-clock {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
}

.flash-deal-timer-prefix {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.flash-deal-timer-value {
    display: block;
    font-size: max(11px,.72rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* A future start or expired offer stays explicit even in the small ribbon. */
.flash-deal-timer[data-flash-state="scheduled"] .flash-deal-timer-prefix,
.flash-deal-timer[data-flash-state="ended"] .flash-deal-timer-prefix {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    clip-path: none;
    font-size: max(11px,.66rem);
}

.flash-deal-timer[data-flash-state="ended"] {
    background: var(--ColorOffWhite);
    color: var(--ColorSecondary);
    box-shadow: none;
}

    .flash-deal-timer[data-flash-state="scheduled"] .flash-deal-phrase,
    .flash-deal-timer[data-flash-state="ended"] .flash-deal-phrase {
        animation: none;
    }

@keyframes rana-flash-enter {
    from {
        opacity: 0;
        transform: translateY(-3px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rana-flash-pop {
    0%,4%,25%,100% {
        transform: scale(1);
        text-shadow: none;
    }

    12% {
        transform: scale(1.1);
        text-shadow: 0 0 6px rgba(255,255,255,.35);
    }
}

@keyframes rana-flash-rotate-two {
    0% {
        opacity: 0;
        transform: translateY(2px) scale(.98);
        text-shadow: none;
    }

    3%,18%,44% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: none;
    }

    6% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
        text-shadow: 0 0 6px rgba(255,255,255,.35);
    }

    49%,100% {
        opacity: 0;
        transform: translateY(-2px) scale(.98);
        text-shadow: none;
    }
}

@keyframes rana-flash-rotate-three {
    0% {
        opacity: 0;
        transform: translateY(2px) scale(.98);
        text-shadow: none;
    }

    2%,12%,29% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: none;
    }

    4% {
        opacity: 1;
        transform: translateY(0) scale(1.1);
        text-shadow: 0 0 6px rgba(255,255,255,.35);
    }

    33%,100% {
        opacity: 0;
        transform: translateY(-2px) scale(.98);
        text-shadow: none;
    }
}

@media(max-width:768px) {
    .flash-deal-timer {
        top: 6px;
        right: 6px;
        max-width: calc(100% - 12px);
        padding: 3px 7px 3px 12px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .flash-deal-timer, html[data-flash-motion="running"] .flash-deal-phrase {
        animation: none;
    }
}

.product-info {
    padding: 0.5rem 0.6rem 0.75rem;
}

.product-name {
    font-size: 0.9rem;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.product-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--muted-text);
    flex-wrap: wrap;
}

.product-rating-stars {
    color: #f5a623;
    letter-spacing: 0.04em;
}

.product-rating-text {
    color: var(--muted-text);
}

.btn-add-cart {
    margin: 0 0.6rem 0.6rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.25rem;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}



/* Cart */

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

    .cart-table th,
    .cart-table td {
        border: 1px solid var(--border-color);
        padding: 0.5rem;
    }

.cart-total {
    text-align: right;
    margin-top: 1rem;
    font-weight: 600;
}

/* Generic */

.message {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--muted-text);
}

.Load-morebtn-cover {
    width: 100px;
    margin: 0 auto;
}

.my-btn-ouline {
    display: inline-flex;
    position: relative;
    min-width: 120px;
    max-width: 100%;
    height: 40px;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2px;
    border-radius: 99px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--text-color);
    margin: 0;
}

    .my-btn-ouline:hover {
        color: var(--primary-color);
    }

/* base (desktop/tablet) can stay almost the same if you like */
.my-btn-ouline-small {
    display: inline-flex;
    position: relative;
    color: var(--text-color);
    min-width: 70px;
    max-width: 100%;
    height: 40px;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    border-radius: 99px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 18px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--text-color);
    margin: 0;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

    .my-btn-ouline-small:hover {
        color: var(--primary-color);
    }

.my-btn {
    color: var(--whitecolor);
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 120px;
    max-width: 100%;
    height: 40px;
    text-align: center;
    line-height: 20px;
    border-radius: 99px;
    cursor: pointer;
    padding: 10px;
    border: 0 solid;
    margin: 0;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
    box-shadow: none;
    text-align: center;
}

    .my-btn:hover {
        /* Add hover styles if needed, e.g., a slight background change or scale effect */
        filter: none;
    }

    .my-btn:focus {
        outline: none; /* Based on focus:outline-none class */
        /* Add focus styles, e.g., a subtle ring or box-shadow */
    }

.my-btn-small {
    display: inline-flex;
    position: relative;
    color: var(--text-color);
    min-width: 70px;
    max-width: 100%;
    height: 40px;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.2;
    border-radius: 99px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--text-color);
    margin: 0;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    text-decoration: none;
}

    .my-btn-small:hover {
        /* Add hover styles if needed, e.g., a slight background change or scale effect */
        filter: none;
    }

.my-btn:disabled {
    cursor: not-allowed; /* Based on disabled:cursor-not-allowed class */
    opacity: 0.5; /* Based on disabled:opacity-50 class */
}

/* If you have a child span like the original element, you might need to adjust its styling */
.my-btn > span {
    position: relative;
    z-index: 20; /* To ensure content is above background effects if any */
}

.nav-toggle-wrapper {
    display: none;
}

/* top header menu toggle – hidden by default */
.nav-toggle-wrapper-top {
    display: none;
}



/*carousel style starts*/
.hero-carousel {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #000;
}

    .hero-carousel .hero-slide {
        display: none;
        position: relative;
    }

        .hero-carousel .hero-slide.active {
            display: block;
        }

.hero-slide-media {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.hero-slide-caption {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

    .hero-slide-caption h2 {
        margin-bottom: 0.25rem;
        font-size: 2.5rem;
    }

    .hero-slide-caption p {
        margin: 0;
        font-size: 1.5rem;
    }

/* Prev/Next buttons */
.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-prev {
    left: 0.75rem;
}

.hero-carousel-next {
    right: 0.75rem;
}

/* Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
}

    .hero-carousel-dot.active {
        background: #fff;
    }

/*carousel style ends*/



/* Category listing layout */

.cat-page {
    margin-bottom: 2rem;
}

.cat-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

    .cat-header h1 {
        font-size: 1.5rem;
    }

.cat-count {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.cat-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
}

/* Filter column */

.cat-filters {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    background: #fff;
}

.filter-block {
    margin-bottom: 1.25rem;
}

    .filter-block h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

/* Price slider */

.price-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.price-range-values {
    font-size: 0.85rem;
    color: var(--text-color);
}

.price-slider-wrapper input[type="range"] {
    width: 100%;
}

/* Attribute tabs */

.attr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.attr-tab {
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #f7f7f7;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--text-color);
}

    .attr-tab:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

.attr-tab-selected {
    border-color: var(--primary-color);
    background: rgba(249, 81, 49, 0.1);
    color: var(--primary-color);
}

/* Selected filters */

.selected-filters {
    border-top: 1px solid var(--border-color);
    padding-top: 0.9rem;
}

#selectedFiltersContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.selected-filter-pill {
    font-size: 0.75rem;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    background: #f0f0f0;
    color: var(--text-color);
}

/* Products column */

.cat-products .cat-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}


/*alerts starts*/



/*styling for msgbox starts*/
.backdropp {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(5, 5, 5, 0.3);
    position: fixed;
    z-index: 202;
    top: 0px;
    left: 0;
    backdrop-filter: blur(5px);
    transition: all 0.5s ease;
    animation: FadeCard 0.8s linear ease 1;
}

.modalbackdrop {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(5, 5, 5, 0.3);
    position: fixed;
    z-index: 201;
    top: 0px;
    left: 0;
    backdrop-filter: blur(5px);
    transition: all 0.5s ease;
    animation: FadeCard 0.8s linear ease 1;
}

/*end styling for msgbox*/

.AlertInner {
    background-color: white;
    width: 400px;
    padding: 15px;
    font-size: large;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: AnimateAlert 0.18s cubic-bezier(0.8,1,0.3,2) 1;
}

.Alertbuttons {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}
/*alerts ends*/

/*margins start*/
.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.ml-5 {
    margin-right: 5px;
}

.ml-10 {
    margin-right: 10px;
}

.mt-5 {
    margin-right: 5px;
}

.mt-10 {
    margin-right: 10px;
}

.mb-5 {
    margin-right: 5px;
}

.mb-10 {
    margin-right: 10px;
}
/*margins ends*/

/*width*/
.fw-100 {
    width: 100% !important;
}
/*width ends*/

.FelxButtonWrapper {
    display: flex;
    gap: 2rem
}
/* Responsive tweaks */
@media (max-width: 1024px) {
    .cat-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .cat-products .cat-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .nav-shein-shell {
        position: static;
    }

    .nav-shein-viewport {
        overflow: visible;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .nav-shein-scroll-btn {
        display: none;
    }

    .header-main {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .search-box {
        order: 2;
        width: 100%;
        margin: 0;
    }

    /* show small menu toggle in header on mobile */
    .nav-toggle-wrapper-top {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0.75rem;
    }

        .nav-toggle-wrapper-top .nav-toggle-icon {
            font-size: 1.2rem;
            color: var(--text-color);
            cursor: pointer;
        }

    /* existing rules for bottom app bar .nav-toggle-wrapper… */
    .nav-toggle-wrapper {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        background-color: var(--navbackcolor);
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        user-select: none;
        justify-content: space-evenly;
        position: fixed;
        bottom: 0;
        z-index: 200;
        width: 100%;
    }


    .cat-layout {
        display: block;
        position: relative;
    }

    .cat-filters {
        order: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 0.5rem 0.75rem;
        background: #fff;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        scrollbar-width: none;
        margin-top: 0;
        position: relative;
        z-index: 110;
    }

        .cat-filters::-webkit-scrollbar {
            height: 0;
            width: 0;
        }

        .cat-filters .filter-block {
            display: inline-block;
            vertical-align: top;
            background: #f7f7f7;
            border-radius: 999px;
            padding: 0.25rem 0.75rem;
            border: 1px solid var(--border-color);
            position: relative;
            min-width: auto;
            white-space: nowrap;
            margin-bottom: 0;
        }

            .cat-filters .filter-block h3 {
                margin: 0;
                font-size: 0.8rem;
                cursor: pointer;
                display: flex;
                align-items: center;
                gap: 0.25rem;
            }

                .cat-filters .filter-block h3::after {
                    content: "▾";
                    font-size: 0.7rem;
                }

            /* FULL-SCREEN DROPDOWN BODY (for price + attribute tabs, NOT selected-filters) */
            .cat-filters .filter-block .price-slider-wrapper,
            .cat-filters .filter-block .attr-tabs {
                position: fixed;
                left: 0;
                right: 0;
                top: calc(120px + 44px); /* adjust based on header height */
                bottom: 52px; /* leave space for bottom bar (selected filters) */
                background: #fff;
                border-radius: 0;
                border-top: 1px solid var(--border-color);
                border-left: none;
                border-right: none;
                border-bottom: none;
                padding: 0.75rem 1rem;
                box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
                z-index: 200;
                display: none;
                white-space: normal;
                overflow-y: auto;
            }

            .cat-filters .filter-block.open .price-slider-wrapper,
            .cat-filters .filter-block.open .attr-tabs {
                display: block;
            }

    /*
        will comeback later to change this if the need be
        SELECTED-FILTERS as a separate bottom bar, NOT inside any filter-block

    */
    .selected-filters {
        /* order: -1!important;
        border-top: 1px solid var(--border-color);
        padding-top: 0rem;*/


        position: fixed;
        left: 0;
        right: 0;
        /*bottom:0;*/
        top: calc(120px + 4px);
        background: #fff;
        border-top: 1px solid var(--border-color);
        padding: 0.4rem 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 210; /* above dropdown body */
    }

        .selected-filters h3 {
            margin: 0;
            font-size: 0.75rem;
            white-space: nowrap;
            display: none;
        }

    #selectedFiltersContainer {
        display: none; /*flex*/
        flex-wrap: wrap;
        gap: 0.25rem;
        margin: 0 0.5rem;
        flex: 1 1 auto;
        max-height: 40px;
        overflow: hidden;
    }

    .selected-filter-pill {
        font-size: 0.7rem;
        border-radius: 999px;
        padding: 0.15rem 0.4rem;
        background: #f0f0f0;
        color: var(--text-color);
    }

    #btnResetFilters {
        flex: 0 0 auto;
        height: 28px;
        font-size: 0.75rem;
        padding: 0 0.6rem;
        white-space: nowrap;
    }

    .cat-products {
        margin-top: 0.75rem;
    }

        .cat-products .cat-product-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
}



/* skeleton cards */

.product-grid-skeleton {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-load-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (prefers-reduced-motion:reduce) {
    .product-grid-skeleton .skeleton-card,
    .product-grid-skeleton .skeleton-card::before,
    .product-grid-skeleton .skeleton-card::after {
        animation: none;
    }
}

.skeleton-card {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}

    .skeleton-card::before {
        content: "";
        display: block;
        width: 100%;
        padding-top: 135%; /* same ratio as product-image-wrapper */
        border-radius: 0.5rem;
        background: linear-gradient( 90deg, #f3f3f3 25%, #ecebeb 37%, #f3f3f3 63% );
        background-size: 400% 100%;
        animation: skeleton-shimmer 1.2s ease-in-out infinite;
    }

    .skeleton-card::after {
        content: "";
        margin-top: 0.5rem;
        height: 10px;
        width: 70%;
        border-radius: 999px;
        background: #f0f0f0;
    }

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes skeleton-pulse {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.9;
    }
}

/* small screens adjust skeleton grid like products */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid-skeleton {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* small screens: side dropdown menu */
@media (max-width: 768px) {

    .header-main {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .search-box {
        order: 2;
        flex: 0 0 100%; /* force full-width row */
        width: 100%;
        margin: 0;
    }

    /* show small menu toggle in header on mobile */
    .nav-toggle-wrapper-top {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0.75rem;
    }

        .nav-toggle-wrapper-top .nav-toggle-icon {
            font-size: 1.2rem;
            color: var(--text-color);
            cursor: pointer;
        }


    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-details {
        flex-direction: column;
    }

    /* NAV TOGGLE WRAPPER (hamburger with Font Awesome icon) */
    .nav-toggle-wrapper {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        background-color: var(--navbackcolor);
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        user-select: none;
        justify-content: space-evenly;
        position: fixed;
        bottom: 0;
        z-index: 201;
        width: 100%;
    }

    .nav-toggle_icons {
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        text-decoration: none;
        cursor: pointer;
    }

        .nav-toggle_icons a {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.2rem;
            text-decoration: none;
            color: inherit;
        }

    .mobile-account-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.32);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease-in-out;
        z-index: 1003;
    }

    .mobile-account-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 88vw);
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.25s ease-in-out;
        z-index: 1004;
        box-shadow: -12px 0 28px rgba(0, 0, 0, 0.16);
    }

    body.mobile-account-open .mobile-account-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.mobile-account-open .mobile-account-sidebar {
        transform: translateX(0);
    }

    .mobile-account-sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1rem 0.9rem;
        border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    }

    .mobile-account-sidebar-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-color);
    }

    .mobile-account-sidebar-close {
        border: 0;
        background: transparent;
        color: var(--text-color);
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-account-sidebar-body {
        padding: 0.7rem;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .mobile-account-sidebar-item {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.8rem 0.85rem;
        border: 0;
        border-radius: 0.75rem;
        background: transparent;
        color: var(--text-color);
        text-decoration: none;
        text-align: left;
        font-size: 0.92rem;
        cursor: pointer;
    }

        .mobile-account-sidebar-item:hover,
        .mobile-account-sidebar-item:focus {
            background: rgba(249, 81, 49, 0.08);
            color: #c84327;
            outline: none;
        }

    .mobile-account-sidebar-item-primary {
        font-weight: 600;
    }

    .mobile-account-navigation {
        display: grid;
        gap: 12px;
    }

    .mobile-account-group + .mobile-account-group {
        padding-top: 14px;
        border-top: 1px solid #eae7e5;
    }

    .mobile-account-group h3 {
        margin: 0;
        padding: 8px .85rem;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #6a625e;
    }

    .mobile-account-navigation .mobile-account-sidebar-item {
        gap: 12px;
        line-height: 1.45;
    }

    .mobile-account-navigation .mobile-account-sidebar-item i {
        flex: 0 0 18px;
        text-align: center;
    }

    .mobile-account-navigation a[aria-current="page"] {
        background: #fff0eb;
        color: var(--ColorPrimary);
        font-weight: 600;
    }

    .mobile-account-sidebar-signout {
        color: #c0392b;
        margin-top: 0.2rem;
    }

    .nav-toggle-wrapper .nav-toggle-icon {
        margin-right: 0.5rem;
        font-size: 1.1rem;
        /* Example with Font Awesome: assumes */
    }

    .nav-toggle-wrapper .nav-toggle-text {
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* NAV: turn into stacked side menu */
    .nav-shein {
        flex-direction: column;
        align-items: start;
        padding: 0;
        height: 90%; /*auto*/
        overflow-y: auto;
        overflow-x: visible;
        position: fixed;
        max-width: 110px;
        min-width: 110px;
        top: 80px;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.25s ease-in-out;
    }

    /* when parent (e.g., body or header) has .nav-menu-open, show menu */
    .nav-menu-open .nav-shein {
        transform: translateX(0);
    }

    /* keep ::before as fallback if JS/markup not applied */
    .nav-shein::before {
        content: "Categories ▾";
        font-size: 0.95rem;
        font-weight: 600;
        padding: 0.75rem 1rem;
        background-color: var(--navbackcolor);
        border-bottom: 1px solid #ddd;
        display: block;
    }

    .nav-shein .nav-item {
        margin: 0;
        display: flex !important; /*block*/
        height: auto;
    }

    .nav-shein .nav-link {
        display: block;
        padding: 0.6rem 1rem;
        border-color: transparent;
        text-align: left;
        font-size: 0.7rem;
    }

    .nav-shein .nav-item:hover .nav-link {
        border-color: transparent;
        color: var(--primary-color);
        /*background-color: var(--whitecolor);*/
    }

    .nav-shein .nav-item:hover .navlinkcover {
        background-color: var(--whitecolor);
        color: var(--primary-color);
        width: 100%;
    }

    .nav-shein .nav-item.nav-item-open .navlinkcover {
        background-color: var(--whitecolor);
        color: var(--primary-color);
        width: 100%;
    }

    .nav-panel-host {
        position: fixed;
        border: none;
        left: 120px;
        right: 0;
        top: auto;
        bottom: 0;
        box-shadow: none;
        padding: 5px;
        background: #fff;
        height: auto;
        max-width: calc(100vw - 120px) !important; /* 120px = .nav-shein width */
        overflow-x: hidden !important; /* no horizontal overflow */
        overflow-y: auto;
        box-sizing: border-box;
    }

        .nav-panel-host .nav-panel-inner {
            display: grid !important;
            grid-template-columns: repeat(3, 100px);
            column-gap: 0.35rem;
            row-gap: 0.5rem;
            width: 100%;
            max-width: 100%;
            margin: 0;
            padding: 0.25rem 4px 0.5rem 0;
            box-sizing: border-box;
            justify-content: start;
            align-content: start;
        }

    .nav-panel-item {
        width: auto;
        max-width: none;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        overflow: hidden;
        /*background-color:antiquewhite;*/
        width: 100px;
        text-align: center;
        justify-self: center;
        align-items: center;
    }

    .nav-panel-photo {
        width: 40px;
        height: 40px;
        margin-bottom: 0.35rem;
        margin-right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-panel-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        font-size: 0.8rem;
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
        text-align: center;
    }



    .filters {
        /*display: none;*/
    }

    .main-content {
        padding: 1.0rem 0.1rem;
        margin-left: auto;
        margin-right: auto;
        width: 98% !important;
        margin-top: 0;
    }

    .main-contentnopadding {
        margin-left: auto;
        margin-right: auto;
        width: 98% !important;
    }

    .my-btn {
        width: 100%;
        color: var(--whitecolor);
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 0.9rem;
        font-weight: 400;
        text-align: center;
        line-height: 10px;
        border-radius: 99px;
        cursor: pointer;
        padding: 10px;
        border: 0 solid;
        margin: 0;
        transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
        box-shadow: none;
    }


    .my-btn-small {
        display: inline-flex;
        position: relative;
        color: var(--text-color);
        min-width: 70px;
        max-width: 100%;
        height: 40px;
        font-size: 0.7rem;
        text-align: center;
        line-height: 1.0;
        border-radius: 20px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        padding: 5px;
        border: 1px solid var(--primary-color);
        background-color: transparent;
        color: var(--text-color);
        margin: 0;
        transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
        text-decoration: none;
    }

    .my-btn-ouline-small {
        min-width: 70px;
        max-width: 100%;
        height: 40px;
        /* padding: 8px 10px;*/ /* bigger tap target */
        font-size: 0.7rem;
        line-height: 1.0;
        border-radius: 20px; /* pill shape */
        border-width: 1px;
        padding: 5px;
        background-color: #fff; /* solid background */
        color: var(--primary-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }

        .my-btn-ouline-small:active {
            transform: scale(0.97);
            box-shadow: 0 1px 2px rgba(0,0,0,0.12);
            background-color: rgba(249,81,49,0.06);
        }


    .logo {
        font-size: 1.0rem;
        letter-spacing: 0.10em;
        font-weight: 700;
    }

    .header-utility {
        display: none;
    }

    .nav-toggle_icons {
        color: var(--text-color);
        font-size: 0.9rem;
    }

        .nav-toggle_icons a {
            text-decoration: none;
            color: var(--text-color);
        }

    .cart-badge {
        position: absolute;
        top: 0px;
        left: 85px;
        color: var(--primary-color);
        font-weight: bold;
    }

    /*carousel style starts*/

    .hero-carousel {
        position: relative;
        margin-bottom: 1.5rem;
        border-radius: 0.75rem;
        overflow: hidden;
        background: #000;
        /*margin-top:80px;*/
    }

    .hero-slide-caption {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

        .hero-slide-caption h2 {
            font-size: 1.2rem;
        }

        .hero-slide-caption p {
            font-size: 0.85rem;
        }
    /*carousel style ends*/

    .product-grid-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}





/* on small screens, slightly shrink buttons */
@media (max-width: 600px) {
    .main-categories {
        padding: 0 1.75rem;
        gap: 1.5rem 1.5rem;
    }

    .main-categories-scroll-btn {
        width: 28px;
        height: 28px;
    }

    .category-icon-image-wrapper {
        border-radius: 50%;
        background-color: white;
        width: 50px;
        height: 50px;
        border: solid 1px rgba(0 0 0 0.6);
    }

        .category-icon-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

    .category-icon a {
        font-size: 0.7rem;
        text-align: center;
        text-decoration: none;
        color: var(--text-color);
    }
}


@media (max-width:360px) {
    .nav-panel-host .nav-panel-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 120px);
        column-gap: 0.35rem;
        row-gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.25rem 4px 0.5rem 0;
        box-sizing: border-box;
        justify-content: start;
        align-content: start;
    }
}

/* Shared navigation: semantic controls and mobile dialogs within the existing shell. */
.mobile-category-header,
.mobile-category-overlay {
    display: none;
}

    .mobile-account-sidebar[hidden],
    .mobile-account-overlay[hidden],
    .mobile-category-overlay[hidden] {
        display: none !important;
    }

.nav-header-toggle,
.mobile-category-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-color);
    font: inherit;
    font-size: 1.15rem;
    cursor: pointer;
    touch-action: manipulation;
}

.header :is(button, a):focus-visible {
    outline: 3px solid var(--ColorPrimary, #f95131);
    outline-offset: 3px;
}

.nav-shein .nav-link:focus-visible {
    outline-color: #fff;
    outline-offset: -4px;
}

.mobile-account-sidebar-title {
    margin: 0;
}

.mobile-navigation-locked {
    overflow: hidden;
}

@media (max-width: 768px) {
    .header-main {
        padding: .5rem .75rem;
        row-gap: .4rem;
    }

        .header-main .search-input {
            min-width: 0;
            font-size: 16px;
            height: 40px;
            min-height: 40px;
            padding: .4rem .8rem;
        }

        .header-main .search-btn {
            min-width: 64px;
            height: 40px;
            min-height: 40px;
            padding: .4rem .7rem;
            font-size: 14px;
            background: var(--ColorPrimary);
            background-image: var(--ColorPrimaryGradient);
            color: var(--ColorPrimaryText);
        }

            .header-main .search-btn:hover {
                background: var(--ColorPrimaryHover);
                background-image: none;
            }

    .nav-toggle-wrapper-top {
        margin-left: .25rem;
    }

    .nav-toggle-wrapper {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .25rem;
        padding: .35rem max(.5rem, env(safe-area-inset-right)) max(.35rem, env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left));
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid #e8e8e8;
        border-bottom: 0;
        box-shadow: 0 -3px 18px rgba(0, 0, 0, .045);
    }

    .nav-toggle_icons {
        min-width: 0;
        width: 100%;
        min-height: 48px;
        padding: 0;
        font-size: 12px;
        line-height: 1.25;
    }

        .nav-toggle_icons > a,
        button.nav-toggle_icons {
            position: relative;
            width: 100%;
            min-height: 48px;
            border-radius: 10px;
            padding: .3rem .15rem;
            box-sizing: border-box;
            touch-action: manipulation;
        }

        .nav-toggle_icons i {
            font-size: 1.12rem;
        }

        .nav-toggle_icons [aria-current="page"],
        .nav-toggle_icons[aria-expanded="true"] {
            background: rgba(249, 81, 49, .09);
            color: #b73e27;
        }

    .nav-toggle-wrapper .cart-badge {
        top: 0;
        left: auto;
        right: calc(50% - 25px);
        padding: 0 .25rem;
        font-size: .68rem;
        min-width: 16px;
        background: #fff;
        border-radius: 8px;
    }

    .footer {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .mobile-account-sidebar {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }

    .mobile-account-sidebar-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.15rem;
        border-radius: 10px;
    }

    .mobile-account-sidebar-body {
        min-height: 0;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-account-sidebar-item {
        min-height: 44px;
        font-size: 14px;
    }

        .mobile-account-sidebar-item:focus-visible {
            outline: 3px solid var(--ColorPrimary, #f95131);
            outline-offset: -3px;
        }

    .mobile-category-drawer {
        display: none;
    }

    body.nav-menu-open .to-freez-navbar {
        z-index: 1004;
    }
    /* Drawers are inside the sticky header; raise that containing layer above page controls. */
    body:is(.nav-menu-open,.mobile-account-open) .header {
        z-index: 1005;
    }

    .nav-menu-open .mobile-category-drawer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1004;
        background: #fff;
        --category-header-height: calc(64px + env(safe-area-inset-top));
        --category-rail-width: 116px;
        overflow: hidden;
    }

    .mobile-category-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        height: var(--category-header-height);
        padding: env(safe-area-inset-top) .75rem 0 1rem;
        border-bottom: 1px solid #e8e8e8;
        background: #fff;
    }

        .mobile-category-header h2 {
            margin: 0;
            color: var(--text-color);
            font-size: 16px;
            font-weight: 700;
        }

    .mobile-category-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1003;
        background: rgba(0, 0, 0, .32);
    }

    .mobile-category-drawer .nav-shein-viewport {
        position: static;
    }

    .mobile-category-drawer .nav-shein {
        position: absolute;
        top: var(--category-header-height);
        bottom: 0;
        left: 0;
        height: auto;
        width: var(--category-rail-width);
        min-width: var(--category-rail-width);
        max-width: var(--category-rail-width);
        background: #f6f7f8;
        background-image: none;
        padding: .35rem 0 calc(.75rem + env(safe-area-inset-bottom));
        transform: none;
        transition: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        box-sizing: border-box;
    }

        .mobile-category-drawer .nav-shein::before {
            display: none;
        }

        .mobile-category-drawer .nav-shein .nav-item,
        .mobile-category-drawer .navlinkcover {
            width: 100%;
        }

            .mobile-category-drawer .navlinkcover:hover {
                border: 0;
            }

        .mobile-category-drawer .nav-shein .nav-link {
            width: 100%;
            min-height: 52px;
            padding: .7rem .65rem;
            text-align: left;
            white-space: normal;
            overflow-wrap: anywhere;
            line-height: 1.4;
            letter-spacing: 0;
            font-size: 14px;
            color: #414952;
            border-left: 3px solid transparent;
        }

            .mobile-category-drawer .nav-shein .nav-link[aria-expanded="true"] {
                background: #fff1ed;
                color: #a43a24;
                border-left-color: var(--ColorPrimary, #f95131);
                font-weight: 700;
            }

            .mobile-category-drawer .nav-shein .nav-link:focus-visible {
                outline-color: var(--ColorPrimary, #f95131);
            }

    .mobile-category-drawer .nav-panel-host {
        position: absolute;
        top: var(--category-header-height);
        left: var(--category-rail-width);
        right: 0;
        bottom: 0;
        min-width: 0;
        max-width: calc(100% - var(--category-rail-width)) !important;
        width: auto;
        padding: .75rem .5rem calc(.75rem + env(safe-area-inset-bottom));
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

        .mobile-category-drawer .nav-panel-host .nav-panel-inner {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .6rem .25rem;
            min-width: 0;
            padding: 0;
        }

    .mobile-category-drawer .nav-panel-item {
        width: 100%;
    }

    .mobile-category-drawer .nav-panel-title {
        min-height: 80px;
        padding: .35rem .15rem;
        box-sizing: border-box;
        font-size: 13px;
        line-height: 1.4;
        border-radius: 8px;
    }

    .mobile-category-drawer .nav-panel-photo {
        width: 48px;
        height: 48px;
    }

    .nav-shein-viewport,
    .main-categories,
    .filters,
    .cat-filters {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .mobile-category-drawer .nav-shein::-webkit-scrollbar,
        .nav-shein-viewport::-webkit-scrollbar,
        .main-categories::-webkit-scrollbar,
        .filters::-webkit-scrollbar,
        .cat-filters::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }
}

@media (min-width: 540px) and (max-width: 768px) {
    .mobile-category-drawer .nav-panel-host .nav-panel-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-account-sidebar,
    .mobile-account-overlay,
    .nav-shein {
        transition: none;
    }

    .nav-shein-viewport {
        scroll-behavior: auto;
    }
}
/* Desktop category index and wide submenu. Mobile drawer rules above remain unchanged. */
.nav-desktop-categories,
.nav-desktop-rail,
.nav-desktop-heading,
.nav-panel-viewall {
    display: none;
}

.nav-desktop-content {
    display: contents;
}

@media (min-width: 769px) {
    .nav-shein-shell {
        display: flex;
        align-items: stretch;
        background: var(--ColorPrimary);
        background-image: var(--ColorPrimaryGradient);
    }

    .nav-shein-viewport {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-desktop-categories {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex: 0 0 152px;
        min-height: 44px;
        padding: 0 14px;
        border: 0;
        border-right: 1px solid rgba(255,255,255,.25);
        background: transparent;
        color: var(--ColorPrimaryText);
        font: inherit;
        font-size: 14px;
        cursor: pointer;
    }

        .nav-desktop-categories:hover,
        .nav-desktop-categories[aria-expanded="true"] {
            background: rgba(255,255,255,.12);
        }

    .nav-category-caret {
        font-size: 10px;
        transition: transform .16s ease;
    }

    .nav-desktop-categories[aria-expanded="true"] .nav-category-caret {
        transform: rotate(180deg);
    }

    .nav-shein-scroll-left {
        left: calc(152px + .45rem);
    }

    .nav-shein .nav-link {
        letter-spacing: 0;
    }

    .nav-shein .nav-item-open .nav-link {
        box-shadow: inset 0 -2px currentColor;
    }

    .nav-panel-host {
        left: 0;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: min(620px, var(--nav-panel-space, calc(100dvh - var(--rana-header-height, 160px) - 20px)));
        padding: 0;
        border: 1px solid #e4e5e8;
        border-top: 0;
        box-sizing: border-box;
        background: var(--ColorWhite);
        box-shadow: 0 16px 30px rgba(21,21,21,.12);
        overflow: hidden;
    }

        .nav-panel-host.is-open {
            display: grid;
            grid-template-columns: clamp(210px,20vw,280px) minmax(0,1fr);
        }

    .nav-desktop-rail {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        padding: 16px 12px 20px;
        border-right: 1px solid #e4e5e8;
        background: var(--ColorWhite);
    }

    .nav-desktop-category {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border: 0;
        border-left: 3px solid transparent;
        background: transparent;
        color: var(--ColorSecondary);
        font: inherit;
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
        cursor: pointer;
    }

        .nav-desktop-category i {
            flex: 0 0 auto;
            font-size: 10px;
            color: var(--ColorFairGrey);
        }

        .nav-desktop-category:hover {
            background: var(--ColorOffWhite);
        }

        .nav-desktop-category[aria-expanded="true"] {
            border-left-color: var(--ColorPrimary);
            background: #fff1ed;
            background: color-mix(in srgb,var(--ColorPrimary) 8%,white);
            font-weight: 600;
        }

    .nav-desktop-content {
        display: block;
        min-width: 0;
        min-height: 0;
        padding: 0 28px 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .nav-desktop-heading {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        min-height: 66px;
        box-sizing: border-box;
        margin-bottom: 18px;
        padding: 18px 0 12px;
        background: var(--ColorWhite);
        border-bottom: 1px solid #ececec;
    }

        .nav-desktop-heading h2 {
            margin: 0;
            color: var(--ColorSecondary);
            font-size: 15px;
            line-height: 1.4;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .025em;
        }

    .nav-desktop-viewall {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        color: var(--ColorSecondary);
        font-size: 13px;
        text-underline-offset: 4px;
    }

        .nav-desktop-viewall:hover {
            color: var(--ColorPrimary);
        }

    .nav-panel-host .nav-panel-inner {
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(104px,1fr));
        align-items: start;
        gap: 22px 16px;
        min-width: 0;
    }

    .nav-panel-host .nav-panel-item {
        width: 100%;
        align-self: start;
        min-width: 0;
    }

    .nav-panel-host .nav-panel-title {
        padding: 4px;
        box-sizing: border-box;
        color: var(--ColorSecondary);
        font-size: 13px;
        line-height: 1.4;
        transition: color .16s ease;
    }

        .nav-panel-host .nav-panel-title:hover {
            color: var(--ColorPrimary);
        }

    .nav-panel-host .nav-panel-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
        background: var(--ColorOffWhite);
        border: 1px solid #e8e8e8;
        transition: border-color .16s ease;
    }

        .nav-panel-host .nav-panel-photo img {
            display: block;
        }

    .nav-panel-viewall {
        display: flex;
    }

    .nav-panel-all-icon {
        display: grid;
        place-items: center;
        color: var(--ColorSecondary);
        font-size: 25px;
    }

    .nav-desktop-categories:focus-visible,
    .nav-desktop-category:focus-visible,
    .nav-panel-host a:focus-visible {
        outline: 2px solid var(--ColorInputFocus);
        outline-offset: -2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-category-caret,
    .nav-panel-host .nav-panel-title,
    .nav-panel-host .nav-panel-photo {
        transition: none;
    }
}
/* Shared dialogs use the browser top layer, keeping feedback above drawers and page modals. */
/* First keyboard action bypasses the repeated shop navigation. */
.skip-to-content {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100060;
    transform: translateY(calc(-100% - 20px));
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    box-sizing: border-box;
    border: 2px solid var(--ColorInputFocus);
    border-radius: 8px;
    background: var(--ColorWhite);
    color: var(--ColorSecondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

    .skip-to-content:focus {
        transform: none;
        outline: 2px solid var(--ColorSecondary);
        outline-offset: 2px
    }

#pageContent:focus-visible {
    outline: 2px solid var(--ColorInputFocus);
    outline-offset: -2px
}

.rana-feedback-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    box-sizing: border-box;
    width: min(440px,calc(100% - 32px));
    max-width: 440px;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #fff;
    color: var(--ColorSecondary);
    box-shadow: 0 24px 80px #15151535;
    z-index: 2147483647
}

    .rana-feedback-dialog:not([open]), dialog[data-rana-dialog]:not([open]) {
        display: none !important
    }

    .rana-feedback-dialog::backdrop, dialog[data-rana-dialog]::backdrop {
        background: rgba(21,21,21,.5)
    }

.rana-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px
}

.rana-feedback-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff0eb;
    color: #9a321d;
    font-size: 22px
}

.rana-feedback-dialog h2 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.35;
    letter-spacing: -.02em
}

.rana-feedback-dialog p {
    margin: 0;
    line-height: 1.65;
    font-size: .95rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
    color: #424242
}

.rana-feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px
}

.rana-feedback-actions {
    flex-wrap: wrap
}

.rana-feedback-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid #888;
    border-radius: 11px;
    padding: 12px 16px;
    color: var(--ColorSecondary);
    text-decoration: none;
    font-weight: 600
}

    .rana-feedback-secondary[hidden] {
        display: none
    }

    .rana-feedback-secondary:focus-visible {
        outline: 3px solid var(--ColorSecondary);
        outline-offset: 3px
    }

.rana-feedback-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 110px;
    border: 0;
    border-radius: 11px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: var(--ColorPrimary);
    background-image: var(--ColorPrimaryGradient);
    color: var(--ColorPrimaryText) !important
}

    .rana-feedback-primary:hover {
        background: var(--ColorPrimaryHover);
        background-image: none
    }

.rana-dialog-close {
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    min-width: 44px;
    min-height: 44px;
    color: var(--ColorSecondary);
    cursor: pointer;
    font-size: 18px
}

    .rana-dialog-close:hover {
        background: #f4f4f4
    }

.rana-feedback-dialog button:focus-visible, dialog[data-rana-dialog] :is(button,a,input,select,textarea):focus-visible {
    outline: 3px solid var(--ColorSecondary);
    outline-offset: 3px
}

dialog[data-rana-dialog] {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    margin: auto;
    border: 0;
    background: transparent;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    padding: 20px;
    align-items: center;
    justify-content: center;
    overflow: auto;
    z-index: 2147483646
}

    dialog[data-rana-dialog][open] {
        display: flex
    }

.required-marker {
    color: #b42332;
    font-weight: 700;
    margin-left: 3px
}

.required-help {
    color: #555;
    font-size: .85rem;
    line-height: 1.5
}

.ColorPrimary, .my-btn-primary {
    color: var(--ColorPrimaryText) !important;
    background-color: var(--ColorPrimary);
    background-image: var(--ColorPrimaryGradient)
}

@media(max-width:600px) {
    .rana-feedback-dialog {
        padding: 20px;
        border-radius: 18px;
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px)
    }

    .rana-feedback-actions .rana-feedback-primary {
        width: 100%
    }

    dialog[data-rana-dialog] {
        padding: 12px;
        align-items: center
    }
}

@media(prefers-reduced-motion:reduce) {
    .rana-feedback-dialog, dialog[data-rana-dialog] {
        animation: none !important;
        transition: none !important
    }
}
/* Shared controls retain visible keyboard focus and comfortable touch targets. */
.my-btn:focus-visible, .my-btn-small:focus-visible, .my-btn-ouline:focus-visible, .my-btn-ouline-small:focus-visible, .my-btn-primary:focus-visible {
    outline: 3px solid var(--ColorSecondary) !important;
    outline-offset: 3px
}

.my-btn, .my-btn-small, .my-btn-ouline, .my-btn-ouline-small, .my-btn-primary {
    box-sizing: border-box;
    min-height: 44px;
    line-height: 1.4
}

    .my-btn.ColorPrimary:hover, .my-btn-primary:hover {
        filter: none;
        background-color: var(--ColorPrimaryHover);
        background-image: none;
        color: var(--ColorPrimaryText) !important
    }

dialog[data-rana-dialog] .AlertInner {
    box-sizing: border-box;
    width: min(420px,100%);
    max-width: 100%;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    color: var(--ColorSecondary);
    box-shadow: 0 24px 70px #15151525;
    max-height: calc(100dvh - 40px);
    overflow: auto
}

dialog[data-rana-dialog] .Alertbuttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

    dialog[data-rana-dialog] .Alertbuttons > div {
        flex: 1;
        min-width: 120px
    }

    dialog[data-rana-dialog] .Alertbuttons .my-btn {
        width: 100%;
        white-space: normal
    }

/* One contiguous inset focus ring; never stack an outer outline and a glow around a field. */
body :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),select,textarea):focus {
    border-color: var(--ColorInputFocus) !important;
    outline: none !important;
    box-shadow: inset 0 0 0 1px var(--ColorInputFocus) !important;
}

body :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),select,textarea)[aria-invalid="true"] {
    border-color: #b42332 !important;
}

    body :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),select,textarea)[aria-invalid="true"]:focus {
        box-shadow: inset 0 0 0 1px #b42332 !important;
    }

.rana-feedback-dialog[open], dialog[data-rana-dialog][open] > :is(.AlertInner,.info-modal) {
    animation: rana-feedback-pop 380ms cubic-bezier(.2,.7,.2,1) both;
    transform-origin: center;
}

    .rana-feedback-dialog[open]::backdrop {
        animation: rana-feedback-backdrop 180ms ease-out both;
    }

dialog[data-rana-dialog][open] > .address-modal-card {
    animation: rana-dialog-pop 200ms cubic-bezier(.2,.7,.2,1) both;
    transform-origin: center;
}
/* A single restrained overshoot makes messages feel responsive without repeated bouncing. */
@keyframes rana-feedback-pop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(.86);
    }

    55% {
        opacity: 1;
        transform: translateY(-2px) scale(1.025);
    }

    78% {
        opacity: 1;
        transform: translateY(1px) scale(.99);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rana-feedback-backdrop {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes rana-dialog-pop {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

html {
    --rana-header-height: 116px;
    scroll-padding-top: calc(var(--rana-header-height) + 16px);
}
    /* Sticky header controls already sit above page content. Applying their own header
   clearance to caret/focus reveals repeatedly scrolls the document upward. */
    html:has(.header:focus-within) {
        scroll-padding-top: 0;
    }

.header-main .search-btn {
    color: var(--ColorPrimaryText) !important;
}

@media (max-width:768px) {
    .header {
        --rana-utility-height: 0px;
    }

    html {
        --rana-header-height: 112px;
        scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .main-content {
        min-width: 0;
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
    /* Prevent focus-triggered input zoom from disrupting the phone header and page position. */
    body :is(input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),select,textarea) {
        font-size: 16px;
    }

    .cat-filters .selected-filters {
        position: static;
        top: auto;
    }

    .cat-filters .filter-block :is(.price-slider-wrapper,.attr-tabs) {
        top: calc(var(--rana-header-height) + 8px);
        bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion:reduce) {
    .rana-feedback-dialog[open], .rana-feedback-dialog[open]::backdrop, dialog[data-rana-dialog][open] > :is(.AlertInner,.address-modal-card,.info-modal) {
        animation: none !important;
    }
}

@media (forced-colors:active) {
    body :is(input,select,textarea):focus-visible {
        outline: 2px solid Highlight !important;
        box-shadow: none !important;
    }
}
/* Shared product size guide: native top layer, one scrolling body and stable mobile controls. */
.size-guide-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 6px 10px;
    background: transparent;
    border: 0;
    color: var(--ColorPrimary);
    font: inherit;
    font-size: .875rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.size-guide-dialog {
    position: fixed;
    inset: var(--guide-viewport-top,0px) 0 var(--guide-viewport-bottom,0px);
    margin: auto;
    padding: 0;
    border: 0;
    width: min(780px,calc(100% - 32px));
    max-width: none;
    max-height: calc(var(--guide-viewport-height,100dvh) - 32px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    color: var(--ColorSecondary);
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
}

    .size-guide-dialog:not([open]) {
        display: none;
    }

    .size-guide-dialog[open] {
        display: flex;
    }

    .size-guide-dialog::backdrop {
        background: rgba(0,0,0,.45);
    }

.size-guide-shell {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
    max-height: inherit;
}

.size-guide-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

    .size-guide-header h2 {
        margin: 0;
        font-size: 1.15rem;
        line-height: 1.4;
        font-weight: 650;
    }

.size-guide-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.size-guide-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 24px;
    scroll-padding: 16px;
}

.size-guide-product-name {
    margin: 0 0 12px;
    font-size: .95rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.size-guide-measure {
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
    padding-bottom: 8px;
}

    .size-guide-measure summary {
        display: list-item;
        min-height: 44px;
        cursor: pointer;
        padding: 10px 0;
        font-weight: 600;
    }

.size-guide-instructions {
    font-size: .9rem;
    line-height: 1.6;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.size-guide-measure-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    margin: 12px 0;
}

.size-guide-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #dedede;
    margin-bottom: 14px;
}

.size-guide-tab {
    flex: 1;
    min-height: 48px;
    padding: 10px 12px;
    font: inherit;
    font-weight: 600;
    background: transparent;
    color: inherit;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

    .size-guide-tab[aria-selected="true"] {
        color: var(--ColorSecondary);
        background: var(--ColorPrimarySoft,#fff0ec);
        border-bottom-color: var(--ColorPrimary);
    }

.size-guide-chart[hidden], .size-guide-measure-image[hidden] {
    display: none;
}

.size-guide-table-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0;
}

.size-guide-scroll-hint {
    font-size: .8rem;
    color: #626262;
    line-height: 1.4;
    margin: 0;
}

.size-guide-units {
    display: flex;
    flex-shrink: 0;
    border: 1px solid #dedede;
    border-radius: 6px;
    overflow: hidden;
}

    .size-guide-units button {
        min-width: 48px;
        min-height: 44px;
        padding: 6px 10px;
        border: 0;
        font: inherit;
        font-size: .85rem;
        background: #fff;
        color: inherit;
        cursor: pointer;
    }

        .size-guide-units button[aria-pressed="true"] {
            background: var(--ColorPrimarySoft,#fff0ec);
            color: var(--ColorSecondary);
            font-weight: 600;
        }

.size-guide-table-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

    .size-guide-table-scroll::-webkit-scrollbar {
        display: none;
    }

.size-guide-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
    font-size: .9rem;
}

    .size-guide-table caption {
        padding: 10px 12px;
        font-size: .8rem;
        text-align: left;
        color: #626262;
    }

    .size-guide-table th, .size-guide-table td {
        min-width: 105px;
        padding: 15px 12px;
        text-align: center;
        white-space: nowrap;
        border-top: 1px solid #eee;
        border-right: 1px solid #eee;
        background: #fff;
    }

    .size-guide-table thead th {
        background: #f7f7f7;
        font-weight: 600;
    }

    .size-guide-table tr > *:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 90px;
        border-right: 1px solid #dedede;
    }

    .size-guide-table .is-selected-size > * {
        background: var(--ColorPrimarySoft,#fff0ec);
    }

.size-guide-selected-label {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    color: var(--ColorSecondary);
    margin-top: 3px;
}

.size-guide-trigger:focus-visible, .size-guide-dialog button:focus-visible, .size-guide-dialog summary:focus-visible, .size-guide-table-scroll:focus-visible {
    outline: 2px solid var(--ColorPrimary);
    outline-offset: 2px;
    box-shadow: none;
}

@media(max-width:768px) {
    .size-guide-dialog {
        inset: auto 0 var(--guide-viewport-bottom,0px);
        margin: 0;
        width: 100%;
        height: auto;
        --mobile-sheet-viewport-height: var(--guide-viewport-height,100dvh);
        max-height: var(--mobile-sheet-height-limit,min(86dvh,calc(100dvh - 24px)));
        border-radius: 18px 18px 0 0;
    }

    .size-guide-header {
        padding: 0 12px 10px;
    }

    .size-guide-body {
        padding: 14px 12px max(20px,env(safe-area-inset-bottom));
    }

    .size-guide-table th, .size-guide-table td {
        padding: 14px 10px;
    }
}

/* Compact secondary mobile actions retain full tap areas and readable labels. */
@media (max-width:768px) {
    :is(.my-btn-ouline,.my-btn-ouline-small,.my-btn-small:not(.ColorPrimary)) {
        min-width: 44px;
        min-height: 44px;
        height: auto;
        padding: 6px 12px;
        gap: 6px;
        font-size: max(13px,.85rem);
        line-height: 1.35;
        white-space: normal;
        text-align: center;
    }

    :is(.my-btn-ouline-small,.my-btn-small:not(.ColorPrimary)) {
        width: auto;
    }

    .my-btn-small.ColorPrimary {
        font-size: max(13px,.85rem);
    }
}

/* Shared per-product shipping entitlement: quiet green, independent of coral purchase actions. */
.free-shipping-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 8px;
    border: 1px solid #c9dfd1;
    border-radius: 5px;
    background: #edf7f0;
    color: #246342;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    vertical-align: middle
}

    .free-shipping-tag i {
        flex: none;
        font-size: .8em;
        color: inherit
    }

.free-shipping-tag--card {
    position: relative;
    overflow: hidden;
    isolation: isolate
}

    .free-shipping-tag--card::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: linear-gradient(105deg,transparent 35%,#cbe8d380 50%,transparent 65%);
        transform: translateX(-110%);
        pointer-events: none
    }

html[data-flash-motion="running"] .free-shipping-tag--card::after {
    animation: free-shipping-sheen 5s ease-in-out infinite;
    animation-play-state: var(--flash-deal-play-state,running)
}

html[data-flash-motion="running"] .free-shipping-tag--card i {
    animation: free-shipping-drive 5s ease-in-out infinite;
    animation-play-state: var(--flash-deal-play-state,running)
}

.free-shipping-information {
    margin: 10px 0 12px
}

    .free-shipping-information p {
        margin: 7px 0 0;
        color: #42594b;
        font-size: .875rem;
        line-height: 1.55
    }

@keyframes free-shipping-sheen {
    0%,55% {
        transform: translateX(-110%)
    }

    80%,100% {
        transform: translateX(110%)
    }
}

@keyframes free-shipping-drive {
    0%,55%,80%,100% {
        transform: translateX(0)
    }

    65% {
        transform: translateX(2px)
    }
}

@media(prefers-reduced-motion:reduce) {
    html[data-flash-motion="running"] .free-shipping-tag--card::after, html[data-flash-motion="running"] .free-shipping-tag--card i {
        animation: none
    }
}

/* Stable primary-button hover. Keep the existing gradient painted throughout the transition;
   fade an inset theme-colour layer underneath white labels instead of swapping background images.
   Restrict this to action controls: promotion artwork, dialog animation and timers are independent. */
:is(button,a,input):is(.ColorPrimary,.my-btn-primary,.access-primary,.basket-primary,.checkout-primary,.payment-primary,.wallet-primary,.withdraw-primary,.wishlist-button-primary,.profile-primary,.vendor-next,.vendor-submit,.vendor-primary-link,.home-information-dismiss,.cat-empty-primary,.cat-filter-apply,.rana-feedback-primary,.cart-preview-primary,.store-follow-button,.store-search-button,.search-btn):not([aria-pressed="true"]) {
    background-color: var(--ColorPrimary) !important;
    background-image: var(--ColorPrimaryGradient) !important;
    color: var(--ColorPrimaryText) !important;
    filter: none;
    box-shadow: inset 0 0 0 999px transparent;
    transition: box-shadow 160ms ease,border-color 160ms ease,background-color 160ms ease,color 160ms ease;
}

@media(hover:hover) and (pointer:fine) {
    :is(button,a,input):is(.ColorPrimary,.my-btn-primary,.access-primary,.basket-primary,.checkout-primary,.payment-primary,.wallet-primary,.withdraw-primary,.wishlist-button-primary,.profile-primary,.vendor-next,.vendor-submit,.vendor-primary-link,.home-information-dismiss,.cat-empty-primary,.cat-filter-apply,.rana-feedback-primary,.cart-preview-primary,.store-follow-button,.store-search-button,.search-btn):not([aria-pressed="true"]):not(:disabled):not(.aspNetDisabled):not([aria-disabled="true"]):hover {
        box-shadow: inset 0 0 0 999px var(--ColorPrimaryHover);
    }
}

:is(button,a,input):is(.ColorPrimary,.my-btn-primary,.access-primary,.basket-primary,.checkout-primary,.payment-primary,.wallet-primary,.withdraw-primary,.wishlist-button-primary,.profile-primary,.vendor-next,.vendor-submit,.vendor-primary-link,.home-information-dismiss,.cat-empty-primary,.cat-filter-apply,.rana-feedback-primary,.cart-preview-primary,.store-follow-button,.store-search-button,.search-btn):not([aria-pressed="true"]):not(:disabled):not(.aspNetDisabled):not([aria-disabled="true"]):active {
    box-shadow: inset 0 0 0 999px var(--ColorPrimaryHover);
}

@media(prefers-reduced-motion:reduce) {
    :is(button,a,input):is(.ColorPrimary,.my-btn-primary,.access-primary,.basket-primary,.checkout-primary,.payment-primary,.wallet-primary,.withdraw-primary,.wishlist-button-primary,.profile-primary,.vendor-next,.vendor-submit,.vendor-primary-link,.home-information-dismiss,.cat-empty-primary,.cat-filter-apply,.rana-feedback-primary,.cart-preview-primary,.store-follow-button,.store-search-button,.search-btn):not([aria-pressed="true"]) {
        transition: none;
    }
}

/* Shared mobile sheet handles; drag regions never include scrolling content. */
.mobile-sheet-handle {
    display: none;
}
/* Common personal-center desktop layout; phone page layouts keep their own existing styles. */
.account-center-rail {
    display: none;
}

@media(min-width:769px) {
    .account-center-layout {
        display: grid;
        grid-template-columns: minmax(0,1fr) 260px;
        align-items: start;
        gap: 28px;
        width: 85%;
        max-width: 1440px;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 32px 28px 52px;
    }

        .account-center-layout > .main-content {
            width: 100%;
            min-width: 0;
            margin: 0;
            padding: 0;
        }

        .account-center-layout .main-contentnopadding {
            width: 100% !important;
            min-width: 0;
            margin: 0;
        }

        .account-center-layout :is(.profile-layout,.addressbook-layout,.paymentoptions-layout,.orderlist-layout,.review-page-layout) {
            grid-template-columns: minmax(0,1fr);
            gap: 0;
        }

        .account-center-layout :is(.profile-nav,.account-center-legacy) {
            display: none;
        }

        .account-center-layout :is(.profile-page,.addressbook-page,.paymentoptions-page,.orders-page,.orderitems-page,.productreview-page,.wishlist-page,.wallet-shell,.withdraw-shell,.messages-page) {
            max-width: none;
            min-width: 0;
            margin: 0;
            padding: 0;
        }

        .account-center-layout :is(.profile-heading,.addressbook-header,.paymentoptions-header,.orders-header,.orderitems-header,.productreview-header,.wishlist-header,.wallet-heading,.withdraw-heading,.messages-heading) {
            margin: 0 0 24px;
            padding: 0 0 20px;
            border-bottom: 1px solid #eae7e5;
        }

            .account-center-layout :is(.profile-heading,.addressbook-header,.paymentoptions-header,.orders-header,.orderitems-header,.productreview-header,.wishlist-header,.wallet-heading,.withdraw-heading,.messages-heading) h1 {
                margin: 6px 0 8px;
                font-size: clamp(26px,2.4vw,32px);
                line-height: 1.2;
                font-weight: 700;
                letter-spacing: -.03em;
                color: var(--ColorSecondary);
            }

    .account-center-rail {
        display: block;
        position: sticky;
        top: calc(var(--rana-header-height,110px) + 24px);
        max-height: calc(100dvh - var(--rana-header-height,110px) - 48px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        background: var(--ColorWhite);
        color: var(--ColorSecondary);
        padding: 20px 12px 12px;
        border: 1px solid #eae7e5;
        border-radius: 16px;
    }

        .account-center-rail > h2 {
            font-size: 17px;
            line-height: 1.4;
            font-weight: 700;
            margin: 0;
            padding: 0 12px 16px;
        }

    .account-center-group {
        padding: 14px 0 0;
        border-top: 1px solid #f0eeec;
    }

        .account-center-group + .account-center-group {
            margin-top: 12px;
        }

        .account-center-group h3 {
            margin: 0;
            padding: 0 12px 8px;
            font-size: 11px;
            line-height: 1.5;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: #6a625e;
        }

        .account-center-group a {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 44px;
            padding: 10px 12px;
            border-radius: 9px;
            text-decoration: none;
            font-size: 14px;
            line-height: 1.45;
            color: var(--ColorSecondary);
        }

            .account-center-group a i {
                flex: 0 0 18px;
                text-align: center;
                color: #776c66;
            }

            .account-center-group a:hover {
                background: #faf7f5;
            }

            .account-center-group a[aria-current="page"] {
                background: #fff0eb;
                color: var(--ColorPrimary);
                font-weight: 600;
            }

                .account-center-group a[aria-current="page"] i {
                    color: var(--ColorPrimary);
                }

            .account-center-group a:focus-visible {
                outline: 2px solid var(--ColorPrimary);
                outline-offset: -2px;
            }

    .account-center-layout :is(.wishlist-grid,.wishlist-related-grid) {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media(min-width:769px) and (max-width:1100px) {
    .account-center-layout {
        width: 96%;
        grid-template-columns: minmax(0,1fr) 224px;
        gap: 20px;
        padding: 28px 16px 44px;
    }

        .account-center-layout :is(.wishlist-grid,.wishlist-related-grid) {
            grid-template-columns: repeat(2,minmax(0,1fr));
        }

        .account-center-layout :is(.wallet-grid,.withdraw-grid) {
            grid-template-columns: minmax(0,1fr);
        }

    .account-center-group a {
        padding: 10px;
        gap: 10px;
    }
}

@media(min-width:1600px) {
    .account-center-layout :is(.wishlist-grid,.wishlist-related-grid) {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

@media(max-width:768px) {
    [data-mobile-sheet] {
        --mobile-sheet-height-limit: min(calc(var(--mobile-sheet-viewport-height,100dvh) - max(24px,env(safe-area-inset-top))),calc(var(--mobile-sheet-viewport-height,100dvh) * .86));
    }

    .mobile-sheet-handle {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        align-self: center;
        box-sizing: border-box;
        width: 88px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0 auto;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--ColorSecondary);
        cursor: grab;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
    }

        .mobile-sheet-handle span {
            display: block;
            width: 36px;
            height: 4px;
            border-radius: 999px;
            background: #8a8078;
            pointer-events: none;
        }

    .mobile-sheet-handle--inline {
        width: 44px;
        margin: 0;
    }

        .mobile-sheet-handle--inline span {
            width: 28px;
        }

    [data-mobile-sheet="x"] .mobile-sheet-handle span {
        width: 4px;
        height: 24px;
    }

    .mobile-sheet-handle:focus-visible {
        outline: 2px solid var(--ColorPrimary);
        outline-offset: -4px;
    }
    /* Opted-in bottom sheets use one cancellable open/close animation, never two competing entry effects. */
    [data-mobile-sheet-animated] {
        animation: none !important;
        transition: none !important;
    }

    [data-mobile-sheet-closing] {
        pointer-events: none;
    }

    [data-mobile-sheet][data-mobile-sheet-open].has-mobile-sheet-gesture {
        transform: translate3d(var(--mobile-sheet-x,0px),var(--mobile-sheet-y,0px),0) !important;
        animation: none !important;
        transition: transform 180ms cubic-bezier(.22,1,.36,1) !important;
    }

    [data-mobile-sheet-motion].has-mobile-sheet-gesture {
        animation: none !important;
    }

    [data-mobile-sheet][data-mobile-sheet-open].is-mobile-sheet-dragging {
        transition: none !important;
    }

    .is-mobile-sheet-dragging .mobile-sheet-handle {
        cursor: grabbing;
    }

    [data-mobile-sheet] :is(.size-guide-header,.product-gallery-header,.basket-dialog-heading,.mobile-category-header) h2 {
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .mobile-account-sidebar-title {
        flex: 1;
        min-width: 0;
    }
}

@media(min-width:601px) and (max-width:768px) {
    .mobile-sheet-handle--600 {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {
    [data-mobile-sheet][data-mobile-sheet-open].has-mobile-sheet-gesture {
        transition: none !important;
    }
}


/* Shared product-card media keeps video controls outside product links and below promotion ribbons. */
[data-catalog-media] {
    position: relative;
}

.catalog-media-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.catalog-card-visual {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}

:is(.product-image-wrapper,.orderitem-image-wrapper) > .catalog-media-link, :is(.product-image-wrapper,.orderitem-image-wrapper) > .catalog-card-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.product-card:hover .catalog-card-visual {
    transform: scale(1.03);
}

.catalog-video-toggle {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: var(--ColorSecondary);
    font: inherit;
    font-size: 16px;
    box-shadow: 0 2px 7px #00000012;
    cursor: pointer;
}

    .catalog-video-toggle:hover {
        background: #f5f5f5;
    }

    .catalog-video-toggle:focus-visible, .catalog-media-link:focus-visible {
        outline: 2px solid var(--ColorInputFocus);
        outline-offset: -3px;
    }

[data-catalog-media] [hidden] {
    display: none !important;
}

.catalog-media-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.wishlist-related-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}
/* Stretch the existing, named GET link across live catalog cards without nesting actions.
   Keep controls above the hit area and native video controls usable without JavaScript. */
:is(.product-card,.store-product-card,.wishlist-card,.wishlist-related-card):has(.catalog-card-link) {
    position: relative;
    isolation: isolate;
}

.catalog-card-link {
    position: static;
}

    .catalog-card-link::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        cursor: pointer;
        border-radius: inherit;
    }

    .catalog-card-link:focus-visible {
        outline: none !important;
    }

        .catalog-card-link:focus-visible::after {
            outline: 2px solid var(--ColorInputFocus);
            outline-offset: -3px;
        }

:is(.product-card,.store-product-card,.wishlist-card,.wishlist-related-card):has(.catalog-card-link) :is(button:not(.catalog-video-toggle),input,select,textarea,summary,.wishlist-card-actions) {
    position: relative;
    z-index: 2;
}

:is(.product-card,.store-product-card,.wishlist-card,.wishlist-related-card):has(.catalog-card-link) [data-catalog-media]:has(video[controls]) {
    z-index: 2;
}

@media(prefers-reduced-motion:reduce) {
    .catalog-card-visual {
        transition: none;
    }

    .product-card:hover .catalog-card-visual {
        transform: none;
    }
}
/* Shared card merchandising: subdued ranking, exact SKU savings and lightweight unit totals. */
.card-price-row, .product-info .product-price, .store-product-info .store-product-price, .wishlist-card-body .wishlist-price {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
    line-height: 1.4;
}

.card-price-current {
    color: var(--ColorPrimary);
    font-weight: 700;
    white-space: nowrap
}

.card-price-from {
    font-size: max(13px,.8125rem);
    font-weight: 500;
    color: #656565
}

.card-price-previous {
    font-size: max(13px,.8125rem);
    font-weight: 400;
    color: #666;
    white-space: nowrap;
    text-decoration-thickness: 1px
}

.card-price-saving {
    font-size: max(13px,.8125rem);
    line-height: 1.35;
    font-weight: 600;
    color: #a32d1b;
    background: #fff0eb;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap
}

.sku-price-history {
    position: relative;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 9px;
    margin: 8px 0 4px;
    line-height: 1.4
}

    .sku-price-history[hidden], .sku-price-history [hidden] {
        display: none !important
    }

.card-rank-row {
    margin: 0;
    display: flex;
    min-width: 0
}

button.card-best-seller {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    max-width: 100%;
    padding: 0 2px;
    background: none;
    border: 0;
    border-radius: 4px;
    color: #725215;
    font-size: max(13px,.8125rem);
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    text-align: left;
    box-shadow: none;
    transform: none
}

.card-best-seller-label {
    padding: 4px 7px;
    background: #fff5df;
    border-radius: 3px
}

button.card-best-seller i {
    font-size: 13px;
    color: #806126
}

button.card-best-seller:hover .card-best-seller-label {
    background: #f8eccd
}

button.card-best-seller:focus-visible {
    outline: 2px solid var(--ColorPrimary);
    outline-offset: 2px
}

.card-sold-count {
    position: relative;
    font-size: max(13px,.8125rem);
    line-height: 1.4;
    color: #626262;
    margin: 4px 0;
    font-weight: 400
}

.card-stat-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.card-rank-tooltip {
    position: fixed;
    z-index: 2147483000;
    max-width: min(320px,calc(100vw - 24px));
    padding: 12px 14px;
    border: 1px solid #e4e0d9;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: max(13px,.8125rem);
    line-height: 1.5;
    box-shadow: 0 5px 18px #0000001a;
    pointer-events: none
}

.product-info > a, .store-product-info > a, .wishlist-related-info > a {
    color: inherit;
    text-decoration: none;
    display: block
}

.wishlist-related-info {
    padding: 14px
}

.wishlist-related-card .wishlist-related-info > p {
    margin: 6px 0
}

.wishlist-related-card .wishlist-related-info h3 {
    margin: 0 0 6px;
    font-size: .92rem;
    font-weight: 600
}

@media(max-width:768px) {
    .card-price-row, .product-info .product-price, .store-product-info .store-product-price, .wishlist-card-body .wishlist-price {
        gap: 3px 5px
    }

    .card-price-previous, .card-price-saving, .card-price-from, .card-sold-count, button.card-best-seller {
        font-size: max(13px,.8125rem)
    }

    .wishlist-related-info {
        padding: 10px
    }
}
/* Loading placeholders mirror the current card shell, media ratio and content spacing. */
.product-grid-skeleton .catalog-skeleton-card {
    padding: 0;
    animation: none;
    pointer-events: none;
}

    .product-grid-skeleton .catalog-skeleton-card::before,
    .product-grid-skeleton .catalog-skeleton-card::after {
        content: none;
    }

.catalog-skeleton-card .skeleton-block {
    display: block;
    border-radius: 3px;
    background: linear-gradient(90deg,#f3f3f3 25%,#ecebeb 37%,#f3f3f3 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.catalog-skeleton-card .skeleton-image {
    border-radius: 0;
}

.catalog-skeleton-card .skeleton-info {
    min-width: 0;
}

.catalog-skeleton-card .skeleton-title {
    width: 88%;
    height: 12px;
    margin-bottom: 10px;
}

.catalog-skeleton-card .skeleton-price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}

.catalog-skeleton-card .skeleton-price {
    width: 44%;
    height: 17px;
}

.catalog-skeleton-card .skeleton-previous {
    width: 32%;
    height: 10px;
}

.catalog-skeleton-card .skeleton-detail {
    width: 46%;
    height: 10px;
    margin-top: 10px;
}

.catalog-skeleton-card .skeleton-rating {
    width: 70%;
    height: 12px;
    margin-top: 10px;
}

.catalog-skeleton-card .skeleton-secondary {
    width: 56%;
    height: 12px;
    margin-top: 10px;
}

.catalog-skeleton-card .skeleton-action {
    width: 100%;
    height: 44px;
    margin-top: auto;
    border-radius: 50px;
}

@media(prefers-reduced-motion:reduce) {
    .catalog-skeleton-card .skeleton-block {
        animation: none;
    }
}

/* Account inbox count is shared by the header and personal-center navigation. */
.account-message-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;margin-left:auto;padding:1px 6px;box-sizing:border-box;border-radius:12px;background:#fff0eb;color:#a13722;font-size:12px;line-height:1.4;font-weight:650}
.header-actions{display:flex;align-items:center;gap:8px}
.header-messages{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:50%;text-decoration:none;color:var(--ColorSecondary,#273440);font-size:20px}
.header-messages:hover{background:#fff0eb;color:#a13722}
.header-messages:focus-visible{outline:2px solid var(--ColorInputFocus);outline-offset:-2px}
.header-messages .account-message-count{position:absolute;top:0;right:0;min-width:18px;min-height:18px;padding:1px 4px;background:var(--ColorPrimary);color:var(--ColorPrimaryText);font-size:10px;border:2px solid var(--whitecolor,#fff)}
.header-actions .cart-link{white-space:nowrap;min-height:44px}
@media(max-width:768px){
    .header-actions{gap:4px}.header-messages{font-size:19px}
    .mobile-account-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;line-height:1}
    .mobile-account-icon .account-message-count{position:absolute;left:calc(100% - 5px);top:-7px;min-width:18px;min-height:18px;margin:0;padding:1px 4px;border:2px solid #fff;background:var(--ColorPrimary);color:var(--ColorPrimaryText);font-size:10px;line-height:1.2;white-space:nowrap}
}

/* Public reviews share an anonymous identity: never a customer's actual name, initials or portrait. */
.reviewer-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.reviewer-avatar { display: inline-grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; box-sizing: border-box; border: 1px solid #e1e5eb; border-radius: 50%; background: #f2f4f6; color: #77818d; font-size: 15px; }
.reviewer-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reviewer-name { display: block; margin: 0; color: #38414d; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
@media(max-width:768px) { .reviewer-avatar { flex-basis: 32px; width: 32px; height: 32px; font-size: 14px; } }

/* Shared customer review cards and decorative loading batches. */
.review-card { min-width: 0; padding: 20px 0; border-bottom: 1px solid #edf0f3; color: #29313c; }
.review-card:last-child { border-bottom: 0; }
.review-card:focus { outline: none; }
.review-card-top { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 12px; }
.review-card-stars { display: inline-flex; gap: 3px; color: #9a6416; font-size: 14px; }
.review-card-date { color: #626b77; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.review-card-text { margin: 12px 0; font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.review-card-context { margin: 12px 0 0; color: #626b77; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.review-card-context a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #a83b22; text-underline-offset: 3px; }
.review-pagination { display: flex; justify-content: center; padding-top: 10px; }
.review-pagination button { min-height: 44px; }
.review-load-status { margin: 12px 0; color: #626b77; font-size: 14px; line-height: 1.5; text-align: center; }
.review-load-status:empty { display: none; }
.review-skeleton[hidden] { display: none; }
.review-skeleton-shape { display: block; background: #eef0f3; border-radius: 4px; animation: review-loading-pulse 1.4s ease-in-out infinite; animation-play-state: var(--flash-deal-play-state,running); }
.review-skeleton-avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; }
.review-skeleton-name { width: 100px; max-width: 100%; height: 14px; }
.review-skeleton-stars { width: 88px; max-width: 100%; height: 12px; }
.review-skeleton-date { width: 70px; height: 12px; }
.review-skeleton-line { width: 92%; height: 14px; margin: 16px 0 10px; }
.review-skeleton-line-short { width: 68%; height: 14px; }
.review-skeleton-context { width: 42%; height: 12px; margin-top: 20px; }
@keyframes review-loading-pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@media(max-width:768px) {
 .review-card { padding-block: 16px; }
 .review-skeleton-avatar { flex-basis: 32px; width: 32px; height: 32px; }
}
@media(prefers-reduced-motion:reduce) { .review-skeleton-shape { animation: none; } }

/* Category pills use a quiet keyboard cue without a ring around the pill. */
:is(#homeCategoryFilters .filter-pill,
    #categoryFilterTabs .cat-filter-open,
    #categoryFilters .attr-tab,
    #storeCatalogNavigation .store-category-link,
    #storeCatalogNavigation .store-subcategory-link,
    #storeProducts .store-sort-link):focus {
    outline: none;
    box-shadow: none;
}
:is(#homeCategoryFilters .filter-pill,
    #categoryFilterTabs .cat-filter-open,
    #categoryFilters .attr-tab,
    #storeCatalogNavigation .store-category-link,
    #storeCatalogNavigation .store-subcategory-link,
    #storeProducts .store-sort-link):focus-visible {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
