
.large-icon {
    font-size: 3em;
    position: relative;
}
.icon-count {
    position: absolute;
    padding-top: 20rem;
    padding-left: 5rem;
    background-color: green;
    color: white;
    border-radius: 50%;
    padding: 10px 10px;
    font-size: 0.8em;
    font-weight: bold;
}
.cart-wishlist-icons {
display: flex;
justify-content: space-between; /* Spread out items to the left and right */
align-items: center; /* Vertically align the items in the center */
width: 90%; /* Full width */
}

.left-icons {
display: flex;
gap: 0.5rem; /* Space between the buttons */
}

.cart-wishlist-icons .btn {
background-color: transparent; /* Keeps the background transparent */
border: none; /* Removes the default button border */
position: relative;
}

.cart-wishlist-icons .large-icon {
font-size: 2em; /* Adjust the size of the icons */
}
.search-form {
display: flex;
align-items: center; /* Align the search input and button horizontally */
}

.search-input {
padding: 0.5rem;
font-size: 1rem;
border-radius: 5px;
border: 1px solid #ddd;
width: 200px; /* Width of the search input */
}

.search-btn {
background-color: transparent;
border: none;
padding: 0.5rem;
cursor: pointer;
font-size: 1.2rem;
margin-left: 0.5rem;
}

.search-btn i {
color: #333; /* Color for the search icon */
}

.search-btn:hover i {
color: #28a745; /* Hover effect for the search icon */
}

.search-input::placeholder {
color: #999; /* Placeholder text color */
}
.product-item {
padding: 1rem;
}
/* Media Queries */

@media (max-width: 1440px) {
.search-input {
width: 300px; /* Width of the search input */
}

.product-item {
padding: 1.5rem; /* Adjust padding for large screens */
}
}

@media (max-width: 1024px) {
.search-input {
width: 250px; /* Adjust width for medium screens */
}

.product-item {
padding: 1.2rem; /* Adjust padding for medium screens */
}
}

@media (max-width: 768px) {
.search-form {
flex-direction: column; /* Stack search input and button vertically */
align-items: flex-start; /* Align items to the start */
}

.search-input {
width: 100%; /* Full width for smaller screens */
margin-bottom: 0.5rem; /* Add some margin for spacing */
}

.product-item {
padding: 1rem; /* Adjust padding for smaller screens */
}
}

@media (max-width: 576px) {
.search-form {
flex-direction: column; /* Stack search input and button vertically */
align-items: flex-start; /* Align items to the start */
}

.search-input {
width: 100%; /* Full width for smaller screens */
margin-bottom: 0.5rem; /* Add some margin for spacing */
}

.product-item {
padding: 0.8rem; /* Adjust padding for extra small screens */
}
}


.product-list {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem;
padding-bottom:2rem;
width:280px;
height:20rem;
margin: 1rem auto;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
background: #fff;
}

.product-list:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.fashions-logo img {
max-width: 100%;
max-height: 150px;
object-fit: contain;
border-radius: 8px;
}

.product-details {
width: 100%;
padding: 0;
margin: 0;
margin-top: 0.2rem; /* Adjust to remove space */
}

.rest-descr {
margin: 0;
padding: 0; /* Ensures content starts at the top */
margin-bottom: 0.1rem; /* Adjust to remove space */

}

.rest-descr h6 {
font-size: 1.0rem;
margin-bottom: 0.2rem;
margin-top: 0.2rem;
color: #333;
}

.rest-descr p {
font-size: 0.9rem;
color: #777;
margin-bottom: 0.2rem;
margin-left: 0;
color:yellow;
}

.item-cart-info {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.2rem;
margin-bottom:0.1rem;
}

.price {
font-size: 1.2rem;
color: #28a745;
}

.quantity-input {
max-width: 3rem;
text-align: center;
padding: 0.2rem;

}

.add-to-cart-btn {
font-size: 0.8rem;
padding: 0.5rem 1rem;

}

@media (max-width: 992px) {
.col-md-4 {
width: 50%;
}

.product-list {
margin-bottom: 1rem;
}

.fashions-logo img {
max-height: 120px;
}
}

@media (max-width: 768px) {
.col-sm-6 {
width: 100%;
}

.product-list {
padding: 0.5rem;
}

.item-cart-info {
flex-direction: column;
align-items: flex-start;
}
}

/* General Modal Styling */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto; /* Enable scrolling for the modal */
background-color: rgba(0, 0, 0, 0.4);
animation: fadeIn 0.3s;
}

.modal-content {
background-color: #fefefe;
margin: 5% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
max-height: 80vh; /* Set a maximum height for the modal */
overflow-y: auto; /* Enable vertical scrolling */
animation: slideIn 0.3s;
position: relative;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
border-radius: 8px; /* Optional for rounded corners */
}


.close {
position: absolute;
top: 15px;
right: 15px;
color: #333;
font-size: 24px;
font-weight: bold;
cursor: pointer;
border: none;
background: transparent;
outline: none;
transition: color 0.2s;
}

.close:hover {
color: #d9534f; /* Danger Red */
}

.product-modal-img {
max-width: 100%;
border-radius: 10px;
margin-bottom: 20px;
object-fit: cover;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal h5 {
font-size: 1.5rem;
font-weight: bold;
color: #333;
margin-bottom: 15px;
text-align: center;
}

.modal h6 {
font-size: 1rem;
font-weight: bold;
color: #555;
margin-top: 15px;
margin-bottom: 5px;
}

form .form-control {
width: 100%;
border-radius: 5px;
padding: 10px;
border: 1px solid #ddd;
font-size: 1rem;
margin-bottom: 10px;
}

.button-group {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
gap: 10px;
}

.button-group .btn {
flex: 1;
text-align: center;
padding: 10px 15px;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}

.button-group .btn.add-to-cart {
background-color: #28a745;
color: #fff;
}

.button-group .btn.add-to-cart:hover {
background-color: #218838;
transform: scale(1.05);
}

.button-group .btn.wishlist-btn {
background-color: #ffc107;
color: #fff;
}

.button-group .btn.wishlist-btn:hover {
background-color: #e0a800;
transform: scale(1.05);
}

/* Responsive Modal Styling */
@media screen and (max-width: 767px) {
.modal-content {
width: 95%;
margin: 10% auto;
padding: 15px;
}

.button-group {
flex-direction: column;
gap: 10px;
}
}
