.shop-shell,
.shop-creator-shell,
.shop-manager-shell,
.shop-form-shell {
    --shop-card-radius: 18px;
    --shop-soft-radius: 14px;
    --shop-border: rgba(131, 146, 171, 0.24);
    --shop-ink: #252f40;
    --shop-muted: #8392ab;
    --shop-primary: var(--primary, #cb0c9f);
    --shop-primary-soft: rgba(203, 12, 159, 0.12);
    --shop-gradient-from: var(--primary, #cb0c9f);
    --shop-gradient-to: var(--dark, #252f40);
    --shop-bg-soft: #f7f9fc;
}

.shop-shell .container-fluid,
.shop-creator-shell .container,
.shop-manager-shell .container-fluid,
.shop-form-shell .container-fluid {
    max-width: 1320px;
}

.shop-hero,
.shop-creator-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--shop-card-radius);
    padding: 1.2rem;
    color: #ffffff;
    background: linear-gradient(132deg, var(--shop-gradient-from) 0%, var(--shop-primary) 55%, var(--shop-gradient-to) 100%);
    box-shadow: 0 22px 55px rgba(37, 47, 64, 0.2);
}

.shop-hero::before,
.shop-creator-hero::before {
    content: "";
    position: absolute;
    inset: auto -28% -42% auto;
    width: 350px;
    height: 350px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.shop-overline {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.84);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.7rem;
    font-weight: 700;
}

.shop-hero-title {
    margin-bottom: 0.4rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.shop-hero-subtitle {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.86);
    max-width: 640px;
    font-size: 0.93rem;
}

.shop-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.shop-kpi {
    min-width: 118px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    padding: 0.5rem 0.7rem;
}

.shop-kpi strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.shop-kpi span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-creator-header {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.shop-creator-avatar {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.shop-creator-name {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.shop-creator-handle {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
}

.shop-creator-actions {
    margin-left: auto;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.shop-ghost-btn,
.shop-solid-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.shop-ghost-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.shop-ghost-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.shop-solid-btn {
    color: var(--shop-ink);
    background: #ffffff;
}

.shop-solid-btn:hover {
    color: var(--shop-ink);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 47, 64, 0.2);
}

.shop-chip-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.shop-chip-nav::-webkit-scrollbar {
    height: 6px;
}

.shop-chip {
    border-radius: 999px;
    border: 1px solid #d8e2f0;
    background: #ffffff;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.42rem 0.78rem;
    transition: all 0.2s ease;
}

.shop-chip:hover {
    color: var(--shop-ink);
    border-color: var(--shop-primary);
}

.shop-chip.active {
    background: var(--shop-primary);
    color: #ffffff;
    border-color: var(--shop-primary);
}

.shop-chip-nav-categories .shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.shop-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 0.66rem;
    font-weight: 800;
    padding: 0 0.35rem;
}

.shop-chip.active .shop-chip-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.shop-filter-card {
    border-radius: var(--shop-card-radius);
    border: 1px solid var(--shop-border);
    background: #ffffff;
    padding: 0.95rem;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.shop-filter-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.shop-filter-grid + .shop-filter-grid {
    margin-top: 0.72rem;
}

.shop-label {
    margin-bottom: 0.32rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475467;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-input,
.shop-select {
    height: 42px;
    border-radius: 11px;
    border: 1px solid #d7dfeb;
    box-shadow: none;
    font-size: 0.9rem;
}

.shop-input:focus,
.shop-select:focus {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 4px var(--shop-primary-soft);
}

.shop-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.12rem;
}

.shop-filter-actions .btn {
    border-radius: 10px;
    font-weight: 700;
}

.shop-filter-footer {
    margin-top: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.shop-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #475467;
    font-size: 0.84rem;
    font-weight: 600;
}

.shop-check-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--shop-primary);
}

.shop-results-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.shop-results-row p {
    margin: 0;
    color: var(--shop-muted);
    font-size: 0.86rem;
}

.shop-results-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.shop-active-sort {
    color: #667085;
    font-size: 0.75rem;
}

.shop-active-sort strong {
    color: #344054;
    font-weight: 800;
}

.shop-active-filters {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--shop-primary-soft);
    color: var(--shop-primary);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.62rem;
}

.shop-grid {
    display: grid;
    gap: 0.95rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-product-card {
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d5d9d9;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.shop-product-card:hover {
    transform: translateY(-2px);
    border-color: var(--shop-primary);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.shop-product-image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f3f4f6;
}

.shop-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.shop-product-card:hover .shop-product-image-wrap img {
    transform: scale(1.035);
}

.shop-product-stock-badge {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 2;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.18rem 0.46rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.32);
}

.shop-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8792a8;
}

.shop-image-placeholder ion-icon {
    font-size: 2.25rem;
}

.shop-product-body {
    padding: 0.8rem 0.86rem 0.86rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.shop-meta-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    min-height: 1.25rem;
}

.shop-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.18rem 0.48rem;
}

.shop-badge-light {
    color: var(--shop-primary);
    background: var(--shop-primary-soft);
}

.shop-badge-type {
    color: #0f172a;
    background: #e2e8f0;
}

.shop-badge-physical {
    background: #e7f6ee;
    color: #116135;
}

.shop-badge-digital {
    background: #ede9fe;
    color: #47389a;
}

.shop-badge-service {
    background: #fff4db;
    color: #8f4d00;
}

.shop-product-title {
    color: var(--shop-ink);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.32;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.45em;
}

.shop-product-title:hover {
    color: var(--shop-primary);
}

.shop-product-description {
    margin: 0;
    color: #667085;
    font-size: 0.79rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
}

.shop-product-bottom-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.shop-product-price {
    color: var(--shop-primary);
    font-weight: 800;
    font-size: 1.05rem;
}

.shop-product-rating {
    color: #9a6b00;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.shop-product-rating small {
    color: #98a2b3;
    font-weight: 600;
    font-size: 0.67rem;
}

.shop-product-footnote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    flex-wrap: wrap;
    color: #98a2b3;
    font-size: 0.72rem;
}

.shop-product-footnote a {
    color: var(--shop-primary);
    text-decoration: none;
    font-weight: 700;
}

.shop-empty-state {
    border-radius: var(--shop-card-radius);
    border: 1px dashed #ced7e4;
    background: #ffffff;
    text-align: center;
    padding: 2.4rem 1rem;
    color: #6b7280;
}

.shop-empty-state ion-icon {
    font-size: 3rem;
    color: #9aa5b5;
}

.shop-pagination {
    margin-top: 1rem;
}

.shop-pagination .pagination {
    justify-content: center;
    margin-bottom: 0;
}

.shop-pagination .page-item .page-link {
    color: #334155;
    border-color: #dbe4ef;
}

.shop-pagination .page-item.active .page-link {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
}

.shop-manager-header,
.shop-form-header {
    border-radius: var(--shop-card-radius);
    border: 1px solid var(--shop-border);
    background: #ffffff;
    padding: 0.95rem 1rem;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.shop-manager-title,
.shop-form-title {
    margin: 0;
    color: var(--shop-ink);
    font-size: 1.15rem;
    font-weight: 800;
}

.shop-manager-subtitle,
.shop-form-subtitle {
    margin: 0.2rem 0 0;
    color: var(--shop-muted);
    font-size: 0.86rem;
}

.shop-table-wrap {
    border-radius: var(--shop-card-radius);
    border: 1px solid var(--shop-border);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
}

.shop-stat-card {
    border-radius: 14px;
    border: 1px solid var(--shop-border);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.shop-stat-card .card-body {
    padding: 0.8rem 0.9rem;
}

.shop-stat-label {
    margin: 0;
    color: #98a2b3;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.shop-stat-card h4 {
    margin: 0.22rem 0 0;
    color: #252f40;
    font-size: 1.12rem;
    font-weight: 800;
}

.shop-products-table {
    margin: 0;
}

.shop-products-table thead th {
    border-top: 0;
    border-bottom: 1px solid #e6edf6;
    color: #667085;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    background: #f8fafe;
}

.shop-products-table tbody td {
    vertical-align: middle;
    border-top: 1px solid #edf2f8;
    padding-top: 0.82rem;
    padding-bottom: 0.82rem;
}

.shop-table-product {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.shop-table-product img,
.shop-table-product .shop-no-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.shop-no-image {
    background: #d9e0ec;
}

.shop-table-name {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.9rem;
}

.shop-table-meta {
    margin: 0.15rem 0 0;
    color: #98a2b3;
    font-size: 0.74rem;
}

.shop-status-select {
    min-width: 118px;
    border-radius: 10px;
    border: 1px solid #d5deeb;
    font-size: 0.8rem;
    box-shadow: none;
}

.shop-mobile-product {
    border-radius: 15px;
    border: 1px solid var(--shop-border);
    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.06);
}

.shop-order-card {
    border-radius: 14px;
    border: 1px solid var(--shop-border);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.shop-order-thumb,
.shop-order-thumb-empty {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.shop-order-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98a2b3;
    background: #e5e7eb;
    font-size: 1.35rem;
}

.shop-order-title {
    margin: 0;
    color: #252f40;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.shop-order-meta {
    color: #98a2b3;
    font-size: 0.74rem;
    line-height: 1.45;
}

.shop-order-price {
    color: var(--shop-primary);
    font-size: 1.03rem;
    font-weight: 800;
}

.shop-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shop-order-actions .btn {
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 700;
}

.shop-mobile-top {
    display: flex;
    gap: 0.7rem;
}

.shop-mobile-image,
.shop-mobile-image-empty {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.shop-mobile-image-empty {
    background: #dbe3ef;
}

.shop-mobile-title {
    margin: 0;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
}

.shop-mobile-meta-grid {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.7rem;
}

.shop-mobile-meta-item {
    border-radius: 10px;
    background: var(--shop-bg-soft);
    border: 1px solid #e6edf6;
    padding: 0.35rem 0.5rem;
}

.shop-mobile-meta-item span {
    display: block;
    color: #98a2b3;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.08rem;
}

.shop-mobile-meta-item strong {
    color: #1f2937;
    font-size: 0.8rem;
}

.shop-mobile-actions {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.7rem;
}

.shop-mobile-actions .btn {
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 700;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.shop-form-panel {
    border-radius: var(--shop-card-radius);
    border: 1px solid var(--shop-border);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
    overflow: hidden;
}

.shop-form-panel .card-body {
    padding: 1rem;
}

.shop-form-section {
    border-radius: 14px;
    border: 1px solid #e6edf7;
    background: #fbfdff;
    padding: 0.9rem;
}

.shop-form-section + .shop-form-section {
    margin-top: 0.8rem;
}

.shop-form-section-title {
    margin-bottom: 0.75rem;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.shop-form-sidecard {
    border-radius: 14px;
    border: 1px solid #e5ecf7;
    background: #f8fbff;
    padding: 0.85rem;
}

.shop-form-sidecard h6 {
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
}

.shop-form-sidecard p,
.shop-form-sidecard li {
    color: #667085;
    font-size: 0.77rem;
    margin-bottom: 0.35rem;
}

.shop-form-sidecard ul {
    margin: 0;
    padding-left: 1rem;
}

/* ═══════════════════════════════════════════
   PRODUCT MANAGER — Enhanced Cards Grid
   ═══════════════════════════════════════════ */

/* Stats icon circle */
.shop-stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Product cards grid — responsive */
.shop-products-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .shop-products-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Enhanced Product Card ── */
.shop-product-card-enhanced {
    border-radius: 16px;
    border: 1px solid var(--shop-border);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shop-product-card-enhanced:hover {
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.1);
    transform: translateY(-2px);
}

/* Card media (image) */
.shop-pce-media {
    position: relative;
    display: block;
    height: 180px;
    background: #f1f5f9;
    overflow: hidden;
}

.shop-pce-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-product-card-enhanced:hover .shop-pce-media img {
    transform: scale(1.04);
}

.shop-pce-media-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0c8d4;
    font-size: 3rem;
}

/* Status pill on image */
.shop-pce-status-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Card body */
.shop-pce-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-pce-title {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.shop-pce-title a {
    color: #0f172a;
    text-decoration: none;
}

.shop-pce-title a:hover {
    color: var(--shop-primary);
}

.shop-pce-meta {
    color: #94a3b8;
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Metrics row */
.shop-pce-metrics {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.shop-pce-metric {
    text-align: center;
}

.shop-pce-metric-label {
    display: block;
    color: #98a2b3;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    margin-bottom: 2px;
}

.shop-pce-metric strong {
    color: #1e293b;
    font-size: 0.85rem;
}

/* Status selector row */
.shop-pce-status-row {
    margin-top: 10px;
}

.shop-pce-status-select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 12px;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.2s;
}

.shop-pce-status-select:focus {
    border-color: var(--shop-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--shop-primary-soft);
}

/* Action buttons */
.shop-pce-actions {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 10px;
}

.shop-pce-actions .btn {
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.shop-pce-actions .btn ion-icon {
    font-size: 15px;
}

/* Dark mode overrides */
.dark-mode .shop-product-card-enhanced {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .shop-pce-title a {
    color: #f1f5f9;
}

.dark-mode .shop-pce-media {
    background: #0f172a;
}

.dark-mode .shop-pce-metrics {
    border-color: #334155;
}

.dark-mode .shop-pce-metric strong {
    color: #e2e8f0;
}

.dark-mode .shop-pce-status-select {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}

.dark-mode .shop-pce-meta {
    color: #64748b;
}

.dark-mode .shop-stat-card {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .shop-stat-card h4 {
    color: #f1f5f9;
}

.shop-form-sticky {
    position: sticky;
    top: 1rem;
}

@media (min-width: 768px) {
    .shop-hero,
    .shop-creator-hero {
        padding: 1.45rem 1.5rem;
    }

    .shop-filter-grid-main {
        grid-template-columns: 2fr 1.2fr 1fr;
        align-items: end;
    }

    .shop-filter-grid-secondary {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: end;
    }

    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .shop-product-body {
        padding: 0.86rem 0.9rem 0.92rem;
    }
}

@media (min-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .shop-creator-actions {
        margin-left: 0;
    }

    .shop-form-sticky {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .shop-hero-title {
        font-size: 1.2rem;
    }

    .shop-hero-subtitle,
    .shop-creator-handle {
        font-size: 0.82rem;
    }

    .shop-filter-card {
        padding: 0.8rem;
    }

    .shop-filter-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-filter-actions {
        width: 100%;
    }

    .shop-filter-actions .btn {
        flex: 1 1 auto;
    }

    .shop-kpi {
        min-width: 106px;
    }

    .shop-grid {
        gap: 0.75rem;
    }

    .shop-product-title {
        font-size: 0.88rem;
    }

    .shop-product-price {
        font-size: 0.93rem;
    }

    .shop-form-panel .card-body {
        padding: 0.8rem;
    }
}

/* Public shop Amazon-style layout */
.shop-amz-shell {
    background: #eaeded;
    min-height: calc(100vh - 60px);
}

.shop-amz-header {
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.95rem 1rem;
}

.shop-amz-header h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #131921;
}

.shop-amz-header p {
    margin: 0.2rem 0 0;
    color: #565959;
    font-size: 0.86rem;
}

.shop-amz-header-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.7rem;
}

.shop-amz-header-stats span {
    border-radius: 999px;
    border: 1px solid #d5d9d9;
    background: #f7fafa;
    color: #0f1111;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.24rem 0.6rem;
}

.shop-amz-type-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.shop-amz-type-tabs a {
    text-decoration: none;
    white-space: nowrap;
    border-radius: 7px;
    border: 1px solid #d5d9d9;
    background: #ffffff;
    color: #0f1111;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 0.7rem;
}

.shop-amz-type-tabs a.active {
    border-color: #f59b23;
    background: #fff4e6;
    color: #0f1111;
}

.shop-amz-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.shop-amz-filter-panel,
.shop-amz-category-panel {
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.8rem;
}

.shop-amz-filter-panel h6,
.shop-amz-category-panel h6 {
    margin: 0 0 0.6rem;
    color: #0f1111;
    font-size: 0.84rem;
    font-weight: 800;
}

.shop-amz-price-row {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-amz-filter-actions {
    margin-top: 0.4rem;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-amz-filter-actions .btn {
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.shop-amz-category-panel a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #0f1111;
    border-radius: 7px;
    padding: 0.34rem 0.48rem;
    font-size: 0.8rem;
}

.shop-amz-category-panel a.active {
    background: #f0f2f2;
    font-weight: 700;
}

.shop-amz-category-panel a span {
    color: #565959;
    font-size: 0.72rem;
}

.shop-amz-toolbar {
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.56rem 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.shop-amz-toolbar p {
    margin: 0;
    color: #0f1111;
    font-size: 0.82rem;
}

.shop-amz-toolbar-right {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #565959;
    font-size: 0.75rem;
}

.shop-amz-list {
    display: grid;
    gap: 0.65rem;
}

.shop-amz-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    border: 1px solid #d5d9d9;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.7rem;
    box-shadow: 0 1px 4px rgba(15, 17, 17, 0.08);
}

.shop-amz-item-media {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
}

.shop-amz-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-amz-item-main {
    min-width: 0;
}

.shop-amz-item-title {
    display: inline-block;
    color: #007185;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.shop-amz-item-title:hover {
    color: #c7511f;
}

.shop-amz-item-meta {
    margin: 0.26rem 0 0;
    color: #565959;
    font-size: 0.75rem;
    display: flex;
    gap: 0.32rem;
    flex-wrap: wrap;
}

.shop-amz-item-meta a {
    color: #007185;
    text-decoration: none;
}

.shop-amz-item-rating {
    margin: 0.25rem 0 0;
    color: #b4690e;
    font-size: 0.78rem;
    font-weight: 700;
}

.shop-amz-item-rating small {
    color: #565959;
    font-weight: 600;
}

.shop-amz-item-description {
    margin: 0.3rem 0 0;
    color: #0f1111;
    font-size: 0.78rem;
    line-height: 1.45;
}

.shop-amz-item-buy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    border-top: 1px solid #eaeded;
    padding-top: 0.5rem;
}

.shop-amz-item-price {
    margin: 0;
    color: #b12704;
    font-size: 1.2rem;
    font-weight: 800;
}

.shop-amz-item-stock {
    margin: 0;
    color: #067d62;
    font-size: 0.74rem;
    font-weight: 700;
}

.shop-product-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    border-radius: 999px;
    border: 1px solid #fcd200;
    background: #ffd814;
    color: #0f1111;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.32rem 0.65rem;
}

.shop-product-view-btn:hover {
    color: #0f1111;
    background: #f7ca00;
}

@media (min-width: 992px) {
    .shop-amz-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }

    .shop-amz-sidebar {
        position: sticky;
        top: 0.85rem;
    }

    .shop-amz-item {
        grid-template-columns: 170px minmax(0, 1fr) 190px;
        gap: 0.9rem;
    }

    .shop-amz-item-media {
        width: 170px;
        height: 170px;
    }

    .shop-amz-item-buy {
        grid-column: auto;
        border-top: 0;
        padding-top: 0;
        min-height: 170px;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .shop-amz-item {
        grid-template-columns: 1fr;
    }

    .shop-amz-item-media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .shop-amz-item-buy {
        flex-wrap: wrap;
    }
}

/* Shop homepage layout */
.shop-home-shell {
    background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
    min-height: calc(100vh - 60px);
}

.shop-home-hero {
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #ffffff;
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.shop-home-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.shop-home-hero h1 {
    margin: 0.28rem 0 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 800;
}

.shop-home-hero p {
    margin: 0.38rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
}

.shop-home-hero-stats {
    margin-top: 0.72rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.shop-home-hero-stats span {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.shop-home-hero-visual {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-home-hero-tile {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    aspect-ratio: 3 / 4;
}

.shop-home-hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-home-hero-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.shop-home-search-card {
    border-radius: 16px;
    border: 1px solid #dbe1ea;
    background: #ffffff;
    padding: 0.95rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.shop-home-search-card h6 {
    margin: 0 0 0.6rem;
    color: #111827;
    font-size: 0.83rem;
    font-weight: 800;
}

.shop-home-input {
    border-radius: 9px;
    border: 1px solid #d1d5db;
    box-shadow: none;
    height: 40px;
    font-size: 0.86rem;
}

.shop-home-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.shop-home-search-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.shop-home-search-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shop-home-search-actions .btn {
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.82rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.shop-home-section {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 0.95rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.shop-home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.shop-home-section-head h2 {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 800;
    color: #111827;
}

.shop-home-type-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.shop-home-type-tabs a {
    text-decoration: none;
    border: 1px solid #d3dae5;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    padding: 0.34rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.shop-home-type-tabs a.active,
.shop-home-type-tabs a:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.shop-home-type-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.shop-home-type-card {
    border-radius: 11px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    text-decoration: none;
    color: #111827;
    padding: 0.72rem 0.78rem;
}

.shop-home-type-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
}

.shop-home-type-card span {
    display: block;
    margin-top: 0.2rem;
    color: #6b7280;
    font-size: 0.74rem;
}

.shop-home-type-card.active,
.shop-home-type-card:hover {
    border-color: #f59e0b;
    background: #fff7ed;
    color: #111827;
}

.shop-home-cats {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.shop-home-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    text-decoration: none;
    color: #111827;
    background: #f9fafb;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.33rem 0.62rem;
}

.shop-home-cat-pill span {
    font-size: 0.68rem;
    color: #6b7280;
}

.shop-home-cat-pill.active,
.shop-home-cat-pill:hover {
    border-color: #f59e0b;
    background: #fff7ed;
    color: #111827;
}

.shop-home-featured-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 0.72rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.shop-home-featured-item .shop-product-card {
    margin-bottom: 0;
}

.shop-home-shell .shop-product-card {
    border-radius: 12px;
    border: 1px solid #d9e0ea;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.shop-home-shell .shop-product-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.11);
}

.shop-home-shell .shop-product-image-wrap {
    background: #f8fafc;
}

.shop-home-shell .shop-product-price {
    color: #1d4ed8;
}

.shop-home-shell .shop-product-view-btn {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
}

.shop-home-shell .shop-product-view-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.shop-home-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.72rem;
}

.shop-home-results-bar p {
    margin: 0;
    color: #4b5563;
    font-size: 0.8rem;
}

.shop-home-results-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 0.73rem;
}

.shop-home-grid {
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .shop-home-hero {
        padding: 1.45rem;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }

    .shop-home-hero h1 {
        font-size: 1.8rem;
    }

    .shop-home-search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-home-search-actions {
        justify-content: flex-end;
    }

    .shop-home-type-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (min-width: 1200px) {
    .shop-home-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Professional shop homepage rebuild */
.shop-pro-shell {
    background: #f4f6fa;
    min-height: calc(100vh - 60px);
}

.shop-pro-container {
    max-width: 1280px;
}

.shop-pro-hero,
.shop-pro-section {
    border-radius: 14px;
    border: 1px solid #d9e0ea;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.shop-pro-hero {
    padding: 0.95rem;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

.shop-pro-kicker {
    margin: 0;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.68rem;
    font-weight: 700;
}

.shop-pro-hero-copy h1 {
    margin: 0.2rem 0 0;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.shop-pro-hero-copy p {
    margin: 0.36rem 0 0;
    color: #64748b;
    font-size: 0.84rem;
}

.shop-pro-stats {
    margin-top: 0.64rem;
    display: flex;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.shop-pro-stats span {
    border-radius: 999px;
    border: 1px solid #d7deea;
    background: #f8fafc;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.56rem;
}

.shop-pro-search {
    border: 1px solid #dbe2ec;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.65rem;
}

.shop-pro-search-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.shop-pro-input {
    height: 38px;
    border-radius: 8px;
    border: 1px solid #d1d9e6;
    box-shadow: none;
    font-size: 0.83rem;
}

.shop-pro-input:focus {
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.08);
}

.shop-pro-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding-top: 0.15rem;
}

.shop-pro-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

.shop-pro-search-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.shop-pro-search-actions .btn {
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.shop-pro-section {
    padding: 0.85rem;
}

.shop-pro-section-head {
    margin-bottom: 0.6rem;
}

.shop-pro-section-head h2 {
    margin: 0;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 800;
}

.shop-pro-type-tabs {
    display: flex;
    gap: 0.42rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.shop-pro-type-tabs a {
    text-decoration: none;
    white-space: nowrap;
    color: #111827;
    border: 1px solid #d3dbe8;
    background: #f8fafc;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.28rem 0.62rem;
}

.shop-pro-type-tabs a.active,
.shop-pro-type-tabs a:hover {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
}

.shop-pro-cat-pills {
    display: flex;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.shop-pro-cat-pill {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #d3dbe8;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.28rem 0.6rem;
}

.shop-pro-cat-pill span {
    font-size: 0.67rem;
    color: #64748b;
}

.shop-pro-cat-pill.active,
.shop-pro-cat-pill:hover {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
}

.shop-pro-cat-pill.active span,
.shop-pro-cat-pill:hover span {
    color: rgba(255, 255, 255, 0.78);
}

.shop-pro-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
}

.shop-pro-results p {
    margin: 0;
    color: #475569;
    font-size: 0.8rem;
}

.shop-pro-results div {
    color: #64748b;
    font-size: 0.74rem;
}

.shop-pro-featured-grid,
.shop-pro-main-grid {
    gap: 0.75rem;
}

.shop-pro-shell .shop-product-card {
    border-radius: 11px;
    border: 1px solid #d6deea;
    box-shadow: 0 2px 9px rgba(15, 23, 42, 0.06);
}

.shop-pro-shell .shop-product-card:hover {
    border-color: #bfc9da;
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(15, 23, 42, 0.1);
}

.shop-pro-shell .shop-product-image-wrap {
    background: #f8fafc;
}

.shop-pro-shell .shop-product-price {
    color: #1d4ed8;
}

.shop-pro-shell .shop-product-view-btn {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
}

.shop-pro-shell .shop-product-view-btn:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

@media (min-width: 768px) {
    .shop-pro-hero {
        grid-template-columns: 1.05fr 1.25fr;
        align-items: start;
        padding: 1.05rem;
    }

    .shop-pro-search-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .shop-pro-featured-grid,
    .shop-pro-main-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .shop-pro-main-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
