/* Search bar */
.search-container {
            position: relative;
            width: 300px;
            margin-left:auto;
        }

        .search-input {
            width: 85%;
            padding: 12px 20px;
            border: none;
            border-radius: 30px; /* Curved shape */
            font-size: 16px;
            outline: none;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        }

        .search-button {
            position: absolute;
            right:10px;
            top: 55%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: #555;
        }

/* Product Listing */
.product-listing-container {
    height: auto;
    flex: 1; 
    padding: 20px;
    padding-bottom: 70px;  
    text-align: center;
}


.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    width: 200px;
    text-align: center;
    border-radius: 8px;
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-card h3 {
	min-height: 46px;
    font-size: 18px;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card p {
    font-size: 16px;
    color: #666;
}

.btn-add-to-wishlist {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 4px;
}


/* Wishlist Styling */
.wishlist-container {
    padding: 20px;
    text-align: center;
}

.wishlist-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.wishlist-item {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    width: 200px;
    text-align: center;
    border-radius: 8px;
}

.wishlist-item img {
    width: 100%;
    height: auto;
}

.wishlist-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.wishlist-item p {
    font-size: 16px;
    color: #666;
}

.btn-move-to-cart, .btn-remove-from-wishlist {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 12px;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 4px;
}

.btn-move-to-cart:hover, .btn-remove-from-wishlist:hover {
    background-color: #555;
}


/* Cart Styling */
.cart-container {
    width: 900px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto 70px auto;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.cart-item img {
    width: 160px; 
    height: auto;
    border-radius: 8px;
    gap:10px;
}
/* Item Details */
.item-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.item-details h2 {
    font-size: 20px;
    /* margin-bottom: 5px; */
    margin-top: 0px;
}

.item-details p {
    font-size: 16px;
    /* margin: 5px 0; */
    margin-top: 0px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}
/* Size Selection */
.size-container {
    display: flex;
    align-items: center;
    gap: 20px;
    /* margin-top: 10px; */
    margin-top: 0px;
    flex-wrap:wrap;
}

.size-selection {
    display: flex;
    gap: 15px;
    margin-top: 0px;
}

.size-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    text-align: center;
}

.size-option input {
    display: none;
}

.size-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #333;
}
/* When selected, fill the background */
.size-option input:checked + span {
    background: #333;
    color: #fff;
    border-radius: 50%;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 0px;
    margin-left:10px;
    flex-wrap: wrap; /* Ensures buttons don't overlap */
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-control button {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.remove {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.order-summary {
    text-align: left;
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
}

/* .checkout {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
} */


/* Profile Styling */
.profile-container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h3 {
    text-align: left;
    margin-bottom: 15px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

.btn-save-profile {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}

.btn-save-profile:hover {
    background-color: #555;
}


/* cart & wishlist button styling */
.cartBtn, .btn-add-to-wishlist {
	width: 155px;
  	height: 50px;
  	border: none;
  	border-radius: 10px;
  	display: inline-flex;
	align-items: center;
	justify-content: center; /* Center content horizontally */
	gap: 5px;
  	margin-left: 5px;
  	margin-top: 7px;
  	color: white;
  	font-weight: 500;
  	position: relative;
  	background-color: rgb(29, 29, 29);
  	box-shadow: 0 20px 30px -7px rgba(27, 27, 27, 0.219);
  	transition: all 0.3s ease-in-out;
  	cursor: pointer;
  	overflow: hidden;
}

.cart {
  z-index: 2;
}

.cartBtn:active {
  transform: scale(0.96);
}

.product {
  position: absolute;
  width: 12px;
  border-radius: 3px;
  content: "";
  left: 23px;
  bottom: 23px;
  opacity: 0;
  z-index: 1;
  fill: rgb(211, 211, 211);
}

.cartBtn:hover .product {
  animation: slide-in-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-30px);
    opacity: 1;
  }

  100% {
    transform: translateY(0) rotate(-90deg);
    opacity: 1;
  }
}

.cartBtn:hover .cart {
  animation: slide-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-10px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


 /* wishlist heart */
.heart-icon {
	width: 20px;
    height: 20px;
    fill: none; /* Initially no fill */
    stroke: red; /* Red outline */
    stroke-width: 2; /* Adjust outline thickness as needed */
    transition: fill 0.3s ease; /* Smooth transition for fill */
}

.btn-add-to-wishlist:hover .heart-icon {
    fill: red; /* Fill with red on hover */
    stroke: none; /* Remove outline on hover if desired */
}
.filled {
    fill: red !important;
    stroke: none;
}


/* size radio buttons */
.size-options {
    display: flex;
    gap: 10px;
}

.size-options input[type="radio"] {
    display: none; /* Hide default radio button */
}

.size-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

/* Highlight the selected size */
.size-options input[type="radio"]:checked + label {
    background-color: #000;
    color: #fff;
}


/* Confirm Size */
.confirm-button {
  width: 160px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: Green;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
  background: #00a600;
  position: relative;
}

.confirm-button .text {
  /* transform: translateX(35px); */
  color: white;
  font-weight: bold;
  margin-left:10px;
}

.confirm-button .icon {
  position: absolute;
  border-left: 1px solid #006e00;
  transform: translateX(110px);
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-button:hover {
  background: #008000;
}

.confirm-button:hover .text {
  color: transparent;
  
}

.confirm-button:hover .icon {
  width: 150px;
  border-left: none;
  transform: translateX(0);
}

.confirm-button:focus {
  outline: none;
}

.confirm-button:active .icon svg {
  transform: scale(0.8);
}

.confirm-button,
.confirm-button span {
  transition: 200ms;
}


/* Delete button */
/* .button {
  position: relative;
  width: 160px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid #cc0000;
  background-color: #e50000;
  overflow: hidden;
  margin-left:10px;
}

.button, .button__icon, .button__text {
  transition: all 0.3s;
}

.button .button__text {
  transform: translateX(35px);
  color: #fff;
  font-weight: 600;
}

.button .button__icon {
  position: absolute;
  transform: translateX(109px);
  height: 100%;
  width: 39px;
  background-color: #cc0000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button .svg {
  width: 20px;
}

.button:hover {
  background: #cc0000;
}

.button:hover .button__text {
  color: transparent;
}

.button:hover .button__icon {
  width: 148px;
  transform: translateX(0);
}

.button:active .button__icon {
  background-color: #b20000;
}

.button:active {
  border: 1px solid #b20000;
} */




/* Checkout button */
.checkout {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 10px 20px;
  border-radius: 10px;
  background: white;
  border: 1px solid black;
  display: flex;
  align-items: center;
  font-size: 15px;
  color:black;
}

.checkout:hover {
    background: #c4e201;
}

.checkout > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.checkout:hover svg {
  transform: translateX(5px);
}

.checkout:active {
  transform: scale(0.95);
}


/* Orders page styling */
.order-container {
	width: 900px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto 75px auto;
}

.order-card {
	display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    gap: 20px; 
} 

.product-image { 
	width: 135px;
	height: auto;
    border-radius: 8px;
}

.order-info h2 {
	margin: 0 0 10px;
}

.order-info p {
	margin: 5px 0;
	font-size: 16px;
}

.delivery-date {
	color: green;
    font-weight: bold;
}
