/* TrustBhai Products List — mobile-first */
body:has(.products-page) {
    background: #f0f2f5 !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.products-page {
    --prod-bg: #f0f2f5;
    --prod-card: #ffffff;
    --prod-text: #1c1e21;
    --prod-muted: #65676b;
    --prod-primary: #5b6ee8;
    --prod-accent: #7c3aed;
    --prod-sale: #ef4444;
    --prod-radius: 16px;
    --prod-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
    max-width: 720px;
    margin: 0 auto;
    padding: 0 12px calc(72px + env(safe-area-inset-bottom, 0));
}

[data-theme="dark"] .products-page,
.dark-mode .products-page {
    --prod-bg: #18191a;
    --prod-card: #242526;
    --prod-text: #e4e6eb;
    --prod-muted: #b0b3b8;
    --prod-shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.2);
}

.products-page .prod-hero {
    background: linear-gradient(135deg, #5b6ee8 0%, #7c3aed 55%, #db2777 100%);
    border-radius: 20px;
    padding: 22px 18px 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 14px;
    box-shadow: var(--prod-shadow);
}
.products-page .prod-hero__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.products-page .prod-hero__title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
}
.products-page .prod-hero__sub {
    margin: 0;
    font-size: .85rem;
    opacity: .92;
}

/* Shop-specific products header */
.products-page .prod-shop-hero {
    position: relative;
    margin-bottom: 14px;
}
.products-page .prod-shop-hero__back {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255,255,255,.95);
    color: var(--prod-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.products-page .prod-shop-hero__card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: linear-gradient(135deg, #5b6ee8 0%, #7c3aed 55%, #db2777 100%);
    border-radius: 20px;
    padding: 18px 16px 18px 56px;
    color: #fff;
    box-shadow: var(--prod-shadow);
    overflow: hidden;
    position: relative;
}
.products-page .prod-shop-hero__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 55%);
    pointer-events: none;
}
.products-page .prod-shop-hero__logo {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    position: relative;
    z-index: 1;
}
.products-page .prod-shop-hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}
.products-page .prod-shop-hero__info {
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}
.products-page .prod-shop-hero__label {
    margin: 0 0 4px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .9;
    display: flex;
    align-items: center;
    gap: 5px;
}
.products-page .prod-shop-hero__title {
    margin: 0 0 4px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.products-page .prod-shop-hero__type {
    margin: 0 0 8px;
    font-size: .76rem;
    opacity: .88;
}
.products-page .prod-shop-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.products-page .prod-shop-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: .72rem;
    font-weight: 700;
}
.products-page .prod-shop-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .74rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.18);
}
.products-page .prod-shop-hero__link i {
    font-size: .62rem;
}

.products-page .prod-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--prod-card);
    border-radius: 14px;
    padding: 4px 14px;
    box-shadow: var(--prod-shadow);
    border: 1px solid rgba(0,0,0,.06);
    margin-bottom: 12px;
}
.products-page .prod-search:focus-within {
    border-color: var(--prod-primary);
    box-shadow: 0 0 0 3px rgba(91,110,232,.12);
}
.products-page .prod-search i { color: var(--prod-muted); }
.products-page .prod-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 0;
    font-size: .9rem;
    color: var(--prod-text);
    outline: none;
    min-width: 0;
}

.products-page .prod-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 12px;
    margin-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.products-page .prod-categories::-webkit-scrollbar { display: none; }
.products-page .prod-cat-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--prod-card);
    border: 1px solid rgba(0,0,0,.08);
    color: var(--prod-text);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: var(--prod-shadow);
    transition: transform .15s, background .15s;
}
.products-page .prod-cat-chip.is-active,
.products-page .prod-cat-chip:hover {
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff;
    border-color: transparent;
}

.products-page .prod-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.products-page .prod-toolbar__left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.products-page .prod-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--prod-card);
    border: 1px solid rgba(0,0,0,.06);
    font-size: .75rem;
    font-weight: 600;
    color: var(--prod-muted);
    box-shadow: var(--prod-shadow);
}
.products-page .prod-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: var(--prod-card);
    border: 1px solid rgba(0,0,0,.08);
    color: var(--prod-text);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: var(--prod-shadow);
    cursor: pointer;
}
.products-page .prod-sort-chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
}
.products-page .prod-sort-chips::-webkit-scrollbar { display: none; }
.products-page .prod-sort-chip {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    background: var(--prod-card);
    border: 1px solid rgba(0,0,0,.08);
    color: var(--prod-muted);
    text-decoration: none !important;
    white-space: nowrap;
}
.products-page .prod-sort-chip.is-active {
    background: rgba(91,110,232,.12);
    color: var(--prod-primary);
    border-color: rgba(91,110,232,.25);
}

.products-page .prod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.products-page .prod-card {
    background: var(--prod-card);
    border-radius: var(--prod-radius);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: var(--prod-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.products-page .prod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.products-page .prod-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: #f3f4f6;
    overflow: hidden;
}
.products-page .prod-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
}
.products-page .prod-card__sale {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.products-page .prod-card__body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.products-page .prod-card__title {
    margin: 0;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.products-page .prod-card__title a {
    color: var(--prod-text) !important;
    text-decoration: none !important;
}
.products-page .prod-card__shop {
    margin: 0;
    font-size: .68rem;
    color: var(--prod-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.products-page .prod-card__shop i {
    color: var(--prod-primary);
    font-size: .65rem;
}
.products-page .prod-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}
.products-page .prod-card__price {
    font-size: .88rem;
    font-weight: 800;
    color: var(--prod-primary);
    line-height: 1.2;
}
.products-page .prod-card__btn {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff !important;
    font-size: .68rem;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.products-page .prod-empty {
    text-align: center;
    padding: 40px 20px;
    background: var(--prod-card);
    border-radius: var(--prod-radius);
    box-shadow: var(--prod-shadow);
    margin: 12px 0;
}
.products-page .prod-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(91,110,232,.1);
    color: var(--prod-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.products-page .prod-empty h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}
.products-page .prod-empty p {
    margin: 0 0 16px;
    font-size: .85rem;
    color: var(--prod-muted);
}
.products-page .prod-empty__btn {
    display: inline-flex;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff !important;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none !important;
}

.products-page .prod-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0 16px;
}
.products-page .prod-pagination__info {
    font-size: .78rem;
    color: var(--prod-muted);
    font-weight: 500;
}
.products-page .prod-pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
}
.products-page .prod-pagination .page-link {
    border-radius: 10px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    color: var(--prod-text) !important;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 12px;
    box-shadow: none;
}
.products-page .prod-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #5b6ee8, #7c3aed) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.products-page .prod-filter-modal .modal-content {
    border-radius: 16px 16px 0 0;
    border: none;
}
.products-page .prod-filter-modal .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--prod-muted);
}

@media (min-width: 640px) {
    .products-page .prod-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* Product detail page */
body:has(.product-detail-page) {
    background: #f0f2f5 !important;
}

.product-detail-page {
    --pd-primary: #5b6ee8;
    --pd-accent: #7c3aed;
    --pd-card: #ffffff;
    --pd-text: #1c1e21;
    --pd-muted: #65676b;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0));
}

.product-detail-page .pd-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(240,242,245,.92);
    backdrop-filter: blur(8px);
}
.product-detail-page .pd-back,
.product-detail-page .pd-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    background: var(--pd-card);
    color: var(--pd-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    cursor: pointer;
}

.product-detail-page .pd-gallery {
    padding: 0 12px 12px;
}
.product-detail-page .pd-gallery__stage {
    position: relative;
    background: var(--pd-card);
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-detail-page .pd-gallery__img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    padding: 16px;
    display: none;
}
.product-detail-page .pd-gallery__img.is-active {
    display: block;
}
.product-detail-page .pd-gallery__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
}
.product-detail-page .pd-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.95);
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    color: var(--pd-text);
    cursor: pointer;
}
.product-detail-page .pd-gallery__nav--prev { left: 8px; }
.product-detail-page .pd-gallery__nav--next { right: 8px; }
.product-detail-page .pd-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.product-detail-page .pd-gallery__thumbs::-webkit-scrollbar { display: none; }
.product-detail-page .pd-gallery__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: var(--pd-card);
    padding: 4px;
    cursor: pointer;
    overflow: hidden;
}
.product-detail-page .pd-gallery__thumb.is-active {
    border-color: var(--pd-primary);
}
.product-detail-page .pd-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-page .pd-summary,
.product-detail-page .pd-tabs {
    margin: 0 12px 12px;
    background: var(--pd-card);
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    padding: 16px;
}
.product-detail-page .pd-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(91,110,232,.1);
    color: var(--pd-primary);
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-detail-page .pd-title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--pd-text);
}
.product-detail-page .pd-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.product-detail-page .pd-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--pd-primary);
}
.product-detail-page .pd-price-old {
    font-size: .95rem;
    color: var(--pd-muted);
    text-decoration: line-through;
}
.product-detail-page .pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
}
.product-detail-page .pd-stock.is-in {
    background: rgba(16,185,129,.1);
    color: #059669;
}
.product-detail-page .pd-stock.is-out {
    background: rgba(239,68,68,.1);
    color: #dc2626;
}
.product-detail-page .pd-stock__count {
    font-weight: 500;
    opacity: .85;
}
.product-detail-page .pd-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: .84rem;
}
.product-detail-page .pd-meta-label { color: var(--pd-muted); font-weight: 600; }
.product-detail-page .pd-meta-value { color: var(--pd-text); font-weight: 700; text-align: right; }

.product-detail-page .pd-shop-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 10px 0 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,.06);
    text-decoration: none !important;
    color: inherit;
}
.product-detail-page .pd-shop-card__logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
}
.product-detail-page .pd-shop-card__info { flex: 1; min-width: 0; }
.product-detail-page .pd-shop-card__label {
    display: block;
    font-size: .68rem;
    color: var(--pd-muted);
    font-weight: 600;
}
.product-detail-page .pd-shop-card__name {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--pd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-detail-page .pd-shop-card__arrow {
    color: var(--pd-muted);
    font-size: .75rem;
}

.product-detail-page .pd-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-detail-page .pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
}
.product-detail-page .pd-btn--primary {
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff !important;
}
.product-detail-page .pd-btn--secondary {
    background: #f1f5f9;
    color: var(--pd-text) !important;
    border: 1px solid rgba(0,0,0,.08);
}

.product-detail-page .pd-tabs__nav {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.product-detail-page .pd-tabs__btn {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
    background: #f8fafc;
    font-size: .82rem;
    font-weight: 700;
    color: var(--pd-muted);
    cursor: pointer;
}
.product-detail-page .pd-tabs__btn.is-active {
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff;
    border-color: transparent;
}
.product-detail-page .pd-tabs__panel { display: none; }
.product-detail-page .pd-tabs__panel.is-active { display: block; }
.product-detail-page .pd-rich {
    font-size: .88rem;
    line-height: 1.65;
    color: var(--pd-text);
    word-break: break-word;
}
.product-detail-page .pd-rich img { max-width: 100%; height: auto; border-radius: 8px; }
.product-detail-page .pd-muted { color: var(--pd-muted); font-size: .88rem; margin: 0; }

.product-detail-page .pd-specs { margin: 0; }
.product-detail-page .pd-spec {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: .84rem;
}
.product-detail-page .pd-spec:last-child { border-bottom: none; }
.product-detail-page .pd-spec dt {
    margin: 0;
    color: var(--pd-muted);
    font-weight: 600;
}
.product-detail-page .pd-spec dd {
    margin: 0;
    color: var(--pd-text);
    font-weight: 700;
    text-align: right;
}

.product-detail-page .pd-related {
    margin: 0 12px 88px;
    padding: 16px 0 14px 12px;
    background: var(--pd-card);
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    overflow: hidden;
}
.product-detail-page .pd-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-right: 12px;
}
.product-detail-page .pd-related__head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--pd-text);
    letter-spacing: -.01em;
}
.product-detail-page .pd-related__head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--pd-primary);
    text-decoration: none !important;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(91, 110, 232, .1);
}
.product-detail-page .pd-related__scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 12px 6px 2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-inline: 2px;
}
.product-detail-page .pd-related__scroll::-webkit-scrollbar {
    display: none;
}

.product-detail-page .pd-related-card {
    flex: 0 0 162px;
    width: 162px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--pd-card);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.product-detail-page .pd-related-card:active {
    transform: scale(.98);
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.product-detail-page .pd-related-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: #f3f4f6;
    overflow: hidden;
    text-decoration: none !important;
}
.product-detail-page .pd-related-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    display: block;
}
.product-detail-page .pd-related-card__sale {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1;
}
.product-detail-page .pd-related-card__sale i {
    font-size: .52rem;
    margin-right: 2px;
}
.product-detail-page .pd-related-card__body {
    padding: 10px 10px 11px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
    min-height: 96px;
}
.product-detail-page .pd-related-card__title {
    margin: 0;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-detail-page .pd-related-card__title a {
    color: var(--pd-text) !important;
    text-decoration: none !important;
}
.product-detail-page .pd-related-card__shop {
    margin: 0;
    font-size: .64rem;
    color: var(--pd-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-detail-page .pd-related-card__shop i {
    color: var(--pd-primary);
    font-size: .6rem;
    flex-shrink: 0;
}
.product-detail-page .pd-related-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 2px;
}
.product-detail-page .pd-related-card__price {
    font-size: .84rem;
    font-weight: 800;
    color: var(--pd-primary);
    line-height: 1.15;
    min-width: 0;
}
.product-detail-page .pd-related-card__price del,
.product-detail-page .pd-related-card__price span {
    display: block;
    font-size: .62rem;
    font-weight: 600;
    color: var(--pd-muted);
}
.product-detail-page .pd-related-card__btn {
    flex-shrink: 0;
    padding: 5px 9px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pd-primary), var(--pd-accent));
    color: #fff !important;
    font-size: .62rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1;
}
.product-detail-page .pd-related-card__btn i {
    font-size: .58rem;
}

.product-detail-page .pd-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
    background: rgba(255,255,255,.96);
    border-top: 1px solid rgba(0,0,0,.08);
    backdrop-filter: blur(8px);
    max-width: 720px;
    margin: 0 auto;
}
.product-detail-page .pd-sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none !important;
}
.product-detail-page .pd-sticky-btn--primary {
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff !important;
}
.product-detail-page .pd-sticky-btn--ghost {
    background: #f1f5f9;
    color: var(--pd-text) !important;
    border: 1px solid rgba(0,0,0,.08);
}

/* Save + Collection */
.product-detail-page .pd-btn--save,
.product-detail-page .pd-sticky-btn--save {
    background: #f8fafc;
    color: var(--pd-text) !important;
    border: 1px solid rgba(0,0,0,.1);
}
.product-detail-page .pd-btn--save.is-saved,
.product-detail-page .pd-sticky-btn--save.is-saved {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
    color: #92400e !important;
}
.product-detail-page .pd-btn--wa,
.product-detail-page .pd-sticky-btn--wa {
    background: #25d366;
    color: #fff !important;
}
.product-detail-page .pd-btn--call {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border: 1px solid rgba(37,99,235,.2);
}

.collection-page {
    --col-primary: #5b6ee8;
    --col-accent: #7c3aed;
    --col-text: #1c1e21;
    --col-muted: #65676b;
    --col-card: #ffffff;
    --col-bg: #f0f2f5;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0));
    background: var(--col-bg);
    min-height: 60vh;
}

/* Hero */
.col-hero {
    position: relative;
    padding: 16px 16px 20px;
    background: linear-gradient(145deg, #5b6ee8 0%, #7c3aed 55%, #9333ea 100%);
    color: #fff;
    border-radius: 0 0 24px 24px;
    margin-bottom: 16px;
    overflow: hidden;
}
.col-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}
.col-hero__back {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,.2);
}
.col-hero__content { position: relative; z-index: 1; }
.col-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.col-hero__title {
    margin: 10px 0 4px;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
}
.col-hero__sub {
    margin: 0 0 16px;
    font-size: .82rem;
    opacity: .88;
    line-height: 1.4;
}
.col-hero__stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.col-stat {
    flex: 1;
    min-width: 72px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    text-align: center;
}
.col-stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}
.col-stat span {
    font-size: .62rem;
    opacity: .85;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* Empty state */
.col-empty {
    text-align: center;
    padding: 40px 24px 48px;
    margin: 0 12px;
    background: var(--col-card);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
}
.col-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--col-primary);
}
.col-empty h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--col-text);
}
.col-empty p {
    margin: 0 0 20px;
    font-size: .82rem;
    color: var(--col-muted);
    line-height: 1.5;
}
.col-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none !important;
}
.col-btn--primary {
    background: linear-gradient(135deg, var(--col-primary), var(--col-accent));
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(91,110,232,.35);
}

/* Share section */
.col-share {
    margin: 0 12px 16px;
    padding: 16px;
    background: var(--col-card);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
}
.col-share__intro {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.col-share__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #ede9fe);
    color: var(--col-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.col-share__intro h2 {
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
    color: var(--col-text);
}
.col-share__intro p {
    margin: 3px 0 0;
    font-size: .76rem;
    color: var(--col-muted);
}
.col-share__primary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}
.col-share-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none !important;
    color: #fff !important;
    transition: transform .15s ease, box-shadow .15s ease;
}
.col-share-primary:active { transform: scale(.98); }
.col-share-primary--wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 6px 18px rgba(37,211,102,.35);
}
.col-share-primary--tg {
    background: linear-gradient(135deg, #2aabee, #229ed9);
    box-shadow: 0 6px 18px rgba(42,171,238,.35);
}
.col-share-primary__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.col-share-primary__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.col-share-primary__text strong {
    font-size: .92rem;
    font-weight: 800;
}
.col-share-primary__text small {
    font-size: .72rem;
    opacity: .88;
}
.col-share-primary__arrow {
    opacity: .7;
    font-size: .75rem;
}
.col-share__secondary {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.col-share-chip {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,.06);
    color: var(--col-text) !important;
    font-size: .74rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}
.col-share-chip i { font-size: .9rem; color: var(--col-muted); }
.col-share-chip--qr i { color: var(--col-primary); }

.pd-qr-modal__body { text-align: center; padding-bottom: 12px !important; }
.pd-qr-modal__frame {
    display: inline-flex;
    padding: 14px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    margin-bottom: 12px;
}
.pd-qr-modal__frame img { display: block; width: 240px; height: 240px; }
.pd-qr-modal__label {
    margin: 0 0 4px;
    font-size: .88rem;
    font-weight: 800;
    color: var(--col-text, #1c1e21);
}
.pd-qr-modal__url {
    margin: 0 0 14px;
    font-size: .68rem;
    color: var(--col-muted, #65676b);
    word-break: break-all;
    line-height: 1.35;
}
.pd-qr-modal__actions { display: flex; gap: 8px; }
.pd-qr-modal__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.pd-qr-modal__btn--primary {
    background: linear-gradient(135deg, #5b6ee8, #7c3aed);
    color: #fff;
}
.pd-qr-modal__btn--ghost {
    background: #f1f5f9;
    color: #1c1e21;
    border: 1px solid rgba(0,0,0,.08);
}
.col-public-share { margin-bottom: 16px; display: flex; justify-content: center; }

.col-share__link {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.col-share__input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: .72rem;
    background: #f8fafc;
    color: var(--col-muted);
}
.col-share__copy {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--col-primary), var(--col-accent));
    color: #fff;
    font-size: .9rem;
    cursor: pointer;
    flex-shrink: 0;
}
.col-preview-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0 0;
    border: none;
    border-top: 1px solid rgba(0,0,0,.06);
    background: none;
    color: var(--col-muted);
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
}
.col-preview-toggle__chevron {
    margin-left: auto;
    transition: transform .2s ease;
}
.col-preview-toggle[aria-expanded="true"] .col-preview-toggle__chevron {
    transform: rotate(180deg);
}
.col-preview {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}
.col-preview.is-open {
    max-height: 220px;
}
.col-preview__text {
    margin: 10px 0 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.05);
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    font-size: .72rem;
    line-height: 1.45;
    color: var(--col-text);
    max-height: 180px;
    overflow-y: auto;
}

/* Product list */
.col-products {
    margin: 0 12px;
    padding-bottom: 12px;
}
.col-products__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.col-products__head h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
    color: var(--col-text);
}
.col-products__count {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--col-primary), var(--col-accent));
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.col-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.col-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
    padding: 10px;
    background: var(--col-card);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 10px rgba(15,23,42,.04);
    transition: opacity .2s ease, transform .2s ease;
}
.col-item.is-removing {
    opacity: .4;
    transform: scale(.98);
    pointer-events: none;
}
.col-item__media {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}
.col-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.col-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.col-item__title {
    font-size: .84rem;
    font-weight: 700;
    color: var(--col-text) !important;
    text-decoration: none !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.col-item__shop {
    margin: 0;
    font-size: .68rem;
    color: var(--col-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.col-item__shop i { color: var(--col-primary); font-size: .58rem; }
.col-item__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}
.col-item__price {
    font-size: .82rem;
    font-weight: 800;
    color: var(--col-primary);
}
.col-item__view {
    font-size: .68rem;
    font-weight: 700;
    color: var(--col-muted) !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.col-item-remove {
    align-self: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #fef2f2;
    color: #dc2626;
    font-size: .78rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease;
}
.col-item-remove:active { background: #fee2e2; }

/* Sticky quick share */
.col-sticky-share {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
    background: rgba(255,255,255,.96);
    border-top: 1px solid rgba(0,0,0,.08);
    backdrop-filter: blur(10px);
    max-width: 720px;
    margin: 0 auto;
}
.col-sticky-share__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none !important;
    color: #fff !important;
}
.col-sticky-share__btn--wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
}
.col-sticky-share__btn--tg {
    background: linear-gradient(135deg, #2aabee, #229ed9);
}

/* Toast */
.col-toast {
    position: fixed;
    left: 50%;
    bottom: calc(80px + env(safe-area-inset-bottom, 0));
    transform: translateX(-50%) translateY(12px);
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #1c1e21;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.col-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.col-toast i { color: #4ade80; }

/* Friend share (collection link) */
.col-friend-share {
    margin: 0 12px 12px;
    padding: 14px 16px;
    background: var(--col-card);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
}
.col-friend-share__head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.col-friend-share__head > i {
    color: var(--col-primary);
    font-size: 1.1rem;
    margin-top: 2px;
}
.col-friend-share__head h2 {
    margin: 0;
    font-size: .88rem;
    font-weight: 800;
}
.col-friend-share__head p {
    margin: 2px 0 0;
    font-size: .72rem;
    color: var(--col-muted);
}

/* Per-shop inquiry */
.col-shop-inquiries {
    margin: 0 12px 16px;
}
.col-shop-inquiries__head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 0 4px;
}
.col-shop-inquiries__head h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
}
.col-shop-inquiries__head p {
    margin: 3px 0 0;
    font-size: .74rem;
    color: var(--col-muted);
}
.col-shop-inquiries__note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 10px;
    margin-top: 6px !important;
    background: #fffbeb;
    border-radius: 10px;
    color: #92400e !important;
    font-size: .72rem !important;
    line-height: 1.4;
}
.col-shop-inquiries__note i { flex-shrink: 0; margin-top: 2px; }

.col-shop-card {
    background: var(--col-card);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(15,23,42,.05);
}
.col-shop-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.col-shop-card__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,.06);
}
.col-shop-card__info h3 {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
}
.col-shop-card__info span {
    font-size: .72rem;
    color: var(--col-muted);
}
.col-shop-card__products {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,.06);
}
.col-shop-card__products li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
    font-size: .76rem;
}
.col-shop-card__prod-name {
    flex: 1;
    font-weight: 600;
    line-height: 1.3;
}
.col-shop-card__prod-price {
    flex-shrink: 0;
    font-weight: 800;
    color: var(--col-primary);
    font-size: .72rem;
}
.col-shop-preview-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border: none;
    background: none;
    color: var(--col-muted);
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
}
.col-shop-preview-toggle i:last-child {
    margin-left: auto;
    font-size: .65rem;
}
.col-shop-preview { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.col-shop-preview.is-open { max-height: 200px; }
.col-shop-card__actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.col-shop-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none !important;
    color: #fff !important;
    text-align: center;
    line-height: 1.2;
}
.col-shop-action--wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 12px rgba(37,211,102,.3);
}
.col-shop-action--tg {
    background: linear-gradient(135deg, #2aabee, #229ed9);
    box-shadow: 0 4px 12px rgba(42,171,238,.3);
}

.col-shop-products {
    margin-bottom: 20px;
}
.col-shop-products .col-products__head h2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
}
.col-shop-products .col-products__head h2 i {
    color: var(--col-primary);
    font-size: .75rem;
}
.col-shop-jump {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #059669 !important;
    font-size: .74rem;
    font-weight: 700;
    text-decoration: none !important;
}

/* Public collection page (unchanged structure) */
.collection-public-page,
.shop-leads-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 12px 24px;
}
.collection-public-hero {
    margin-bottom: 12px;
}
.collection-public-hero h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}
.collection-public-hero p {
    margin: 4px 0 0;
    color: var(--pd-muted);
    font-size: .82rem;
}
.collection-trust-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #065f46;
    font-size: .78rem;
    margin-bottom: 16px;
}
.collection-shop-block {
    margin-bottom: 22px;
}
.collection-shop-block__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.collection-shop-block__head h2 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
}
.collection-shop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.collection-shop-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--pd-text) !important;
    text-decoration: none !important;
    font-size: .78rem;
    font-weight: 700;
}
.collection-shop-actions__btn--wa {
    background: #25d366;
    color: #fff !important;
}
.shop-leads-header h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}
.shop-leads-header p {
    margin: 4px 0 0;
    color: var(--pd-muted);
    font-size: .82rem;
}
.shop-leads-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 18px;
}
.shop-leads-stat {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.shop-leads-stat__value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--pd-primary);
}
.shop-leads-stat__label {
    font-size: .72rem;
    color: var(--pd-muted);
}
.shop-leads-section {
    margin-bottom: 20px;
}
.shop-leads-section h2 {
    font-size: .95rem;
    margin: 0 0 10px;
    font-weight: 800;
}
.shop-leads-muted {
    color: var(--pd-muted);
    font-size: .82rem;
}
.shop-leads-table-wrap {
    overflow-x: auto;
}
.shop-leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .78rem;
}
.shop-leads-table th,
.shop-leads-table td {
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 8px 6px;
    text-align: left;
}
.shop-leads-list__item {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fff;
}
.shop-leads-list__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: .78rem;
}
.shop-leads-list__meta span {
    color: var(--pd-muted);
}

/* Inquiry dashboard — status chips, funnel, inbox cards */
.shop-leads-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 14px;
    -webkit-overflow-scrolling: touch;
}
.shop-leads-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    font-size: .78rem;
    color: inherit;
    text-decoration: none;
}
.shop-leads-chip span {
    background: rgba(0,0,0,.06);
    border-radius: 999px;
    padding: 1px 7px;
    font-weight: 600;
    font-size: .72rem;
}
.shop-leads-chip.is-active {
    border-color: var(--pd-primary, #2563eb);
    background: rgba(37,99,235,.08);
    color: var(--pd-primary, #2563eb);
}
.shop-leads-chip--pending.is-active { border-color: #f59e0b; background: rgba(245,158,11,.1); color: #b45309; }
.shop-leads-chip--contacted.is-active { border-color: #3b82f6; background: rgba(59,130,246,.1); color: #1d4ed8; }
.shop-leads-chip--done.is-active { border-color: #10b981; background: rgba(16,185,129,.1); color: #047857; }

.shop-leads-funnel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 12px 10px;
    margin-bottom: 18px;
}
.shop-leads-funnel__step {
    flex: 1;
    text-align: center;
}
.shop-leads-funnel__step strong {
    display: block;
    font-size: 1rem;
}
.shop-leads-funnel__step span {
    font-size: .68rem;
    color: var(--pd-muted);
}
.shop-leads-funnel__arrow {
    color: var(--pd-muted);
    font-size: .65rem;
    flex-shrink: 0;
}

.shop-leads-inbox {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.shop-leads-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 12px;
}
.shop-leads-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: .82rem;
}
.shop-leads-card__head time {
    color: var(--pd-muted);
    font-size: .72rem;
    white-space: nowrap;
}
.shop-leads-status {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 600;
}
.shop-leads-status--pending { background: rgba(245,158,11,.15); color: #b45309; }
.shop-leads-status--contacted { background: rgba(59,130,246,.15); color: #1d4ed8; }
.shop-leads-status--done { background: rgba(16,185,129,.15); color: #047857; }

.shop-leads-card__thumbs {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}
.shop-leads-card__thumbs img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.06);
}
.shop-leads-card__meta {
    margin: 0 0 10px;
    font-size: .75rem;
    color: var(--pd-muted);
}
.shop-leads-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-leads-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
}
.shop-leads-btn:disabled { opacity: .6; cursor: wait; }
.shop-leads-btn--contacted { background: rgba(59,130,246,.12); color: #1d4ed8; }
.shop-leads-btn--done { background: rgba(16,185,129,.12); color: #047857; }
.shop-leads-btn--pending { background: rgba(245,158,11,.12); color: #b45309; }

.inquiries-page { max-width: 720px; margin: 0 auto; padding: 0 12px 24px; }
.inquiries-chips { margin-top: 12px; }
.inquiries-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.inquiry-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 14px;
}
.inquiry-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.inquiry-card__shop {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
}
.inquiry-card__shop i { color: var(--pd-primary, #2563eb); }
.inquiry-card__meta {
    margin: 0 0 10px;
    font-size: .75rem;
    color: var(--pd-muted);
}
.inquiry-card__wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(37,211,102,.12);
    color: #128c7e;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
}
