:root {
    --primary: #ff4757;
    --secondary: #2f3542;
    --dark: #2f3542;
    --bg-site: #f5f5f5;
    --card-bg: #ffffff;
    --card-text: #2f3542;
    --btn-text: #ffffff;
    --white: #ffffff;
    --gray-light: #f1f2f6;
    --gray-medium: #dfe4ea;
    --gray: #747d8c;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --radius: 15px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Category Pills Style */
.cat-pill {
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
}

.cat-pill:hover {
    background: #eee;
}

.cat-pill.active {
    background: var(--dark);
    color: white;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 30px;
    background: var(--white);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--gray-medium);
    border-radius: 30px;
    background: var(--gray-light);
    outline: none;
}

.search-container i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Product Card - RioBeer Style */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-image-container {
    height: 180px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    border-radius: 20px; /* Rounded corners */
    transition: transform 0.3s;
}

.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 5;
}

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

.product-card:hover .watermark-overlay {
    opacity: 1;
}

.product-details {
    flex: 1;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--dark);
}

.product-sku {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

/* Quantity Selector - RioBeer Style */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-qty {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.btn-qty:hover { opacity: 0.9; }
.btn-qty:disabled { background: var(--gray-medium); cursor: not-allowed; }

.qty-input {
    width: 40px;
    height: 30px;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sticky Mobile Cart */
.mobile-cart-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    padding: 15px 20px;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body { flex-direction: column; }
    .sidebar-nav { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--gray-medium); position: relative; }
    .main-content { padding: 15px; }
    .mobile-cart-bar { display: flex; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sidebar-logo { margin-bottom: 15px; }
    .category-list { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; }
    .category-item a { white-space: nowrap; padding: 8px 12px; }
}

/* User Status & Badges */
.status-badge { padding: 3px 8px; border-radius: 20px; font-weight: 700; margin-left: 5px; font-size: 0.7rem; }
.status-approved { background: #e3fcef; color: #00875a; }
.status-pending { background: #fff4e5; color: #b76e00; }

.badge-alcoholic-warning {
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 5px;
    display: block;
}

.btn-checkout {
    background: var(--dark);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-checkout:hover {
    background: var(--primary);
}

.btn-checkout:disabled { opacity: 0.5; }
