/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ddd;
    margin: 0;
    padding: 0;
}
.top-bar {
    background-color: #b38140;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures it stays above the navbar */
}


@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    .contact, .address {
        margin: 5px 0;
    }
}




.navbar {
    display: flex;
    background: #8e1717;
    color: #FFFFFF;
    height: 80px;
    position: fixed;
    z-index: 999;
    width: 100%;
    align-items: center;
    padding: 0 20px;
    transition: all 0.3s ease-in-out;
    top: 38px; /* Push it down below the top-bar */
}

.navcontent {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  position: relative;
}

.horiclogo img {
  flex-shrink: 0;
  height: 70px;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}

.menu-icon div {
  width: 25px;
  height: 3px;
  background-color: #FFFFFF;
  margin: 4px 0;
  transition: all 0.3s ease-in-out;
}

.navbar__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
  margin: 0 auto;
  flex-grow: 1;
}

.navbar__list {
  padding: 0 1rem;
}

.navbar__list a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 20px;
  position: relative;
}

.navbar__list a:hover {
  color: #E8D8C4;
}

.navbar__listbutt {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.cart-icon {
  position: relative;
  margin-right: 20px;
  color: #FFFFFF;
}
.cart-icon i:hover{
  color: #E8D8C4;
  cursor: pointer;
}
.cart-icon i {
  font-size: 24px;
  margin: 10px;
}

.cart-icon i img {
  font-size: 24px;
  margin: 10px;
}
.cart-count {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #FF0000;
  color: #FFFFFF;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

#signupbtn {
  background: #C7B7A3;
  border-radius: 5px;
  padding: 10px 20px;
  color: #FFFFFF;
  text-decoration: none;
  margin-right: 0;
}

#signupbtn:hover {
  background: #E8D8C4;
  transition: 0.3s ease;
}
.auth-button{
  background: #C7B7A3;
  border-radius: 5px;
  padding: 10px 20px;
  color: #FFFFFF;
  text-decoration: none;
  margin-right: 0;
}
.auth-button:hover{
  background: #E8D8C4;
  transition: 0.3s ease;
}
/* Shop Header */
.shop-header {
    padding: 60px 20px;
    background: #E8D8C4;
    text-align: center;
    margin-top: 60px;
}

.shop-header h1 {
    font-size: 3rem;
    color: #8e1717;
    margin-bottom: 10px;
}

.shop-header p {
    font-size: 1.5rem;
    color: #8e1717;
}


.breadcrumb {
    list-style: none;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.breadcrumb li {
    display: inline;
    font-size: 1rem;
}

.breadcrumb li+li:before {
    padding: 8px;
    color: #C7B7A3;
    content: "/\00a0";
}

.breadcrumb a {
    color: #8e1717;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Section */

header {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .container {
    display: flex;
    flex: 1;
  }

  .sidebar {
    width: 300px;
    padding: 20px;
    background-color: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .sidebar h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #8e1717;
  }

  fieldset {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  legend {
    font-weight: bold;
    font-size: 16px;
    padding: 0 10px;
    color: #8e1717;
  }

  .product-container {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    background-color: #fafafa;
  }

  .product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

  .product-card img {
    max-width: 100%;
    height: 250px;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .product-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #8e1717;
  }

  .product-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
  }
  .description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
  }

  .add-to-cart-btn {
    background-color: #8e1717;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: large;
  }

  .add-to-cart-btn:hover {
    background-color: #C7B7A3;
  }

  #reset-filters {
    background-color: #8e1717;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  #reset-filters:hover {
    background-color: #8e1715;
  }

  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }

    .sidebar {
      width: 100%;
      padding: 15px;
    }

    .product-container {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  }







@media (max-width: 768px) {

    .menu-icon {
        display: flex;
    }
  
    .navbar__menu {
        flex-direction: column;
        align-items: center;
        max-height: 0;
        backdrop-filter: 30px blur;
        box-shadow: 0px 0px 40px rgba(167, 168, 172, 0.37);
        border: 0px solid rgba(255, 255, 255, 0.37);
        background-color: #C7B7A3;
        color: #F8F8F6;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        z-index: 1;
    }
  
    .navbar.open .navbar__menu {
        max-height: 300px; 
    }
  
    .navbar__list {
        padding: 10px;
        width: 100%;
        text-align: center;
    }
  
    .navbar__list a {
        color: #F8F8F6;
    }
  
    .navbar__list a:hover {
        color: #8e1717;
    }
  
    .navbar__listbutt {
        width: auto;
        display: flex;
        justify-content: center;
        margin: 0;
        margin-left: auto;
    }
  
    .navbar__listbutt a {
        color: black;
        padding: 8px 15px; /* Reduce padding for smaller screens */
        font-size: 14px;   /* Adjust font size */
    }
   
    .cart-icon i {
      font-size: 24px; /* Reduce icon size for better spacing */
  }

  #signupbtn {
      font-size: 14px; /* Reduce font size for smaller screens */
      padding: 10px 15px; /* Reduce button padding */
  }
 
  .shop-header h1 {
    font-size: 2rem;
    
    
}

    
}
@media (max-width: 430px) {

  .menu-icon {
    display: flex;
    
}

.navbar__menu {
    flex-direction: column;
    align-items: center;
    max-height: 0;
    backdrop-filter: 30px blur;
    box-shadow: 0px 0px 40px rgba(167, 168, 172, 0.37);
    border: 0px solid rgba(255, 255, 255, 0.37);
    background-color: #C7B7A3;
    color: #F8F8F6;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 1;
}

.navbar.open .navbar__menu {
    max-height: 300px; 
}

.navbar__list {
    padding: 10px;
    width: 100%;
    text-align: center;
}

.navbar__list a {
    color: #F8F8F6;
}

.navbar__list a:hover {
    color: #8e1717;
}

.navbar__listbutt {
    width: auto;
    display: flex;
    justify-content: center;
    margin: 0;
    margin-left: 10px;
}

.navbar__listbutt a {
    color: black;
    padding: 8px 15px; /* Reduce padding for smaller screens */
    font-size: 14px;   /* Adjust font size */
}
.cart-count{
  top: -5px;
  right: 0px;
  background-color: #FF0000;
  color: #FFFFFF;
  border-radius: 50%;
  padding: 2px 4px;
  font-size: 12px;
}
.cart-icon i {
  font-size: 20px; /* Reduce icon size further */
  margin: 2px; /* Reduce margin for better spacing */
}
#signupbtn {
  font-size: 14px; /* Reduce font size for smaller screens */
  padding: 8px 12px; /* Reduce button padding */
}

.shop-header h1 {
  font-size: 2rem;
  
  
}

}

@media (max-width: 390px) {

  .menu-icon {
    display: flex;
    
}

.navbar__menu {
    flex-direction: column;
    align-items: center;
    max-height: 0;
    backdrop-filter: 30px blur;
    box-shadow: 0px 0px 40px rgba(167, 168, 172, 0.37);
    border: 0px solid rgba(255, 255, 255, 0.37);
    background-color: #C7B7A3;
    color: #F8F8F6;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 1;
}

.navbar.open .navbar__menu {
    max-height: 300px; 
}

.navbar__list {
    padding: 10px;
    width: 100%;
    text-align: center;
}

.navbar__list a {
    color: #F8F8F6;
}

.navbar__list a:hover {
    color: #8e1717;
}

.navbar__listbutt {
    width: auto;
    display: flex;
    justify-content: center;
    margin: 0;
    margin-left: 20px;
}

.navbar__listbutt a {
    color: black;
    padding: 8px 15px; /* Reduce padding for smaller screens */
    font-size: 14px;   /* Adjust font size */
}
.cart-count{
  top: -5px;
  right: 0px;
  background-color: #FF0000;
  color: #FFFFFF;
  border-radius: 50%;
  padding: 2px 4px;
  font-size: 12px;
}
.cart-icon i {
  font-size: 20px; /* Reduce icon size further */
  margin: 1px; /* Reduce margin for better spacing */
}
#signupbtn {
  font-size: 14px; /* Reduce font size for smaller screens */
  padding: 6px 10px; /* Reduce button padding */
}

}
/* Cart Panel */
.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 500px; /* Increased width */
  background: #fff;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  padding: 25px; /* Increased padding */
  background-color: #8e1717;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  padding: 15px; /* Increased padding */
  max-height: auto; /* Adjusted height to fit more items */
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0; /* Increased spacing */
  border-bottom: 1px solid #ddd;
  height: 170px;
}

.cart-item img {
  width: 120px; /* Increased size */
  height: 110px; /* Increased size */
 
  
}

.cart-item-details {
  flex-grow: 1;
  margin-left: 65px; /* Increased margin */
}

.cart-item h4 {
  margin: 0;
  font-size: 18px; /* Larger font size */
  color: #8e1717;
}

.cart-item .price {
  color: #555;
  font-size: 16px; /* Larger font size */
  margin-top: 5px; /* Spaced price from name */
  margin-bottom: 5px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  
}

.quantity-selector button {
  background-color: #561C24;
  color: white;
  border: none;
  padding: 3px 10px;
  cursor: pointer;
  font-size: 16px; /* Larger font size */
  margin: 0 5px;
  border-radius: 3px;
}

.cart-footer {
  padding: 25px; /* Increased padding */
  background-color: #f8f8f8;
}

.cart-footer p {
  font-size: 18px; /* Larger font size */
  color: #8e1717;
}

.checkout-btn {
  width: 100%;
  padding: 15px; /* Increased padding */
  background-color: #8e1717;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 18px; /* Larger font size */
}

.checkout-btn:hover {
  background-color: #C7B7A3;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Full Page Checkout Styling */
/* General Form Styling (unchanged) */
.checkout-page {
  display: flex;
  justify-content: center;
  align-items:center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #ffffff, #f0f0f0);
  z-index: 1002;
  overflow-y: auto;
  padding: 60px 20px 0px 20px;
  font-family: 'Poppins', sans-serif;
}

.checkout-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  max-height: 100vh;
  margin: auto;
}

.checkout-form-section {
  flex: 2;
  padding: 50px;
  background-color: #ffffff;
}

.section-title {
  font-size: 28px;
  color: #333;
  font-weight: 600;
  margin-bottom: 30px;
}

.form-block {
  margin-bottom: 40px;
}

.form-title {
  font-size: 22px;
  color: #555;
  font-weight: 500;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}
.form-group {
  display: flex;
  align-items: center; /* Align items vertically */
  margin-bottom: 20px; /* Increased margin for better spacing */
}


.form-group label {
  display: block;
  width: 150px; /* Fixed width for labels */
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-right: 20px; /* Spacing between label and input */
  text-align: right; /* Align label text to the right */
}


.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"]
 {
  width: calc(100% - 170px); /* Input width adjusted according to label width and margin */
  height: 40px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa;
  transition: border 0.3s;
}

.form-group input:focus {
  border-color: #1D72B8;
}

/* Error State for Required Fields */
.form-group.error input {
  border-color: #e74c3c;
  background-color: #f9ecec;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
}

/* Modern Complete Order Button */
#complete-order-btn {
  display: block;
  width: 200px;
  padding: 20px; /* Adjusted padding for a more substantial button */
  font-size: 18px;
  background-color: #561C24;
  color: white;
  border: none;
  border-radius: 8px; /* Fixed missing value */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  font-weight: bold;
  margin-top: 40px; /* Adjusted margin for better spacing */
  margin-left: 40%;
  margin-bottom: 40px;
}

#complete-order-btn:active {
  transform: scale(0.98);
}

#complete-order-btn:hover {
  background-color: #C7B7A3;
}

/* Right Side: Cart Summary */
.cart-summary-section {
  flex: 1;
  padding: 50px;
  background-color: #f5f5f5;
}

.cart-summary-section .section-title {
  font-size: 24px;
  color: #333;
  font-weight: 600;
  margin-bottom: 30px;
}

.cart-items .checkout-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.cart-items .checkout-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
}

.cart-items .checkout-item p {
  flex-grow: 1;
  font-size: 16px;
  color: #444;
  margin: 0;
}

.order-summary {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #ddd;
}

.order-summary p {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
  font-weight: 500;
}

.order-summary span {
  font-weight: bold;
  color: #561C24;
}






 /* Footer Container */
.footer {
    background-color: #862828;
    color: #f4d488;
    padding: 50px 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 80px 80px 0 0;
    text-align: center;
}

/* Left Section */
.footer-sec {
    max-width: 250px;
    text-align: left;
    color: #f4d488;
}

.footer-sec img.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}


.footer-sec p {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    
   
}

/* Contact Info and Dots Wrapper */
.contact-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 0 20px;
}

/* Adding white border on each side of contact-wrapper */
.contact-wrapper::before,
.contact-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #ffffff;
    border-radius: 2px;
}

.contact-wrapper::before {
    left: -15px;
}

.contact-wrapper::after {
    right: -15px;
}

/* Dot Sections */
.dots {
    display: flex;
    gap: 0px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.yellow {
    background-color: #f4d488;
    border: 1px solid;
}

.orange {
    background-color: transparent;
    border: 1px solid #ffffff;
}

.white {
    background-color: #ffffff;
    border: 1px solid #ffffff;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    text-align: center;
}

.contact-info p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

/* Right Section - Certifications */
.certification-info {
    max-width: 250px;
    text-align: center;
    color: #f4d488;
}

.certification-info h3 {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: bolder;
}

.certification-info p {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
   
}

.certification-images {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.certification-images img {
    width: 90px;
    height: auto;
}

.footer-bottom {
background-color: #D2B260; /* Beige background */
color: #7C111E;
text-align: center;
padding: 10px 0;
margin-top: 0px;
font-size: 14px;
bottom: 0px;

}

.footer-bottom ul {
list-style: none;
padding: 0;
margin: 10px 0 0;
display: flex;
justify-content: center;
gap: 10px;
}

.footer-bottom ul li a {
color: #7C111E;
text-decoration: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-wrapper::before,
    .contact-wrapper::after {
        display: none;
    }

    .footer-sec, .contact-info, .certification-info {
        max-width: 100%;
        margin: 10px 0;
    }

    .certification-images img {
        width: 50px;
    }
}