:root {
    --secondary-color: #f8f9fa;
    --dark-color: #343a40;
    --light-color: #ffffff;
    --shadow: 0 5px 15px -7px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

.product-card {
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    border: none;
    position: relative;
    font-family: 'Raleway';
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


.product-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    color: #ffffff;
    border-radius: 15px;
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    color: #9f9f9f;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.product-wishlist:hover, .product-wishlist.active {
    color: #ff4757;
}

.product-body {
    padding: 20px;
    position: relative;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
    height: 50px;
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--izo-green);
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif !important;
}

.product-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 5px;
    font-family: 'Roboto', sans-serif !important;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.product-rating .text-muted {
    color: #6c757d !important;
    margin-left: 5px;
    font-family: 'Roboto', sans-serif !important;
    font-size: .8rem;
}

.btn-add-to-cart {
    background-color: var(--izo-green);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
}

.btn-add-to-cart:hover {
    background-color: var(--izo-green-dark);
    transform: translateY(-2px);
    color: #ffffff;
}

.product-options {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 20px;
    z-index: 10;
    display: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in;
}

.options-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--izo-green);
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif !important;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
}

.quantity-btn {
    width: 40px;
    height: 35px;
    background: var(--izo-green);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--izo-green-dark);
}

.quantity-input {
    width: 60px;
    height: 35px;
    text-align: center;
    margin: 0 10px;
    font-size: 1rem;
    font-weight: 600;
}

.unit-selector {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.unit-option {
    flex: 1;
}

.unit-option input[type="radio"] {
    display: none;
}

.unit-option label {
    display: block;
    padding: 3px 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.unit-option input[type="radio"]:checked + label {
    background-color: var(--izo-green);
    color: #ffffff;
    border-color: var(--izo-green);
}

.btn-apply {
    background-color: var(--izo-green);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    margin-top: 10px;
}

.btn-apply:hover {
    background-color: var(--izo-green);
    color: #ffffff;
}

.total-price {
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif !important;
}


