#mobile-shop-guest-products-modal,
#mobile-shop-guest-products-modal * {
    box-sizing: border-box;
}

#mobile-shop-guest-products-modal {
    position: fixed;
    top: var(--mobile-app-header-height, calc(env(safe-area-inset-top, 0px) + 116px));
    right: 0;
    bottom: var(--mobile-shop-bottom-nav-offset, calc(64px + env(safe-area-inset-bottom, 0px)));
    left: 0;
    z-index: 9000;
    background: var(--mobile-shop-bg);
    color: var(--mobile-shop-text);
    overflow-y: auto;
    padding: 16px 20px calc(28px + env(safe-area-inset-bottom));
}

.mobile-shop-guest-products-shell {
    display: grid;
    gap: 16px;
}

.mobile-shop-guest-products-tools {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    gap: 11px;
    padding: 2px 0 10px;
    background: var(--mobile-shop-bg);
}

.mobile-shop-guest-products-search {
    min-height: 48px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--mobile-shop-border);
    border-radius: 16px;
    background: var(--mobile-shop-soft);
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    padding: 0 14px;
}

.mobile-shop-guest-products-search i {
    font-size: 14px;
}

.mobile-shop-guest-products-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font: inherit;
    font-size: 15px;
    font-weight: 750;
}

.mobile-shop-guest-products-search input::placeholder {
    color: var(--mobile-shop-subtle);
    -webkit-text-fill-color: var(--mobile-shop-subtle);
}

.mobile-shop-guest-products-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 1px 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mobile-shop-guest-products-categories::-webkit-scrollbar {
    display: none;
}

.mobile-shop-guest-products-chip {
    flex: 0 0 auto;
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid var(--mobile-shop-border);
    background: var(--mobile-shop-button-bg);
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    padding: 0 13px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.mobile-shop-guest-products-chip.is-active {
    border-color: color-mix(in srgb, var(--accent-color, var(--primary-color, #e6533d)) 52%, var(--mobile-shop-border));
    background: color-mix(in srgb, var(--accent-color, var(--primary-color, #e6533d)) 14%, var(--mobile-shop-bg));
    color: var(--accent-color, var(--primary-color, #c93f2e));
    -webkit-text-fill-color: var(--accent-color, var(--primary-color, #c93f2e));
}

[data-theme="dark"] .mobile-shop-guest-products-chip.is-active,
[data-theme="dark-accent"] .mobile-shop-guest-products-chip.is-active {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.mobile-shop-guest-products-list {
    display: grid;
    gap: 12px;
}

.mobile-shop-guest-product-card {
    width: 100%;
    min-height: 96px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    text-align: left;
    border: 1px solid var(--mobile-shop-border);
    border-radius: 24px;
    background: var(--mobile-shop-card-bg);
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    padding: 10px;
}

.mobile-shop-guest-product-image {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: var(--mobile-shop-card-soft);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.mobile-shop-guest-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-shop-guest-product-image .mobile-shop-product-design-overlay {
    position: absolute !important;
    left: var(--shop-design-x, 50%) !important;
    top: var(--shop-design-y, 50%) !important;
    z-index: 2 !important;
    width: var(--shop-design-size, 22%) !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

.mobile-shop-guest-product-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-shop-guest-product-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 15px;
    line-height: 1.12;
    font-weight: 900;
}

.mobile-shop-guest-product-card em {
    display: block;
    margin-top: 6px;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-style: normal;
    font-size: 13px;
    font-weight: 850;
}

.mobile-shop-guest-product-card .mobile-shop-guest-product-ticket {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin-top: 6px;
    overflow: hidden;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips div {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips strong {
    display: inline;
    flex: 0 0 auto;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-size: 9px;
    line-height: 1;
    text-transform: uppercase;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips span {
    flex: 0 0 auto;
    margin: 0;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid var(--mobile-shop-border);
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.mobile-shop-guest-products-empty {
    width: min(100%, 340px);
    margin: 54px auto 0;
    padding: 12px 18px;
    text-align: center;
    color: var(--mobile-shop-muted);
}

.mobile-shop-guest-products-empty-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 22px;
    border: 1px solid var(--mobile-shop-border);
    background: color-mix(in srgb, var(--mobile-shop-card-bg) 82%, #ffffff 18%);
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    display: grid;
    place-items: center;
}

.mobile-shop-guest-products-empty-icon i {
    font-size: 28px;
    opacity: 0.82;
}

.mobile-shop-guest-products-empty strong,
.mobile-shop-guest-products-empty span {
    display: block;
}

.mobile-shop-guest-products-empty strong {
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 24px;
    line-height: 1.08;
    margin-bottom: 10px;
    font-weight: 950;
}

.mobile-shop-guest-products-empty span {
    max-width: 280px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 650;
}
