.menu-actions {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-btn#addProductGroup {
    background: linear-gradient(135deg, #A67C52, #8B6F47);
    color: #FFF8E7;
    order: 1;
}

.action-btn#addProduct {
    background: linear-gradient(135deg, #A67C52, #8B6F47);
    color: white;
    order: 2;
}

.action-btn#addProductGroup:hover {
    background: linear-gradient(135deg, #8B6F47, #6B4423);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(166, 124, 82, 0.3);
}

.action-btn#addProduct:hover {
    background: linear-gradient(135deg, #8B6F47, #6B4423);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(166, 124, 82, 0.3);
}

.menu-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(166, 124, 82, 0.15);
    overflow: hidden;
    border: 1px solid #D7C4B0;
}

.menu-sidebar {
    padding: 1.5rem;
    background: linear-gradient(180deg, #FFF8E7 0%, #F5EBE0 100%);
    border-right: 2px solid #D7C4B0;
}

.menu-sidebar h3 {
    color: #6B4423;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #D7C4B0;
}

.product-groups {
    list-style: none;
    padding: 0;
}

.product-groups li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.product-groups li:hover {
    background: rgba(166, 124, 82, 0.1);
}

.product-groups li.active {
    background: linear-gradient(135deg, #A67C52, #8B6F47);
    color: #FFF8E7;
    box-shadow: 0 2px 6px rgba(166, 124, 82, 0.3);
}

.menu-content {
    padding: 2rem;
    background: #FDFAF5;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(166, 124, 82, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #E8D5C4;
}

.product-card:hover {
    box-shadow: 0 6px 16px rgba(166, 124, 82, 0.25);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(135deg, #FFF8E7, #F5EBE0);
    border-bottom: 2px solid #D7C4B0;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.product-actions button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.edit-btn {
    background: rgba(166, 124, 82, 0.95);
    color: white;
}

.delete-btn {
    background: rgba(185, 94, 94, 0.95);
    color: white;
}

.visibility-btn {
    background: rgba(139, 111, 71, 0.95);
    color: white;
}

.edit-btn:hover {
    background: #A67C52;
    transform: scale(1.1);
}

.delete-btn:hover {
    background: #B95E5E;
    transform: scale(1.1);
}

.visibility-btn:hover {
    background: #8B6F47;
    transform: scale(1.1);
}

.product-card.hidden {
    opacity: 0.6;
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.product-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #7FB069;
}

.product-status input[type="checkbox"] {
    margin: 0;
}

.product-status.unavailable {
    color: #B95E5E;
}

/* Checkbox styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

/* Size selector styles */
select#productSize {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
}

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: white;
}

.product-info h4 {
    margin: 0;
    font-size: 15px;
    color: #6B4423;
    font-weight: 600;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8B6F47;
    font-size: 13px;
    padding: 5px 10px;
    background: #FFF8E7;
    border-radius: 6px;
    border: 1px solid #E8D5C4;
}

.product-group i {
    font-size: 12px;
    opacity: 0.8;
}

.product-price {
    color: #A67C52;
    font-weight: 700;
    font-size: 15px;
}

.product-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #E8D5C4;
    margin-top: auto;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8B6F47;
    font-size: 13px;
}

.product-stock.low {
    color: #f59e0b;
}

.product-stock.out {
    color: #dc2626;
}

.product-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* Image upload styles */
.image-upload {
    text-align: center;
    margin-bottom: 1rem;
}

.image-upload img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #bbdefb;
    border-color: #64b5f6;
}