body.shop-public-layout #shopBrowseRoot {
    --shop-surface: rgba(255, 255, 255, 0.98);
    --shop-surface-soft: rgba(250, 247, 241, 0.96);
    --shop-surface-blue: #f5f9ff;
    --shop-surface-amber: #fff8ef;
    --shop-border: rgba(15, 23, 42, 0.1);
    --shop-border-strong: rgba(37, 99, 235, 0.16);
    --shop-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    --shop-shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.06);
}

body.shop-public-layout.shop-lean #shopBrowseRoot .shop-hero,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-toolbar,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-category-shell,
body.shop-public-layout.shop-lean #shopBrowseRoot .product-card,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-empty-state,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-pagination-shell,
body.shop-public-layout.shop-lean #inlinePaymentModal .payment-modal-container,
body.shop-public-layout.shop-lean #shopNoticeModal .payment-modal-container {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.shop-public-layout.shop-lean #shopBrowseRoot .shop-hero-orb,
body.shop-public-layout.shop-lean #shopBrowseRoot [data-shop-glow]::after,
body.shop-public-layout.shop-lean #inlinePaymentModal [data-shop-glow]::after,
body.shop-public-layout.shop-lean #shopNoticeModal [data-shop-glow]::after {
    display: none;
}

body.shop-public-layout.shop-lean #shopBrowseRoot .shop-hero-signal-dot,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-hero-signal-bar,
body.shop-public-layout.shop-lean #shopBrowseRoot .product-card,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-page-btn,
body.shop-public-layout.shop-lean #shopBrowseRoot .shop-conversion-pill {
    animation: none !important;
    transition: none !important;
}

body.shop-public-layout #shopBrowseRoot [data-shop-glow]::after,
body.shop-public-layout #inlinePaymentModal [data-shop-glow]::after,
body.shop-public-layout #shopNoticeModal [data-shop-glow]::after {
    display: none !important;
}

body.shop-public-layout #shopBrowseRoot .shop-hero,
body.shop-public-layout #shopBrowseRoot .shop-toolbar,
body.shop-public-layout #shopBrowseRoot .shop-category-shell,
body.shop-public-layout #shopBrowseRoot .product-card,
body.shop-public-layout #shopBrowseRoot .shop-empty-state,
body.shop-public-layout #inlinePaymentModal .payment-modal-container,
body.shop-public-layout #shopNoticeModal .payment-modal-container {
    box-shadow: var(--shop-shadow);
}

body.shop-public-layout #shopBrowseRoot .shop-hero {
    position: relative;
    border: 1px solid var(--shop-border);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        radial-gradient(circle at bottom left, rgba(217, 119, 6, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 239, 0.96));
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

body.shop-public-layout #shopBrowseRoot .shop-hero::after {
    display: none;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-orb {
    opacity: 0.22;
    filter: blur(38px);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-grid {
    gap: 1rem;
    align-items: stretch;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-main,
body.shop-public-layout #shopBrowseRoot .shop-hero-signal,
body.shop-public-layout #shopBrowseRoot .shop-panel-stat,
body.shop-public-layout #shopBrowseRoot .shop-hero-highlight {
    border: 1px solid var(--shop-border);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shop-shadow-soft);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-main {
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 26px;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-side {
    display: grid;
    gap: 0.85rem;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-badge {
    min-height: 34px;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: rgba(239, 246, 255, 0.88);
    color: #1e3a8a;
    font-size: 0.75rem;
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-badge i {
    color: #2563eb;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-title {
    max-width: 11ch;
    margin: 0;
    color: var(--text-color);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-shadow: none;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-title-line-accent {
    color: #b45309;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-sub {
    max-width: 42rem;
    margin-top: 0.75rem;
    color: var(--text-soft);
    font-size: 1.04rem;
    font-weight: 500;
    line-height: 1.78;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-footer {
    margin-top: 1rem;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-btn {
    min-height: 50px;
    padding: 0.85rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--shop-border);
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-btn::before,
body.shop-public-layout #shopBrowseRoot .shop-hero-btn::after {
    display: none;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-btn-secondary {
    background: #ffffff;
    color: var(--text-color);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-trust {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-trust span {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal,
body.shop-public-layout #shopBrowseRoot .shop-hero-highlight {
    padding: 1rem;
    border-radius: 24px;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal-kicker,
body.shop-public-layout #shopBrowseRoot .shop-hero-highlight-label,
body.shop-public-layout #shopBrowseRoot .shop-category-kicker,
body.shop-public-layout #shopBrowseRoot .shop-toolbar-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal-live {
    color: #166534;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal-dot {
    background: #16a34a;
    box-shadow: 0 0 0 0.32rem rgba(22, 163, 74, 0.12);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal-bar {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal-foot strong,
body.shop-public-layout #shopBrowseRoot .shop-panel-stat strong,
body.shop-public-layout #shopBrowseRoot .shop-hero-highlight strong,
body.shop-public-layout #shopBrowseRoot .shop-hero-highlight-price {
    color: var(--text-color);
}

body.shop-public-layout #shopBrowseRoot .shop-hero-signal-foot span,
body.shop-public-layout #shopBrowseRoot .shop-panel-stat span,
body.shop-public-layout #shopBrowseRoot .shop-hero-highlight-meta,
body.shop-public-layout #shopBrowseRoot .shop-category-meta,
body.shop-public-layout #shopBrowseRoot .shop-toolbar-note span {
    color: var(--text-muted);
}

body.shop-public-layout #shopBrowseRoot .shop-panel-stat {
    min-height: 104px;
    border-radius: 22px;
    padding: 0.95rem;
}

body.shop-public-layout #shopBrowseRoot .shop-toolbar {
    border: 1px solid var(--shop-border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 239, 0.96));
    padding: 1.15rem;
}

body.shop-public-layout #shopBrowseRoot .shop-toolbar-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

body.shop-public-layout #shopBrowseRoot .shop-toolbar-title,
body.shop-public-layout #shopBrowseRoot .shop-category-head,
body.shop-public-layout #shopBrowseRoot .shop-category-head .shop-category-meta {
    color: var(--text-color);
}

body.shop-public-layout #shopBrowseRoot .shop-toolbar-title {
    margin: 0.5rem 0 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

body.shop-public-layout #shopBrowseRoot .shop-toolbar-note strong {
    color: #1e3a8a;
}

body.shop-public-layout #shopBrowseRoot .shop-toolbar-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)) auto;
    gap: 0.8rem;
    align-items: end;
}

body.shop-public-layout #shopBrowseRoot .shop-field label {
    color: var(--text-muted);
    font-size: 0.76rem;
}

body.shop-public-layout #shopBrowseRoot .shop-search-box,
body.shop-public-layout #shopBrowseRoot .shop-input,
body.shop-public-layout #shopBrowseRoot .shop-select {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-color);
    min-height: 48px;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.shop-public-layout #shopBrowseRoot .shop-search-box i {
    color: #2563eb;
}

body.shop-public-layout #shopBrowseRoot .shop-input::placeholder {
    color: var(--text-muted);
}

body.shop-public-layout #shopBrowseRoot .shop-input:focus,
body.shop-public-layout #shopBrowseRoot .shop-select:focus,
body.shop-public-layout #shopBrowseRoot .shop-search-box:focus-within {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

body.shop-public-layout #shopBrowseRoot .shop-submit-btn,
body.shop-public-layout #shopBrowseRoot .shop-reset-btn {
    min-height: 48px;
    border-radius: 14px;
    padding: 0 1rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

body.shop-public-layout #shopBrowseRoot .shop-submit-btn {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

body.shop-public-layout #shopBrowseRoot .shop-reset-btn {
    border-color: rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: var(--text-color);
}

body.shop-public-layout #shopBrowseRoot .shop-filter-meta,
body.shop-public-layout #shopBrowseRoot .shop-filter-meta strong {
    color: var(--text-color);
}

body.shop-public-layout #shopBrowseRoot .shop-filter-meta {
    font-size: 0.88rem;
}

body.shop-public-layout #shopBrowseRoot .shop-filter-chips {
    gap: 0.5rem;
}

body.shop-public-layout #shopBrowseRoot .shop-filter-chip {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-soft);
    font-size: 0.79rem;
}

body.shop-public-layout #shopBrowseRoot .shop-filter-chip strong {
    color: #1e3a8a;
}

body.shop-public-layout #shopBrowseRoot .shop-conversion-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 1.1rem;
}

body.shop-public-layout #shopBrowseRoot .shop-conversion-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

body.shop-public-layout #shopBrowseRoot .shop-conversion-pill-primary {
    background: #ffffff;
}

body.shop-public-layout #shopBrowseRoot .shop-conversion-pill-accent strong {
    color: #b45309;
}

body.shop-public-layout #shopBrowseRoot .shop-category-shell {
    border: 1px solid var(--shop-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    padding: 1rem;
}

body.shop-public-layout #shopBrowseRoot .shop-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

body.shop-public-layout #shopBrowseRoot .cat-nav {
    justify-content: flex-start;
    gap: 0.65rem;
    margin-bottom: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

body.shop-public-layout #shopBrowseRoot .cat-item {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: var(--text-color);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

body.shop-public-layout #shopBrowseRoot .cat-item::before {
    display: none;
}

body.shop-public-layout #shopBrowseRoot .cat-item.active {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

body.shop-public-layout #shopBrowseRoot .shop-empty-state {
    border: 1px dashed rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    border-radius: 26px;
}

body.shop-public-layout #shopBrowseRoot .shop-empty-state p {
    color: var(--text-muted);
}

body.shop-public-layout #shopBrowseRoot .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

body.shop-public-layout #shopBrowseRoot .product-cell {
    display: flex;
}

body.shop-public-layout #shopBrowseRoot .product-card {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 241, 0.97));
    color: var(--text-color);
    padding: 1.15rem;
}

body.shop-public-layout #shopBrowseRoot .product-card::before {
    display: none;
}

body.shop-public-layout #shopBrowseRoot .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
}

body.shop-public-layout #shopBrowseRoot .product-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

body.shop-public-layout #shopBrowseRoot .product-card-index {
    color: var(--text-muted);
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .product-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(240, 253, 244, 0.96);
    border: 1px solid rgba(22, 163, 74, 0.12);
    color: #166534;
    font-size: 0.76rem;
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .product-card-status.is-out {
    background: rgba(254, 242, 242, 0.96);
    border-color: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

body.shop-public-layout #shopBrowseRoot .product-badge-stack {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

body.shop-public-layout #shopBrowseRoot .discount-badge {
    border: 1px solid rgba(217, 119, 6, 0.14);
    background: rgba(255, 247, 237, 0.96);
    color: #9a3412;
    border-radius: 16px;
    box-shadow: none;
    margin-bottom: 0;
}

body.shop-public-layout #shopBrowseRoot .discount-badge-featured {
    border-color: rgba(37, 99, 235, 0.12);
    background: rgba(239, 246, 255, 0.96);
    color: #1d4ed8;
}

body.shop-public-layout #shopBrowseRoot .discount-badge-sale {
    border-color: rgba(217, 119, 6, 0.16);
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.98));
    color: #9a3412;
}

body.shop-public-layout #shopBrowseRoot .discount-badge-limit {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.96);
    color: var(--text-soft);
}

body.shop-public-layout #shopBrowseRoot .product-name {
    color: var(--text-color);
    font-size: 1.22rem;
    line-height: 1.4;
    font-weight: 800;
}

body.shop-public-layout #shopBrowseRoot .product-desc {
    margin-top: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(248, 250, 252, 0.88);
    color: var(--text-soft);
    border-radius: 16px;
    padding: 0.82rem 0.9rem;
    line-height: 1.68;
    font-size: 0.95rem;
}

body.shop-public-layout #shopBrowseRoot .product-desc i,
body.shop-public-layout #shopBrowseRoot .product-proof-chip i {
    color: #2563eb;
}

body.shop-public-layout #shopBrowseRoot .product-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

body.shop-public-layout #shopBrowseRoot .product-proof-chip {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-muted);
    font-size: 0.76rem;
    padding: 0.38rem 0.7rem;
}

body.shop-public-layout #shopBrowseRoot .product-price-panel {
    margin-top: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    border-radius: 22px;
    padding: 1rem;
}

body.shop-public-layout #shopBrowseRoot .product-card-body {
    margin-top: auto;
    width: 100%;
}

body.shop-public-layout #shopBrowseRoot .product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.7rem;
}

body.shop-public-layout #shopBrowseRoot .product-price-main {
    min-width: 0;
    margin-bottom: 0;
    font-size: 1.05rem;
    white-space: normal;
    flex: 1 1 220px;
    overflow: visible;
}

body.shop-public-layout #shopBrowseRoot .product-price-stack {
    display: grid;
    gap: 0.18rem;
}

body.shop-public-layout #shopBrowseRoot .product-old-price,
body.shop-public-layout #shopBrowseRoot .product-old-price-usd {
    color: var(--text-muted);
    opacity: 0.72;
    font-size: 0.82rem;
}

body.shop-public-layout #shopBrowseRoot .product-new-price {
    color: var(--text-color);
    display: inline-flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.32rem;
}

body.shop-public-layout #shopBrowseRoot .product-new-price .price-value {
    color: #1d4ed8;
    font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.72rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

body.shop-public-layout #shopBrowseRoot .product-unit,
body.shop-public-layout #shopBrowseRoot .product-price-usd {
    color: var(--text-muted);
}

body.shop-public-layout #shopBrowseRoot .product-unit-inline {
    font-size: 0.7rem;
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .product-price-usd {
    font-size: 0.84rem;
}

body.shop-public-layout #shopBrowseRoot .stock-badge {
    border: 1px solid rgba(22, 163, 74, 0.14);
    background: rgba(240, 253, 244, 0.96);
    color: #166534;
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .product-stock-badge {
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.42rem 0.6rem;
    gap: 0.42rem;
    align-self: flex-start;
}

body.shop-public-layout #shopBrowseRoot .stock-badge.out-of-stock {
    border-color: rgba(220, 38, 38, 0.12);
    background: rgba(254, 242, 242, 0.96);
    color: #991b1b;
}

body.shop-public-layout #shopBrowseRoot .stock-badge .dot {
    background: currentColor;
}

body.shop-public-layout #shopBrowseRoot .product-stock-dot {
    margin-right: 0;
    width: 6px;
    height: 6px;
}

body.shop-public-layout #shopBrowseRoot .product-stock-caption,
body.shop-public-layout #shopBrowseRoot .buy-helper-note {
    color: var(--text-muted);
    line-height: 1.55;
}

body.shop-public-layout #shopBrowseRoot .product-stock-caption {
    font-size: 0.92rem;
}

body.shop-public-layout #shopBrowseRoot .quantity-wrapper {
    margin-top: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 0.8rem 0.9rem;
}

body.shop-public-layout #shopBrowseRoot .qty-label {
    color: var(--text-color);
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: space-between;
}

body.shop-public-layout #shopBrowseRoot .qty-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 800;
}

body.shop-public-layout #shopBrowseRoot .qty-input {
    border: 0;
    background: transparent;
    color: var(--text-color);
    font-weight: 700;
}

body.shop-public-layout #shopBrowseRoot .buy-helper {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.45rem;
}

body.shop-public-layout #shopBrowseRoot .buy-helper-total {
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.98rem;
}

body.shop-public-layout #shopBrowseRoot .btn-buy {
    width: 100%;
    min-height: 50px;
    margin-top: 0.95rem;
    border-radius: 16px;
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

body.shop-public-layout #shopBrowseRoot .btn-buy:hover {
    color: #ffffff;
}

body.shop-public-layout #shopBrowseRoot .btn-buy-disabled {
    background: rgba(148, 163, 184, 0.38) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #475569 !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

body.shop-public-layout #shopBrowseRoot .shop-pagination-meta,
body.shop-public-layout #shopBrowseRoot .shop-page-btn {
    color: var(--text-color);
}

body.shop-public-layout #shopBrowseRoot .shop-page-btn {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

body.shop-public-layout #shopBrowseRoot .shop-page-btn.active {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

body.shop-public-layout #inlinePaymentModal .payment-modal-container,
body.shop-public-layout #shopNoticeModal .payment-modal-container {
    max-width: 920px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 241, 0.97));
    border-radius: 30px;
    color: var(--text-color);
}

body.shop-public-layout #inlinePaymentModal .payment-modal-grid {
    gap: 1rem;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-header-centered {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-title,
body.shop-public-layout #shopNoticeModal .payment-modal-title {
    margin: 0;
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.35;
}

body.shop-public-layout #shopNoticeModal .payment-modal-title-notice {
    font-size: 1.15rem;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-order,
body.shop-public-layout #inlinePaymentModal .payment-modal-label {
    color: var(--text-muted);
}

body.shop-public-layout #inlinePaymentModal .payment-modal-order-inline {
    margin: 0;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-qr {
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    border-radius: 24px;
    box-shadow: none;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-qr img {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.shop-public-layout #inlinePaymentModal .payment-modal-meta {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    padding: 1rem;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-product,
body.shop-public-layout #inlinePaymentModal .payment-modal-amount {
    color: var(--text-color);
}

body.shop-public-layout #inlinePaymentModal .payment-modal-amount {
    color: #1d4ed8;
    font-size: 1.85rem;
    font-weight: 800;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-content {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: #0f172a;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-status {
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: rgba(239, 246, 255, 0.96);
    color: #1e3a8a;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-countdown {
    color: #b45309;
    font-weight: 700;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-warning-note {
    margin-top: 0.35rem;
    color: #9a3412;
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.6;
}

body.shop-public-layout #inlinePaymentModal .payment-modal-actions .btn {
    min-height: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

body.shop-public-layout #shopNoticeModal .payment-modal-container-compact {
    max-width: 560px;
}

body.shop-public-layout #shopNoticeModal .payment-modal-header-compact {
    margin-bottom: 0.5rem;
}

body.shop-public-layout #shopNoticeModal .shop-notice-box {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 0.95rem 1rem;
    color: var(--text-color);
    line-height: 1.65;
}

body.shop-public-layout #shopNoticeModal .shop-notice-message {
    font-size: 1rem;
    font-weight: 600;
    word-break: break-word;
}

body.shop-public-layout #shopNoticeModal .shop-notice-actions {
    margin-top: 0.8rem;
    display: flex;
    justify-content: flex-end;
}

body.shop-public-layout #inlinePaymentModal #inlinePaymentCopyBtn,
body.shop-public-layout #shopNoticeModal .btn-inline-confirm {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

body.shop-public-layout #inlinePaymentModal #inlinePaymentCancelBtn {
    border: 1px solid #c81e1e !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(127, 29, 29, 0.18);
    box-shadow:
        0 14px 28px rgba(220, 38, 38, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.shop-public-layout #inlinePaymentModal #inlinePaymentCancelBtn i {
    color: #ffffff !important;
}

body.shop-public-layout #inlinePaymentModal #inlinePaymentCancelBtn:hover {
    border-color: #991b1b !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    box-shadow:
        0 18px 34px rgba(185, 28, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.shop-public-layout #inlinePaymentModal #inlinePaymentCancelBtn:focus-visible {
    outline: 2px solid rgba(220, 38, 38, 0.28);
    outline-offset: 2px;
}

body.shop-public-layout #shopNoticeModal #shopNoticeMessage {
    color: var(--text-color);
}

@media (max-width: 1080px) {
    body.shop-public-layout #shopBrowseRoot .shop-toolbar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.shop-public-layout #shopBrowseRoot .shop-toolbar-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    body.shop-public-layout #shopBrowseRoot .shop-hero-grid,
    body.shop-public-layout #inlinePaymentModal .payment-modal-grid {
        grid-template-columns: 1fr;
    }

    body.shop-public-layout #shopBrowseRoot .shop-toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.shop-public-layout #shopBrowseRoot .shop-hero,
    body.shop-public-layout #shopBrowseRoot .shop-toolbar,
    body.shop-public-layout #shopBrowseRoot .shop-category-shell,
    body.shop-public-layout #shopBrowseRoot .product-card,
    body.shop-public-layout #shopBrowseRoot .shop-empty-state,
    body.shop-public-layout #inlinePaymentModal .payment-modal-container,
    body.shop-public-layout #shopNoticeModal .payment-modal-container {
        border-radius: 22px;
    }

    body.shop-public-layout #shopBrowseRoot .shop-hero-title {
        max-width: none;
        font-size: 1.9rem;
    }

    body.shop-public-layout #shopBrowseRoot .shop-toolbar-grid {
        grid-template-columns: 1fr;
    }

    body.shop-public-layout #shopBrowseRoot .product-grid {
        grid-template-columns: 1fr;
    }

    body.shop-public-layout #shopBrowseRoot .product-price-row {
        gap: 0.55rem;
    }

    body.shop-public-layout #shopBrowseRoot .product-price-main {
        flex-basis: 100%;
    }

    body.shop-public-layout #shopBrowseRoot .product-stock-badge {
        width: fit-content;
    }

    body.shop-public-layout #shopBrowseRoot .shop-conversion-strip {
        gap: 0.5rem;
    }
}

@media (max-width: 420px) {
    body.shop-public-layout #shopBrowseRoot .shop-hero-title-line {
        white-space: normal;
    }
}

@media (pointer: coarse) {
    body.shop-public-layout #shopBrowseRoot .qty-btn {
        min-width: 44px;
        width: 44px;
        min-height: 44px;
        height: 44px;
    }
}
