/* store.css - Created on 07-05-26 */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #10b981;
    --accent: #f59e0b;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass: rgba(255, 255, 255, 0.4);
    --gem-text:     #79470f;
}

body {
    background-color: var(--bg-main);
    color: #1e293b;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.premium-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

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

.item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.badge-sold {
    background: #ef4444;
    color: white;
}

.badge-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Sold Out Stamp logic from viewshare.php */
.sold-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.is-sold-out .sold-overlay {
    opacity: 1;
}

.sold-stamp {
    font-size: 2.5rem;
    font-weight: 900;
    color: #dc2626;
    border: 5px solid #dc2626;
    padding: 0.5rem 1.5rem;
    transform: rotate(-15deg);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 16px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.premium-card:hover .product-img {
    transform: scale(1.08);
}

/* Navbar & Buttons */
.nav-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-premium:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.btn-emerald {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-emerald:hover {
    opacity: 0.9;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.btn-rose {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1.5px solid #fecdd3 !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.05);
}

.btn-rose:hover {
    background: #ffe4e6 !important;
    border-color: #fda4af !important;
}

/* Status Badges - added on 07-05-26 */
.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.status-paid, .status-restocked, .status-returned, .status-shipped { /* added on 19-05-26 */
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.status-rejected, .status-return-rejected, .status-denied {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.status-return-pending, .status-pending {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}

.status-damaged {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.status-sold {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* High Visibility Solid Variants for specific items */
.status-rejected.solid { background: #dc2626; color: white; border: none; }
.status-restocked.solid { background: #059669; color: white; border: none; }

