#status-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
    padding: 5.5rem 1rem;
    color: var(--text-muted);
}

#status-message .status-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    border: 1px solid var(--border);
    font-size: 1.3rem;
}

#status-message.error .status-icon {
    color: var(--danger);
    border-color: rgba(255, 107, 107, 0.35);
}

#status-message.empty .status-icon {
    color: var(--text-muted);
}

.spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2.5px solid var(--border);
    border-top-color: var(--accent);
    animation: spin 0.8s linear infinite;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.product-card {
    position: relative;
    overflow: hidden;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.5rem 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--spark));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.28s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background-color: var(--surface-2);
}

.product-card:hover::before {
    transform: scaleY(1);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sku-tag {
    font-family: var(--font-mono);
    background-color: var(--accent-soft);
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    text-transform: uppercase;
}

.tax-tag {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-faint);
    font-size: 0.74rem;
}

.tax-tag i {
    font-size: 0.85rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.product-notes {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.55;
    margin-bottom: 1.6rem;
    min-height: 2.7rem;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.66rem;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
}

.price-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
}

.btn-buy {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease, gap 0.15s ease;
}

.btn-buy i {
    font-size: 0.95rem;
    transition: transform 0.15s ease;
}

.btn-buy:hover {
    background-color: #6d4bff;
    gap: 0.6rem;
}

.btn-buy:hover i {
    transform: translateX(2px);
}

.btn-buy:active {
    transform: scale(0.97);
}

.skeleton-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    height: 196px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skeleton-line {
    background: linear-gradient(90deg, var(--border) 25%, var(--surface-2) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
