:root {
    --amber-canvas: #f4f6f8;
    --amber-surface: #ffffff;
    --amber-ink: #16181d;
    --amber-muted: #737983;
    --amber-line: #e2e6eb;
    --amber-blue: #2478f2;
    --amber-blue-soft: #eaf2ff;
    --amber-green: #27856f;
    --amber-green-soft: #edf8f4;
    --amber-orange: #c37620;
    --amber-orange-soft: #fff6e9;
    --amber-red: #b65353;
    --amber-red-soft: #fff0f0;
    --amber-shadow: 0 18px 45px rgba(24, 31, 42, .07);
    --amber-radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body.amber-storefront {
    min-height: 100vh;
    margin: 0;
    color: var(--amber-ink);
    background:
        radial-gradient(circle at 82% 4%, rgba(36, 120, 242, .055), transparent 25rem),
        linear-gradient(180deg, #fafbfc 0, var(--amber-canvas) 36rem) !important;
    background-attachment: scroll !important;
    font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

.amber-storefront *,
.amber-storefront *::before,
.amber-storefront *::after {
    box-sizing: border-box;
}

.amber-storefront a {
    color: inherit;
}

/* Header */
.amber-navbar.navbar-acg {
    position: sticky;
    top: 0;
    z-index: 1050;
    min-height: 88px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid rgba(24, 31, 42, .09);
    background: rgba(255, 255, 255, .9);
    box-shadow: none;
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
}

.amber-navbar__inner {
    width: min(100%, 1840px);
    margin-inline: auto;
    padding-inline: clamp(22px, 4.2vw, 76px);
    gap: 18px;
}

.amber-brand.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    margin: 0 clamp(12px, 2.5vw, 42px) 0 0;
    padding: 8px 17px 8px 9px;
    border: 1px solid #b9c9de;
    border-radius: 999px;
    color: var(--amber-ink);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 4px 18px rgba(24, 31, 42, .035);
    font-size: 16px;
    font-weight: 760;
    letter-spacing: -.02em;
}

.amber-brand__mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--amber-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1;
}

.amber-brand__name {
    white-space: nowrap;
}

.amber-navbar .navbar-collapse {
    gap: 22px;
}

.amber-navbar__links {
    gap: 4px;
}

.amber-navbar.navbar-acg .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 14px;
    color: #666c75;
    font-size: 15px;
    font-weight: 610;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.amber-navbar.navbar-acg .nav-link.active {
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-weight: 700;
}

.amber-navbar.navbar-acg .nav-link .nav-icon {
    margin-right: 8px;
    font-size: 16px;
}

.amber-search.search-input {
    width: min(230px, 16vw);
}

.amber-search.search-input .input-group {
    flex-wrap: nowrap;
}

.amber-search.search-input .input-group-text,
.amber-search.search-input .form-control {
    height: 42px;
    border-color: var(--amber-line) !important;
    background: #f7f8fa;
}

.amber-search.search-input .input-group-text {
    border-radius: 13px 0 0 13px;
    color: #858b95;
}

.amber-search.search-input .form-control {
    border-radius: 0 13px 13px 0;
    color: var(--amber-ink);
    font-size: 14px;
}

.amber-navbar .lang-switch {
    margin-left: 0 !important;
}

.amber-navbar .lang-switch__btn,
.amber-navbar .user-login-box .btn,
.amber-navbar .user-info-box .dropdown-toggle {
    min-height: 42px;
    border-radius: 13px;
}

.amber-navbar .lang-switch__btn {
    border: 1px solid transparent;
    color: #686e77;
}

.amber-navbar .user-login-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0 !important;
}

.amber-navbar .user-login-box .btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 650;
}

.amber-navbar .user-login-box .btn-primary {
    border-color: var(--amber-ink);
    color: #fff;
    background: var(--amber-ink);
}

.amber-navbar .user-login-box .btn-primary:visited {
    color: #fff;
}

.amber-navbar .navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--amber-line);
    border-radius: 13px;
    color: var(--amber-ink);
    box-shadow: none !important;
}

.amber-navbar .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2316181d' stroke-linecap='round' stroke-width='2'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
}

/* Storefront composition */
.amber-main {
    width: min(100%, 1840px);
    margin-inline: auto;
    padding: clamp(30px, 4vw, 58px) clamp(22px, 4.2vw, 76px) 72px;
}

.amber-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 28px;
}

.amber-kicker {
    display: block;
    margin-bottom: 15px;
    color: var(--amber-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.amber-hero h1 {
    margin: 0;
    color: var(--amber-ink);
    font-family: "STSong", "Songti SC", Georgia, serif;
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.amber-hero p {
    margin: 17px 0 0;
    color: var(--amber-muted);
    font-size: clamp(15px, 1.25vw, 20px);
    letter-spacing: .02em;
}

.amber-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    margin-bottom: 4px;
    padding: 11px 2px;
    color: #60666f;
    font-size: 15px;
    font-weight: 700;
    transition: color .18s ease, gap .18s ease;
}

.amber-view-all.is-primary,
.amber-view-all:hover {
    color: var(--amber-blue);
}

/* Announcement modal */
.amber-announcement-modal .modal-dialog {
    max-width: 680px;
}

.amber-announcement-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(24, 31, 42, .1);
    border-radius: 26px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 80px rgba(24, 31, 42, .18);
}

.amber-announcement-modal .modal-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    gap: 14px;
    align-items: center;
    padding: 24px 26px 20px;
    border-bottom: 1px solid var(--amber-line);
}

.amber-announcement-modal__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-size: 19px;
}

.amber-announcement-modal__heading > span {
    display: block;
    margin-bottom: 2px;
    color: var(--amber-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.amber-announcement-modal .modal-title {
    margin: 0;
    color: var(--amber-ink);
    font-size: 24px;
    font-weight: 780;
    letter-spacing: -.035em;
}

.amber-announcement-modal .btn-close {
    margin: 0;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none;
}

.amber-announcement-modal .modal-body {
    padding: 24px 28px 12px;
    color: #59616c;
    font-size: 14px;
    line-height: 1.8;
}

.amber-announcement-modal__copy > :first-child {
    margin-top: 0;
}

.amber-announcement-modal__copy > :last-child {
    margin-bottom: 0;
}

.amber-announcement-modal__copy ol,
.amber-announcement-modal__copy ul {
    padding-left: 1.35rem;
}

.amber-announcement-modal__copy li + li {
    margin-top: 8px;
}

.amber-announcement-modal .modal-footer {
    padding: 18px 28px 24px;
    border-top: 0;
}

.amber-announcement-modal__confirm {
    min-width: 112px;
    padding: 10px 18px;
    border-radius: 13px;
    color: #fff;
    background: var(--amber-ink);
    font-size: 14px;
    font-weight: 700;
}

.amber-announcement-modal__confirm:hover,
.amber-announcement-modal__confirm:focus {
    color: #fff;
    background: var(--amber-blue);
}

/* Contact modal: channels are driven by the existing admin service settings. */
.amber-contact-modal .modal-dialog {
    max-width: 560px;
}

.amber-contact-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(24, 31, 42, .1);
    border-radius: 26px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 80px rgba(24, 31, 42, .18);
}

.amber-contact-modal .modal-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    gap: 14px;
    align-items: center;
    padding: 24px 26px 20px;
    border-bottom: 1px solid var(--amber-line);
}

.amber-contact-modal__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: var(--amber-green);
    background: var(--amber-green-soft);
    font-size: 19px;
}

.amber-contact-modal__heading > span {
    display: block;
    margin-bottom: 2px;
    color: var(--amber-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.amber-contact-modal .modal-title {
    margin: 0;
    color: var(--amber-ink);
    font-size: 24px;
    font-weight: 780;
    letter-spacing: -.035em;
}

.amber-contact-modal .btn-close {
    margin: 0;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none;
}

.amber-contact-modal .modal-body {
    padding: 24px 26px 10px;
}

.amber-contact-modal__intro {
    margin: 0 0 18px;
    color: #68707a;
    font-size: 14px;
    line-height: 1.7;
}

.amber-contact-modal__note {
    margin: -6px 0 18px;
    padding: 12px 14px;
    border-left: 3px solid var(--amber-green);
    border-radius: 0 12px 12px 0;
    color: #53606d;
    background: var(--amber-green-soft);
    font-size: 13px;
    line-height: 1.65;
}

.amber-contact-modal__channels {
    display: grid;
    gap: 10px;
}

.amber-contact-channel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--amber-line);
    border-radius: 17px;
    color: var(--amber-ink);
    background: #fafbfc;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.amber-contact-channel__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-size: 17px;
}

.amber-contact-channel small,
.amber-contact-channel strong {
    display: block;
}

.amber-contact-channel small {
    margin-bottom: 3px;
    color: #858b94;
    font-size: 11px;
}

.amber-contact-channel strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amber-contact-channel__arrow {
    color: #9298a1;
    font-size: 13px;
}

.amber-contact-channel:hover {
    border-color: #bcd0ec;
    color: var(--amber-blue);
    background: #f6f9ff;
    transform: translateY(-2px);
}

.amber-contact-channel--static {
    grid-template-columns: 44px minmax(0, 1fr);
}

.amber-contact-channel--static:hover {
    border-color: var(--amber-line);
    color: var(--amber-ink);
    background: #fafbfc;
    transform: none;
}

.amber-contact-modal__empty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 1px dashed #ccd2da;
    border-radius: 17px;
    color: var(--amber-muted);
    background: #fafbfc;
    font-size: 14px;
}

.amber-contact-modal .modal-footer {
    padding: 16px 26px 24px;
    border-top: 0;
}

.amber-contact-modal__close {
    min-width: 96px;
    padding: 10px 18px;
    border: 1px solid var(--amber-line);
    border-radius: 13px;
    color: var(--amber-ink);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.modal-backdrop.show {
    opacity: .34;
    backdrop-filter: blur(4px);
}

.amber-catalog__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.amber-section-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--amber-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.amber-catalog__heading h2 {
    margin: 0;
    color: var(--amber-ink);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 760;
    letter-spacing: -.035em;
}

.amber-catalog__heading p {
    margin: 0 0 3px;
    color: var(--amber-muted);
    font-size: 13px;
}

.amber-filterbar {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-bottom: 22px;
}

.amber-storefront .chip-list {
    gap: 9px;
    flex-wrap: wrap;
    padding: 0;
}

.amber-storefront .chip {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--amber-line);
    border-radius: 999px;
    color: #686e78;
    background: rgba(255, 255, 255, .8);
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
}

.amber-storefront .amber-chip-all {
    gap: 7px;
}

.amber-storefront .chip.is-primary {
    border-color: var(--amber-ink);
    color: #fff;
    background: var(--amber-ink);
}

.amber-storefront .chip .chip-icon {
    width: 18px;
    height: 18px;
    margin-right: 7px;
    border: 1px solid rgba(24, 31, 42, .08);
}

.amber-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(13px, 1vw, 20px);
    width: 100%;
    margin: 0;
}

.amber-product-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.amber-product-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dfe3e8;
    border-radius: 20px;
    background: var(--amber-surface);
    box-shadow: var(--amber-shadow);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.amber-product-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: #e9edf1;
}

.amber-product-media::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 26%;
    background: linear-gradient(180deg, transparent, rgba(12, 15, 20, .12));
    content: "";
    pointer-events: none;
}

.amber-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.amber-recommend,
.amber-soldout {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(22, 24, 29, .84);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 750;
}

.amber-soldout {
    color: #fff;
    background: rgba(166, 64, 64, .9);
}

.amber-product-body {
    display: flex;
    min-height: 246px;
    flex: 1;
    flex-direction: column;
    padding: clamp(16px, 1.05vw, 20px);
}

.amber-product-category {
    margin: 0 0 8px;
    overflow: hidden;
    color: #8a9099;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.amber-storefront .goods-title {
    min-height: 2.7em;
    margin: 0 0 12px;
    color: var(--amber-ink);
    font-size: clamp(16px, 1vw, 19px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.35;
}

.amber-product-tags {
    display: flex;
    align-content: flex-start;
    gap: 7px;
    flex-wrap: wrap;
    min-height: 54px;
    margin-bottom: 18px;
}

.amber-tag,
.amber-product-tags .acg-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 680;
    line-height: 1;
}

.amber-tag--purchase {
    border-color: #b9ded1;
    color: var(--amber-green);
    background: var(--amber-green-soft);
}

.amber-tag--member {
    border-color: #c9d7ed;
    color: #496b9b;
    background: #f0f5fc;
}

.amber-tag--delivery {
    border-color: #b8d4fb;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
}

.amber-tag--stock {
    border-color: #d7dde4;
    color: #6c737c;
    background: #f7f8f9;
}

.amber-tag--warning {
    border-color: #efcda2;
    color: var(--amber-orange);
    background: var(--amber-orange-soft);
}

.amber-tag--soldout {
    border-color: #edc1c1;
    color: var(--amber-red);
    background: var(--amber-red-soft);
}

.amber-product-tags .acg-tag {
    border-color: #d5c9f2;
    color: #7459a7;
    background: #f7f3ff;
}

.amber-product-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px 20px;
    align-items: end;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--amber-line);
}

.amber-price-block {
    min-width: 0;
}

.amber-price-label {
    display: block;
    margin-bottom: 3px;
    color: #8c929b;
    font-size: 11px;
}

.amber-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
    color: var(--amber-ink);
}

.amber-price b {
    overflow: hidden;
    font-family: "DIN Alternate", "Avenir Next Condensed", sans-serif;
    font-size: clamp(20px, 1.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.045em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amber-price small {
    color: #707781;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .06em;
}

.amber-cart {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d7dce2;
    border-radius: 13px;
    color: var(--amber-ink);
    background: #fafbfc;
    font-size: 17px;
}

.amber-arrow {
    display: grid;
    height: 40px;
    place-items: center;
    color: #6d737c;
    font-size: 15px;
    transition: transform .2s ease;
}

.amber-product-card.is-soldout {
    box-shadow: none;
}

.amber-product-card.is-soldout .amber-product-media img {
    filter: grayscale(1) brightness(.68);
}

.amber-empty,
.item-message {
    grid-column: 1 / -1;
    width: 100%;
    padding: 72px 22px;
    border: 1px dashed #ccd2da;
    border-radius: var(--amber-radius);
    color: var(--amber-muted);
    background: rgba(255, 255, 255, .55);
    text-align: center;
}

.amber-empty strong,
.amber-empty p {
    display: block;
}

.amber-empty strong {
    margin-top: 14px;
    color: var(--amber-ink);
    font-size: 18px;
}

.amber-empty p {
    margin: 7px 0 0;
}

.amber-empty__icon {
    font-size: 30px;
}

.amber-loader {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--amber-blue);
    box-shadow: 14px 0 0 rgba(36, 120, 242, .35), 28px 0 0 rgba(36, 120, 242, .12);
    animation: amberPulse 1.1s ease-in-out infinite alternate;
}

/* Purchase identity */
.amber-purchase-mode {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 18px 0 16px;
    padding: 13px 14px;
    border: 1px solid #c7deed;
    border-radius: 17px;
    color: #36556f;
    background: #f3f8fc;
}

.amber-purchase-mode__icon,
.amber-purchase-choice__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-size: 17px;
}

.amber-purchase-mode__copy,
.amber-purchase-mode__copy small,
.amber-purchase-mode__copy strong,
.amber-purchase-mode__copy > span {
    display: block;
}

.amber-purchase-mode__copy small {
    color: #758294;
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .08em;
}

.amber-purchase-mode__copy strong {
    margin: 1px 0 2px;
    color: var(--amber-ink);
    font-size: 15px;
}

.amber-purchase-mode__copy > span {
    color: #687686;
    font-size: 12px;
    line-height: 1.5;
}

.amber-purchase-mode > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 11px;
    color: var(--amber-blue);
    font-size: 12px;
    font-weight: 740;
    text-decoration: none;
}

.amber-purchase-mode--locked {
    border-color: #ead6bd;
    color: #825e2e;
    background: #fff9ef;
}

.amber-purchase-mode--locked .amber-purchase-mode__icon {
    color: var(--amber-orange);
    background: var(--amber-orange-soft);
}

.amber-purchase-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 16px;
}

.amber-purchase-choice__item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--amber-line);
    border-radius: 16px;
    color: #626b76;
    background: #fafbfc;
    text-decoration: none;
}

.amber-purchase-choice__item.is-active {
    border-color: #a9d8c8;
    color: var(--amber-green);
    background: var(--amber-green-soft);
    box-shadow: inset 0 0 0 1px rgba(39, 133, 111, .05);
}

.amber-purchase-choice__item .amber-purchase-choice__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 15px;
}

.amber-purchase-choice__item.is-active .amber-purchase-choice__icon {
    color: var(--amber-green);
    background: #fff;
}

.amber-purchase-choice__item small,
.amber-purchase-choice__item strong {
    display: block;
}

.amber-purchase-choice__item small {
    margin-bottom: 2px;
    color: #89919a;
    font-size: 10px;
}

.amber-purchase-choice__item strong {
    overflow: hidden;
    color: var(--amber-ink);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amber-purchase-choice__check {
    justify-self: end;
    color: currentColor;
    font-size: 14px;
}

.amber-guest-contact .form-text,
.amber-storefront .vstack .form-text {
    margin-top: 6px;
    color: #7c8590;
    font-size: 11px;
    line-height: 1.55;
}

.amber-member-gate {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.amber-member-gate .btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--amber-ink);
    border-radius: 14px;
    color: #fff;
    background: var(--amber-ink);
    font-weight: 700;
}

.amber-member-gate .btn-outline {
    border-color: var(--amber-line);
    color: var(--amber-ink);
    background: #fff;
}

/* Guest and member order lookup */
.amber-query-page {
    width: min(100%, 1320px);
    padding: clamp(34px, 5vw, 68px) clamp(18px, 3vw, 32px) 72px;
}

.amber-query-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.amber-query-kicker,
.amber-member-query-card__eyebrow,
.amber-query-card__head > div > span {
    display: block;
    color: var(--amber-blue);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: .16em;
}

.amber-query-hero h1 {
    margin: 7px 0 8px;
    color: var(--amber-ink);
    font-family: "STSong", "Songti SC", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 760;
    letter-spacing: -.05em;
}

.amber-query-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--amber-muted);
    font-size: 14px;
    line-height: 1.75;
}

.amber-query-hero__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.amber-query-hero__badges span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid var(--amber-line);
    border-radius: 999px;
    color: #65707c;
    background: rgba(255, 255, 255, .74);
    font-size: 11px;
    font-weight: 670;
}

.amber-query-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr);
    gap: 18px;
    align-items: stretch;
}

.amber-query-card,
.amber-member-query-card {
    padding: clamp(22px, 3vw, 32px);
}

.amber-query-card__head {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    margin-bottom: 25px;
}

.amber-query-card__icon,
.amber-member-query-card__symbol {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 16px;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-size: 20px;
}

.amber-query-card__head h2,
.amber-member-query-card h2 {
    margin: 3px 0 6px;
    color: var(--amber-ink);
    font-size: 23px;
    font-weight: 780;
    letter-spacing: -.035em;
}

.amber-query-card__head p,
.amber-member-query-card > p {
    margin: 0;
    color: var(--amber-muted);
    font-size: 13px;
    line-height: 1.65;
}

.amber-query-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.amber-query-form label > span:first-child {
    display: block;
    margin-bottom: 7px;
    color: #5f6874;
    font-size: 12px;
    font-weight: 710;
}

.amber-query-input {
    position: relative;
    display: block;
}

.amber-query-input > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    color: #8a929c;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.amber-storefront .amber-query-form .amber-query-input .form-control {
    width: 100%;
    height: 50px;
    padding: 10px 14px 10px 42px;
    border: 1px solid var(--amber-line);
    border-radius: 14px;
    color: var(--amber-ink);
    background: #fafbfc;
    box-shadow: none;
    font-size: 13px;
}

.amber-storefront .amber-query-form .amber-query-input .form-control:focus {
    border-color: #9dbce8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(36, 120, 242, .08);
}

.amber-query-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.amber-query-form__footer p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 480px;
    margin: 0;
    color: #7a8490;
    font-size: 11px;
    line-height: 1.55;
}

.amber-query-form__footer p i {
    margin-top: 2px;
    color: var(--amber-green);
}

.amber-storefront .amber-query-form .btn-search-query {
    display: inline-flex;
    min-width: 154px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    border: 1px solid var(--amber-ink);
    border-radius: 14px;
    color: #fff;
    background: var(--amber-ink);
    box-shadow: none;
    font-size: 13px;
    font-weight: 740;
}

.amber-storefront .amber-query-form .btn-search-query::before {
    display: none;
}

.amber-member-query-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: #fff;
    background: var(--amber-ink);
}

.amber-member-query-card__eyebrow {
    color: #91baff;
}

.amber-member-query-card__symbol {
    margin: 20px 0 10px;
    color: #fff;
    background: rgba(255, 255, 255, .11);
}

.amber-member-query-card h2 {
    color: #fff;
}

.amber-member-query-card > p {
    color: #aeb4bd;
}

.amber-member-query-card__user {
    display: flex;
    gap: 11px;
    align-items: center;
    margin: 20px 0 8px;
}

.amber-member-query-card__user img {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    object-fit: cover;
}

.amber-member-query-card__user small,
.amber-member-query-card__user strong {
    display: block;
}

.amber-member-query-card__user small {
    color: #9199a4;
    font-size: 10px;
}

.amber-member-query-card__user strong {
    overflow: hidden;
    max-width: 190px;
    margin-top: 2px;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amber-member-query-card__primary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 11px 14px;
    border-radius: 13px;
    color: var(--amber-ink) !important;
    background: #fff;
    font-size: 12px;
    font-weight: 760;
    text-decoration: none;
}

.amber-member-query-card__secondary {
    margin-top: 12px;
    color: #b8c8e1 !important;
    font-size: 11px;
    text-align: center;
}

.amber-member-query-card__note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-top: auto;
    padding-top: 22px;
    color: #939ba6;
    font-size: 10px;
    line-height: 1.55;
}

.amber-member-query-card__note i {
    margin-top: 2px;
    color: #f0c46c;
}

.amber-query-state {
    margin-top: 20px;
}

.amber-query-results-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amber-query-results-head .panel-title {
    margin: 0;
    font-size: 16px;
}

.amber-query-result-count {
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-size: 10px;
    font-weight: 720;
}

.amber-query-empty,
.amber-query-loading {
    padding: 48px 24px;
    color: var(--amber-muted);
    text-align: center;
}

.amber-query-empty > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0 auto 13px;
    border-radius: 17px;
    color: var(--amber-blue);
    background: var(--amber-blue-soft);
    font-size: 21px;
}

.amber-query-empty h2 {
    margin: 0 0 7px;
    color: var(--amber-ink);
    font-size: 17px;
}

.amber-query-empty p {
    margin: 0;
    font-size: 12px;
}

.amber-query-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
}

.amber-query-loading i {
    color: var(--amber-blue);
    font-size: 20px;
}

/* The product detail and order-query pages inherit the same surface language. */
.amber-storefront .panel {
    border: 1px solid var(--amber-line);
    border-radius: var(--amber-radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--amber-shadow);
}

.amber-storefront .panel::before {
    display: none;
}

.amber-storefront footer:not(.amber-product-footer) {
    padding: 24px;
    color: var(--amber-muted);
    text-align: center;
}

@keyframes amberPulse {
    from { opacity: .45; transform: translateX(-3px); }
    to { opacity: 1; transform: translateX(3px); }
}

@media (hover: hover) and (pointer: fine) {
    .amber-navbar.navbar-acg .nav-link:hover {
        color: var(--amber-ink);
        background: #f2f4f7;
    }

    .amber-view-all:hover {
        gap: 17px;
    }

    .amber-navbar .user-login-box .btn-primary:hover,
    .amber-navbar .user-login-box .btn-primary:focus {
        border-color: var(--amber-blue);
        color: #fff;
        background: var(--amber-blue);
    }

    .amber-storefront .chip:hover {
        transform: translateY(-1px);
        border-color: #bac1ca;
    }

    .amber-product-card:hover {
        transform: translateY(-7px);
        border-color: #cbd2db;
        box-shadow: 0 25px 55px rgba(24, 31, 42, .12);
    }

    .amber-product-card:hover .amber-product-media img {
        transform: scale(1.035);
    }

    .amber-product-card:hover .amber-arrow {
        transform: translateX(4px);
    }
}

@media (max-width: 1599.98px) {
    .amber-navbar.navbar-acg .nav-link {
        padding-inline: 12px;
        font-size: 14px;
    }

    .amber-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .amber-navbar__inner {
        gap: 10px;
    }

    .amber-brand.navbar-brand {
        margin-right: auto;
    }

    .amber-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .amber-navbar.navbar-acg {
        min-height: 72px;
        padding: 10px 0;
    }

    .amber-navbar__inner {
        flex-wrap: wrap;
        padding-inline: 18px;
    }

    .amber-brand.navbar-brand {
        order: 1;
        max-width: 45vw;
        padding: 6px 12px 6px 7px;
    }

    .amber-brand__mark {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .amber-brand__name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .amber-navbar .lang-switch {
        order: 2;
    }

    .amber-navbar .user-info-box,
    .amber-navbar .user-login-box {
        order: 3;
    }

    .amber-navbar .navbar-toggler {
        order: 4;
    }

    .amber-navbar .navbar-collapse {
        order: 10;
        flex-basis: 100%;
        padding: 14px 0 3px;
    }

    .amber-navbar__links {
        gap: 5px;
        padding: 8px;
        border: 1px solid var(--amber-line);
        border-radius: 16px;
        background: #f7f8fa;
    }

    .amber-navbar.navbar-acg .nav-link {
        width: 100%;
    }

    .amber-main {
        padding: 34px 22px 60px;
    }

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

    .amber-query-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .amber-member-query-card__note {
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .amber-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }

    .amber-view-all {
        margin-bottom: 0;
    }

    .amber-catalog__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .amber-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amber-product-body {
        min-height: 244px;
    }

    .amber-query-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .amber-query-hero__badges {
        justify-content: flex-start;
    }

    .amber-query-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .amber-query-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .amber-storefront .amber-query-form .btn-search-query {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .amber-purchase-choice,
    .amber-member-gate {
        grid-template-columns: minmax(0, 1fr);
    }

    .amber-purchase-mode {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .amber-purchase-mode > a {
        grid-column: 1 / -1;
        justify-content: center;
        border-top: 1px solid rgba(24, 31, 42, .08);
        border-radius: 0;
        padding-top: 11px;
    }

    .amber-query-page {
        padding-top: 30px;
    }

    .amber-query-card,
    .amber-member-query-card {
        padding: 20px;
    }

    .amber-query-card__head {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .amber-query-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 17px;
    }

    .amber-navbar .lang-switch__code,
    .amber-navbar .lang-switch__caret,
    .amber-navbar .user-login-box .btn-outline-secondary {
        display: none;
    }

    .amber-navbar .lang-switch__btn {
        width: 40px;
        min-height: 40px;
        padding: 0;
    }

    .amber-navbar .user-login-box .btn-primary {
        min-height: 40px;
        padding: 8px 10px;
    }

    .amber-main {
        padding: 26px 16px 50px;
    }

    .amber-kicker {
        margin-bottom: 11px;
        font-size: 9px;
    }

    .amber-hero h1 {
        font-size: 34px;
    }

    .amber-hero p {
        margin-top: 12px;
        font-size: 14px;
    }

    .amber-announcement-modal .modal-dialog,
    .amber-contact-modal .modal-dialog {
        margin: 14px;
    }

    .amber-announcement-modal .modal-content,
    .amber-contact-modal .modal-content {
        border-radius: 22px;
    }

    .amber-announcement-modal .modal-header,
    .amber-contact-modal .modal-header {
        grid-template-columns: 42px minmax(0, 1fr) 30px;
        padding: 20px;
    }

    .amber-announcement-modal__icon,
    .amber-contact-modal__icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .amber-announcement-modal .modal-body {
        padding: 20px 20px 8px;
        font-size: 13px;
    }

    .amber-announcement-modal .modal-footer {
        padding: 16px 20px 20px;
    }

    .amber-contact-modal .modal-body {
        padding: 20px 20px 8px;
    }

    .amber-contact-modal .modal-footer {
        padding: 16px 20px 20px;
    }

    .amber-filterbar {
        margin-right: -16px;
        margin-bottom: 18px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .amber-filterbar::-webkit-scrollbar {
        display: none;
    }

    .amber-storefront .chip-list {
        flex-wrap: nowrap;
        padding-right: 16px;
    }

    .amber-product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .amber-product-media {
        aspect-ratio: 16 / 10;
    }

    .amber-product-body {
        min-height: 238px;
        padding: 20px;
    }

    .amber-storefront .goods-title {
        font-size: 20px;
    }

    .amber-price b {
        font-size: 28px;
    }
}

@media (max-width: 399.98px) {
    .amber-brand.navbar-brand {
        max-width: 36vw;
        margin-right: auto;
    }

    .amber-navbar .user-login-box .btn-primary .nav-icon {
        margin-right: 6px;
    }

    .amber-navbar .user-login-box .btn-primary {
        width: auto;
        min-width: 86px;
        padding: 8px 10px;
        justify-content: center;
        color: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .amber-storefront *,
    .amber-storefront *::before,
    .amber-storefront *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.amber-storefront :focus-visible {
    outline: 3px solid rgba(36, 120, 242, .35);
    outline-offset: 3px;
}
