.rj-header {
    position: relative;
    z-index: var(--z-header);
    height: var(--header-height);
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 3px 14px rgba(6, 25, 47, .08);
    backdrop-filter: blur(12px);
}

.rj-header .rj-content {
    width: min(calc(100% - 48px), var(--container-width));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.rj-announcement {
    height: 31px;
    color: rgba(255, 255, 255, .92);
    background: var(--c-accent);
    font-size: 12px;
    letter-spacing: .04em;
}

.rj-announcement .rj-content {
    justify-content: space-between;
}

.rj-announcement i {
    margin-right: 5px;
    color: #fff;
}

.rj-main-bar {
    height: 76px;
    background: #fff;
}

.rj-main-bar .rj-content {
    gap: 34px;
}

.rj-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.rj-brand img {
    display: block;
    width: auto;
    height: 42px;
}

.rj-link-search,
.rj-mobile-search {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--c-border-strong);
    border-radius: 3px;
    background: #fff;
}

.rj-link-search {
    max-width: 470px;
    height: 44px;
    margin-left: auto;
    flex: 1 1 340px;
    box-shadow: inset 0 0 0 1px rgba(16, 41, 69, .02);
}

.rj-link-search i,
.rj-mobile-search i {
    margin-left: 15px;
    color: #7a8493;
    font-size: 19px;
}

.rj-link-search input,
.rj-mobile-search input {
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    flex: 1;
}

.rj-link-search button,
.rj-mobile-search button {
    align-self: stretch;
    padding: 0 18px;
    border: 0;
    color: #fff;
    background: var(--c-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.rj-account-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rj-account-link {
    min-width: 66px;
    min-height: 44px;
    padding: 5px 9px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #4a5565;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.rj-account-link i {
    color: var(--c-primary);
    font-size: 20px;
}

.rj-account-link:hover {
    background: #f2f4f7;
}

.rj-account-link-primary {
    color: #fff;
    background: var(--c-accent);
}

.rj-account-link-primary i {
    color: #fff;
}

.rj-account-link-primary:hover {
    background: var(--c-accent-hover);
}

.rj-menu-bar {
    height: 44px;
    border-top: 0;
    background: var(--c-primary-strong);
}

.rj-menu-bar .rj-content {
    gap: 28px;
}

.rj-nav-home,
.rj-category-link,
.rj-guide-link {
    position: relative;
    height: 44px;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.rj-nav-home {
    color: #fff;
}

.rj-nav-home::after,
.rj-category-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--c-accent);
    content: "";
    transform: scaleX(0);
    transition: transform .18s ease;
}

.rj-nav-home:hover::after,
.rj-category-link:hover::after {
    transform: scaleX(1);
}

.rj-menu {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}

.rj-menu::-webkit-scrollbar {
    display: none;
}

.rj-guide-link {
    margin-left: auto;
    color: #fff;
}

.rj-guide-link i {
    margin-right: 5px;
    font-size: 17px;
}

.rj-mobile-search,
.rj-mobile-menu,
.rj-mobile-menu-mask,
.rj-mobile-menu-content {
    display: none;
}

.rj-body {
    width: min(calc(100% - 48px), var(--container-width));
    min-height: 54vh;
    margin: 24px auto 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.rj-footer {
    margin-top: 80px;
    padding-top: 46px;
    color: rgba(255, 255, 255, .78);
    border-top: 5px solid var(--c-accent);
    background: var(--c-primary-strong);
    font-size: 12px;
    line-height: 1.85;
}

.rj-footer-content {
    width: min(calc(100% - 48px), var(--container-width));
    margin: 0 auto;
    padding-bottom: 42px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr .8fr;
    gap: 48px;
}

.rj-footer-col h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .08em;
}

.rj-footer-logo {
    width: 160px;
    margin-bottom: 16px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #fff;
}

.footer-desc {
    color: rgba(255, 255, 255, .68);
}

.footer-links a {
    display: inline-block;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.rj-footer-bottom {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
    text-align: center;
}

.rj-footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.rj-product-container {
    width: 100%;
}

#new-products {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.rj-product-container .rj-title {
    width: 100%;
    margin: 0 0 22px;
    padding: 0 0 13px 15px;
    border-bottom: 1px solid var(--c-border-strong);
    border-left: 5px solid var(--c-accent);
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--c-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .02em;
}

.rj-product-container .rj-title i {
    color: var(--c-accent);
}

.rj-product-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 20px;
}

.rj-product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e3e7ed;
    color: inherit;
    text-decoration: none;
}

.rj-product-card .p-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: 3px;
    background: #edf0f3;
}

.rj-product-card .p-thumb::after {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    content: "";
    transition: border-color .2s ease;
    pointer-events: none;
}

.rj-product-card:hover .p-thumb::after {
    border-color: var(--c-accent);
}

.rj-product-card .p-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

.rj-product-card:hover .p-thumb img {
    transform: scale(1.025);
}

.rj-product-card .p-tag {
    position: absolute;
    z-index: 1;
    top: 11px;
    left: 11px;
    padding: 4px 9px;
    border-radius: 0;
    color: #fff;
    background: var(--c-accent) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.rj-product-card .p-colors {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 3px;
    padding: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .9);
}

.rj-product-card .p-color-chip {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
}

.rj-product-card .p-title {
    overflow: hidden;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    min-height: 44px;
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rj-product-card .p-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.rj-product-card .p-price {
    color: var(--c-accent);
    font-size: 18px;
    font-weight: 800;
}

.rj-product-card .p-meta {
    color: var(--c-text-light);
    font-size: 11px;
    text-align: right;
}

.-error-msg- {
    padding: 11px 20px;
    border-bottom: 1px solid #f6c7cf;
    color: #a10e28;
    background: #fff0f3;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1024px) {
    .rj-main-bar .rj-content {
        gap: 18px;
    }

    .rj-account-link {
        min-width: 52px;
    }

    .rj-product-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rj-footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .rj-header {
        height: var(--header-height);
    }

    .rj-header .rj-content,
    .rj-footer-content {
        width: min(calc(100% - 32px), var(--container-width));
    }

    .rj-announcement {
        height: 28px;
        font-size: 10px;
    }

    .rj-business-hours,
    .rj-account-nav,
    .rj-menu-bar,
    .rj-link-search {
        display: none;
    }

    .rj-main-bar {
        height: 58px;
        border-bottom: 1px solid var(--c-border);
    }

    .rj-main-bar .rj-content {
        justify-content: space-between;
    }

    .rj-brand img {
        height: 34px;
    }

    .rj-mobile-menu {
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: var(--c-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
    }

    .rj-mobile-menu i {
        font-size: 25px;
    }

    .rj-mobile-search {
        height: 38px;
        margin: 0 16px;
        border-radius: 5px;
        display: flex;
        transform: translateY(0);
    }

    .rj-mobile-search i {
        margin-left: 11px;
        font-size: 16px;
    }

    .rj-mobile-search button {
        padding: 0 14px;
        font-size: 12px;
    }

    .rj-mobile-menu-mask {
        position: fixed;
        z-index: 999998;
        inset: 0;
        background: rgba(7, 23, 45, .62);
    }

    .rj-mobile-menu-content {
        position: fixed;
        z-index: 999999;
        top: 0;
        right: 0;
        width: min(86vw, 360px);
        height: 100dvh;
        overflow-y: auto;
        background: #fff;
        box-shadow: -18px 0 40px rgba(7, 23, 45, .18);
    }

    .rj-mobile-menu-head {
        height: 72px;
        padding: 0 18px;
        border-bottom: 1px solid var(--c-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .rj-mobile-menu-head img {
        width: 150px;
    }

    .rj-mobile-menu-head button {
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .rj-mobile-menu-links {
        padding: 10px 18px 32px;
    }

    .rj-link-menu-mobile {
        min-height: 48px;
        padding: 12px 4px;
        border-bottom: 1px solid #edf0f3;
        display: flex;
        align-items: center;
        gap: 9px;
        color: var(--c-text);
        font-size: 14px;
        font-weight: 700;
    }

    .rj-link-menu-mobile i {
        color: var(--c-primary);
        font-size: 18px;
    }

    .rj-mobile-divider {
        height: 12px;
        margin: 10px -18px;
        border-top: 1px solid var(--c-border);
        border-bottom: 1px solid var(--c-border);
        background: var(--c-bg);
    }

    .rj-body {
        width: min(calc(100% - 28px), var(--container-width));
        margin-top: 20px;
    }

    .rj-product-container .rj-title {
        margin-bottom: 16px;
        font-size: 19px;
    }

    .rj-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .rj-product-card {
        gap: 9px;
    }

    .rj-product-card .p-title {
        font-size: 13px;
    }

    .rj-product-card .p-price {
        font-size: 16px;
    }

    .rj-product-card .p-meta {
        display: none;
    }

    .rj-footer {
        margin-top: 56px;
        padding-top: 34px;
    }

    .rj-footer-content {
        padding-bottom: 30px;
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 420px) {
    .rj-announcement .rj-content {
        width: calc(100% - 20px);
    }

    .rj-product-list {
        gap: 20px 10px;
    }
}
