.cartIcon {
    position: relative;
    display: inline-block;
}

.cartCount {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #e31837;
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartCount:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.cartCount[data-count="99+"] {
    font-size: 10px;
    padding: 4px 6px;
}

.cartButton {
    position: relative;
    display: inline-block;
}

.headerLogo {
    cursor: pointer;
}

.adminLoginContainer {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.adminLoginForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.adminContainer {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.adminMenu {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.adminForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.adminForm input,
.adminForm select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.adminForm button {
    padding: 10px;
    background: #e31837;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.adminForm button:hover {
    background: #c41430;
}

.success {
    color: green;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 4px;
    margin: 10px 0;
}

.error {
    color: #e31837;
    padding: 10px;
    background: #ffebee;
    border-radius: 4px;
    margin: 10px 0;
}

.itemsContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    position: relative;
}

.item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
    position: absolute;
    bottom: -60px;
    left: 0;
}

.page-link {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #f5f5f5;
    border-color: #e31837;
    color: #e31837;
}

.current-page {
    padding: 8px 12px;
    background: #e31837;
    border: 1px solid #e31837;
    border-radius: 4px;
    color: #fff;
}

@media (max-width: 1200px) {
    .itemsContainer {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .itemsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .itemsContainer {
        grid-template-columns: 1fr;
    }
}

.itemImg {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.itemText {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.4;
    flex-grow: 1;
}

.itemPrice {
    font-weight: bold;
    color: #e31837;
    margin: 10px 0;
}

.itemButton {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background: #e31837;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.itemButton:hover {
    background: #c41430;
} 