/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(to right, #fff9f6, #fff);
  color: #3c2b2b;
}

.header {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  border-bottom: 2px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo {
  height: 95px;
  width: 95px;           /* Make width equal to height */
  border-radius: 50%;    /* Circular shape */
  object-fit: cover;     /* Ensures image scales and fills the circle */
  border: 2px solid #f15a24; /* Optional: adds a nice border around logo */
}

.navbar a {
  margin: 0 15px;
  color: #3c2b2b;
  text-decoration: none;
  font-weight: 500;
}

.cart-icon {
  position: relative;
  font-size: 35px;
  color: rgb(249, 88, 29);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.cart-icon:hover {
  transform: scale(1.1);
  color: rgb(249, 88, 29);
}

#cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgb(249, 88, 29);
  color: white;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: #333332;
}


.marquee {
  background-color: rgb(249, 88, 29);
  color: white;
  padding: 10px 0;
  font-weight: bold;
  font-size: 16px;
}

/* Cart */
.cart-section {
  padding: 2rem 5%;
}

.cart-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.delivery-date {
  margin-bottom: 20px;
  color: #333332;
}

.cart-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cart-products {
  flex: 2;
}

.cart-products h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.cart-item {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  gap: 20px;
}

.cart-item img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 8px;
}

.cart-product-image {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-right: 10px;
}


.item-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.price {
  margin-bottom: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-controls button {
  background-color: #333332;
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.quantity-controls button:hover {
  background-color: rgb(249, 88, 29);
  transform: scale(1.1);
}

.quantity-controls .remove {
  background-color: rgb(249, 88, 29);
  padding: 6px 10px;
  border-radius: 6px;
}

.quantity-controls .remove:hover {
  background-color: rgb(249, 88, 29);
}


.bill-details {
  flex: 1;
  background: #fdfdfd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bill-details h3 {
  margin-bottom: 15px;
}

.bill-details p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 500;
}

.grand-total {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.cart-product-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 8px;
  margin-right: 15px;
  flex-shrink: 0;
}


.checkout-btn {
  width: 100%;
  background-color: #ccc;
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}



.checkout-btn:hover{
  background-color: #fff;
  color: rgb(249, 88, 29);

}

.back-products-link {
  display: block;
  margin-top: 15px;
}

.back-products-btn {
  width: 100%;
  background-color: rgb(249, 88, 29);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.back-products-btn:hover {
  background-color: #e8e8e8;
  color:rgb(249, 88, 29);
}



.footer {
  background-color: #f2f2f2;
  text-align: center;
  padding: 1rem;
  font-size: 14px;
  color: #555;
}

/* footer section starts */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    overflow-x: hidden;
}

.footer {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 40px 0px; /* Removed bottom padding */
    text-align: center;
    margin: 0;
}

.footer .footerbox-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .box {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    text-align: left;
    margin-right: 20px; /* Add space between boxes */
}

.footer .box:last-child {
    margin-right: 0; /* Remove margin from the last box */
}

.footer .box:nth-child(3) {
    flex: 0 1 auto; /* Allow this box to shrink */
    min-width: 150px; /* Reduce minimum width */
}

.footer .box a {
    display: block;
    margin-bottom: 10px;
}

.footer .box h1 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* General Text and Link Styling */
.footer .box p,
.footer .box a {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Social Media Icons Styling */
.footer .box .iconsss a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--main-color);
    color: #fff;
    text-align: center;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Social Media Icons Hover Effect */
.footer .box .iconsss a:hover {
    background: #fff; /* White background on hover */
    color: var(--main-color); /* Icon color changes to pink */
    transform: translateY(-5px); /* Pop-up effect */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.footer .box .iconsss a:active {
    transform: translateY(-3px) scale(0.95); /* Slightly reduce size when clicked */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Less shadow on click */
}

/* Heading Hover Effect */
.footer .box h1:hover {
    color: rgb(249, 88, 29); /* Change to pink on hover */
    transform: translateY(-3px); /* Slight upward movement */
}

/* Paragraph Text and Link Hover Effect */
.footer .box p:hover,
.footer .box a:hover {
    color:rgb(249, 88, 29); /* Change to pink on hover */
    transform: translateY(-3px); /* Slight upward movement */
    padding: 2px 5px; /* Add padding for emphasis */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for effect */
}

/* Footer Credit Hover Effect */
.footer .credit span:hover {
    color: rgb(249, 88, 29); /* Change to pink */
    transform: translateY(-3px); /* Slight upward movement */
    padding: 2px 5px; /* Add padding for emphasis */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for effect */
}

.footer .credit {
    margin-top: 20px;
    padding: 20px 20px 0; /* Adjusted padding */
    border-top: 1px solid #444;
    font-size: 16px;
    color: #ccc;
}

.footer .credit span {
    color: rgb(249, 88, 29);
}


/* footer section ends */
