.recommend p {
    font-size: 14px;
}

.category {
    padding: 40px 0;
}

.separator {
    display: block;
    width: 60px;
    height: 5px;
    margin: 15px auto 15px;
    background-color: #cccccc;
    position: relative;
    border: 1px solid #cccccc;
}

.separator:after {
    width: 30px;
    height: 5px;
    background: #333333;
    position: absolute;
    top: -1px;
    left: -1px;
    content: "";
}

.category-menus li {
    display: inline-block;
    margin: 4px;
}

.shop-category-feedback {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #64748b;
    display: flex;
    font-size: 14px;
    gap: 5px;
    justify-content: center;
    margin: 0 auto 16px;
    min-height: 38px;
    padding: 8px 14px;
    width: fit-content;
}

.shop-category-feedback strong {
    color: #111827;
}

.shop-category-feedback span {
    color: #2563eb;
    font-weight: 800;
}

.goods-buy {
    line-height: 40px;
    font-size: 13px;
}


.goods-introduction-cate {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.goods-card {
    cursor: pointer;
    outline: none;
    transition: box-shadow .18s ease, transform .18s ease;
}

.goods-search-empty {
    color: #64748b;
    padding: 28px 16px;
    text-align: center;
}

.goods-list #goodsTabContent.is-searching .tab-pane {
    display: block !important;
    opacity: 1;
}

.goods-card:hover,
.goods-card:focus-visible {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
    transform: translateY(-2px);
}

.goods-card.is-out-of-stock {
    filter: grayscale(.72);
    opacity: .72;
}

.goods-card.is-out-of-stock:hover,
.goods-card.is-out-of-stock:focus-visible {
    filter: grayscale(.55);
    opacity: .86;
}

.goods-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .28), 0 10px 24px rgba(15, 23, 42, .14);
}

.home-cart-form {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.home-cart-form .btn {
    min-width: 36px;
    width: 100%;
}

.product-card .card-body > .product-cart-button {
    margin-top: 8px;
}

.nav-cart-link {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.cart-count-badge {
    align-items: center;
    background: #2563eb;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-width: 18px;
    padding: 4px 5px;
}



.buy-form label {
    font-size: 16px;
}

.shop-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.shop-navbar {
    min-height: 68px;
}

.shop-navbar .navbar-brand {
    color: #111827;
    font-weight: 700;
    max-width: min(52vw, 280px);
    overflow-wrap: anywhere;
}

.shop-header .logo img {
    height: auto;
    max-height: 48px;
    max-width: 180px;
    object-fit: contain;
}

.shop-navbar .nav-link {
    border-radius: 999px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    min-height: 36px;
    padding: 8px 13px;
}

.shop-navbar .nav-link.active,
.shop-navbar .nav-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.shop-nav-status {
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    color: #5d5d5d;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    line-height: 1;
    margin-right: 12px;
    min-height: 30px;
    padding: 7px 11px;
    white-space: nowrap;
}

.shop-nav-status:before {
    background: #919191;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, .12);
    content: "";
    height: 7px;
    width: 7px;
}

.shop-nav-search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    gap: 6px;
    min-width: min(340px, 100%);
    padding: 4px;
}

.shop-nav-search .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-height: 34px;
    min-width: 0;
}

.shop-nav-search .btn {
    border-radius: 999px;
    min-height: 34px;
    white-space: nowrap;
}

.shop-search-clear {
    border: 0;
    color: #64748b;
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
}

.shop-search-clear[hidden] {
    display: none !important;
}

.shop-hero {
    background: #111827;
    color: #fff;
    padding: 56px 0 48px;
}

.shop-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.shop-hero-kicker {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.shop-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.shop-hero-copy {
    color: #d1d5db;
    font-size: 16px;
    max-width: 560px;
    margin-bottom: 0;
}

.shop-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 12px;
    min-width: 260px;
}

.shop-hero-stats div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 16px;
}

.shop-hero-stats strong,
.shop-hero-stats span {
    display: block;
}

.shop-hero-stats strong {
    font-size: 26px;
    line-height: 1;
}

.shop-hero-stats span {
    color: #d1d5db;
    margin-top: 8px;
}

.notice-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.notice-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.notice-card .lead {
    font-size: 15px;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.notice-card .lead img,
.notice-card .lead iframe,
.buy-description .card-body img,
.buy-description .card-body iframe,
.modal-body img,
.modal-body iframe {
    border-radius: 8px;
    height: auto;
    max-width: 100%;
}

.notice-card .lead iframe,
.buy-description .card-body iframe,
.modal-body iframe {
    aspect-ratio: 16 / 9;
    display: block;
    width: 100%;
}

.notice-card .lead a,
.buy-description .card-body a,
.modal-body a {
    color: #1d4ed8;
    display: inline-block;
    font-weight: 700;
    overflow-wrap: anywhere;
    max-width: 100%;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.notice-card .lead table,
.buy-description .card-body table,
.modal-body table {
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.notice-card .lead th,
.notice-card .lead td,
.buy-description .card-body th,
.buy-description .card-body td,
.modal-body th,
.modal-body td {
    border: 1px solid #e5e7eb;
    padding: 9px 11px;
}

.notice-card .lead pre,
.buy-description .card-body pre,
.modal-body pre {
    background: #0f172a;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.65;
    overflow-x: auto;
    padding: 14px;
}

.shop-status {
    margin-top: -18px;
    position: relative;
    z-index: 3;
}

.shop-status-inner {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 16px 18px;
    position: relative;
}

.shop-status-inner strong {
    color: #111827;
    display: inline-flex;
    font-size: 16px;
    line-height: 1.4;
    margin-left: 8px;
    vertical-align: middle;
}

.shop-status-inner p {
    color: #6b7280;
    font-size: 14px;
    margin: 6px 0 0 24px;
    overflow-wrap: anywhere;
}

.shop-status-dot {
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.shop-status-inner.is-ready .shop-status-dot {
    animation: shopStatusPulse 2.2s ease-in-out infinite;
    background: #919191;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, .12);
}

.shop-status-inner.is-pending .shop-status-dot {
    animation: shopStatusPulse 2.2s ease-in-out infinite;
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, .14);
}

.shop-status-metrics {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.shop-status-metrics span,
.shop-status-metrics a {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    font-size: 13px;
    line-height: 1;
    padding: 8px 12px;
    white-space: nowrap;
}

.shop-status-metrics a {
    color: #1d4ed8;
    text-decoration: none;
}

.shop-readiness-meter {
    background: #e5e7eb;
    border-radius: 999px;
    bottom: -1px;
    height: 3px;
    left: 18px;
    overflow: hidden;
    position: absolute;
    right: 18px;
}

.shop-readiness-meter span {
    background: linear-gradient(90deg, #f59e0b, #7f7f7f);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .36s ease;
}

.shop-flow {
    padding: 24px 0 0;
}

.shop-flow-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-flow-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 124px;
    padding: 16px;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.shop-flow-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .1);
    transform: translateY(-2px);
}

.shop-flow-item:after {
    background: #e5e7eb;
    content: "";
    height: 1px;
    position: absolute;
    right: -12px;
    top: 30px;
    width: 12px;
}

.shop-flow-item:last-child:after {
    display: none;
}

.shop-flow-item span {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    height: 28px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 12px;
    width: 38px;
}

.shop-flow-item strong {
    color: #111827;
    display: block;
    font-size: 15px;
    margin-bottom: 7px;
}

.shop-flow-item p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
}

.shop-flow-item.is-current {
    border-color: #e7e7e7;
}

.shop-flow-item.is-current span {
    animation: shopStatusPulse 2.2s ease-in-out infinite;
    background: #f9f9f9;
    border-color: #e7e7e7;
    color: #5d5d5d;
}

.section-title {
    font-weight: 700;
}

.category-menus .btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    gap: 7px;
    min-height: 38px;
    padding: 8px 16px;
}

.category-menus .btn em {
    align-items: center;
    background: rgba(15, 23, 42, .08);
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-width: 22px;
    padding: 4px 7px;
}

.category-menus .btn.active em {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.product-card.is-stockout {
    background: #f8fafc;
}

.product-card.is-stockout .product-image {
    filter: grayscale(.16);
    opacity: .72;
}

.product-card.is-payment-pending {
    border-color: #fed7aa;
}

.product-card:before {
    background: linear-gradient(90deg, rgba(248, 250, 252, 0), rgba(255, 255, 255, .72), rgba(248, 250, 252, 0));
    content: "";
    height: 240px;
    left: -65%;
    opacity: .78;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: skewX(-12deg);
    width: 55%;
    z-index: 1;
}

.product-card:not(:hover):before {
    animation: productImageSheen 2.8s ease-in-out infinite;
}

.product-card .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.product-state {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 9px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
}

.product-state.is-ready {
    background: #f9f9f9;
    color: #5d5d5d;
}

.product-state.is-pending {
    background: #fff7ed;
    color: #c2410c;
}

.product-state.is-stockout {
    background: #f1f5f9;
    color: #475569;
}

.product-badge {
    left: 10px;
    position: absolute;
    top: 10px;
    z-index: 2;
}

.product-image {
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 50% 40%, rgba(219, 234, 254, .75), transparent 34%),
        linear-gradient(135deg, #f8fafc, #eef2ff);
    border-bottom: 1px solid #eef2f7;
    min-height: 190px;
    object-fit: contain;
    opacity: .92;
    padding: 18px;
    transition: opacity .22s ease, transform .22s ease;
    width: 100%;
}

.product-image.is-loaded {
    opacity: 1;
}

.product-card:hover .product-image {
    transform: scale(1.025);
}

.product-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 42px;
    overflow: hidden;
    line-height: 1.4;
    white-space: normal;
}

.product-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.product-price,
.product-discount {
    border-radius: 6px;
    font-size: 13px;
    padding: 6px 10px;
}

.product-price {
    background: #f9f9f9;
    color: #5d5d5d;
}

.product-discount {
    background: #fff7ed;
    color: #c2410c;
}

.product-stock {
    align-items: center;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 7px;
    margin-bottom: 14px;
}

.product-stock small {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 8px;
}

.product-status-note {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    margin: -2px 0 14px;
    min-height: 38px;
    padding: 8px 10px;
}

.product-action {
    margin-top: auto;
    min-height: 34px;
    width: 100%;
}

.product-card .btn.btn-sm {
    align-items: center;
    display: inline-flex !important;
    justify-content: center;
    min-height: 34px !important;
}

.empty-goods {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #6b7280;
    padding: 42px 20px;
    text-align: center;
}

.empty-goods h4 {
    color: #111827;
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-goods p {
    margin-bottom: 0;
}

.buy-page {
    background: #f8fafc;
    padding-top: 18px;
}

.buy-card,
.buy-description {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.buy-media {
    align-items: stretch;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
    justify-content: flex-start;
    min-height: 360px;
    padding: 76px 34px 30px;
    position: relative;
}

.buy-media img {
    aspect-ratio: 4 / 3;
    align-self: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(219, 234, 254, .7), transparent 34%),
        linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
    opacity: .94;
    padding: 18px;
    transition: opacity .22s ease, transform .22s ease;
    width: min(100%, 320px);
}

.buy-media img.is-loaded {
    opacity: 1;
}

.buy-media:hover img {
    transform: translateY(-2px) scale(1.01);
}

.buy-media-status {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    margin-top: 4px;
    padding: 12px;
}

.buy-media-status div {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: 38px;
    padding: 9px 10px;
}

.buy-media-status span,
.buy-media-status strong {
    font-size: 12px;
    line-height: 1.3;
}

.buy-media-status span {
    color: #64748b;
}

.buy-media-status strong {
    color: #111827;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-align: right;
}

.buy-delivery-badge {
    left: 18px;
    position: absolute;
    top: 18px;
    z-index: 2;
}

.buy-body {
    background: #fff;
    border-left: 1px solid #e5e7eb;
    min-height: 360px;
    padding: 30px;
}

.buy-heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.buy-heading .card-title {
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 10px 0 0;
}

.buy-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 7px 10px;
}

.buy-status.is-ready {
    background: #f9f9f9;
    color: #5d5d5d;
}

.buy-status.is-pending {
    background: #fff7ed;
    color: #c2410c;
}

.buy-status.is-pending {
    align-items: center;
    gap: 8px;
}

.buy-status.is-pending:after {
    animation: shopSoftStatusPulse 1.8s ease-in-out infinite;
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 6px;
    opacity: .72;
    width: 6px;
}

.buy-status-hint {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 14px 0 0;
}

.buy-price {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    flex: 0 0 auto;
    min-width: 132px;
    padding: 12px 14px;
    text-align: right;
}

.buy-price span,
.buy-price strong {
    display: block;
}

.buy-price span {
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 4px;
}

.buy-price strong {
    color: #5d5d5d;
    font-size: 21px;
    line-height: 1.1;
}

.buy-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 6px;
}

.buy-facts span {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    font-size: 13px;
    line-height: 1;
    padding: 8px 11px;
}

.buy-support {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e3a8a;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 8px;
    padding: 12px 14px;
}

.buy-support a,
.buy-support strong {
    color: #1d4ed8;
    font-weight: 700;
}

.buy-support a {
    align-items: center;
    display: inline-flex;
    min-height: 30px;
    text-decoration: none;
}

.buy-open-guide {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 12px 14px;
}

.buy-open-guide span {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 9px;
}

.buy-open-guide strong {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.buy-next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.buy-next-actions .btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    gap: 7px;
    justify-content: center;
    min-height: 38px;
}

.buy-launch-check {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
}

.buy-launch-check > div {
    display: grid;
    gap: 4px;
}

.buy-launch-check > div strong {
    color: #111827;
    font-size: 15px;
}

.buy-launch-check > div span {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.buy-launch-check ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.buy-readiness-meter {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 12px;
}

.buy-readiness-meter:before {
    background: #e5e7eb;
    border-radius: 999px;
    content: "";
    grid-column: 1;
    grid-row: 1;
    height: 8px;
}

.buy-readiness-meter span {
    animation: shopMeterGlow 2.4s ease-in-out infinite;
    background: linear-gradient(90deg, #f59e0b, #7f7f7f);
    border-radius: 999px;
    display: block;
    grid-column: 1;
    grid-row: 1;
    height: 8px;
    min-width: 8px;
    overflow: hidden;
    position: relative;
    transition: width .36s ease;
}

.buy-readiness-meter span:after {
    animation: shopMeterSweep 2.8s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(-100%);
}

.buy-readiness-meter em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.buy-launch-check li {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
}

.buy-launch-check li span,
.buy-launch-check li strong {
    font-size: 13px;
    line-height: 1.3;
}

.buy-launch-check li span {
    color: #374151;
}

.buy-launch-check li strong {
    font-weight: 700;
    overflow-wrap: anywhere;
    text-align: right;
}

.buy-launch-check li.is-ready strong {
    color: #5d5d5d;
}

.buy-launch-check li.is-waiting strong {
    color: #c2410c;
}

@keyframes shopSoftStatusPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: .45;
        transform: scale(.86);
    }

    50% {
        box-shadow: 0 0 0 5px transparent;
        opacity: .9;
        transform: scale(1);
    }
}

@keyframes shopMeterGlow {
    0%,
    100% {
        filter: saturate(1);
    }

    50% {
        filter: saturate(1.25);
    }
}

@keyframes shopMeterSweep {
    0%,
    36% {
        transform: translateX(-100%);
    }

    72%,
    100% {
        transform: translateX(100%);
    }
}

.buy-form {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    position: relative;
}

.buy-form-cover {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #92400e;
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.buy-form-cover strong {
    color: #78350f;
    font-size: 14px;
}

.buy-form-cover span {
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.buy-tier-list {
    background: linear-gradient(135deg, #f8fafc, #ecfeff);
    border: 1px solid #dbeafe;
    border-radius: 8px;
    display: grid;
    gap: 9px;
    margin-top: 14px;
    padding: 12px;
}

.buy-tier-heading {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.buy-tier-heading span {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.buy-tier-heading strong {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.buy-tier-item {
    align-items: center;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(191, 219, 254, .88);
    border-radius: 8px;
    color: #334155;
    display: grid;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 40px;
    padding: 9px 10px;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.buy-tier-item:hover {
    border-color: #60a5fa;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .09);
    transform: translateY(-1px);
}

.buy-tier-item i {
    color: #0f766e;
    font-size: 18px;
}

.buy-tier-item span,
.buy-tier-item strong {
    overflow-wrap: anywhere;
}

.buy-tier-item span {
    font-size: 13px;
}

.buy-tier-item strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.buy-form .form-control {
    border-radius: 6px;
}

.buy-form .form-control:disabled,
.buy-form .form-check-input:disabled,
.buy-captcha-refresh:disabled {
    cursor: not-allowed;
    opacity: .72;
}

.buy-form .form-control:disabled {
    background: #f1f5f9;
    color: #64748b;
}

.buy-quantity-hint {
    color: #64748b;
    display: block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 7px;
}

.buy-total-preview {
    color: #1d4ed8;
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 4px;
}

.buy-form .input-group {
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.buy-captcha-refresh {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    min-height: 38px;
    padding: 2px 8px;
}

.buy-captcha-refresh:hover {
    border-color: #2563eb;
}

.buy-captcha-refresh img {
    display: block;
    max-width: 118px;
}

.buy-page .btn-decrement,
.buy-page .btn-increment,
.buy-page .form-control-text-input {
    min-height: 42px;
}

.buy-page .btn-decrement,
.buy-page .btn-increment {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
}

.buy-payment-options {
    border: 0;
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
}

.buy-payment-options legend {
    color: #111827;
    display: block;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.buy-payment-select {
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    min-height: 46px;
    max-width: 560px;
    padding: 10px 42px 10px 14px;
}

.buy-payment-select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .12);
}

.buy-payment-option {
    margin: 0 8px 0 0;
}

.buy-payment-option .form-check-label {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.buy-payment-option .form-check-input {
    margin: 0;
}

.buy-payment-option .form-check-input:checked + span {
    color: #1d4ed8;
    font-weight: 700;
}

.buy-payment-option .form-check-label:has(.form-check-input:checked) {
    background: #eff6ff;
    border-color: #93c5fd;
}

.buy-payment-option .form-check-label:hover {
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.buy-payment-option .buy-payment-note {
    color: #64748b;
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 2px;
}

.buy-submit {
    min-height: 38px;
    min-width: 150px;
}

.buy-form-tip {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0 0;
    overflow-wrap: anywhere;
}

.buy-description .card-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.buy-description .card-header h5 {
    font-size: 17px;
    margin-bottom: 0;
}

.buy-description .card-body {
    color: #374151;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.buy-description .card-body > *:last-child,
.modal-body > *:last-child,
.notice-card .lead > *:last-child {
    margin-bottom: 0;
}

.buy-description .card-body ul,
.buy-description .card-body ol,
.modal-body ul,
.modal-body ol,
.notice-card .lead ul,
.notice-card .lead ol {
    padding-left: 20px;
}

.modal-content {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .18);
}

.modal-header,
.modal-footer {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.modal-title {
    align-items: center;
    color: #111827;
    display: inline-flex;
    font-size: 17px;
    gap: 10px;
    font-weight: 800;
}

.buy-prompt-icon {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1d4ed8;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.buy-prompt-dialog .modal-content {
    overflow: hidden;
}

.buy-prompt-dialog .modal-header {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
}

.buy-prompt-dialog .modal-body {
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .09), transparent 38%) 0 0 / 100% 3px no-repeat,
        #ffffff;
}

.modal-body {
    color: #374151;
    line-height: 1.75;
    max-height: min(68vh, 620px);
    overflow: auto;
    overflow-wrap: anywhere;
}

.order-search-page {
    background: #f8fafc;
    padding: 26px 0 40px;
}

.order-search-hero {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 8px 0 18px;
}

.order-search-kicker {
    color: #6b7280;
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.order-search-hero h1 {
    color: #111827;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.order-search-hero p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 10px 0 0;
    max-width: 640px;
}

.order-search-support {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e3a8a;
    flex: 0 0 auto;
    font-size: 14px;
    padding: 12px 14px;
}

.order-search-support span,
.order-search-support a,
.order-search-support strong {
    display: block;
}

.order-search-support a,
.order-search-support strong {
    color: #1d4ed8;
    font-weight: 700;
    margin-top: 4px;
    text-decoration: none;
}

.order-search-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.order-search-card .card-body {
    padding: 0;
}

.order-search-layout {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    min-height: 360px;
}

.order-search-aside {
    background: #111827;
    color: #fff;
    padding: 30px;
}

.order-search-aside h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}

.order-search-aside p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.order-search-notes {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.order-search-notes span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #f9fafb;
    font-size: 13px;
    line-height: 1;
    padding: 9px 11px;
}

.order-search-ready {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin-top: 18px;
    padding: 14px;
}

.order-search-ready strong {
    color: #fff;
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.order-search-ready ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-search-ready li {
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.order-search-ready li:before {
    background: #93c5fd;
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    top: 8px;
    width: 6px;
}

.order-search-form {
    background: #fff;
    padding: 30px;
}

.order-search-tabs {
    gap: 8px;
}

.order-search-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    color: #374151;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 13px;
}

.order-search-tabs .nav-link.active {
    background: #2563eb;
    color: #fff;
}

.order-search-form .form-control {
    border-radius: 6px;
    min-height: 38px;
}

.order-search-submit {
    min-width: 140px;
}

.order-search-field-tip {
    color: #64748b;
    display: block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 7px;
}

.order-search-recent {
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 12px;
    padding: 11px 12px;
}

.order-search-recent span {
    color: #515151;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-search-recent .btn {
    background: #fff;
    flex: 0 0 auto;
}

.order-search-browser-tip {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 12px 14px;
}

.order-search-local-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.order-search-local-toolbar {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 12px;
    padding: 10px 12px;
}

.order-search-local-toolbar span {
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

.order-search-local-toolbar .btn {
    border-radius: 999px;
    min-height: 30px;
    padding: 6px 11px;
    white-space: nowrap;
}

.order-search-local-item {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 58px;
    padding: 11px 12px;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.order-search-local-item:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .1);
    color: #111827;
    text-decoration: none;
    transform: translateY(-1px);
}

.order-search-local-item span,
.order-search-local-item strong,
.order-search-local-item em,
.order-search-local-item small {
    display: block;
}

.order-search-local-item strong {
    font-size: 14px;
    line-height: 1.3;
}

.order-search-local-item em,
.order-search-local-item small,
.order-search-local-empty {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    line-height: 1.5;
}

.order-search-local-item small {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    flex: 0 0 auto;
    text-align: right;
}

.order-search-local-item small b {
    align-items: center;
    background: #eff6ff;
    border-radius: 50%;
    color: #2563eb;
    display: inline-flex;
    font-size: 18px;
    height: 24px;
    justify-content: center;
    line-height: 1;
    transition: background .16s ease, color .16s ease, transform .16s ease;
    width: 24px;
}

.order-search-local-item:hover small b {
    background: #2563eb;
    color: #fff;
    transform: translateX(2px);
}

.order-search-local-empty {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: grid;
    gap: 9px;
    padding: 14px;
}

.order-search-local-empty strong,
.order-search-local-empty span {
    display: block;
}

.order-search-local-empty strong {
    color: #334155;
    font-size: 13px;
}

.order-search-local-empty div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.order-search-local-empty .btn {
    border-radius: 999px;
    min-height: 30px;
    padding: 6px 12px;
}

.shop-footer {
    background: #111827;
    color: #d1d5db;
    padding: 34px 0 18px;
}

.shop-footer-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1.5fr) minmax(160px, .8fr) minmax(0, 1fr);
}

.shop-footer-brand strong {
    color: #fff;
    display: block;
    font-size: 18px;
    margin-bottom: 9px;
}

.shop-footer-brand p,
.shop-footer-status p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.shop-footer-links,
.shop-footer-status {
    display: grid;
    gap: 8px;
}

.shop-footer-links span,
.shop-footer-status span {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.shop-footer-links a,
.shop-footer-links strong {
    align-items: center;
    color: #d1d5db;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    min-height: 30px;
    text-decoration: none;
}

.shop-footer-links a:hover {
    color: #fff;
}

.shop-footer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.shop-footer-chips em {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    color: #e5e7eb;
    display: inline-flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    gap: 6px;
    line-height: 1;
    padding: 7px 10px;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.shop-footer-chips em:before {
    background: #38bdf8;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .12);
    content: "";
    height: 6px;
    width: 6px;
}

.shop-footer-chips em:first-child:before {
    animation: shopSoftStatusPulse 1.8s ease-in-out infinite;
    background: #fbbf24;
}

.shop-footer-chips em:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
    transform: translateY(-1px);
}

.shop-footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #9ca3af;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 16px;
}

.shop-footer-bottom a {
    align-items: center;
    color: #d1d5db;
    display: inline-flex !important;
    min-height: 30px !important;
    text-decoration: none;
}

.shop-footer-bottom .custom {
    overflow-wrap: anywhere;
}

.shop-scroll-progress {
    background: #2563eb;
    height: 3px;
    left: 0;
    position: fixed;
    top: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .12s ease;
    width: 100%;
    z-index: 1090;
}

.shop-page-loader {
    background: linear-gradient(90deg, #2563eb, #14b8a6, #9b9b9b);
    box-shadow: 0 0 18px rgba(37, 99, 235, .28);
    height: 3px;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: opacity .16s ease;
    width: 42%;
    z-index: 1091;
}

.shop-page-loader.is-active {
    animation: shopPageLoad 1.05s ease-in-out infinite;
    opacity: 1;
}

.shop-floating-actions {
    bottom: 14px;
    display: grid;
    gap: 8px;
    position: fixed;
    right: 18px;
    z-index: 1080;
}

.shop-floating-action {
    align-items: center;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    gap: 7px;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    min-width: 104px;
    padding: 0 14px;
    text-decoration: none;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

button.shop-floating-action {
    appearance: none;
    cursor: pointer;
}

.shop-floating-action:hover,
.shop-floating-action:focus {
    background: #2563eb;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .25);
    color: #fff;
    outline: 0;
    text-decoration: none;
    transform: translateY(-2px);
}

.shop-floating-action:active {
    transform: translateY(0);
}

.shop-backtop {
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease;
}

.shop-backtop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.shop-backtop.is-visible:hover,
.shop-backtop.is-visible:focus {
    transform: translateY(-2px);
}

.shop-toast {
    background: #111827;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
    color: #fff;
    font-size: 14px;
    left: 50%;
    line-height: 1.4;
    max-width: min(420px, calc(100vw - 32px));
    opacity: 0;
    padding: 10px 14px;
    pointer-events: none;
    position: fixed;
    text-align: center;
    transform: translate(-50%, 10px);
    transition: opacity .16s ease, transform .16s ease;
    z-index: 1100;
}

.shop-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.shop-toast.is-error {
    background: #991b1b;
}

.shop-search-empty {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    display: grid;
    gap: 8px;
    justify-items: center;
    margin: 0 auto;
    max-width: 520px;
    padding: 24px;
    text-align: center;
}

.shop-search-empty strong {
    color: #111827;
    font-size: 16px;
}

.shop-search-empty span {
    font-size: 14px;
    line-height: 1.6;
}

.shop-search-empty .btn {
    border-radius: 999px;
    min-height: 32px;
}

.shop-results-status {
    margin: 0 auto 22px;
    max-width: 760px;
}

.copy-inline {
    align-items: center;
    background: #eef2ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-height: 30px;
    padding: 8px 11px;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    white-space: nowrap;
}

.copy-inline:hover,
.copy-inline.is-copied,
.btn.is-copied {
    background: #7f7f7f;
    border-color: #7f7f7f;
    color: #fff;
    text-decoration: none;
}

.copy-inline:focus-visible,
.btn:focus-visible,
.form-control:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .16);
    outline: 0;
}

.form-control:focus {
    border-color: #93c5fd;
}

.btn:disabled,
.btn.disabled,
.btn[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .72;
}

.btn:disabled .ali-icon,
.btn.disabled .ali-icon,
.btn[aria-disabled="true"] .ali-icon {
    opacity: .72;
}

.button-spinner {
    animation: shopSpin .7s linear infinite;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    border-top-color: currentColor;
    display: inline-block;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px;
    width: 14px;
}

.btn-outline-secondary .button-spinner {
    border-color: rgba(75, 85, 99, .28);
    border-top-color: currentColor;
}

.is-loading {
    cursor: wait !important;
    pointer-events: none;
}

.is-loading .ali-icon {
    opacity: .72;
}

.is-loading-soft {
    cursor: progress;
    opacity: .82;
    position: relative;
}

.is-loading-soft:after {
    animation: shopSpin .7s linear infinite;
    border: 2px solid rgba(37, 99, 235, .22);
    border-radius: 50%;
    border-top-color: currentColor;
    content: "";
    display: inline-block;
    height: 12px;
    margin-left: 7px;
    vertical-align: -1px;
    width: 12px;
}

[data-reveal] {
    animation: revealUp .46s ease both;
}

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

@keyframes shopPageLoad {
    0% {
        transform: translateX(-110%);
    }

    50% {
        transform: translateX(80%);
    }

    100% {
        transform: translateX(260%);
    }
}

@keyframes productImageSheen {
    0%,
    45% {
        left: -65%;
    }

    100% {
        left: 115%;
    }
}

@keyframes revealUp {
    from {
        opacity: 1;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopStatusPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

.bill-page,
.qrpay-page,
.order-info-page,
.error-page {
    background: #f8fafc;
    min-height: calc(100vh - 160px);
    padding: 36px 0 56px;
}

.bill-hero,
.order-info-hero {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.bill-kicker,
.qrpay-kicker,
.order-info-kicker,
.error-kicker {
    color: #2563eb;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.bill-hero h1,
.qrpay-heading h1,
.order-info-hero h1,
.error-card h1 {
    color: #111827;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
}

.bill-hero p,
.qrpay-heading p,
.order-info-hero p,
.error-card p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
    max-width: 640px;
    overflow-wrap: anywhere;
}

.bill-card,
.qrpay-card,
.order-info-card,
.error-card,
.order-info-missing {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.bill-card,
.order-info-card {
    display: grid;
    grid-template-columns: minmax(260px, 330px) 1fr;
}

.bill-summary,
.order-info-summary {
    background: #111827;
    color: #fff;
    padding: 28px;
}

.bill-status,
.order-status,
.order-delivery {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    min-height: 28px;
    padding: 8px 11px;
    white-space: nowrap;
}

.bill-status.is-ready,
.order-status.is-waiting,
.order-status.is-info {
    gap: 8px;
}

.bill-status.is-ready:after,
.order-status.is-waiting:after,
.order-status.is-info:after {
    animation: shopSoftStatusPulse 1.8s ease-in-out infinite;
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 6px;
    opacity: .72;
    width: 6px;
}

.bill-status.is-ready,
.order-status.is-waiting {
    background: rgba(245, 158, 11, .15);
    color: #fbbf24;
}

.bill-status.is-waiting,
.order-status.is-muted {
    background: rgba(148, 163, 184, .18);
    color: #cbd5e1;
}

.order-status.is-info {
    background: rgba(59, 130, 246, .15);
    color: #93c5fd;
}

.order-status.is-success {
    background: rgba(16, 185, 129, .16);
    color: #d4d4d4;
}

.order-status.is-danger {
    background: rgba(239, 68, 68, .18);
    color: #fca5a5;
}

.bill-summary h2,
.order-info-summary h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin: 18px 0 10px;
    overflow-wrap: anywhere;
}

.bill-summary p,
.order-info-summary p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.bill-steps,
.order-progress,
.qrpay-steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bill-steps li,
.order-progress li,
.qrpay-steps li {
    align-items: center;
    color: #94a3b8;
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.bill-steps li:before,
.order-progress li:before,
.qrpay-steps li:before {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: inherit;
    content: counter(step);
    counter-increment: step;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 12px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.bill-steps li.is-active,
.order-progress li.is-active {
    color: #fff;
}

.bill-steps li.is-current:before,
.order-progress li.is-current:before,
.qrpay-steps li.is-current:before {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.order-progress.is-complete li:before {
    background: #7f7f7f;
    border-color: #7f7f7f;
}

.order-progress.is-interrupted li.is-current:before,
.order-progress.is-interrupted li:first-child:before {
    background: #dc2626;
    border-color: #dc2626;
}

.bill-countdown,
.bill-total,
.order-info-total,
.qrpay-countdown {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    margin-top: 16px;
    padding: 15px;
}

.bill-countdown span,
.bill-total span,
.order-info-total span,
.qrpay-countdown span {
    color: #cbd5e1;
    display: block;
    font-size: 13px;
    margin-bottom: 7px;
}

.bill-countdown strong,
.bill-total strong,
.order-info-total strong,
.qrpay-countdown strong {
    color: #fff;
    display: block;
    font-size: 28px;
    line-height: 1;
}

.bill-total .copy-inline {
    margin-top: 12px;
}

.bill-main,
.order-info-details {
    padding: 28px;
}

.bill-section-title,
.order-info-section-title {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bill-section-title h3,
.order-info-section-title h3 {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.bill-section-title span,
.order-delivery {
    background: #eef2ff;
    color: #1d4ed8;
}

.bill-details,
.order-info-details dl,
.qrpay-info dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.bill-details > div,
.order-info-details dl > div,
.qrpay-info dl > div {
    align-items: start;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 128px 1fr;
    padding: 13px 14px;
}

.bill-details dt,
.order-info-details dt,
.qrpay-info dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.bill-details dd,
.order-info-details dd,
.qrpay-info dd {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bill-copy-line,
.order-copy-line,
.qrpay-copy-line {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.bill-check-panel,
.bill-payment-guard,
.bill-note,
.qrpay-reminder,
.qrpay-guard,
.order-next-action,
.order-info-save-tip,
.order-info-empty,
.error-hint,
.error-recovery,
.error-dossier,
.error-local-order {
    border-radius: 8px;
    margin-top: 16px;
    padding: 16px;
}

.bill-check-panel,
.qrpay-reminder,
.order-info-save-tip,
.error-recovery,
.error-dossier {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.bill-payment-guard,
.qrpay-guard,
.order-next-action.is-waiting,
.error-hint {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.bill-check-panel strong,
.bill-payment-guard strong,
.bill-note strong,
.qrpay-reminder strong,
.qrpay-guard strong,
.order-next-action strong,
.order-info-save-tip strong,
.order-info-empty strong,
.error-recovery strong,
.error-dossier strong,
.error-local-order strong {
    color: #111827;
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.bill-check-panel span,
.bill-payment-guard span,
.bill-note p,
.qrpay-reminder span,
.qrpay-guard span,
.order-next-action span,
.order-info-save-tip span,
.order-info-empty span,
.error-dossier span,
.error-local-order span {
    color: #64748b;
    display: block;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: anywhere;
}

.bill-check-panel ul,
.error-recovery ol {
    color: #475569;
    font-size: 13px;
    line-height: 1.7;
    margin: 10px 0 0;
    padding-left: 18px;
}

.error-dossier {
    text-align: left;
}

.error-dossier div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.error-dossier em {
    background: #eef2ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    padding: 8px 10px;
}

.bill-safety-check {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.bill-safety-check div {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    gap: 5px;
    padding: 12px;
}

.bill-safety-check span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.bill-safety-check strong {
    color: #111827;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.bill-trust-strip {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.bill-trust-strip span {
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    color: #515151;
    font-size: 13px;
    font-weight: 800;
    padding: 11px 10px;
    text-align: center;
}

.bill-action,
.qrpay-actions,
.error-actions,
.order-info-missing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bill-action {
    align-items: center;
}

.bill-pay-button,
.qrpay-open-app {
    min-height: 46px;
    padding-left: 22px;
    padding-right: 22px;
}

.bill-action-hint {
    color: #64748b;
    flex: 1 1 260px;
    font-size: 13px;
    line-height: 1.6;
}

.bill-secondary-actions,
.qrpay-detect-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.bill-no-pay {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
}

.bill-no-pay strong,
.bill-support span,
.qrpay-support span,
.order-info-support span,
.error-support span {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.bill-no-pay span {
    color: #991b1b;
    display: block;
    font-size: 13px;
    margin-top: 5px;
}

.bill-no-pay-actions,
.order-info-action-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bill-no-pay-actions .btn {
    background: #fff;
}

.bill-support,
.qrpay-support,
.error-support {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 16px;
    padding: 13px 14px;
}

.bill-support a,
.qrpay-support a,
.order-info-support a,
.error-support a {
    color: #1d4ed8;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.qrpay-card {
    padding: 30px;
}

.qrpay-heading {
    align-items: flex-start;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr auto;
    margin-bottom: 22px;
}

.qrpay-heading h1,
.qrpay-heading p,
.qrpay-heading .qrpay-kicker {
    grid-column: 1;
}

.qrpay-countdown {
    background: #111827;
    grid-column: 2;
    grid-row: 1 / span 3;
    margin: 0;
    min-width: 142px;
}

.qrpay-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(220px, 300px) 1fr;
}

.qrpay-code-wrap {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    padding: 22px;
    position: relative;
    text-align: center;
}

.qrpay-code {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: inline-flex;
    padding: 14px;
    position: relative;
    z-index: 2;
}

.qrpay-code img {
    display: block;
    height: auto;
    max-width: 100%;
}

.qrpay-code-caption {
    display: grid;
    gap: 8px;
    justify-items: center;
    margin-top: 16px;
    position: relative;
    z-index: 2;
}

.qrpay-code-caption span,
.qrpay-code-caption small {
    color: #64748b;
    font-size: 13px;
}

.qrpay-code-caption strong {
    color: #111827;
    font-size: 20px;
    font-weight: 800;
}

.qrpay-scan-line {
    animation: qrpayScan 2.2s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .62), transparent);
    height: 2px;
    left: 34px;
    position: absolute;
    right: 34px;
    top: 48px;
    z-index: 3;
}

@keyframes qrpayScan {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(190px);
    }
}

.qrpay-state {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    margin-top: 14px;
    padding: 16px;
}

.qrpay-dot {
    animation: qrpayPulse 1.4s ease-in-out infinite;
    background: #2563eb;
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin-right: 8px;
    width: 10px;
}

.qrpay-state strong {
    color: #1e3a8a;
    font-size: 15px;
}

.qrpay-state p,
.qrpay-state small,
.qrpay-detect-tools span {
    color: #475569;
    display: block;
    font-size: 13px;
    line-height: 1.6;
    margin: 6px 0 0;
}

.qrpay-state.is-success {
    background: #f9f9f9;
    border-color: #e7e7e7;
}

.qrpay-state.is-success .qrpay-dot {
    background: #7f7f7f;
}

.qrpay-state.is-warning,
.qrpay-guard.is-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.qrpay-state.is-expired {
    background: #fef2f2;
    border-color: #fecaca;
}

.qrpay-state.is-expired .qrpay-dot {
    animation: none;
    background: #dc2626;
}

.qrpay-repeat-lock {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    margin-top: 16px;
    padding: 16px;
    position: relative;
}

.qrpay-repeat-lock:before {
    background: #f97316;
    border-radius: 999px;
    content: "";
    height: calc(100% - 24px);
    left: 0;
    position: absolute;
    top: 12px;
    width: 4px;
}

.qrpay-repeat-lock strong {
    color: #9a3412;
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.qrpay-repeat-lock span {
    color: #7c2d12;
    display: block;
    font-size: 13px;
    line-height: 1.6;
}

@keyframes qrpayPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .28);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

.qrpay-detect-meter {
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    margin-top: 12px;
    overflow: hidden;
}

.qrpay-detect-meter span {
    background: linear-gradient(90deg, #2563eb, #7f7f7f);
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .28s ease;
    width: 0;
}

.qrpay-detect-tools {
    align-items: center;
    margin-top: 12px;
}

.qrpay-detect-tools span {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    line-height: 1;
    margin: 0;
    padding: 8px 10px;
}

.qrpay-steps {
    background: #111827;
    border-radius: 8px;
    margin-top: 16px;
    padding: 16px;
}

.qrpay-steps li.is-current,
.qrpay-steps li.is-done {
    color: #fff;
}

.qrpay-actions .btn,
.error-actions .btn,
.order-info-missing-actions .btn {
    min-height: 42px;
}

.order-info-hero-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-info-last-refresh {
    color: #64748b;
    font-size: 12px;
}

.order-info-support {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: right;
}

.order-info-list {
    display: grid;
    gap: 18px;
}

.order-info-topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-next-action.is-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.order-next-action.is-success {
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
}

.order-next-action.is-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.order-next-action.is-muted {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.order-info-action-strip .btn {
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
    font-weight: 800;
}

.order-info-action-strip .btn:hover {
    background: #fff;
    border-color: #fff;
    color: #111827;
}

.order-info-section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.order-info-delivery {
    border-top: 1px solid #e5e7eb;
    margin-top: 18px;
    padding-top: 18px;
}

.order-info-secret {
    margin-top: 14px;
    position: relative;
}

.order-info-textarea {
    background: #0f172a;
    border: 0;
    border-radius: 8px;
    color: #e5e7eb;
    font-family: SFMono-Regular, Consolas, Liberation Mono, monospace;
    font-size: 13px;
    line-height: 1.6;
    min-height: 180px;
    resize: vertical;
}

.order-info-secret.is-hidden .order-info-textarea {
    filter: blur(7px);
    pointer-events: none;
    user-select: none;
}

.order-info-secret-cover {
    align-items: center;
    background: rgba(15, 23, 42, .82);
    border-radius: 8px;
    bottom: 0;
    color: #fff;
    display: none;
    flex-direction: column;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

.order-info-secret.is-hidden .order-info-secret-cover {
    display: flex;
}

.order-info-secret-cover strong {
    font-size: 16px;
    margin-bottom: 6px;
}

.order-info-secret-cover span {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
}

.order-info-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.copy-toast {
    color: #7f7f7f;
    font-size: 13px;
    font-weight: 800;
    min-height: 18px;
    padding-top: 8px;
}

.order-info-missing {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: auto 1fr;
    padding: 30px;
}

.order-info-local-fallback {
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    display: grid;
    gap: 7px;
    grid-column: 1 / -1;
    padding: 14px;
}

.order-info-local-fallback strong {
    color: #515151;
    font-size: 14px;
}

.order-info-local-fallback span {
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

.order-info-local-fallback .btn {
    justify-self: start;
}

.order-info-missing-mark {
    align-items: center;
    background: #eff6ff;
    border-radius: 50%;
    color: #2563eb;
    display: flex;
    font-size: 34px;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.order-info-missing h2 {
    color: #111827;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.order-info-missing p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.order-info-missing-actions {
    grid-column: 1 / -1;
}

.order-info-missing-contact {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #475569;
    display: inline-flex;
    font-weight: 800;
    min-height: 42px;
    padding: 9px 12px;
}

.error-card {
    padding: 34px;
    text-align: center;
}

.error-icon {
    align-items: center;
    background: #eff6ff;
    border-radius: 50%;
    color: #2563eb;
    display: inline-flex;
    font-size: 42px;
    height: 86px;
    justify-content: center;
    margin-bottom: 16px;
    width: 86px;
}

.error-context-pill {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    padding: 8px 11px;
}

.error-card p {
    margin-left: auto;
    margin-right: auto;
}

.error-hint {
    color: #92400e;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.error-recovery {
    text-align: left;
}

.error-local-order {
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #e7e7e7;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    text-align: left;
}

.error-actions {
    justify-content: center;
}

.error-support {
    text-align: left;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 76px;
    }

    .shop-navbar {
        min-height: 58px;
    }

    .shop-navbar .navbar-collapse {
        border-top: 1px solid #e5e7eb;
        margin-top: 10px;
        padding-top: 10px;
    }

    .shop-navbar .navbar-nav {
        gap: 6px;
    }

    .shop-navbar .nav-link {
        min-height: 40px;
    }

    .shop-nav-status {
        justify-content: center;
        margin: 8px 0 0;
        width: 100%;
    }

    .shop-nav-search {
        align-items: stretch;
        border-radius: 8px;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto;
        margin-top: 10px;
        min-width: 0;
        width: 100%;
    }

    .shop-nav-search .form-control {
        margin-right: 0 !important;
    }

    .shop-search-clear {
        min-width: 48px;
    }

    .shop-hero {
        padding: 36px 0 30px;
    }

    .shop-hero-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-hero h1 {
        font-size: 28px;
    }

    .shop-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        width: 100%;
    }

    .shop-hero-stats div {
        min-width: 0;
    }

    .shop-status {
        margin-top: -12px;
    }

    .shop-status-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .shop-status-inner p {
        margin-left: 0;
    }

    .shop-status-metrics {
        flex-wrap: wrap;
    }

    .shop-flow {
        padding-top: 18px;
    }

    .shop-flow-grid {
        grid-template-columns: 1fr;
    }

    .shop-flow-item {
        min-height: 0;
    }

    .shop-flow-item:after {
        bottom: -12px;
        height: 12px;
        left: 28px;
        right: auto;
        top: auto;
        width: 1px;
    }

    .shop-category-feedback {
        border-radius: 8px;
        flex-wrap: wrap;
        width: 100%;
    }

    .product-state {
        font-size: 11px;
        padding: 6px 8px;
    }

    .buy-media {
        min-height: 260px;
        padding: 64px 22px 22px;
    }

    .buy-media img {
        max-height: 220px;
        width: min(100%, 280px);
    }

    .buy-media-status {
        width: 100%;
    }

    .buy-body {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
        min-height: 0;
        padding: 22px;
    }

    .buy-heading {
        flex-direction: column;
    }

    .buy-heading .card-title {
        font-size: 22px;
    }

    .buy-price {
        text-align: left;
        width: 100%;
    }

    .buy-tier-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .buy-tier-item {
        align-items: flex-start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .buy-tier-item strong {
        grid-column: 2;
        text-align: left;
    }

    .buy-submit {
        width: 100%;
    }

    .buy-next-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .buy-next-actions .btn {
        width: 100%;
    }

    .buy-form .input-group {
        align-items: stretch;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .buy-payment-option {
        display: block;
        margin-right: 0;
    }

    .buy-payment-option .form-check-label {
        width: 100%;
    }

    .order-search-page {
        padding-top: 18px;
    }

    .order-search-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .order-search-hero h1 {
        font-size: 26px;
    }

    .order-search-layout {
        grid-template-columns: 1fr;
    }

    .order-search-aside,
    .order-search-form {
        padding: 22px;
    }

    .order-search-tabs {
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-search-submit {
        width: 100%;
    }

    .order-search-local-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-search-local-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .order-search-local-toolbar .btn {
        width: 100%;
    }

    .order-search-recent {
        align-items: stretch;
        flex-direction: column;
    }

    .order-search-recent .btn {
        width: 100%;
    }

    .order-search-local-item small {
        text-align: left;
    }

    .shop-footer {
        padding: 28px 0 34px;
    }

    .shop-footer-grid {
        grid-template-columns: 1fr;
    }

    .shop-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-footer-links a,
    .shop-footer-links strong {
        min-height: 36px;
        width: 100%;
    }

    .shop-footer-bottom a {
        min-height: 36px !important;
    }

    .shop-floating-actions {
        bottom: 16px;
        right: 14px;
    }

    .shop-floating-action {
        border-radius: 50%;
        min-height: 44px;
        min-width: 44px;
        padding: 0;
        width: 44px;
    }

    .shop-floating-action span {
        clip: rect(0, 0, 0, 0);
        border: 0;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .bill-page,
    .qrpay-page,
    .order-info-page,
    .error-page {
        padding: 22px 0 36px;
    }

    .bill-hero,
    .order-info-hero,
    .bill-card,
    .order-info-card,
    .qrpay-layout,
    .qrpay-heading,
    .order-info-missing {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bill-hero,
    .order-info-hero {
        align-items: stretch;
        gap: 14px;
    }

    .bill-hero h1,
    .qrpay-heading h1,
    .order-info-hero h1,
    .error-card h1 {
        font-size: 24px;
    }

    .bill-summary,
    .bill-main,
    .order-info-summary,
    .order-info-details,
    .qrpay-card,
    .error-card,
    .order-info-missing {
        padding: 22px;
    }

    .bill-details > div,
    .order-info-details dl > div,
    .qrpay-info dl > div {
        gap: 7px;
        grid-template-columns: 1fr;
    }

    .bill-section-title,
    .order-info-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .bill-copy-line,
    .order-copy-line,
    .qrpay-copy-line,
    .bill-support,
    .qrpay-support,
    .error-support,
    .error-local-order {
        align-items: flex-start;
        flex-direction: column;
    }

    .bill-trust-strip {
        grid-template-columns: 1fr;
    }

    .bill-safety-check {
        grid-template-columns: 1fr;
    }

    .bill-action .btn,
    .bill-secondary-actions .btn,
    .qrpay-actions .btn,
    .error-actions .btn,
    .order-info-missing-actions .btn,
    .order-info-refresh {
        width: 100%;
    }

    .qrpay-countdown {
        grid-column: auto;
        grid-row: auto;
    }

    .qrpay-code-wrap {
        padding: 18px;
    }

    .qrpay-scan-line {
        left: 26px;
        right: 26px;
    }

    .order-info-hero-actions {
        align-items: stretch;
    }

    .order-info-support {
        text-align: left;
    }

    .order-info-section-actions,
    .qrpay-detect-tools,
    .bill-secondary-actions,
    .bill-no-pay-actions,
    .order-info-action-strip {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-info-section-actions .btn,
    .bill-no-pay-actions .btn,
    .order-info-action-strip .btn {
        width: 100%;
    }

    .order-info-missing-mark {
        height: 64px;
        width: 64px;
    }

    .order-info-local-fallback .btn {
        width: 100%;
    }

    .error-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* Keep untouched required fields neutral until the form is submitted. */
.auth-form .form-control:invalid:focus,
.after-sale-form .form-control:invalid:focus {
    border-color: #d1d5db;
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .12);
}


/* Account, cart and support surfaces. */
.cart-page,
.auth-page,
.after-sale-page {
    background: #f8fafc;
    min-height: calc(100vh - 70px);
    padding: 40px 0 72px;
}

.cart-hero,
.after-sale-heading {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cart-eyebrow,
.auth-eyebrow {
    color: #2563eb;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cart-hero h1,
.after-sale-heading h1,
.auth-intro h1 {
    color: #111827;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin: 6px 0 8px;
}

.cart-hero p,
.after-sale-heading p,
.auth-intro p {
    color: #64748b;
    margin: 0;
}

.cart-alert { margin-bottom: 18px; }
.cart-layout { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 320px; }
.cart-items { display: grid; gap: 12px; }
.cart-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 18px; }
.cart-item.is-unavailable { background: #f8fafc; }
.cart-item-main { align-items: center; display: flex; gap: 14px; min-width: 0; }
.cart-item-thumb { align-items: center; background: #eff6ff; border-radius: 7px; color: #2563eb; display: flex; flex: 0 0 64px; height: 64px; justify-content: center; overflow: hidden; width: 64px; }
.cart-item-thumb img { height: 100%; object-fit: cover; width: 100%; }
.cart-item-thumb .ali-icon { font-size: 23px; }
.cart-item-copy { min-width: 0; }
.cart-item-title-row { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }
.cart-item-title-row h2 { color: #111827; font-size: 17px; margin: 0; overflow-wrap: anywhere; }
.cart-item-status { border-radius: 999px; font-size: 11px; font-weight: 800; padding: 4px 8px; white-space: nowrap; }
.cart-item-status.is-ready { background: #f9f9f9; color: #5d5d5d; }
.cart-item-status.is-warning { background: #fffbeb; color: #b45309; }
.cart-item-status.is-muted { background: #f1f5f9; color: #64748b; }
.cart-item-meta { color: #64748b; display: flex; flex-wrap: wrap; font-size: 13px; gap: 14px; margin-top: 8px; }
.cart-item-meta strong { color: #1d4ed8; font-size: 15px; }
.cart-item-actions { align-items: end; border-top: 1px solid #eef2f7; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; padding-top: 14px; }
.cart-quantity-form { align-items: end; display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; }
.cart-quantity-form label { color: #64748b; font-size: 12px; width: 100%; }
.cart-stepper { align-items: center; display: flex; }
.cart-stepper-btn { background: #f8fafc; border: 1px solid #d1d5db; color: #374151; font-size: 18px; height: 34px; line-height: 1; width: 34px; }
.cart-stepper-btn:first-child { border-radius: 6px 0 0 6px; }
.cart-stepper-btn:last-child { border-radius: 0 6px 6px 0; }
.cart-stepper .form-control { border-radius: 0; max-width: 62px; min-height: 34px; padding-left: 6px; padding-right: 6px; text-align: center; }
.cart-remove-form { margin: 0; }
.cart-item-note { color: #64748b; font-size: 12px; margin: 12px 0 0; }
.cart-item-note.is-warning { color: #b45309; }
.cart-summary { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; position: sticky; top: 92px; }
.cart-summary-heading { align-items: center; border-bottom: 1px solid #eef2f7; display: flex; justify-content: space-between; padding-bottom: 14px; }
.cart-summary-heading span { color: #111827; font-size: 17px; font-weight: 800; }
.cart-summary-heading strong { color: #64748b; font-size: 12px; }
.cart-summary-list { margin: 0; padding: 14px 0; }
.cart-summary-list > div { display: flex; justify-content: space-between; padding: 5px 0; }
.cart-summary-list dt { color: #64748b; font-size: 13px; font-weight: 400; }
.cart-summary-list dd { color: #334155; font-size: 13px; margin: 0; }
.cart-summary-total { align-items: baseline; border-top: 1px solid #eef2f7; display: flex; justify-content: space-between; padding: 16px 0; }
.cart-summary-total span { color: #111827; font-weight: 700; }
.cart-summary-total strong { color: #1d4ed8; font-size: 26px; }
.cart-summary-note { color: #94a3b8; font-size: 12px; line-height: 1.55; margin: 0 0 16px; }
.cart-empty { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 72px 20px; text-align: center; }
.cart-empty-icon { align-items: center; background: #eff6ff; border-radius: 50%; color: #2563eb; display: flex; font-size: 28px; height: 64px; justify-content: center; margin: 0 auto 18px; width: 64px; }
.cart-empty h2 { color: #111827; font-size: 22px; margin-bottom: 8px; }
.cart-empty p { color: #64748b; margin-bottom: 20px; }

.auth-shell { align-items: stretch; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); margin: 28px auto 0; max-width: 920px; }
.auth-intro { align-self: center; padding: 28px 18px; }
.auth-intro h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 12px; }
.auth-intro p { line-height: 1.7; max-width: 390px; }
.auth-back-link { color: #2563eb; display: inline-flex; font-size: 14px; font-weight: 700; gap: 6px; margin-top: 28px; text-decoration: none; }
.auth-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 18px 42px rgba(15, 23, 42, .08); padding: 28px; }
.auth-card-heading { border-bottom: 1px solid #eef2f7; margin-bottom: 20px; padding-bottom: 16px; }
.auth-card-heading h2 { color: #111827; font-size: 22px; margin: 0 0 5px; }
.auth-card-heading span { color: #64748b; font-size: 13px; }
.auth-alert ul, .after-sale-card .alert ul { margin: 6px 0 0; padding-left: 18px; }
.auth-form .form-label, .after-sale-form .form-label { color: #334155; font-size: 13px; font-weight: 700; }
.auth-form .form-control, .after-sale-form .form-control { min-height: 44px; }
.auth-submit { min-height: 44px; }
.auth-form .form-control:invalid:focus,
.after-sale-form .form-control:invalid:focus { border-color: #d1d5db; box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .12); }
.auth-switch { color: #64748b; font-size: 13px; margin: 18px 0 0; text-align: center; }
.auth-switch a { color: #2563eb; font-weight: 700; text-decoration: none; }
.buy-balance-available { color: #64748b; display: block; font-size: 11px; margin-top: 2px; }
.buy-balance-status { color: #64748b; display: block; font-size: 12px; margin-top: 9px; }
.buy-balance-status.is-ready { color: #5d5d5d; }
.buy-balance-status.is-insufficient { color: #b91c1c; font-weight: 700; }

.after-sale-shell { margin: 18px auto 0; max-width: 820px; }
.after-sale-heading { align-items: center; }
.after-sale-order-bar { align-items: center; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; color: #1e40af; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 14px; padding: 12px 16px; }
.after-sale-order-bar span { font-size: 13px; }
.after-sale-order-bar strong { font-size: 14px; overflow-wrap: anywhere; }
.after-sale-status { background: #dbeafe; border-radius: 999px; color: #1d4ed8; font-size: 12px; font-weight: 800; margin-left: auto; padding: 5px 10px; white-space: nowrap; }
.after-sale-status.is-closed { background: #f1f5f9; color: #64748b; }
.after-sale-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 24px; }
.after-sale-form textarea { min-height: 170px; resize: vertical; }
.after-sale-actions { display: flex; gap: 10px; justify-content: flex-end; }
.after-sale-thread { display: grid; gap: 12px; margin-bottom: 14px; }
.after-sale-message { max-width: 78%; }
.after-sale-message.is-user { justify-self: end; }
.after-sale-message.is-support { justify-self: start; }
.after-sale-message-meta { align-items: baseline; color: #64748b; display: flex; font-size: 12px; gap: 8px; margin-bottom: 5px; }
.after-sale-message.is-user .after-sale-message-meta { justify-content: flex-end; }
.after-sale-message-meta strong { color: #334155; }
.after-sale-message-body { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; color: #1f2937; line-height: 1.7; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.after-sale-message.is-user .after-sale-message-body { background: #eff6ff; border-color: #bfdbfe; }
.after-sale-empty { background: #fff; border: 1px dashed #cbd5e1; border-radius: 8px; color: #64748b; margin: 0; padding: 24px; text-align: center; }

@media (max-width: 991.98px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .auth-shell { grid-template-columns: 1fr; max-width: 540px; }
    .auth-intro { padding: 0 4px; }
    .auth-intro h1 { font-size: 34px; }
}

@media (max-width: 575.98px) {
    .cart-page, .auth-page, .after-sale-page { padding: 24px 0 56px; }
    .cart-hero, .after-sale-heading { align-items: flex-start; flex-direction: column; }
    .cart-hero .btn, .after-sale-heading .btn { width: 100%; }
    .cart-item { padding: 14px; }
    .cart-item-actions { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
    .cart-quantity-form { grid-column: 1 / -1; margin-right: 0; }
    .cart-quantity-form .btn { flex: 1; }
    .cart-remove-form { text-align: right; }
    .cart-remove-form .btn { padding-right: 0; }
    .auth-card, .after-sale-card { padding: 20px 16px; }
    .after-sale-order-bar { align-items: flex-start; flex-direction: column; gap: 4px; }
    .after-sale-status { margin-left: 0; }
    .after-sale-message { max-width: 92%; }
    .after-sale-actions { flex-direction: column-reverse; }
    .after-sale-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Experience pass 20260719at: product detail and order search accessibility polish. */
.order-search-quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.order-search-quick-stats span {
    align-items: center;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
    color: #334155;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    min-height: 30px;
    padding: 0 10px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.order-search-hero:hover .order-search-quick-stats span {
    border-color: rgba(59, 130, 246, .24);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
    transform: translateY(-1px);
}

.buy-open-guide strong em,
.order-search-tabs .nav-link,
.order-search-quick-stats span {
    min-width: 0;
}

.buy-support {
    overflow: hidden;
    position: relative;
}

.buy-support:after {
    background: linear-gradient(120deg, transparent, rgba(59, 130, 246, .12), transparent);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-112%);
}

.buy-support:hover:after,
.buy-support:focus-within:after {
    animation: shopOrderStripSweep .95s ease forwards;
    opacity: 1;
}

.buy-submit[disabled] {
    cursor: not-allowed;
}

.order-search-tabs .nav-link:focus-visible,
.buy-next-actions .btn:focus-visible,
.order-search-submit:focus-visible {
    outline: 3px solid rgba(59, 130, 246, .24);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .order-search-quick-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .order-search-quick-stats span {
        justify-content: center;
        padding: 0 6px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-search-hero:hover .order-search-quick-stats span,
    .buy-support:hover:after,
    .buy-support:focus-within:after {
        animation: none !important;
        transform: none !important;
    }
}

/* Experience pass 20260719x: late overrides for navigation, focus, and compact screens. */
.shop-header {
    transition: box-shadow .18s ease, border-color .18s ease;
}

.shop-header.is-menu-open {
    border-color: #bfdbfe;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.shop-navbar .container-fluid {
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
}

.shop-navbar .navbar-toggler {
    border-color: #dbeafe;
    border-radius: 8px;
    box-shadow: none;
    min-height: 42px;
    padding: 8px 10px;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.shop-navbar .navbar-toggler:hover,
.shop-navbar .navbar-toggler:focus {
    background: #eff6ff;
    border-color: #93c5fd;
}

.shop-navbar .navbar-toggler[aria-expanded="true"] {
    background: #eff6ff;
    border-color: #2563eb;
}

.shop-navbar .nav-link,
.shop-floating-action,
.product-action,
.buy-submit,
.order-search-submit,
.bill-pay-button,
.qrpay-open-app {
    overflow: hidden;
    position: relative;
}

.shop-navbar .nav-link:after {
    background: currentColor;
    border-radius: 999px;
    bottom: 5px;
    content: "";
    height: 2px;
    left: 14px;
    opacity: 0;
    position: absolute;
    right: 14px;
    transform: scaleX(.45);
    transition: opacity .16s ease, transform .16s ease;
}

.shop-navbar .nav-link.active:after,
.shop-navbar .nav-link:hover:after {
    opacity: .45;
    transform: scaleX(1);
}

.is-keyboard-mode a:focus,
.is-keyboard-mode button:focus,
.is-keyboard-mode input:focus,
.is-keyboard-mode select:focus,
.is-keyboard-mode textarea:focus,
.is-keyboard-mode [tabindex]:focus {
    outline: 3px solid rgba(37, 99, 235, .32);
    outline-offset: 3px;
}

.form-control:focus,
.form-check-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.shop-nav-search:focus-within,
.order-search-recent:focus-within,
.order-search-local-toolbar:focus-within,
.buy-payment-option .form-check-label:focus-within,
.bill-copy-line:focus-within,
.qrpay-copy-line:focus-within,
.order-copy-line:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.is-loading-soft,
.is-loading {
    pointer-events: none;
}

.is-loading-soft:after,
.product-action:hover:after,
.buy-submit:hover:after,
.order-search-submit:hover:after,
.bill-pay-button:hover:after,
.qrpay-open-app:hover:after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    border-radius: inherit;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-120%);
}

.is-loading-soft:after,
.product-action:hover:after,
.buy-submit:hover:after,
.order-search-submit:hover:after,
.bill-pay-button:hover:after,
.qrpay-open-app:hover:after {
    animation: shopButtonSheen 1.1s ease forwards;
}

@keyframes shopButtonSheen {
    to {
        transform: translateX(120%);
    }
}

.bill-details dd,
.order-info-details dd,
.qrpay-info dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.copy-inline {
    flex: 0 0 auto;
}

.qrpay-code img,
.product-image,
.buy-media img {
    backface-visibility: hidden;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .shop-header .row {
        align-items: center;
    }

    .shop-header .col-md-3,
    .shop-header .col-md-9 {
        width: 100%;
    }

    .shop-header .logo {
        padding-top: 12px;
        text-align: left !important;
    }

    .shop-navbar {
        min-height: 58px;
    }

    .shop-navbar .navbar-collapse {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 18px 34px rgba(15, 23, 42, .10);
        margin-bottom: 12px;
        padding: 12px;
    }

    .shop-navbar .navbar-nav {
        gap: 6px;
        margin-bottom: 10px;
    }

    .shop-nav-status,
    .shop-nav-search {
        margin-top: 8px;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .shop-hero,
    .shop-status,
    .shop-flow,
    .main-container {
        overflow-x: hidden;
    }

    .shop-header .container {
        max-width: none;
        width: 100%;
    }

    .shop-header .row {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .shop-header .col-md-3 {
        display: none;
    }

    .shop-header .col-md-9 {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .shop-hero-inner,
    .shop-hero-inner > *,
    .shop-status-inner,
    .shop-status-inner > *,
    .shop-flow-item,
    .notice-card,
    .product-card {
        min-width: 0;
    }

    .shop-hero-copy,
    .shop-status-inner p,
    .shop-flow-item p,
    .notice-card .lead {
        overflow-wrap: anywhere;
    }

    .shop-hero-stats {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .shop-hero-stats div {
        padding: 14px 12px;
    }

    .shop-hero-stats strong {
        font-size: 24px;
    }

    .shop-hero-stats span {
        font-size: 13px;
    }

    .shop-nav-search {
        border-radius: 8px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        width: 100%;
    }

    .shop-navbar .container-fluid {
        align-items: center;
        display: grid;
        gap: 10px;
        grid-template-columns: auto minmax(0, 1fr);
        width: 100%;
    }

    .shop-navbar .navbar-brand {
        max-width: 100%;
        min-width: 0;
        order: 2;
    }

    .shop-navbar .navbar-toggler {
        align-items: center;
        background: #fff;
        display: inline-flex !important;
        justify-content: center;
        order: 1;
        position: static;
        z-index: 1040;
    }

    .shop-navbar .navbar-collapse {
        grid-column: 1 / -1;
        margin-top: 10px;
        min-width: 0;
        width: 100%;
    }

    .shop-nav-search .form-control {
        font-size: 16px;
    }

    .shop-search-clear {
        padding-left: 6px;
        padding-right: 6px;
    }

    .shop-category-feedback,
    .shop-status-metrics,
    .buy-facts,
    .shop-footer-chips {
        gap: 6px;
    }

    .bill-countdown,
    .bill-total,
    .order-info-total,
    .qrpay-countdown {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .copy-inline {
        justify-content: center;
        min-height: 34px;
    }

    .qrpay-code {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .qrpay-code img {
        height: auto;
        max-width: min(220px, 72vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .is-loading-soft:after,
    .product-action:hover:after,
    .buy-submit:hover:after,
    .order-search-submit:hover:after,
    .bill-pay-button:hover:after,
    .qrpay-open-app:hover:after,
    .qrpay-scan-line,
    .product-card:before {
        animation: none !important;
        display: none !important;
    }
}

/* Experience pass 20260719y: query flow feedback, safer delivery reveal, and page polish. */
.order-search-mode-status {
    background: rgba(37, 99, 235, .14);
    border: 1px solid rgba(147, 197, 253, .26);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 13px 14px;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.order-search-mode-status.is-updated {
    background: rgba(37, 99, 235, .22);
    border-color: rgba(191, 219, 254, .5);
    transform: translateY(-1px);
}

.order-search-mode-status strong {
    color: #fff;
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.order-search-mode-status span {
    color: #dbeafe;
    display: block;
    font-size: 13px;
    line-height: 1.55;
}

.order-search-tabs .nav-link {
    position: relative;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.order-search-tabs .nav-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateY(-1px);
}

.order-search-tabs .nav-link.active {
    box-shadow: 0 10px 22px rgba(37, 99, 235, .18);
}

.tab-pane.active.show {
    animation: shopTabIn .18s ease both;
}

@keyframes shopTabIn {
    from {
        opacity: .74;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-search-local-list:empty,
.order-info-list:empty {
    min-height: 1px;
}

.order-info-secret {
    transition: box-shadow .18s ease, transform .18s ease;
}

.order-info-secret.is-revealed {
    box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
}

.order-info-secret-cover {
    backdrop-filter: blur(2px);
}

[data-reveal-delivery].is-confirming {
    border-color: #f59e0b;
    color: #92400e;
}

.order-progress li.is-current:before,
.bill-steps li.is-current:before,
.qrpay-steps li.is-current:before {
    animation: shopStepPulse 1.45s ease-in-out infinite;
}

@keyframes shopStepPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .28);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(37, 99, 235, 0);
    }
}

.buy-card,
.order-search-card,
.bill-card,
.qrpay-card,
.order-info-card,
.error-card,
.order-info-missing {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.buy-card:hover,
.order-search-card:hover,
.bill-card:hover,
.qrpay-card:hover,
.order-info-card:hover,
.error-card:hover,
.order-info-missing:hover {
    border-color: #dbeafe;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .10);
}

.buy-open-guide,
.buy-support,
.order-search-browser-tip,
.order-info-save-tip,
.error-dossier {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.buy-open-guide:hover,
.buy-support:hover,
.order-search-browser-tip:hover,
.order-info-save-tip:hover,
.error-dossier:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
    transform: translateY(-1px);
}

.error-icon,
.order-info-missing-mark {
    animation: shopSoftFloat 3.8s ease-in-out infinite;
}

@keyframes shopSoftFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 767.98px) {
    .order-search-mode-status {
        margin-top: 14px;
    }

    .order-search-tabs .nav-link:hover {
        transform: none;
    }

    .order-search-local-item small {
        align-items: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .order-search-local-item small b {
        margin-left: auto;
    }

    .order-info-secret-cover {
        padding: 18px;
    }

    .order-info-secret-cover span {
        max-width: 260px;
    }

    .error-dossier div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .shop-navbar .navbar-brand {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .order-search-form,
    .order-search-aside,
    .buy-body,
    .bill-summary,
    .bill-main,
    .order-info-summary,
    .order-info-details,
    .qrpay-card,
    .error-card,
    .order-info-missing {
        padding-left: 18px;
        padding-right: 18px;
    }

    .buy-media-status {
        grid-template-columns: 1fr;
    }

    .buy-media-status div {
        align-items: flex-start;
        display: grid;
        gap: 4px;
        grid-template-columns: 1fr;
        justify-content: start;
    }

    .buy-media-status strong {
        max-width: 100%;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tab-pane.active.show,
    .order-progress li.is-current:before,
    .bill-steps li.is-current:before,
    .qrpay-steps li.is-current:before,
    .error-icon,
    .order-info-missing-mark {
        animation: none !important;
    }
}

/* Experience pass 20260719aa: sticky polish, urgency states, and compact floating actions. */
.shop-header.is-scrolled {
    border-color: #bfdbfe;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}

.shop-header.is-scrolled .shop-navbar {
    min-height: 62px;
}

.product-card:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10), 0 18px 40px rgba(15, 23, 42, .12);
    transform: translateY(-2px);
}

.product-card:focus-within .product-image {
    transform: scale(1.025);
}

.product-action:focus-visible,
.buy-submit:focus-visible,
.order-search-submit:focus-visible,
.bill-pay-button:focus-visible,
.qrpay-open-app:focus-visible,
.qrpay-order-link:focus-visible,
.qrpay-summary-copy:focus-visible,
.bill-detail-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}

.bill-countdown,
.qrpay-countdown {
    position: relative;
}

.bill-countdown:after,
.qrpay-countdown:after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-90%);
}

.bill-countdown.is-urgent,
.qrpay-countdown.is-warning {
    background: rgba(245, 158, 11, .18);
    border-color: rgba(251, 191, 36, .45);
}

.bill-countdown.is-urgent strong,
.qrpay-countdown.is-warning strong {
    color: #fef3c7;
}

.bill-countdown.is-urgent:after,
.qrpay-countdown.is-warning:after {
    animation: shopUrgentSweep 1.6s ease-in-out infinite;
    opacity: 1;
}

.bill-countdown.is-expired,
.qrpay-countdown.is-expired {
    background: rgba(220, 38, 38, .18);
    border-color: rgba(248, 113, 113, .45);
}

.bill-countdown.is-expired strong,
.qrpay-countdown.is-expired strong {
    color: #fecaca;
}

@keyframes shopUrgentSweep {
    to {
        transform: translateX(90%);
    }
}

.shop-floating-action {
    will-change: transform;
}

.shop-backtop {
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
}

.shop-backtop.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.shop-toast {
    max-width: min(360px, calc(100vw - 32px));
}

@media (max-width: 767.98px) {
    .shop-header.is-scrolled {
        box-shadow: 0 10px 24px rgba(15, 23, 42, .11);
    }

    .shop-floating-actions {
        align-items: center;
        bottom: max(12px, env(safe-area-inset-bottom));
        display: flex;
        gap: 8px;
        left: auto;
        right: 12px;
        transform: none;
    }

    .shop-floating-action {
        min-height: 42px;
        min-width: 42px;
    }

    .shop-floating-action:first-child {
        border-radius: 50%;
        min-width: 42px;
        padding: 0;
        width: 42px;
    }

    .shop-floating-action:first-child span {
        clip: rect(0, 0, 0, 0);
        border: 0;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .shop-toast {
        bottom: 70px;
    }
}

@media (max-width: 575.98px) {
    .product-card:focus-within,
    .product-card:hover {
        transform: none;
    }

    .shop-floating-actions {
        max-width: calc(100vw - 24px);
    }

    .shop-floating-action:first-child {
        min-width: 42px;
    }

    .bill-countdown strong,
    .qrpay-countdown strong {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bill-countdown.is-urgent:after,
    .qrpay-countdown.is-warning:after {
        animation: none !important;
        display: none !important;
    }

    .shop-backtop,
    .shop-backtop.is-visible,
    .product-card:focus-within,
    .product-card:focus-within .product-image {
        transform: none !important;
    }
}

/* Experience pass 20260719ae: truthful footer states and calmer trust feedback. */
html {
    scroll-behavior: smooth;
}

body.is-keyboard-mode a:focus,
body.is-keyboard-mode button:focus,
body.is-keyboard-mode input:focus,
body.is-keyboard-mode textarea:focus,
body.is-keyboard-mode select:focus {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}

.btn,
.copy-inline,
.product-action,
.shop-floating-action {
    overflow-wrap: anywhere;
    touch-action: manipulation;
}

.shop-navbar .navbar-collapse {
    transform-origin: top center;
}

.shop-header.is-menu-open .navbar-collapse {
    animation: shopMenuDrop .18s ease both;
}

@keyframes shopMenuDrop {
    from {
        opacity: .82;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-floating-actions {
    transition: opacity .16s ease, transform .16s ease;
}

body.is-near-bottom .shop-floating-actions {
    transform: translateY(-6px);
}

.form-control,
.order-search-tabs .nav-link,
.bill-details > div,
.order-info-details dl > div,
.qrpay-info dl > div,
.bill-safety-check div,
.bill-trust-strip span,
.qrpay-detect-tools span {
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.bill-details > div:hover,
.order-info-details dl > div:hover,
.qrpay-info dl > div:hover,
.bill-safety-check div:hover,
.bill-trust-strip span:hover,
.qrpay-detect-tools span:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .07);
    transform: translateY(-1px);
}

form[aria-busy="true"] {
    cursor: progress;
}

form[aria-busy="true"] .form-control {
    background: #f8fafc;
}

.form-control:invalid:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, .16);
}

.order-search-card,
.bill-card,
.qrpay-card,
.order-info-card,
.error-card,
.order-info-missing {
    position: relative;
}

.order-search-card:before,
.bill-card:before,
.qrpay-card:before,
.order-info-card:before,
.error-card:before,
.order-info-missing:before {
    background: linear-gradient(90deg, #2563eb, #14b8a6, #9b9b9b);
    content: "";
    height: 3px;
    left: 0;
    opacity: .92;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.bill-summary,
.order-info-summary,
.qrpay-steps {
    position: relative;
}

.bill-summary:after,
.order-info-summary:after,
.qrpay-steps:after {
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 22px 22px;
    content: "";
    inset: 0;
    opacity: .7;
    pointer-events: none;
    position: absolute;
}

.bill-summary > *,
.order-info-summary > *,
.qrpay-steps > * {
    position: relative;
    z-index: 1;
}

.qrpay-state.is-checking .qrpay-dot {
    background: #0ea5e9;
}

.qrpay-state.is-checking {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.qrpay-state.is-checking strong {
    color: #075985;
}

.qrpay-repeat-lock,
.bill-payment-guard,
.qrpay-guard,
.order-next-action,
.error-hint {
    position: relative;
}

.qrpay-repeat-lock:after,
.bill-payment-guard:after,
.qrpay-guard:after,
.order-next-action:after,
.error-hint:after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: calc(100% - 24px);
    left: 0;
    opacity: .18;
    position: absolute;
    top: 12px;
    width: 4px;
}

.order-next-action.is-success:after {
    color: #7f7f7f;
}

.order-next-action.is-danger:after {
    color: #dc2626;
}

.order-next-action.is-info:after {
    color: #2563eb;
}

.order-next-action.is-muted:after {
    color: #64748b;
}

.error-actions .btn,
.bill-secondary-actions .btn,
.qrpay-actions .btn,
.order-info-section-actions .btn,
.order-info-missing-actions .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .bill-page,
    .qrpay-page,
    .order-info-page,
    .order-search-page,
    .error-page {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    body.is-form-focused .shop-floating-actions {
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
    }

    body.is-near-bottom .shop-floating-actions {
        transform: translateY(-4px);
    }

    .bill-details > div:hover,
    .order-info-details dl > div:hover,
    .qrpay-info dl > div:hover,
    .bill-safety-check div:hover,
    .bill-trust-strip span:hover,
    .qrpay-detect-tools span:hover {
        box-shadow: none;
        transform: none;
    }

    .error-actions .btn,
    .bill-secondary-actions .btn,
    .qrpay-actions .btn,
    .order-info-section-actions .btn,
    .order-info-missing-actions .btn {
        flex: 1 1 160px;
    }
}

@media (max-width: 575.98px) {
    .bill-section-title,
    .order-info-section-title,
    .qrpay-detect-tools,
    .bill-support,
    .qrpay-support,
    .error-support {
        align-items: stretch;
        flex-direction: column;
    }

    .bill-section-title span,
    .order-delivery,
    .qrpay-detect-tools span {
        width: fit-content;
    }

    .shop-toast {
        border-radius: 8px;
        left: 12px;
        max-width: calc(100vw - 24px);
        right: 12px;
        transform: translateY(10px);
        width: auto;
    }

    .shop-toast.is-visible {
        transform: translateY(0);
    }
}

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

    .shop-header.is-menu-open .navbar-collapse {
        animation: none !important;
    }

    .buy-status.is-pending:after,
    .bill-status.is-ready:after,
    .order-status.is-waiting:after,
    .order-status.is-info:after,
    .shop-footer-chips em:first-child:before,
    .buy-readiness-meter span,
    .buy-readiness-meter span:after {
        animation: none !important;
    }

    .buy-tier-item:hover,
    .shop-footer-chips em:hover,
    .bill-details > div:hover,
    .order-info-details dl > div:hover,
    .qrpay-info dl > div:hover,
    .bill-safety-check div:hover,
    .bill-trust-strip span:hover,
    .qrpay-detect-tools span:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719af: prelaunch clarity, steadier empty states, and small motion cues. */
.shop-status-inner,
.buy-launch-check,
.buy-open-guide,
.order-search-ready,
.order-search-local-empty,
.error-recovery,
.error-dossier {
    position: relative;
}

.shop-status-inner:after,
.buy-launch-check:after,
.order-search-ready:after,
.error-recovery:after {
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .10), transparent);
    border-radius: inherit;
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-36%);
    transition: opacity .18s ease;
}

.shop-status-inner:hover:after,
.buy-launch-check:hover:after,
.order-search-ready:hover:after,
.error-recovery:hover:after {
    animation: shopPanelSweep 1.15s ease both;
    opacity: 1;
}

@keyframes shopPanelSweep {
    to {
        transform: translateX(36%);
    }
}

.buy-open-guide strong {
    display: flex;
    flex: 1 1 360px;
    flex-wrap: wrap;
    gap: 8px;
}

.buy-open-guide strong em {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    gap: 6px;
    line-height: 1.2;
    min-height: 32px;
    padding: 6px 10px 6px 7px;
}

.buy-open-guide strong em b {
    align-items: center;
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 10px;
    height: 20px;
    justify-content: center;
    line-height: 1;
    min-width: 20px;
}

.buy-launch-check li,
.order-search-ready li,
.order-search-local-empty,
.shop-footer-links a {
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.buy-launch-check li:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .07);
    transform: translateY(-1px);
}

.order-search-ready li:hover {
    color: #fff;
    transform: translateX(2px);
}

.order-search-local-empty:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
}

.shop-footer-links a:hover {
    transform: translateX(2px);
}

.shop-footer-links a:before {
    background: #38bdf8;
    border-radius: 999px;
    content: "";
    height: 5px;
    margin-right: 8px;
    opacity: .72;
    width: 5px;
}

.shop-footer-links a:hover:before {
    background: #9b9b9b;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .buy-open-guide {
        align-items: stretch;
    }

    .buy-open-guide strong {
        flex-basis: 100%;
    }

    .buy-open-guide strong em {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .shop-footer-links a:hover,
    .order-search-ready li:hover,
    .buy-launch-check li:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-status-inner:hover:after,
    .buy-launch-check:hover:after,
    .order-search-ready:hover:after,
    .error-recovery:hover:after {
        animation: none !important;
        display: none !important;
    }

    .shop-footer-links a:hover,
    .order-search-ready li:hover,
    .buy-launch-check li:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719ag: calmer order wording, progress cues, and delivery safety polish. */
.bill-trust-strip span,
.order-next-action,
.order-info-empty,
.order-info-save-tip,
.order-info-local-fallback {
    position: relative;
}

.bill-trust-strip span:before {
    background: #7f7f7f;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .10);
    content: "";
    display: inline-block;
    height: 6px;
    margin-right: 7px;
    vertical-align: 1px;
    width: 6px;
}

.order-progress li {
    transition: color .16s ease, transform .16s ease;
}

.order-progress li:hover {
    color: #fff;
    transform: translateX(2px);
}

.order-next-action:before,
.order-info-empty:before,
.order-info-save-tip:before,
.order-info-local-fallback:before {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: calc(100% - 22px);
    left: 0;
    opacity: .20;
    position: absolute;
    top: 11px;
    width: 4px;
}

.order-info-save-tip:before {
    color: #2563eb;
}

.order-info-empty:before {
    color: #64748b;
}

.order-info-local-fallback:before {
    color: #7f7f7f;
}

.order-info-secret-cover {
    transition: background .18s ease, opacity .18s ease;
}

.order-info-secret.is-hidden:hover .order-info-secret-cover {
    background: rgba(15, 23, 42, .88);
}

.copy-inline.is-copied,
.copy-card.is-copied,
.copy-order-summary.is-copied,
.copy-payment-summary.is-copied,
.qrpay-summary-copy.is-copied {
    background: #f9f9f9 !important;
    border-color: #e7e7e7 !important;
    color: #5d5d5d !important;
}

.order-info-last-refresh {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.order-info-last-refresh:before {
    background: #38bdf8;
    border-radius: 999px;
    content: "";
    height: 6px;
    width: 6px;
}

@media (max-width: 575.98px) {
    .order-progress li:hover {
        transform: none;
    }

    .bill-trust-strip span {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-progress li:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719ah: homepage action clarity, product delivery cues, and search feedback. */
html {
    scroll-padding-top: 86px;
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.shop-hero-actions .btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    min-height: 40px;
    min-width: 112px;
    overflow: hidden;
    position: relative;
}

.shop-hero-actions .btn:after,
.shop-category-feedback:after,
.product-delivery:after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-120%);
}

.shop-hero-actions .btn:hover:after,
.product-card:hover .product-delivery:after,
.is-shop-searching .shop-category-feedback:after {
    animation: shopButtonSheen 1.1s ease forwards;
}

.shop-category-feedback {
    overflow: hidden;
    position: relative;
}

.product-delivery {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #475569;
    display: flex;
    font-size: 12px;
    gap: 8px;
    justify-content: space-between;
    line-height: 1.35;
    margin: -4px 0 14px;
    min-height: 36px;
    overflow: hidden;
    padding: 8px 10px;
    position: relative;
}

.product-delivery span,
.product-delivery strong {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.product-delivery strong {
    color: #111827;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-align: right;
}

.product-card.is-search-match {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10), 0 18px 40px rgba(15, 23, 42, .10);
}

.product-card.is-search-match .product-title {
    color: #1d4ed8;
}

.empty-goods:before,
.shop-search-empty:before {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    content: "\e65c";
    display: inline-flex;
    font-family: "iconfont";
    height: 42px;
    justify-content: center;
    margin-bottom: 12px;
    width: 42px;
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 72px;
    }

    .shop-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shop-hero-actions .btn {
        width: 100%;
    }

    .product-delivery {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .product-delivery strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-hero-actions .btn:hover:after,
    .product-card:hover .product-delivery:after,
    .is-shop-searching .shop-category-feedback:after {
        animation: none !important;
        display: none !important;
    }
}

/* Experience pass 20260719ai: payment detection confidence and compact QR status feedback. */
.qrpay-live-strip {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0;
    overflow: hidden;
    padding: 8px;
    position: relative;
}

.qrpay-live-strip:before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
    content: "";
    inset: 0 auto 0 -42%;
    opacity: .72;
    pointer-events: none;
    position: absolute;
    transform: skewX(-12deg);
    width: 38%;
}

.qrpay-live-strip.is-checking:before {
    animation: qrpayLiveSweep 1.8s ease-in-out infinite;
}

.qrpay-live-strip span {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #475569;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    line-height: 1.25;
    min-height: 32px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 7px 8px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.qrpay-live-strip span:before {
    background: #38bdf8;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .13);
    content: "";
    flex: 0 0 auto;
    height: 6px;
    width: 6px;
}

.qrpay-live-strip.is-checking span:first-child {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.qrpay-live-strip.is-checking span:first-child:before {
    animation: qrpayPulse 1.4s ease-in-out infinite;
    background: #2563eb;
}

.qrpay-live-strip.is-success {
    background: #f9f9f9;
    border-color: #e7e7e7;
}

.qrpay-live-strip.is-success span:first-child {
    border-color: #e7e7e7;
    color: #5d5d5d;
}

.qrpay-live-strip.is-success span:first-child:before {
    background: #919191;
}

.qrpay-live-strip.is-warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

.qrpay-live-strip.is-warning span:first-child {
    border-color: #fed7aa;
    color: #c2410c;
}

.qrpay-live-strip.is-warning span:first-child:before {
    background: #f97316;
}

.qrpay-live-strip.is-expired {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.qrpay-live-strip.is-expired span:first-child {
    color: #475569;
}

.qrpay-live-strip.is-expired span:first-child:before {
    background: #64748b;
    box-shadow: none;
}

@keyframes qrpayLiveSweep {
    0% {
        left: -42%;
    }

    100% {
        left: 112%;
    }
}

@media (max-width: 575.98px) {
    .qrpay-live-strip {
        grid-template-columns: 1fr;
    }

    .qrpay-live-strip span {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qrpay-live-strip.is-checking:before,
    .qrpay-live-strip.is-checking span:first-child:before {
        animation: none !important;
    }
}

/* Experience pass 20260719aj: cashier reassurance and stronger order-state summaries. */
.bill-live-strip,
.order-info-state-strip {
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0 0;
    overflow: hidden;
    padding: 8px;
    position: relative;
}

.bill-live-strip {
    background: #fafafa;
    border-color: #e7e7e7;
}

.order-info-state-strip {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .14);
}

.bill-live-strip:after,
.order-info-state-strip:after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
    content: "";
    inset: 0 auto 0 -48%;
    pointer-events: none;
    position: absolute;
    transform: skewX(-12deg);
    width: 42%;
}

.bill-live-strip:not(.is-expired):after,
.order-info-card:hover .order-info-state-strip:after {
    animation: shopStatusSweep 2.4s ease-in-out infinite;
}

.bill-live-strip span,
.order-info-state-strip span {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    line-height: 1.25;
    min-height: 32px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 7px 8px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.bill-live-strip span {
    background: #fff;
    border: 1px solid #e7e7e7;
    color: #5d5d5d;
}

.order-info-state-strip span {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #e5e7eb;
}

.bill-live-strip span:before,
.order-info-state-strip span:before {
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
    content: "";
    flex: 0 0 auto;
    height: 6px;
    opacity: .88;
    width: 6px;
}

.bill-live-strip.is-urgent {
    background: #fff7ed;
    border-color: #fed7aa;
}

.bill-live-strip.is-waiting {
    background: #f8fafc;
    border-color: #e5e7eb;
}

.bill-live-strip.is-urgent span {
    border-color: #fed7aa;
    color: #c2410c;
}

.bill-live-strip.is-waiting span {
    border-color: #e5e7eb;
    color: #475569;
}

.bill-live-strip.is-expired {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.bill-live-strip.is-expired span {
    border-color: #cbd5e1;
    color: #475569;
}

.order-info-state-strip.is-success span:first-child {
    color: #d4d4d4;
}

.order-info-state-strip.is-waiting span:first-child {
    color: #fde68a;
}

.order-info-state-strip.is-info span:first-child {
    color: #93c5fd;
}

.order-info-state-strip.is-danger span:first-child {
    color: #fecaca;
}

.order-info-state-strip.is-muted span:first-child {
    color: #cbd5e1;
}

@keyframes shopStatusSweep {
    0% {
        left: -48%;
    }

    100% {
        left: 112%;
    }
}

@media (max-width: 767.98px) {
    .bill-live-strip,
    .order-info-state-strip {
        grid-template-columns: 1fr;
    }

    .bill-live-strip span,
    .order-info-state-strip span {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bill-live-strip:not(.is-expired):after,
    .order-info-card:hover .order-info-state-strip:after {
        animation: none !important;
        display: none !important;
    }
}

/* Experience pass 20260719ak: navigation clarity, resilient query tabs, and calmer recovery states. */
.shop-header {
    backdrop-filter: saturate(1.15) blur(10px);
}

.shop-nav-status {
    padding: 0 11px;
    position: relative;
}

.shop-nav-status:before {
    animation: shopNavStatusPulse 1.9s ease-in-out infinite;
    background: #f59e0b;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .14);
    content: "";
    flex: 0 0 auto;
    height: 7px;
    width: 7px;
}

.shop-navbar .navbar-collapse {
    min-width: 0;
}

.shop-navbar .nav-link {
    white-space: nowrap;
}

.shop-nav-search {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    gap: 6px;
    padding: 4px;
}

.shop-nav-search .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 150px;
}

.shop-nav-search .form-control:focus {
    box-shadow: none;
}

.shop-search-clear {
    border-radius: 999px;
    font-size: 12px;
    min-height: 30px;
    padding: 5px 10px;
}

.order-search-tabs {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    display: inline-flex;
    flex-wrap: wrap;
    padding: 5px;
}

.order-search-tabs .nav-item {
    display: flex;
}

.order-search-tabs .nav-link {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 36px;
}

.order-search-tabs .nav-link:before {
    background: currentColor;
    border-radius: 999px;
    content: "";
    height: 6px;
    margin-right: 7px;
    opacity: .38;
    width: 6px;
}

.order-search-tabs .nav-link.active:before {
    animation: shopTinyPulse 1.6s ease-in-out infinite;
    opacity: .92;
}

.order-search-mode-status {
    overflow: hidden;
}

.order-search-mode-status:after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    content: "";
    inset: 0 auto 0 -46%;
    pointer-events: none;
    position: absolute;
    transform: skewX(-12deg);
    width: 40%;
}

.order-search-mode-status.is-updated:after {
    animation: shopStatusSweep 1.05s ease both;
}

.order-search-local-item {
    min-width: 0;
}

.order-search-local-item span {
    min-width: 0;
}

.order-search-local-item strong,
.order-search-local-item em {
    overflow-wrap: anywhere;
}

.error-card {
    isolation: isolate;
}

.error-card:after {
    background: radial-gradient(circle at 22% 18%, rgba(37, 99, 235, .08), transparent 28%), radial-gradient(circle at 80% 4%, rgba(20, 184, 166, .08), transparent 24%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.error-recovery ol {
    counter-reset: recovery;
    list-style: none;
    padding-left: 0;
}

.error-recovery li {
    align-items: flex-start;
    display: flex;
    gap: 9px;
    margin-top: 8px;
}

.error-recovery li:before {
    align-items: center;
    background: #eff6ff;
    border-radius: 999px;
    color: #1d4ed8;
    content: counter(recovery);
    counter-increment: recovery;
    display: inline-flex;
    flex: 0 0 22px;
    font-size: 11px;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    margin-top: 1px;
}

.error-actions .btn,
.bill-secondary-actions .btn,
.qrpay-actions .btn,
.order-info-section-actions .btn,
.order-info-missing-actions .btn {
    min-height: 38px;
}

.shop-footer-status p {
    max-width: 460px;
}

.shop-footer-chips em:first-child {
    background: rgba(245, 158, 11, .14);
    border-color: rgba(251, 191, 36, .28);
    color: #fde68a;
}

.shop-footer-chips em:nth-child(2):before {
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, .12);
}

.shop-footer-chips em:nth-child(3):before {
    background: #9b9b9b;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12);
}

@keyframes shopNavStatusPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.22);
    }
}

@keyframes shopTinyPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, .24);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }
}

@media (max-width: 991.98px) {
    .shop-navbar .navbar-collapse {
        background: rgba(255, 255, 255, .98);
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 18px 34px rgba(15, 23, 42, .10);
        margin: 10px 0 12px;
        padding: 12px;
    }

    .shop-nav-status {
        justify-content: center;
        margin: 8px 0 0;
        width: fit-content;
    }

    .shop-nav-search {
        border-radius: 8px;
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .order-search-tabs {
        border-radius: 8px;
        display: grid;
        gap: 6px;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .order-search-tabs .nav-item,
    .order-search-tabs .nav-link {
        width: 100%;
    }

    .order-search-tabs .nav-link {
        justify-content: flex-start;
    }

    .order-search-local-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-search-local-item small {
        text-align: left;
    }

    .error-actions .btn,
    .bill-secondary-actions .btn,
    .qrpay-actions .btn,
    .order-info-section-actions .btn,
    .order-info-missing-actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .shop-nav-search {
        grid-template-columns: minmax(0, 1fr) auto auto;
        padding: 5px;
    }

    .shop-nav-search .form-control {
        min-width: 0;
    }

    .shop-search-clear {
        max-width: 54px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shop-footer-grid {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-nav-status:before,
    .order-search-tabs .nav-link.active:before,
    .order-search-mode-status.is-updated:after {
        animation: none !important;
    }
}

/* Experience pass 20260719al: transaction-page depth, safer prelaunch states, and mobile steadiness. */
.buy-page .buy-card,
.bill-card,
.qrpay-card,
.order-info-card,
.order-info-missing {
    position: relative;
}

.buy-page .buy-card:before,
.bill-card:before,
.qrpay-card:before,
.order-info-card:before,
.order-info-missing:before {
    background: linear-gradient(90deg, #2563eb, #14b8a6, #f59e0b);
    border-radius: inherit;
    content: "";
    height: 3px;
    inset: 0 0 auto;
    opacity: .9;
    position: absolute;
}

.buy-media {
    overflow: hidden;
}

.buy-media:after {
    animation: shopMediaSweep 5.8s ease-in-out infinite;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .30), transparent 80%);
    content: "";
    inset: 0 auto 0 -55%;
    pointer-events: none;
    position: absolute;
    transform: skewX(-18deg);
    width: 42%;
}

.buy-status.is-pending,
.bill-status.is-waiting,
.qrpay-state.is-warning strong,
.order-status.is-waiting {
    animation: shopSoftPulse 2.4s ease-in-out infinite;
}

.buy-launch-check,
.bill-check-panel,
.bill-payment-guard,
.qrpay-reminder,
.qrpay-repeat-lock,
.qrpay-guard,
.order-next-action,
.order-info-save-tip {
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.buy-launch-check ul,
.bill-safety-check,
.bill-trust-strip,
.bill-live-strip,
.qrpay-live-strip,
.order-info-state-strip,
.order-info-action-strip {
    gap: 8px;
}

.buy-readiness-meter {
    align-items: center;
    background: #e5e7eb;
    border-radius: 999px;
    display: flex;
    min-height: 24px;
    overflow: hidden;
    position: relative;
}

.buy-readiness-meter span {
    background: linear-gradient(90deg, #f59e0b, #14b8a6);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 8px;
    transition: width .35s ease;
}

.buy-readiness-meter em {
    color: #0f172a;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    position: absolute;
    right: 10px;
}

.buy-form-cover {
    align-items: flex-start;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(245, 158, 11, .28);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.buy-form-cover strong {
    color: #92400e;
}

.buy-open-guide {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 11px 13px;
}

.buy-open-guide span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.buy-open-guide strong {
    color: #0f172a;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.buy-next-actions,
.bill-secondary-actions,
.bill-no-pay-actions,
.qrpay-actions,
.order-info-section-actions,
.order-info-missing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buy-submit[disabled],
.bill-pay-button.is-expired,
.qrpay-open-app.is-loading,
.order-info-refresh.is-loading {
    cursor: not-allowed;
}

.bill-countdown,
.qrpay-countdown {
    isolation: isolate;
}

.bill-countdown:after,
.qrpay-countdown:after {
    background: radial-gradient(circle, rgba(37, 99, 235, .14), transparent 64%);
    content: "";
    height: 42px;
    position: absolute;
    right: -12px;
    top: -10px;
    width: 42px;
    z-index: -1;
}

.bill-countdown.is-urgent strong,
.qrpay-countdown.is-warning strong {
    color: #b45309;
}

.bill-countdown.is-expired strong,
.qrpay-countdown.is-expired strong {
    color: #b91c1c;
}

.bill-details dd,
.qrpay-info dd,
.order-info-details dd {
    overflow-wrap: anywhere;
}

.bill-copy-line,
.qrpay-copy-line,
.order-copy-line {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bill-live-strip span,
.qrpay-live-strip span,
.order-info-state-strip span {
    align-items: center;
    display: inline-flex;
}

.bill-live-strip span:before,
.qrpay-live-strip span:before,
.order-info-state-strip span:before {
    background: currentColor;
    border-radius: 999px;
    content: "";
    flex: 0 0 6px;
    height: 6px;
    margin-right: 7px;
    opacity: .55;
    width: 6px;
}

.qrpay-code {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08), 0 22px 44px rgba(15, 23, 42, .14);
}

.qrpay-scan-line {
    animation: shopQrScan 2.8s ease-in-out infinite;
}

.qrpay-detect-meter span {
    background: linear-gradient(90deg, #2563eb, #14b8a6);
    box-shadow: 0 0 18px rgba(20, 184, 166, .28);
}

.qrpay-detect-tools {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px;
}

.qrpay-detect-tools span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.order-info-secret {
    transition: box-shadow .2s ease, transform .2s ease;
}

.order-info-secret.is-revealed {
    box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
    transform: translateY(-1px);
}

.order-info-secret-cover {
    backdrop-filter: blur(9px);
}

.order-progress li {
    min-width: 0;
}

.order-progress li:after {
    transition: background .2s ease, box-shadow .2s ease;
}

.order-progress li.is-current:after {
    animation: shopTinyPulse 1.6s ease-in-out infinite;
}

.order-info-missing-mark {
    animation: shopFloatSmall 3.2s ease-in-out infinite;
}

.copy-inline.is-copied,
.copy-card.is-copied,
.copy-payment-summary.is-copied,
.qrpay-summary-copy.is-copied,
.copy-order-summary.is-copied {
    background: #f4f4f4 !important;
    border-color: #d4d4d4 !important;
    color: #515151 !important;
}

@keyframes shopMediaSweep {
    0%,
    48% {
        left: -55%;
    }

    64%,
    100% {
        left: 120%;
    }
}

@keyframes shopSoftPulse {
    0%,
    100% {
        filter: saturate(1);
        transform: translateY(0);
    }

    50% {
        filter: saturate(1.16);
        transform: translateY(-1px);
    }
}

@keyframes shopQrScan {
    0%,
    100% {
        opacity: .32;
        transform: translateY(-76px);
    }

    50% {
        opacity: .92;
        transform: translateY(76px);
    }
}

@keyframes shopFloatSmall {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 991.98px) {
    .bill-card,
    .qrpay-layout,
    .order-info-card {
        grid-template-columns: 1fr;
    }

    .bill-summary,
    .qrpay-code-wrap,
    .order-info-summary {
        border-radius: 8px 8px 0 0;
    }

    .bill-main,
    .qrpay-info,
    .order-info-details {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .buy-heading,
    .bill-hero,
    .qrpay-heading,
    .order-info-hero {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .buy-price,
    .bill-detail-link,
    .order-info-hero-actions {
        width: 100%;
    }

    .buy-media-status,
    .bill-safety-check,
    .bill-trust-strip,
    .bill-live-strip,
    .qrpay-live-strip,
    .order-info-state-strip {
        grid-template-columns: 1fr;
    }

    .buy-open-guide,
    .qrpay-detect-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .buy-next-actions .btn,
    .bill-no-pay-actions .btn,
    .bill-secondary-actions .btn,
    .qrpay-actions .btn,
    .order-info-action-strip .btn,
    .order-info-section-actions .btn,
    .order-info-missing-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .qrpay-code-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .order-info-section-title {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .buy-page .card-body,
    .bill-main,
    .qrpay-info,
    .order-info-details {
        padding: 16px;
    }

    .buy-form-cover {
        position: static;
        margin-bottom: 12px;
    }

    .buy-form form[method="post"] {
        opacity: .54;
    }

    .bill-total,
    .qrpay-code-caption,
    .order-info-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .qrpay-code img {
        height: min(220px, 70vw);
        width: min(220px, 70vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .buy-media:after,
    .buy-status.is-pending,
    .bill-status.is-waiting,
    .qrpay-state.is-warning strong,
    .order-status.is-waiting,
    .qrpay-scan-line,
    .order-progress li.is-current:after,
    .order-info-missing-mark {
        animation: none !important;
    }
}

/* Experience pass 20260719am: homepage state refinement and sturdier empty/category interactions. */
.shop-hero {
    overflow: hidden;
    position: relative;
}

.shop-hero:after {
    animation: shopHeroSweep 7s ease-in-out infinite;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, .10), transparent 72%);
    content: "";
    inset: 0 auto 0 -42%;
    pointer-events: none;
    position: absolute;
    transform: skewX(-16deg);
    width: 34%;
}

.shop-hero-inner {
    position: relative;
    z-index: 1;
}

.shop-hero-actions .btn,
.shop-flow-item,
.shop-status-inner,
.category-menus .btn,
.product-card,
.empty-goods {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.shop-hero-actions .btn:hover,
.shop-flow-item:hover,
.category-menus .btn:hover,
.product-card:hover {
    transform: translateY(-2px);
}

.shop-status-inner.is-pending .shop-status-dot,
.product-state.is-pending {
    animation: shopTinyPulse 1.8s ease-in-out infinite;
}

.shop-readiness-meter {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05);
}

.shop-readiness-meter span {
    position: relative;
}

.shop-readiness-meter span:after {
    animation: shopStatusSweep 1.4s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    content: "";
    inset: 0 auto 0 -36%;
    position: absolute;
    width: 30%;
}

.category-menus [role="tab"] {
    align-items: center;
    display: inline-flex;
    gap: 7px;
}

.category-menus [role="tab"][aria-selected="true"] {
    box-shadow: 0 10px 24px rgba(37, 99, 235, .14);
}

.category-menus [role="tab"] em {
    align-items: center;
    background: rgba(15, 23, 42, .08);
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    justify-content: center;
    min-height: 20px;
    min-width: 24px;
    padding: 2px 7px;
}

.shop-category-feedback {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.product-card {
    isolation: isolate;
}

.product-card:after {
    background: radial-gradient(circle at 18% 0, rgba(37, 99, 235, .08), transparent 28%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .2s ease;
    z-index: -1;
}

.product-card:hover:after,
.product-card.is-search-match:after {
    opacity: 1;
}

.product-action.is-loading-soft,
.shop-floating-action.is-loading-soft,
.nav-link.is-loading-soft {
    pointer-events: none;
}

.empty-goods {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #475569;
    margin: 10px auto 34px;
    max-width: 620px;
    padding: 26px;
    text-align: center;
}

.empty-goods h4 {
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
}

.empty-goods p {
    margin: 0 auto;
    max-width: 460px;
}

.empty-goods-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

@keyframes shopHeroSweep {
    0%,
    52% {
        left: -42%;
    }

    70%,
    100% {
        left: 120%;
    }
}

@media (max-width: 767.98px) {
    .shop-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-hero-actions .btn,
    .empty-goods-actions .btn,
    .empty-goods-actions button {
        justify-content: center;
        width: 100%;
    }

    .category-menus .nav {
        align-items: stretch;
        display: grid;
        gap: 8px;
        grid-template-columns: 1fr;
    }

    .category-menus .nav-item,
    .category-menus [role="tab"] {
        width: 100%;
    }

    .category-menus [role="tab"] {
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-hero:after,
    .shop-status-inner.is-pending .shop-status-dot,
    .product-state.is-pending,
    .shop-readiness-meter span:after {
        animation: none !important;
    }

    .shop-hero-actions .btn:hover,
    .shop-flow-item:hover,
    .category-menus .btn:hover,
    .product-card:hover {
        transform: none;
    }
}

/* Experience pass 20260719an: visitor-safe payment wording and prelaunch detail flow. */
.buy-status.is-pending,
.product-card.is-payment-pending .product-state {
    background: #fef3c7;
    color: #92400e;
}

.buy-media-status div:nth-child(3) strong,
.buy-facts span:nth-child(2) {
    color: #92400e;
}

.buy-open-guide {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.buy-open-guide > span {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.buy-open-guide strong em {
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.buy-open-guide strong em:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .08);
    transform: translateY(-1px);
}

.buy-form-cover {
    animation: shopFormCoverIn .26s ease both;
}

@keyframes shopFormCoverIn {
    from {
        opacity: .76;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-status-note {
    position: relative;
}

.product-status-note:before {
    background: #f59e0b;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .10);
    content: "";
    display: inline-block;
    height: 6px;
    margin-right: 7px;
    vertical-align: 1px;
    width: 6px;
}

.ys-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
}

.buy-cart-submit { margin-left: .5rem; }

.shop-status-inner.is-pending > div:first-child strong {
    color: #92400e;
}

@media (max-width: 575.98px) {
    .buy-open-guide strong {
        display: grid;
        grid-template-columns: 1fr;
    }

    .buy-form form[method="post"] {
        opacity: .62;
    }

    .buy-form-cover {
        box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
    }
}

@media (prefers-reduced-motion: reduce) {
    .buy-form-cover {
        animation: none !important;
    }

    .buy-open-guide strong em:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719ao: gentler visitor wording states and empty-page cues. */
.shop-footer-status p,
.product-status-note,
.buy-status-hint {
    text-wrap: pretty;
}

.shop-footer-chips em,
.product-stock small,
.error-context-pill {
    user-select: none;
}

.empty-goods-actions .btn,
.buy-next-actions .btn {
    position: relative;
}

.empty-goods-actions .btn:after,
.buy-next-actions .btn:after {
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .16), transparent);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-120%);
}

.empty-goods-actions .btn:hover:after,
.buy-next-actions .btn:hover:after {
    animation: shopButtonSheen 1.05s ease forwards;
    opacity: 1;
}

.shop-footer-status p {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    padding: 10px 12px;
}

@media (max-width: 575.98px) {
    .shop-footer-status p {
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .empty-goods-actions .btn:hover:after,
    .buy-next-actions .btn:hover:after {
        animation: none !important;
        display: none !important;
    }
}

/* Experience pass 20260719ap: steadier order/search guidance and soft motion. */
.order-search-card,
.bill-card,
.order-info-card,
.qrpay-card {
    animation: shopPanelLift .34s ease both;
}

.order-search-mode-status.is-updated {
    animation: shopModePulse .42s ease both;
}

.order-search-local-empty {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 16px;
}

.order-search-local-empty strong,
.order-search-local-empty span {
    display: block;
}

.order-search-local-empty span {
    color: #64748b;
    margin-top: 6px;
}

.order-search-local-empty div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bill-no-pay {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border-color: #fed7aa;
}

.bill-no-pay strong {
    color: #9a3412;
}

.bill-no-pay span {
    text-wrap: pretty;
}

.bill-live-strip.is-waiting span:nth-child(2) {
    color: #92400e;
    font-weight: 700;
}

@keyframes shopPanelLift {
    from {
        opacity: .86;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopModePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .16);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
}

@media (max-width: 575.98px) {
    .order-search-local-empty div {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-search-local-empty .btn {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-search-card,
    .bill-card,
    .order-info-card,
    .qrpay-card,
    .order-search-mode-status.is-updated {
        animation: none !important;
    }
}

/* Experience pass 20260719aq: navigation, recovery and floating action polish. */
.shop-navbar .navbar-collapse.show,
.shop-navbar .navbar-collapse.collapsing {
    transform-origin: top center;
}

.shop-navbar .navbar-collapse.show {
    animation: shopNavDrop .2s ease both;
}

.shop-nav-status {
    box-shadow: 0 0 0 1px rgba(245, 158, 11, .16), 0 8px 18px rgba(146, 64, 14, .08);
}

.shop-nav-search .form-control {
    min-width: 180px;
}

.shop-floating-actions {
    backdrop-filter: blur(10px);
}

.shop-floating-action {
    overflow: hidden;
}

.shop-floating-action:after {
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .24), transparent);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: translateX(-120%);
}

.shop-floating-action:hover:after,
.shop-floating-action:focus:after {
    animation: shopActionSweep .9s ease forwards;
    opacity: 1;
}

.error-context-pill,
.error-dossier em,
.shop-footer-chips em {
    letter-spacing: 0;
}

.error-dossier,
.error-local-order {
    animation: shopRecoveryIn .28s ease both;
}

.error-dossier {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.error-local-order {
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .08);
}

.error-actions .btn {
    min-height: 40px;
}

.shop-footer-chips em {
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.shop-footer-chips em:hover {
    transform: translateY(-1px);
}

@keyframes shopNavDrop {
    from {
        opacity: .84;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopActionSweep {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(120%);
    }
}

@keyframes shopRecoveryIn {
    from {
        opacity: .78;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .shop-nav-search {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .shop-nav-search .form-control {
        min-width: 0;
    }

    .shop-floating-actions {
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        right: 12px;
        width: auto;
    }

    .shop-floating-action {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .error-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .error-actions .btn {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-navbar .navbar-collapse.show,
    .shop-floating-action:hover:after,
    .shop-floating-action:focus:after,
    .error-dossier,
    .error-local-order {
        animation: none !important;
    }

    .shop-footer-chips em:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719ar: order detail language polish and state motion. */
.order-info-state-strip,
.order-info-action-strip,
.order-next-action,
.order-info-empty,
.order-info-missing-actions {
    animation: shopOrderStateIn .26s ease both;
}

.order-info-action-strip .btn,
.order-info-missing-actions .btn,
.order-next-action {
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.order-info-action-strip .btn:hover,
.order-info-action-strip .btn:focus,
.order-info-missing-actions .btn:hover,
.order-info-missing-actions .btn:focus {
    transform: translateY(-1px);
}

.order-next-action:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.order-info-state-strip {
    overflow: hidden;
    position: relative;
}

.order-info-state-strip:after {
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .38), transparent);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-115%);
}

.order-info-card:hover .order-info-state-strip:after {
    animation: shopOrderStripSweep 1.05s ease forwards;
    opacity: 1;
}

.order-info-missing-contact {
    align-items: center;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    color: #475569;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    min-height: 40px;
    padding: 0 14px;
}

@keyframes shopOrderStateIn {
    from {
        opacity: .82;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopOrderStripSweep {
    from {
        transform: translateX(-115%);
    }

    to {
        transform: translateX(115%);
    }
}

@media (max-width: 575.98px) {
    .order-info-action-strip,
    .order-info-missing-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-info-action-strip .btn,
    .order-info-missing-actions .btn,
    .order-info-missing-contact {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-info-state-strip,
    .order-info-action-strip,
    .order-next-action,
    .order-info-empty,
    .order-info-missing-actions,
    .order-info-card:hover .order-info-state-strip:after {
        animation: none !important;
    }

    .order-info-action-strip .btn:hover,
    .order-info-action-strip .btn:focus,
    .order-info-missing-actions .btn:hover,
    .order-info-missing-actions .btn:focus,
    .order-next-action:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719au: checkout, qrpay, order detail, nav/footer interaction polish. */
.bill-support,
.qrpay-support,
.order-info-support,
.bill-payment-guard,
.qrpay-guard,
.qrpay-repeat-lock,
.order-info-save-tip {
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.bill-support:hover,
.qrpay-support:hover,
.order-info-support:hover,
.bill-payment-guard:hover,
.qrpay-guard:hover,
.qrpay-repeat-lock:hover,
.order-info-save-tip:hover {
    box-shadow: 0 14px 28px rgba(15, 23, 42, .07);
    transform: translateY(-1px);
}

.bill-pay-button,
.bill-secondary-actions .btn,
.bill-no-pay-actions .btn,
.qrpay-actions .btn,
.qrpay-detect-tools .btn,
.order-info-section-actions .btn,
.shop-nav-search .btn,
.shop-floating-action {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    justify-content: center;
}

.bill-pay-button:focus-visible,
.bill-secondary-actions .btn:focus-visible,
.bill-no-pay-actions .btn:focus-visible,
.qrpay-actions .btn:focus-visible,
.qrpay-detect-tools .btn:focus-visible,
.order-info-section-actions .btn:focus-visible,
.order-info-refresh:focus-visible,
.shop-nav-search .btn:focus-visible,
.shop-floating-action:focus-visible {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .22), 0 10px 24px rgba(15, 23, 42, .08);
    outline: 0;
}

.qrpay-detect-tools,
.bill-secondary-actions,
.bill-no-pay-actions,
.order-info-section-actions {
    row-gap: 8px;
}

.qrpay-state,
.bill-live-strip,
.qrpay-live-strip,
.order-info-state-strip {
    will-change: transform;
}

.bill-live-strip span,
.qrpay-live-strip span,
.order-info-state-strip span,
.bill-trust-strip span {
    white-space: normal;
}

.qrpay-summary-copy.is-copied,
.copy-payment-summary.is-copied,
.copy-order-summary.is-copied,
.copy-inline.is-copied {
    border-color: rgba(34, 197, 94, .36);
    color: #646464;
}

@media (max-width: 767.98px) {
    .bill-secondary-actions,
    .bill-no-pay-actions,
    .qrpay-actions,
    .qrpay-detect-tools,
    .order-info-section-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bill-secondary-actions .btn,
    .bill-no-pay-actions .btn,
    .qrpay-actions .btn,
    .qrpay-detect-tools .btn,
    .order-info-section-actions .btn {
        min-width: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bill-support:hover,
    .qrpay-support:hover,
    .order-info-support:hover,
    .bill-payment-guard:hover,
    .qrpay-guard:hover,
    .qrpay-repeat-lock:hover,
    .order-info-save-tip:hover {
        transform: none !important;
    }
}

/* Experience pass 20260719av: order search and error-state final polish. */
.order-search-privacy {
    align-items: flex-start;
    background: rgba(14, 165, 233, .08);
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 8px;
    color: #075985;
    display: flex;
    font-size: 13px;
    gap: 9px;
    line-height: 1.55;
    margin-top: 14px;
    padding: 11px 12px;
}

.order-search-privacy .ali-icon {
    flex: 0 0 auto;
    font-size: 15px;
    line-height: 1.55;
}

.order-search-local-list:not([hidden]) {
    animation: shopOrderLocalListIn .28s ease both;
}

.order-search-local-item {
    animation: shopOrderLocalItemIn .24s ease both;
    animation-delay: calc(var(--local-order-index, 0) * 45ms);
}

.order-search-local-item > i {
    align-items: center;
    background: #eef6ff;
    border: 1px solid rgba(59, 130, 246, .16);
    border-radius: 8px;
    color: #2563eb;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    height: 34px;
    justify-content: center;
}

.order-search-local-item:hover > i,
.order-search-local-item:focus-visible > i {
    background: #2563eb;
    color: #fff;
}

.order-search-tabs .nav-link[aria-selected="true"] {
    box-shadow: 0 10px 22px rgba(37, 99, 235, .14);
}

.error-card {
    isolation: isolate;
}

.error-card:after {
    background: radial-gradient(circle at 18% 18%, rgba(37, 99, 235, .10), transparent 30%),
        radial-gradient(circle at 84% 28%, rgba(20, 184, 166, .10), transparent 32%);
    content: "";
    inset: 0;
    opacity: .72;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.error-local-order a,
.error-actions .btn {
    position: relative;
}

.error-actions .btn:hover,
.error-actions .btn:focus-visible {
    transform: translateY(-1px);
}

@keyframes shopOrderLocalListIn {
    from {
        opacity: .72;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopOrderLocalItemIn {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .order-search-privacy {
        margin-top: 12px;
    }

    .order-search-local-item > i {
        flex-basis: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-search-local-list:not([hidden]),
    .order-search-local-item {
        animation: none !important;
    }

    .error-actions .btn:hover,
    .error-actions .btn:focus-visible {
        transform: none !important;
    }
}

/* Experience pass 20260719aw: product-card readiness summary. */
.product-readiness {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0;
}

.product-readiness span {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    min-height: 26px;
    padding: 6px 9px;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.product-readiness span.is-ready {
    background: #f9f9f9;
    border-color: rgba(16, 185, 129, .24);
    color: #5d5d5d;
}

.product-readiness span.is-waiting {
    background: #fff7ed;
    border-color: rgba(251, 146, 60, .25);
    color: #9a3412;
}

.product-card:hover .product-readiness span {
    transform: translateY(-1px);
}

.product-card.is-stockout .product-readiness span {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, .22);
    color: #64748b;
}

@media (max-width: 575.98px) {
    .product-readiness {
        gap: 5px;
    }

    .product-readiness span {
        font-size: 11px;
        min-height: 24px;
        padding: 5px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card:hover .product-readiness span {
        transform: none !important;
    }
}

/* Experience pass 20260719ax: checkout/order long-text resilience and mobile touch polish. */
.bill-details,
.order-info-details,
.order-info-details dl,
.qrpay-info,
.qrpay-info dl,
.bill-main {
    min-width: 0;
}

.bill-details > div,
.order-info-details dl > div,
.qrpay-info dl > div {
    min-width: 0;
}

.bill-details dt,
.order-info-details dt,
.qrpay-info dt {
    min-width: 0;
}

.bill-details dd,
.order-info-details dd,
.qrpay-info dd,
.bill-copy-line span,
.order-copy-line span,
.qrpay-copy-line span,
.bill-check-panel li,
.bill-payment-guard span,
.bill-no-pay span,
.bill-action-hint,
.order-next-action span,
.order-info-empty span,
.order-info-save-tip span,
.order-info-missing p,
.order-info-local-fallback span,
.qrpay-reminder li,
.qrpay-guard span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bill-copy-line,
.order-copy-line,
.qrpay-copy-line {
    justify-content: flex-start;
}

.bill-copy-line span,
.order-copy-line span,
.qrpay-copy-line span {
    flex: 1 1 180px;
}

.bill-copy-line .copy-inline,
.order-copy-line .copy-inline,
.qrpay-copy-line .copy-inline,
.bill-total .copy-inline {
    flex: 0 0 auto;
}

.bill-secondary-actions,
.bill-no-pay-actions,
.order-info-action-strip,
.order-info-section-actions,
.order-info-missing-actions,
.qrpay-actions {
    align-items: stretch;
}

.bill-secondary-actions .btn,
.bill-no-pay-actions .btn,
.order-info-action-strip .btn,
.order-info-section-actions .btn,
.order-info-missing-actions .btn,
.qrpay-actions .btn,
.qrpay-detect-tools .btn {
    min-height: 38px;
    white-space: normal;
}

.bill-live-strip,
.order-info-state-strip,
.qrpay-live-strip,
.bill-safety-check,
.bill-trust-strip {
    min-width: 0;
}

.bill-live-strip span,
.order-info-state-strip span,
.qrpay-live-strip span,
.bill-safety-check div,
.bill-trust-strip span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-info-textarea {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.order-info-hero-actions,
.bill-hero {
    min-width: 0;
}

.order-info-support,
.bill-support,
.qrpay-support {
    max-width: 100%;
}

.order-info-support a,
.order-info-support strong,
.bill-support a,
.bill-support strong,
.qrpay-support a,
.qrpay-support strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .bill-details > div,
    .order-info-details dl > div,
    .qrpay-info dl > div {
        gap: 6px;
        grid-template-columns: 1fr;
    }

    .bill-details dt,
    .order-info-details dt,
    .qrpay-info dt {
        font-size: 12px;
    }

    .bill-copy-line,
    .order-copy-line,
    .qrpay-copy-line {
        align-items: stretch;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .bill-copy-line span,
    .order-copy-line span,
    .qrpay-copy-line span {
        align-items: center;
        display: flex;
        flex-basis: auto;
        min-height: 36px;
    }

    .bill-live-strip span,
    .order-info-state-strip span,
    .qrpay-live-strip span {
        min-height: 34px;
    }

    .bill-section-title,
    .order-info-section-title {
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .bill-hero h1,
    .order-info-hero h1,
    .qrpay-heading h1 {
        font-size: clamp(24px, 9vw, 34px);
    }

    .bill-countdown strong,
    .bill-total strong,
    .order-info-total strong,
    .qrpay-countdown strong {
        font-size: 24px;
    }

    .bill-copy-line,
    .order-copy-line,
    .qrpay-copy-line {
        grid-template-columns: 1fr;
    }

    .bill-copy-line .copy-inline,
    .order-copy-line .copy-inline,
    .qrpay-copy-line .copy-inline,
    .bill-total .copy-inline {
        justify-content: center;
        min-height: 36px;
        width: 100%;
    }

    .bill-check-panel,
    .bill-payment-guard,
    .bill-note,
    .qrpay-reminder,
    .qrpay-guard,
    .order-next-action,
    .order-info-save-tip,
    .order-info-empty {
        padding: 14px;
    }

    .order-info-local-fallback,
    .order-info-missing-actions,
    .bill-no-pay-actions,
    .bill-secondary-actions,
    .qrpay-actions,
    .order-info-action-strip,
    .order-info-section-actions {
        gap: 8px;
    }
}

/* Experience pass 20260719ba: floating actions stay desktop-first and never cover mobile content. */
.shop-backtop i {
    display: none;
}

.shop-backtop:before {
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    height: 9px;
    transform: translateY(2px) rotate(45deg);
    width: 9px;
}

@media (max-width: 767.98px) {
    .shop-floating-actions {
        display: none;
    }
}

/* Experience pass 20260719bb: mobile nav ordering and calmer search-empty feedback. */
@media (max-width: 575.98px) {
    .shop-navbar .navbar-collapse {
        order: 3;
    }

    .shop-navbar .navbar-collapse.show,
    .shop-navbar .navbar-collapse.collapsing {
        grid-column: 1 / -1;
        width: 100%;
    }

    .shop-search-empty {
        background: #f8fafc;
        border: 1px solid #dbeafe;
        border-radius: 8px;
        box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
        margin: 12px 0 0;
        padding: 18px 14px;
        width: 100%;
    }

    .shop-search-empty strong {
        color: #1e3a8a;
    }

    .shop-search-empty .btn {
        justify-content: center;
        width: 100%;
    }
}

/* Experience pass 20260719bc: steadier product search feedback and tighter mobile result flow. */
.shop-results-status:not([hidden]) {
    animation: shopSoftRise .28s ease both;
}

.shop-results-status .shop-search-empty {
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .94), rgba(255, 255, 255, .98)),
        #fff;
    border-style: solid;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.is-shop-searching .shop-results-status:not([hidden]) + #goodsTabContent {
    opacity: .72;
}

.order-search-mode-status strong,
.order-search-mode-status span {
    transition: color .18s ease, transform .18s ease;
}

.order-search-mode-status.is-updated strong {
    transform: translateX(2px);
}

@media (max-width: 767.98px) {
    .shop-results-status {
        margin-bottom: 16px;
        padding: 0 2px;
    }

    .shop-results-status .shop-search-empty {
        justify-items: stretch;
        text-align: left;
    }

    .shop-results-status .shop-search-empty:before {
        margin-bottom: 4px;
    }

    .shop-results-status .shop-search-empty span {
        color: #475569;
    }

    .is-shop-searching .product-card.is-search-match {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-results-status:not([hidden]) {
        animation: none !important;
    }
}

/* Experience pass 20260719bd: bring primary mobile actions higher on detail and order-search pages. */
@media (max-width: 767.98px) {
    .buy-page {
        padding-top: 10px;
    }

    .buy-card {
        margin-top: 8px !important;
    }

    .buy-media {
        gap: 12px;
        min-height: 0;
        padding: 46px 16px 14px;
    }

    .buy-media img {
        max-height: 156px;
        padding: 10px;
        width: min(100%, 230px);
    }

    .buy-media-status {
        gap: 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 8px;
    }

    .buy-media-status div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        justify-content: center;
        min-height: 58px;
        padding: 8px;
    }

    .buy-media-status span {
        font-size: 11px;
    }

    .buy-media-status strong {
        font-size: 12px;
        text-align: left;
    }

    .buy-delivery-badge {
        left: 16px;
        top: 14px;
    }

    .buy-body {
        padding: 18px 16px 20px;
    }

    .buy-heading {
        gap: 10px;
    }

    .buy-heading .card-title {
        font-size: 21px;
        margin-top: 8px;
    }

    .buy-price {
        border-radius: 8px;
        padding: 12px;
    }

    .order-search-card .card-body {
        padding: 0;
    }

    .order-search-layout {
        display: flex;
        flex-direction: column;
    }

    .order-search-aside {
        display: contents;
    }

    .order-search-aside h2,
    .order-search-aside > p,
    .order-search-notes,
    .order-search-mode-status,
    .order-search-privacy,
    .order-search-ready {
        margin-left: 18px;
        margin-right: 18px;
    }

    .order-search-aside h2 {
        background: #111827;
        border-radius: 8px 8px 0 0;
        color: #fff;
        font-size: 18px;
        margin-bottom: 0;
        order: 1;
        padding: 18px 18px 8px;
    }

    .order-search-aside > p {
        background: #111827;
        color: #cbd5e1;
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 0;
        order: 2;
        padding: 0 18px 14px;
    }

    .order-search-notes {
        background: #111827;
        border-radius: 0 0 8px 8px;
        display: flex;
        gap: 7px;
        margin-top: 0;
        order: 3;
        overflow-x: auto;
        padding: 0 18px 16px;
        scrollbar-width: none;
    }

    .order-search-notes::-webkit-scrollbar {
        display: none;
    }

    .order-search-notes span {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .order-search-form {
        order: 4;
        padding: 18px;
    }

    .order-search-mode-status {
        order: 5;
    }

    .order-search-privacy {
        order: 6;
    }

    .order-search-ready {
        order: 7;
    }
}

@media (max-width: 360px) {
    .buy-media-status {
        grid-template-columns: 1fr;
    }

    .buy-media-status div {
        min-height: 42px;
    }
}

/* Experience pass 20260719be: transaction recovery polish and compact mobile action flow. */
.bill-card,
.qrpay-card,
.order-info-card,
.error-card,
.order-info-missing {
    scroll-margin-top: 96px;
}

.bill-main,
.qrpay-info,
.order-info-details,
.error-card {
    position: relative;
}

.bill-section-title,
.order-info-section-title,
.qrpay-detect-tools,
.error-actions {
    align-items: center;
}

.bill-status,
.order-status,
.error-context-pill,
.qrpay-state strong {
    letter-spacing: 0;
}

.bill-total,
.qrpay-countdown,
.order-info-total,
.bill-countdown {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .66);
}

.bill-total .copy-inline,
.qrpay-copy-amount,
.bill-copy-line .copy-inline,
.order-copy-line .copy-inline,
.qrpay-copy-line .copy-inline {
    min-width: 72px;
}

.bill-secondary-actions,
.bill-no-pay-actions,
.qrpay-actions,
.order-info-action-strip,
.order-info-section-actions,
.order-info-missing-actions,
.error-actions {
    gap: 10px;
}

.bill-secondary-actions .btn,
.bill-no-pay-actions .btn,
.qrpay-actions .btn,
.order-info-action-strip .btn,
.order-info-section-actions .btn,
.order-info-missing-actions .btn,
.error-actions .btn {
    border-radius: 8px;
    line-height: 1.35;
}

.qrpay-state,
.bill-payment-guard,
.qrpay-guard,
.qrpay-repeat-lock,
.order-next-action,
.order-info-save-tip,
.order-info-empty,
.error-recovery,
.error-dossier,
.error-local-order {
    border-radius: 8px;
}

.qrpay-detect-meter {
    overflow: hidden;
}

.qrpay-detect-meter span {
    transition: width .28s ease, background-color .2s ease;
}

.qrpay-state.is-checking + .qrpay-detect-meter span {
    animation: shopDetectBreath 1.2s ease-in-out infinite;
}

.order-info-secret.is-revealed {
    animation: shopSoftRise .22s ease both;
}

.order-info-secret-cover {
    text-align: center;
}

.error-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.error-actions .btn {
    min-width: 0;
    width: 100%;
}

.error-actions .btn:first-child {
    grid-column: 1 / -1;
}

.error-dossier div {
    gap: 8px;
}

.error-dossier em,
.error-local-order .btn {
    min-width: 0;
}

.copy-inline.is-copied,
.copy-card.is-copied,
.copy-payment-summary.is-copied,
.copy-order-summary.is-copied,
.qrpay-summary-copy.is-copied,
[data-copy-error-summary].is-copied,
[data-copy-current-link].is-copied {
    background: #f9f9f9 !important;
    border-color: rgba(34, 197, 94, .34) !important;
    color: #5d5d5d !important;
}

@keyframes shopDetectBreath {
    0% {
        opacity: .58;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .58;
    }
}

@media (min-width: 992px) {
    .bill-card,
    .order-info-card {
        align-items: stretch;
    }

    .bill-summary,
    .order-info-summary,
    .qrpay-code-wrap {
        position: sticky;
        top: 92px;
    }

    .qrpay-card {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .bill-page,
    .qrpay-page,
    .order-info-page,
    .error-page {
        padding-top: 10px;
    }

    .bill-card,
    .qrpay-card,
    .order-info-card,
    .error-card,
    .order-info-missing {
        border-radius: 8px;
    }

    .bill-hero,
    .order-info-hero {
        gap: 12px;
    }

    .bill-hero p,
    .order-info-hero p,
    .qrpay-heading p,
    .error-card p {
        font-size: 13px;
        line-height: 1.55;
    }

    .bill-safety-check,
    .bill-trust-strip,
    .bill-live-strip,
    .qrpay-live-strip,
    .order-info-state-strip {
        gap: 7px;
    }

    .bill-safety-check div,
    .bill-trust-strip span,
    .bill-live-strip span,
    .qrpay-live-strip span,
    .order-info-state-strip span {
        min-height: 38px;
        padding: 8px;
    }

    .qrpay-code-wrap {
        padding-bottom: 18px;
    }

    .qrpay-code {
        margin-inline: auto;
        max-width: 214px;
    }

    .qrpay-code img {
        height: 184px;
        width: 184px;
    }

    .qrpay-code-caption {
        align-items: stretch;
        gap: 6px;
    }

    .qrpay-code-caption strong {
        font-size: 18px;
    }

    .qrpay-state {
        padding: 14px;
    }

    .qrpay-steps {
        gap: 8px;
    }

    .qrpay-steps li {
        min-height: 38px;
    }

    .order-info-section-title {
        align-items: stretch;
    }

    .order-info-section-actions {
        width: 100%;
    }

    .error-actions {
        grid-template-columns: 1fr;
    }

    .error-card {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 420px) {
    .bill-live-strip,
    .qrpay-live-strip,
    .order-info-state-strip,
    .bill-trust-strip {
        grid-template-columns: 1fr;
    }

    .bill-safety-check {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bill-safety-check div {
        align-items: flex-start;
    }

    .error-dossier div {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qrpay-state.is-checking + .qrpay-detect-meter span,
    .order-info-secret.is-revealed {
        animation: none !important;
    }

    .qrpay-detect-meter span {
        transition: none !important;
    }
}

/* Experience pass 20260719bf: mobile contrast for safe actions and guidance panels. */
.buy-next-actions .btn-outline-secondary,
.error-actions .btn-outline-secondary,
.order-info-missing-actions .btn-outline-secondary {
    background: #fff;
    border-color: #94a3b8;
    color: #334155;
}

.buy-next-actions .btn-outline-secondary:hover,
.buy-next-actions .btn-outline-secondary:focus-visible,
.error-actions .btn-outline-secondary:hover,
.error-actions .btn-outline-secondary:focus-visible,
.order-info-missing-actions .btn-outline-secondary:hover,
.order-info-missing-actions .btn-outline-secondary:focus-visible {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.order-search-mode-status {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.order-search-mode-status strong {
    color: #1e40af;
}

.order-search-mode-status span {
    color: #334155;
}

.error-actions .btn-outline-secondary:disabled,
.error-actions .btn-outline-secondary.disabled,
.error-actions .btn-outline-secondary[aria-disabled="true"],
.buy-submit[disabled] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .buy-next-actions .btn,
    .error-actions .btn,
    .order-info-missing-actions .btn {
        min-height: 40px;
    }

    .order-search-mode-status {
        padding: 14px;
    }
}

/* Experience pass 20260719bg: calmer prelaunch buying, stronger page rhythm, mobile polish. */
.shop-hero {
    overflow: hidden;
    position: relative;
}

.shop-hero:before {
    background:
        linear-gradient(90deg, rgba(14, 165, 233, .18), rgba(34, 197, 94, .12), rgba(249, 115, 22, .1)),
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, .14), transparent 28%);
    content: "";
    inset: 0;
    opacity: .86;
    pointer-events: none;
    position: absolute;
}

.shop-hero:after {
    animation: shopHeroDrift 12s ease-in-out infinite alternate;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 18px);
    content: "";
    inset: -20% -10%;
    opacity: .28;
    pointer-events: none;
    position: absolute;
}

.shop-hero .container {
    position: relative;
    z-index: 1;
}

@keyframes shopHeroDrift {
    from {
        transform: translate3d(-10px, -6px, 0);
    }

    to {
        transform: translate3d(18px, 8px, 0);
    }
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.shop-hero-actions .btn {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    min-height: 40px;
}

.shop-status-inner,
.notice-card,
.product-card,
.buy-card,
.buy-description,
.order-search-card {
    backdrop-filter: saturate(1.08);
}

.shop-flow-item {
    overflow: hidden;
}

.shop-flow-item:before {
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .1), transparent);
    content: "";
    height: 100%;
    left: -75%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: skewX(-15deg);
    transition: left .5s ease, opacity .2s ease;
    width: 55%;
}

.shop-flow-item:hover:before {
    left: 120%;
    opacity: 1;
}

.buy-card:not(:has(.buy-submit:not([disabled]))) .buy-form {
    background:
        linear-gradient(135deg, rgba(248, 250, 252, .96), rgba(255, 251, 235, .5)),
        #fff;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 14px;
    position: relative;
}

.buy-card:not(:has(.buy-submit:not([disabled]))) .buy-form-cover {
    align-items: center;
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.buy-card:not(:has(.buy-submit:not([disabled]))) .buy-form form {
    opacity: .58;
}

.buy-card:not(:has(.buy-submit:not([disabled]))) .buy-payment-options {
    margin-top: 8px;
}

.buy-card:not(:has(.buy-submit:not([disabled]))) .form-group {
    margin-bottom: 10px;
}

.buy-card:not(:has(.buy-submit:not([disabled]))) .col-form-label {
    color: #64748b;
}

.buy-open-guide strong {
    gap: 8px;
}

.buy-open-guide em {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 36px;
    padding: 7px 9px;
}

.buy-open-guide em b {
    background: #eff6ff;
    color: #1d4ed8;
}

.buy-launch-check {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.buy-readiness-meter span,
.shop-readiness-meter span {
    background-size: 160% 100%;
    animation: shopMeterFlow 2.8s linear infinite;
}

@keyframes shopMeterFlow {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 160% 0;
    }
}

.order-search-aside {
    background:
        linear-gradient(160deg, rgba(30, 64, 175, .88), rgba(17, 24, 39, .98) 46%, rgba(15, 118, 110, .72)),
        #111827;
}

.order-search-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-search-notes span {
    border-radius: 8px;
    line-height: 1.35;
    text-align: center;
}

.order-search-ready,
.order-search-privacy,
.order-search-mode-status {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.order-search-privacy {
    align-items: flex-start;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: #dbeafe;
    display: flex;
    font-size: 13px;
    gap: 9px;
    line-height: 1.55;
    margin-top: 14px;
    padding: 12px;
}

.order-search-privacy i {
    color: #93c5fd;
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1.3;
}

.order-search-ready li {
    color: #e5e7eb;
}

.shop-footer-chips em {
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

@media (max-width: 991.98px) {
    .shop-hero {
        padding: 44px 0 42px;
    }

    .shop-hero-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .shop-hero-stats {
        min-width: 0;
        width: 100%;
    }

    .shop-status-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-status-metrics {
        flex-wrap: wrap;
    }

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

    .shop-flow-item:after {
        display: none;
    }

    .order-search-notes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .shop-hero {
        padding: 34px 0 38px;
    }

    .shop-hero h1 {
        font-size: 28px;
        line-height: 1.18;
    }

    .shop-hero-copy {
        font-size: 14px;
        line-height: 1.6;
    }

    .shop-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shop-hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .shop-hero-stats div {
        padding: 13px;
    }

    .shop-flow-grid {
        grid-template-columns: 1fr;
    }

    .shop-flow-item {
        min-height: 0;
        padding: 14px;
    }

    .category {
        padding: 30px 0 24px;
    }

    .shop-category-feedback {
        border-radius: 8px;
        width: 100%;
    }

    .buy-card:not(:has(.buy-submit:not([disabled]))) .buy-form {
        margin-left: -2px;
        margin-right: -2px;
        padding: 12px;
    }

    .buy-card:not(:has(.buy-submit:not([disabled]))) .buy-form form {
        max-height: 430px;
        overflow: hidden;
        position: relative;
    }

    .buy-card:not(:has(.buy-submit:not([disabled]))) .buy-form form:after {
        background: linear-gradient(180deg, rgba(255, 251, 235, 0), #fffbeb 74%);
        bottom: 0;
        content: "";
        height: 72px;
        left: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
    }

    .buy-open-guide strong {
        display: grid;
        grid-template-columns: 1fr;
    }

    .order-search-aside,
    .order-search-form {
        padding: 18px;
    }

    .order-search-ready {
        padding: 12px;
    }

    .order-search-hero p,
    .order-search-browser-tip,
    .order-search-ready li,
    .order-search-privacy {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-hero:after,
    .buy-readiness-meter span,
    .shop-readiness-meter span {
        animation: none !important;
    }
}

/* Experience pass 20260719bh: restore readable mobile order-search guidance. */
@media (max-width: 767.98px) {
    .order-search-privacy {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1e3a8a;
    }

    .order-search-privacy .ali-icon,
    .order-search-privacy i {
        color: #2563eb;
    }

    .order-search-ready {
        background: #f8fafc;
        border-color: #dbeafe;
        color: #334155;
    }

    .order-search-ready strong {
        color: #111827;
    }

    .order-search-ready li {
        color: #475569;
    }

    .order-search-ready li:before {
        background: #60a5fa;
        box-shadow: 0 0 0 4px rgba(96, 165, 250, .14);
    }
}

/* Experience pass 20260719bi: navigation, empty description, and micro-feedback polish. */
.buy-description-empty {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #475569;
    display: grid;
    gap: 7px;
    min-height: 86px;
    padding: 16px;
}

.buy-description-empty strong {
    color: #111827;
    font-size: 15px;
}

.buy-description-empty span {
    font-size: 13px;
    line-height: 1.65;
}

.shop-navbar .navbar-collapse {
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.shop-header.is-menu-open .navbar-collapse {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
    margin-top: 10px;
    padding: 12px;
}

.shop-header.is-menu-open .shop-nav-status {
    margin: 8px 0;
    width: fit-content;
}

.shop-header.is-menu-open .shop-nav-search {
    margin-top: 8px;
    width: 100%;
}

.shop-navbar .navbar-toggler-icon {
    transition: transform .18s ease, filter .18s ease;
}

.shop-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    filter: saturate(1.35);
    transform: rotate(90deg);
}

.shop-toast {
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

.shop-toast.is-visible {
    animation: shopToastPop .22s ease both;
}

@keyframes shopToastPop {
    from {
        opacity: .82;
        transform: translateY(8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.shop-floating-action {
    isolation: isolate;
}

.shop-floating-action:before {
    background: rgba(255, 255, 255, .18);
    border-radius: inherit;
    content: "";
    inset: 2px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .16s ease;
    z-index: -1;
}

.shop-floating-action:hover:before,
.shop-floating-action:focus-visible:before {
    opacity: 1;
}

[data-copy-error-summary].is-copied,
[data-copy-current-link].is-copied,
.btn.is-copied {
    box-shadow: 0 10px 24px rgba(22, 163, 74, .16);
}

.error-dossier em {
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.error-dossier:hover em {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

@media (min-width: 992px) {
    .shop-header.is-menu-open .navbar-collapse {
        background: transparent;
        border: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
    }
}

@media (max-width: 575.98px) {
    .shop-header.is-menu-open .navbar-collapse {
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .shop-header.is-menu-open .navbar-nav {
        gap: 6px;
    }

    .shop-header.is-menu-open .nav-link {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        min-height: 42px;
        padding: 10px 12px;
    }

    .shop-header.is-menu-open .nav-link.active {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

    .buy-description-empty {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-toast.is-visible,
    .shop-navbar .navbar-toggler-icon {
        animation: none !important;
        transition: none !important;
    }
}

/* Experience pass 20260719bj: final interaction and mobile comfort polish. */
.shop-scroll-progress {
    transform-origin: 0 50%;
    transition: transform .12s linear;
}

.is-keyboard-mode a:focus-visible,
.is-keyboard-mode button:focus-visible,
.is-keyboard-mode input:focus-visible,
.is-keyboard-mode select:focus-visible,
.is-keyboard-mode textarea:focus-visible,
.is-keyboard-mode [tabindex]:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .34);
    outline-offset: 3px;
}

.shop-backtop {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(.96);
}

.shop-backtop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.shop-floating-actions {
    transition: opacity .18s ease, transform .18s ease;
}

.is-form-focused .shop-floating-actions {
    opacity: .18;
    pointer-events: none;
    transform: translateY(12px);
}

.bill-live-strip span,
.qrpay-live-strip span,
.shop-footer-chips em {
    position: relative;
}

.bill-live-strip span:first-child:before,
.qrpay-live-strip span:first-child:before,
.shop-footer-chips em:first-child:before {
    background: currentColor;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 6px;
    margin-right: 7px;
    vertical-align: 1px;
    width: 6px;
}

.qrpay-state.is-checking .qrpay-dot,
.order-status.is-waiting:after,
.order-status.is-info:after {
    animation: shopPulse 1.4s ease-in-out infinite;
}

@keyframes shopPulse {
    0%,
    100% {
        opacity: .55;
        transform: scale(.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.bill-card,
.qrpay-card,
.order-info-card,
.order-search-card,
.error-card {
    scroll-margin-top: 96px;
}

.shop-page-loader.is-active {
    animation: shopLoaderSweep 1s ease-in-out infinite;
}

@keyframes shopLoaderSweep {
    0% {
        transform: scaleX(.08);
        transform-origin: 0 50%;
    }

    48% {
        transform: scaleX(.82);
        transform-origin: 0 50%;
    }

    52% {
        transform: scaleX(.82);
        transform-origin: 100% 50%;
    }

    100% {
        transform: scaleX(.08);
        transform-origin: 100% 50%;
    }
}

@media (max-width: 767.98px) {
    .shop-footer {
        padding-bottom: calc(98px + env(safe-area-inset-bottom));
    }

    .shop-floating-actions {
        bottom: max(14px, env(safe-area-inset-bottom));
        left: 12px;
        right: 12px;
        width: auto;
    }

    .shop-floating-action {
        flex: 1 1 0;
        justify-content: center;
        min-height: 44px;
    }

    .shop-toast {
        bottom: calc(74px + env(safe-area-inset-bottom));
        left: 14px;
        right: 14px;
        text-align: center;
        width: auto;
    }

    .is-form-focused .shop-footer {
        padding-bottom: calc(34px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-scroll-progress,
    .shop-floating-actions,
    .shop-backtop,
    .shop-page-loader.is-active,
    .qrpay-state.is-checking .qrpay-dot,
    .order-status.is-waiting:after,
    .order-status.is-info:after {
        animation: none !important;
        transition: none !important;
    }
}

/* Experience pass 20260719bk: order-detail reveal and copy-state hardening. */
.order-info-secret.is-revealed .order-info-textarea {
    animation: orderRevealSettle .22s ease both;
}

@keyframes orderRevealSettle {
    from {
        border-color: #bfdbfe;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
        transform: translateY(2px);
    }

    to {
        border-color: #e5e7eb;
        box-shadow: none;
        transform: translateY(0);
    }
}

[data-reveal-delivery][aria-expanded="true"] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
}

@media (prefers-reduced-motion: reduce) {
    .order-info-secret.is-revealed .order-info-textarea {
        animation: none !important;
    }
}

/* Keep out-of-stock product states visually neutral. */
.product-state.is-stockout {
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    color: #6b7280;
}

.product-status-note:before {
    background: #9ca3af;
    box-shadow: 0 0 0 4px rgba(156, 163, 175, .12);
}

/* Product cards and account center refinement. */
.product-card[role="link"] {
    cursor: pointer;
}

.product-card[role="link"]:focus-visible {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .16), 0 18px 40px rgba(15, 23, 42, .12);
    outline: 0;
}

.product-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.product-action,
.product-cart-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 38px;
    width: 100%;
}

.product-cart-form {
    margin: 0;
}

.product-cart-button {
    gap: 6px;
}

.product-cart-button .ali-icon {
    font-size: 15px;
}

.account-page {
    background: #f8fafc;
    min-height: calc(100vh - 70px);
    padding: 34px 0 68px;
}

.account-hero,
.account-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.account-hero {
    align-items: center;
    margin-bottom: 22px;
}

.account-hero h1,
.account-section-heading h2 {
    color: #111827;
    font-weight: 800;
    letter-spacing: 0;
    margin: 4px 0 0;
}

.account-hero h1 {
    font-size: clamp(26px, 3vw, 38px);
}

.account-hero p,
.account-tool-heading p {
    color: #64748b;
    margin: 6px 0 0;
}

.account-eyebrow {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-alert {
    margin-bottom: 18px;
}

.account-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    overflow-x: auto;
    padding: 5px;
}

.account-nav a {
    border-radius: 6px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.account-nav a:hover,
.account-nav a:focus-visible {
    background: #eff6ff;
    color: #1d4ed8;
    outline: 0;
}

.account-nav a.is-active {
    background: #2563eb;
    color: #fff;
}

.account-section.is-account-hidden {
    display: none;
}

.account-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    margin-bottom: 18px;
    padding: 24px;
    scroll-margin-top: 92px;
}

.account-section-heading {
    margin-bottom: 18px;
}

.account-section-heading h2 {
    font-size: 21px;
}

.account-section-note {
    color: #64748b;
    font-size: 13px;
    text-align: right;
}

.account-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-stat-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-stat {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 126px;
    padding: 18px;
}

.account-stat-balance {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.account-stat span,
.account-stat small {
    color: #64748b;
    display: block;
    font-size: 13px;
}

.account-stat strong {
    color: #111827;
    display: block;
    font-size: 24px;
    line-height: 1.25;
    margin: 12px 0 7px;
    overflow-wrap: anywhere;
}

.account-stat-balance strong {
    color: #1d4ed8;
}

.account-stat-email {
    font-size: 16px !important;
    margin-top: 17px !important;
}

.account-tool-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-tool {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
}

.account-tool-heading {
    align-items: flex-start;
    display: flex;
    gap: 11px;
    margin-bottom: 18px;
}

.account-tool-heading h3 {
    color: #111827;
    font-size: 16px;
    margin: 1px 0 0;
}

.account-tool-heading p {
    font-size: 13px;
    line-height: 1.5;
}

.account-tool-icon {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    color: #1d4ed8;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.account-tool-icon-muted {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #64748b;
}

.account-mini-list {
    border-top: 1px solid #eef2f7;
}

.account-mini-list > div {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    padding: 10px 0;
}

.account-mini-list .is-positive { color: #5d5d5d; }
.account-mini-list .is-negative { color: #b91c1c; }

.account-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow-x: auto;
}

.account-table {
    min-width: 680px;
}

.account-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-table td,
.account-table th {
    border-color: #eef2f7;
    padding: 13px 14px;
}

.account-table code {
    color: #334155;
    font-size: 12px;
}

.account-table a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.account-order-status {
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 12px;
    padding: 5px 8px;
}

.account-empty {
    color: #94a3b8;
    font-size: 13px;
    padding: 14px 0;
    text-align: center;
}

.account-empty-large {
    padding: 34px 14px;
}

.account-pagination {
    margin-top: 16px;
}

.account-password-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
}

.account-password-fields {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-password-actions {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: 18px;
}

.account-password-actions small {
    color: #64748b;
}

@media (max-width: 991.98px) {
    .account-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-transaction-tool { grid-column: span 2; }
    .account-password-fields { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .account-page { padding-top: 22px; }
    .account-section { padding: 18px; }
    .account-hero,
    .account-section-heading { align-items: flex-start; flex-direction: column; }
    .account-hero form,
    .account-hero form .btn { width: 100%; }
    .account-section-note { text-align: left; }
    .account-stat-grid,
    .account-tool-grid { grid-template-columns: 1fr; }
    .account-transaction-tool { grid-column: auto; }
    .account-shortcuts { width: 100%; }
    .account-shortcuts .btn { flex: 1 1 0; }
    .account-table { min-width: 0; }
    .account-table thead { display: none; }
    .account-table tbody,
    .account-table tr,
    .account-table td { display: block; width: 100%; }
    .account-table tr { border-bottom: 1px solid #eef2f7; padding: 10px 14px; }
    .account-table tr:last-child { border-bottom: 0; }
    .account-table td { align-items: center; border: 0; display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; text-align: right !important; }
    .account-table td:before { color: #64748b; content: attr(data-label); flex: 0 0 auto; font-size: 12px; font-weight: 700; text-align: left; }
    .account-table td[colspan] { display: block; padding: 0; }
    .account-table td[colspan]:before { display: none; }
    .account-password-actions { align-items: stretch; flex-direction: column; }
    .account-password-actions .btn { width: 100%; }
}

/* Keep untouched required fields neutral until the form is submitted. */
.auth-form .form-control:invalid:focus,
.after-sale-form .form-control:invalid:focus {
    border-color: #d1d5db;
    box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .12);
}

/* Keep category selection compact on phones so products remain in the first viewport. */
@media (max-width: 575.98px) {
    .category {
        padding: 22px 0 18px;
    }

    .category .container,
    .category .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .category-menus .nav {
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        justify-content: flex-start !important;
        overflow-x: auto;
        padding: 0 12px 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .category-menus .nav::-webkit-scrollbar {
        display: none;
    }

    .category-menus .nav-item,
    .category-menus [role="tab"] {
        flex: 0 0 auto;
        width: auto;
    }
}

.account-nav {
    scrollbar-width: none;
}

.account-nav::-webkit-scrollbar {
    display: none;
}

.account-hero .btn-outline-secondary,
.account-shortcuts .btn-outline-secondary,
.cart-hero .btn-outline-secondary {
    border-color: #94a3b8;
    color: #475569;
}

.account-hero .btn-outline-secondary:hover,
.account-hero .btn-outline-secondary:focus-visible,
.account-shortcuts .btn-outline-secondary:hover,
.account-shortcuts .btn-outline-secondary:focus-visible,
.cart-hero .btn-outline-secondary:hover,
.cart-hero .btn-outline-secondary:focus-visible {
    background: #f1f5f9;
    border-color: #64748b;
    color: #0f172a;
}


/* yasuo UI polish 20261004: compact navigation, vertical account workspace, and motion. */
.shop-header {
    padding: 7px 0;
    min-height: 64px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 5px 22px rgba(15,23,42,.07);
    transition: padding .22s ease, box-shadow .22s ease, background .22s ease;
}
.shop-header.is-scrolled { padding: 3px 0; box-shadow: 0 10px 28px rgba(15,23,42,.12); }
.shop-header .row { align-items: center; }
.shop-navbar { min-height: 50px; }
.shop-navbar .navbar-brand { font-size: 1.02rem; letter-spacing: -.01em; }
.shop-header .logo { padding: 0; }
.shop-header .ys-mark { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:12px; font-weight:900; font-size:20px; color:#fff; background:linear-gradient(135deg,#2563eb,#7c3aed); box-shadow:0 7px 16px rgba(37,99,235,.24); }
.shop-navbar .nav-link { min-height: 32px; padding: 6px 11px; transition: transform .18s ease, background .18s ease, color .18s ease; }
.shop-navbar .nav-link:hover { transform: translateY(-1px); }
.shop-navbar .navbar-toggler { min-height: 36px; padding: 6px 8px; }
.shop-nav-search { transform: scale(.94); transform-origin:right center; }

.account-page { padding: 26px 0 64px; background: radial-gradient(circle at 10% 0%, #eef4ff 0, transparent 34%), #f8fafc; }
.account-hero { margin-bottom: 20px; }
.account-layout { display:grid; grid-template-columns: 190px minmax(0,1fr); align-items:start; gap: 18px; }
.account-nav { position: sticky; top: 84px; display:flex; flex-direction:column; align-items:stretch; gap:5px; margin:0; padding:8px; border:1px solid #e2e8f0; border-radius:16px; background:rgba(255,255,255,.84); box-shadow:0 12px 28px rgba(15,23,42,.06); backdrop-filter:blur(12px); overflow:visible; }
.account-nav a { position:relative; display:flex; align-items:center; gap:10px; min-height:43px; padding:10px 12px 10px 15px; border-radius:11px; color:#64748b; font-size:13px; transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease; }
.account-nav a::before { content:""; width:7px; height:7px; border:2px solid currentColor; border-radius:50%; opacity:.55; transition:transform .2s ease,background .2s ease; }
.account-nav a:hover { transform:translateX(2px); background:#f1f5ff; color:#2563eb; }
.account-nav a.is-active { color:#fff; background:linear-gradient(135deg,#2563eb,#4f46e5); box-shadow:0 8px 18px rgba(37,99,235,.24); }
.account-nav a.is-active::before { background:#fff; border-color:#fff; transform:scale(1.12); }
.account-section { margin-bottom:16px; border-radius:16px; box-shadow:0 12px 30px rgba(15,23,42,.06); transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
.account-section:hover { box-shadow:0 16px 36px rgba(15,23,42,.09); }
.account-section.is-account-hidden { display:none; }
.account-section.is-account-entering { animation: accountPanelIn .28s ease both; }
@keyframes accountPanelIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.account-stat, .account-tool { transition:transform .2s ease, box-shadow .2s ease; }
.account-stat:hover, .account-tool:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(15,23,42,.07); }
@media (max-width: 767.98px) {
  .shop-header { padding:5px 0; }
  .shop-nav-search { transform:none; }
  .account-layout { display:block; }
  .account-nav { position:sticky; top:63px; z-index:10; flex-direction:row; overflow-x:auto; margin-bottom:14px; padding:6px; border-radius:13px; }
  .account-nav a { flex:0 0 auto; min-height:38px; padding:8px 11px; }
  .account-nav a::before { display:none; }
  .account-section { padding:18px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-section.is-account-entering { animation:none; }
  .shop-navbar .nav-link, .account-nav a, .account-stat, .account-tool { transition:none; }
}


/* cart bulk selection 20261004 */
.cart-bulk-toolbar { display:flex; align-items:center; gap:12px; margin:0 0 10px; padding:10px 12px; border:1px solid #e2e8f0; border-radius:12px; background:rgba(248,250,252,.85); color:#64748b; font-size:13px; }
.cart-select-all, .cart-item-select { display:inline-flex; align-items:center; gap:7px; margin:0; cursor:pointer; }
.cart-select-all input, .cart-item-select input { width:17px; height:17px; accent-color:#2563eb; }
.cart-selected-count { margin-right:auto; font-weight:700; }
.cart-item { position:relative; }
.cart-item-select { position:absolute; left:12px; top:14px; z-index:2; }
.cart-item-main { padding-left:28px; }
.cart-bulk-toolbar form { margin:0; }
.cart-bulk-toolbar button:disabled { cursor:not-allowed; opacity:.5; }
@media (max-width:575.98px) { .cart-bulk-toolbar { gap:8px; padding:8px 10px; } .cart-selected-count { font-size:12px; } .cart-item-select { left:8px; } .cart-item-main { padding-left:26px; } }


/* order live polling 20261004 */
.order-live-strip { display:flex; align-items:center; gap:9px; width:min(680px,100%); margin:14px auto 0; padding:10px 14px; border:1px solid #bfdbfe; border-radius:12px; background:#eff6ff; color:#1d4ed8; font-size:13px; box-shadow:0 6px 16px rgba(37,99,235,.08); }
.order-live-strip.is-static { border-color:#e2e8f0; background:#f8fafc; color:#64748b; }
.order-live-dot { width:8px; height:8px; flex:0 0 auto; border-radius:50%; background:#2563eb; box-shadow:0 0 0 0 rgba(37,99,235,.35); animation:orderLivePulse 1.8s ease-out infinite; }
.order-live-strip.is-static .order-live-dot { background:#94a3b8; animation:none; }
@keyframes orderLivePulse { 0%,100% { box-shadow:0 0 0 0 rgba(37,99,235,.28); } 55% { box-shadow:0 0 0 7px rgba(37,99,235,0); } }
@media (prefers-reduced-motion: reduce) { .order-live-dot { animation:none; } }


/* buy confirm flow 20261004 */
.buy-confirm-modal { border:0; border-radius:18px; box-shadow:0 24px 70px rgba(15,23,42,.22); overflow:hidden; }
.buy-confirm-modal .modal-header { border-bottom:1px solid #eef2f7; padding:18px 20px; }
.buy-confirm-modal .modal-body { padding:20px; }
.buy-confirm-summary { display:grid; gap:10px; margin:0; padding:14px; border-radius:12px; background:#f8fafc; }
.buy-confirm-summary div { display:flex; justify-content:space-between; gap:16px; font-size:13px; }
.buy-confirm-summary dt { color:#64748b; } .buy-confirm-summary dd { margin:0; color:#0f172a; font-weight:700; text-align:right; }
.buy-progress { margin-top:18px; } .buy-progress-bar { height:5px; overflow:hidden; border-radius:99px; background:#e2e8f0; } .buy-progress-bar span { display:block; width:42%; height:100%; border-radius:inherit; background:linear-gradient(90deg,#2563eb,#7c3aed); animation:buyProgress 1.5s ease-in-out infinite; }
.buy-progress ol { display:flex; justify-content:space-between; gap:8px; margin:10px 0 0; padding:0; list-style:none; color:#94a3b8; font-size:12px; } .buy-progress li.is-current { color:#2563eb; font-weight:700; } .buy-progress li.is-done { color:#7f7f7f; }
@keyframes buyProgress { 0% { transform:translateX(-120%); } 100% { transform:translateX(280%); } }
@media (prefers-reduced-motion:reduce) { .buy-progress-bar span { animation:none; } }
/* yasuo UI final pass 20261004ui5: compact header, vertical account navigation, and motion polish */
:root {
    --ys-blue: #2563eb;
    --ys-indigo: #4f46e5;
    --ys-ink: #0f172a;
    --ys-muted: #64748b;
}

/* Keep the global header compact without sacrificing touch targets. */
.shop-header {
    min-height: 58px;
    padding: 4px 0;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(226,232,240,.82);
    box-shadow: 0 4px 18px rgba(15,23,42,.065);
    transition: min-height .2s ease, padding .2s ease, box-shadow .2s ease, background .2s ease;
}
.shop-header .container,
.shop-header .row,
.shop-header .header-left,
.shop-header .header-right { min-height: 0; }
.shop-navbar { min-height: 46px; }
.shop-header .ys-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; box-shadow: 0 5px 13px rgba(37,99,235,.2); }
.shop-navbar .navbar-brand { font-size: .98rem; font-weight: 800; }
.shop-navbar .nav-link { min-height: 30px; padding: 5px 10px; border-radius: 8px; font-size: 13px; }
.shop-navbar .nav-link:hover { background: #eff6ff; }
.shop-navbar .nav-link.active { background: #eef2ff; color: var(--ys-indigo); }
.shop-nav-search { max-width: 230px; transform: none; }
.shop-nav-search .form-control { min-height: 32px; }
.shop-nav-search .btn { min-height: 32px; padding: 4px 9px; }
.shop-header.is-scrolled { min-height: 49px; padding: 1px 0; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(15,23,42,.12); }
.shop-header.is-scrolled .shop-navbar { min-height: 40px; }
.shop-header.is-scrolled .ys-mark { transform: scale(.9); }
.shop-header .ys-mark { transition: transform .2s ease; }

/* Desktop account workspace: clear left rail instead of a top tab strip. */
.account-page { padding: 28px 0 72px; background: radial-gradient(circle at 8% 0%, #eaf2ff 0, transparent 34%), #f8fafc; }
.account-layout { display:grid; grid-template-columns: 206px minmax(0,1fr); gap: 22px; align-items:start; }
.account-nav { position: sticky; top: 68px; z-index: 10; display:flex; flex-direction:column; gap: 4px; margin: 0; padding: 8px; overflow: visible; border: 1px solid #dbe5f2; border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 16px 34px rgba(15,23,42,.07); backdrop-filter: blur(14px); }
.account-nav::before { content: "会员工作台"; display:block; padding: 5px 10px 9px; color:#94a3b8; font-size:10px; font-weight:800; letter-spacing:.12em; }
.account-nav a { position:relative; display:flex; align-items:center; gap:10px; min-height:44px; padding:10px 12px; border-radius:11px; color:#64748b; font-size:13px; font-weight:700; transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.account-nav a::before { content:""; width:8px; height:8px; flex:0 0 8px; border:2px solid currentColor; border-radius:50%; opacity:.55; transition: transform .2s ease, background .2s ease; }
.account-nav a::after { content:""; position:absolute; right:10px; width:5px; height:5px; border-right:1.5px solid currentColor; border-top:1.5px solid currentColor; transform:rotate(45deg); opacity:0; transition: opacity .2s ease, transform .2s ease; }
.account-nav a:hover, .account-nav a:focus-visible { background:#eef4ff; color:var(--ys-blue); transform:translateX(2px); outline:0; }
.account-nav a.is-active { color:#fff; background:linear-gradient(135deg,var(--ys-blue),var(--ys-indigo)); box-shadow:0 10px 22px rgba(37,99,235,.25); }
.account-nav a.is-active::before { background:#fff; border-color:#fff; transform:scale(1.1); }
.account-nav a.is-active::after { opacity:.85; transform:translateX(1px) rotate(45deg); }
.account-section { border-radius:18px; border-color:#e2e8f0; box-shadow:0 12px 30px rgba(15,23,42,.055); transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease; }
.account-section:hover { box-shadow:0 18px 40px rgba(15,23,42,.085); }
.account-section.is-account-entering { animation: ysAccountPanelIn .3s cubic-bezier(.2,.75,.25,1) both; }
@keyframes ysAccountPanelIn { from { opacity:0; transform:translateY(10px) scale(.99); } to { opacity:1; transform:none; } }
.account-stat, .account-tool { border-radius:14px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.account-stat:hover, .account-tool:hover { transform:translateY(-3px); border-color:#c7d7f5; box-shadow:0 12px 26px rgba(37,99,235,.09); }
.account-stat-balance { background:linear-gradient(135deg,#eff6ff,#f5f3ff); }
.account-section-heading h2 { letter-spacing:-.02em; }

/* Soft reveal for the active panel's inner cards. */
.account-section.is-account-entering .account-stat,
.account-section.is-account-entering .account-tool,
.account-section.is-account-entering .account-table-wrap,
.account-section.is-account-entering .account-password-form { animation: ysCardIn .32s ease both; }
.account-section.is-account-entering > *:nth-child(2) { animation-delay:.04s; }
@keyframes ysCardIn { from { opacity:.2; transform:translateY(5px); } to { opacity:1; transform:none; } }

@media (max-width: 991.98px) {
    .account-layout { grid-template-columns: 176px minmax(0,1fr); gap:14px; }
    .account-nav a { padding-left:10px; }
}
@media (max-width: 767.98px) {
    .shop-header { min-height: 54px; padding:3px 0; }
    .shop-header.is-scrolled { min-height:48px; }
    .shop-navbar { min-height:42px; }
    .shop-header .ys-mark { width:32px; height:32px; }
    .shop-nav-search { max-width:none; }
    .account-page { padding:22px 0 58px; }
    .account-layout { display:block; }
    .account-nav { position:sticky; top:52px; flex-direction:row; align-items:center; gap:4px; margin:0 0 14px; padding:6px; overflow-x:auto; border-radius:14px; }
    .account-nav::before { display:none; }
    .account-nav a { flex:0 0 auto; min-height:38px; padding:8px 12px; }
    .account-nav a::before, .account-nav a::after { display:none; }
    .account-section { border-radius:15px; }
}
@media (prefers-reduced-motion: reduce) {
    .shop-header, .shop-header .ys-mark, .shop-navbar .nav-link, .account-nav a, .account-section, .account-stat, .account-tool { transition:none; }
    .account-section.is-account-entering, .account-section.is-account-entering .account-stat, .account-section.is-account-entering .account-tool, .account-section.is-account-entering .account-table-wrap, .account-section.is-account-entering .account-password-form { animation:none; }
}
/* yasuo member chip 20261004ui6 */
.nav-member-item { margin-left: 2px; }
.nav-member-chip { align-items: center; display: inline-flex !important; gap: 8px; padding: 4px 8px 4px 5px !important; }
.nav-member-avatar { align-items: center; background: linear-gradient(135deg, #2563eb, #7c3aed); border-radius: 50%; box-shadow: 0 4px 10px rgba(37,99,235,.22); color: #fff; display: inline-flex; flex: 0 0 28px; font-size: 12px; font-weight: 800; height: 28px; justify-content: center; transition: transform .2s ease, box-shadow .2s ease; width: 28px; }
.nav-member-copy { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; text-align: left; }
.nav-member-copy strong { color: #0f172a; font-size: 12px; font-weight: 800; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-member-copy small { color: #94a3b8; font-size: 10px; margin-top: 3px; }
.nav-member-chip:hover .nav-member-avatar, .nav-member-chip:focus-visible .nav-member-avatar { box-shadow: 0 6px 14px rgba(37,99,235,.3); transform: scale(1.08); }
.nav-member-chip.active .nav-member-copy strong { color: #4f46e5; }
@media (max-width: 991.98px) {
    .nav-member-item { margin-left: 0; }
    .nav-member-chip { padding-left: 10px !important; }
}
@media (max-width: 575.98px) {
    .nav-member-copy { display: none; }
    .nav-member-chip { padding: 4px !important; }
}
@media (prefers-reduced-motion: reduce) { .nav-member-avatar { transition: none; } }

/* yasuo UI final pass 20261004ui7: tighter navigation rhythm and refined member rail */
.shop-header { min-height: 52px; padding: 2px 0; }
.shop-header .container, .shop-header .row, .shop-header .col-md-3, .shop-header .col-md-9,
.shop-header .header-left, .shop-header .header-right { padding-top: 0; padding-bottom: 0; }
.shop-header .row { align-items: center; }
.shop-navbar { min-height: 42px; }
.shop-navbar .container-fluid { padding-top: 0; padding-bottom: 0; }
.shop-navbar .navbar-brand { line-height: 1; }
.shop-navbar .nav-link { min-height: 28px; padding-top: 4px; padding-bottom: 4px; line-height: 1.35; }
.shop-header .ys-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }
.shop-header.is-scrolled { min-height: 46px; padding-top: 0; padding-bottom: 0; }
.shop-header.is-scrolled .shop-navbar { min-height: 38px; }
.account-nav { gap: 3px; }
.account-nav a { min-height: 42px; }
.account-nav a:focus-visible { box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
@media (max-width: 767.98px) {
  .shop-header { min-height: 50px; padding: 2px 0; }
  .shop-navbar { min-height: 40px; }
  .shop-header.is-scrolled { min-height: 46px; }
  .account-nav { top: 50px; }
}

/* 20261004ui8: eliminate Bootstrap padding that inflated compact header */
.shop-navbar { padding-top: 0; padding-bottom: 0; }
.shop-nav-search { padding-top: 2px; padding-bottom: 2px; }
.order-delivery-content { min-height: 140px; max-height: 640px; line-height: 1.65; resize: vertical; overflow: auto; }
.account-section[hidden] { display: none !important; }
