* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: white;
  color: #000000;
}

.logo-link img {
  height: 120px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 12px 24px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  width: 450px;
  height: 120px;
  margin-right: 10px;
}

.brand-logo {
  font-size: 1.6rem;
  font-weight: bold;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
}

/* Icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none !important;
}

.nav-icon {
  font-size: 1.3rem;
  color: black;
  cursor: pointer;
  position: relative;
  text-decoration: none !important;
}

.modal {
      display: none; /* Modal is hidden by default */
      justify-content: center;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1000;
    }

    .modal-content {
      background-color: #fff;
      padding: 30px;
      border-radius: 8px;
      width: 350px;
      text-align: center;
    }

    input {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    button {
      width: 100%;
      padding: 10px;
      background: black;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .link {
      color: blue;
      cursor: pointer;
      text-decoration: none;
    }

    /* Profile Dropdown */
    .profile-dropdown {
      position: relative;
    }

    .dropdown-toggle {
      cursor: pointer;
    }

    .dropdown-menu {
      display: none;
      position: absolute;
      top: 35px;
      right: 0;
      background-color: #ffffff;
      border: 1px solid #ccc;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      width: 200px;
      z-index: 999;
    }

    .dropdown-menu.show {
      display: block;
    }

    .dropdown-menu a {
      display: flex;
      align-items: center;
      padding: 10px;
      color: #000;
      text-decoration: none;
      transition: background 0.3s;
    }

    .dropdown-menu a i {
      margin-right: 10px;
    }

    .dropdown-menu a:hover {
      background-color: #f5f5f5;
    }
	
	

/* Slider Section */
.slider, .slider2, .slider3, .slider4 {
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.slides-container, .slides-container2, .slides-container3, .slides-container4 {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide, .slide2, .slide3, .slide4 {
  width: 100%;
  height:405px;
  position: relative;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #000;
  padding: 5px;
  cursor: pointer;
  opacity: 0; /* Make arrows transparent by default */
  transition: opacity 0.3s ease;
}

/* Arrows appear on hover */
.slides-container:hover .arrow,
.slides-container2:hover .arrow,
.slides-container3:hover .arrow,
.slides-container4:hover .arrow {
  opacity: 1; /* Show arrows on hover */
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.slide-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  color: white;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 8px;
}

.dots-container {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #000;
}

/* Search Bar */
.search-bar {
  display: flex;
      justify-content: center;
      align-items: center;
      margin: 10px 0 0;
      position: absolute;
      top: 450px;
      width: 100%;
      z-index: 5;
}

.search-bar input[type="text"] {
  padding: 15px;
  width: 100%;
  max-width: 600px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 50px 0 0 50px;
  outline: none;
  font-size: 16px;
}

.search-bar button {
  padding: 15px 10px;
  background-color: black;
  color: white;
  width:100px;
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-size: 16px;
}

.main-layout {
      display: flex;
      padding: 30px 20px;
      background-color: #f9f9f9;
    }
	
	.filter-sidebar {
  width: 220px;
  padding-right: 20px;
}

    .filter-sidebar .filter-section {
  margin-bottom: 25px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  width: 200px;
}

.filter-sidebar .filter-section label {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.filter-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-toggle span {
  font-size: 14px;
  margin-left: auto;
}

.checkbox-group {
  display: none;
  margin-top: 10px;
  padding-left: 5px;
}

.checkbox-group.show {
  display: block;
}

.price-range {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
}

    #selected-price {
      margin-top: 5px;
      font-size: 13px;
      color: #444;
    }

#filter-size{
  width: 100%;
}

#price-slider {
  width: 100%;
  appearance: none;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  outline: none;
}

#price-slider::-webkit-slider-thumb {
  appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: black;
  cursor: pointer;
}

    .search-bar1 {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }

    .search-bar1 input {
      width: 100%;
      max-width: 500px;
      padding: 12px;
      border-radius: 30px 0 0 30px;
      border: 1px solid #ccc;
    }

    .search-bar1 button {
      padding: 12px 10px;
  background-color: black;
  margin-top: 9px;
  color: white;
  width:100px;
  border: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  font-size: 16px;
  height: 45px;
    }
	
	.suggestion-box {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  max-width: 600px;
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0;
}

.suggestion-box li {
  padding: 10px;
  cursor: pointer;
}

.suggestion-box li:hover {
  background-color: #f0f0f0;
}

.suggestion-box1 {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 6px 6px;
  font-family: Arial, sans-serif;

  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-top: none;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 10;
}
.suggestion-box1 li {
  border-bottom: 1px solid #eee;

  padding: 10px;
  cursor: pointer;
}
.suggestion-box1 li:hover {
  background-color: #f0f0f0;
}
	

.pagination-container1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  width: 100%;
  transform: none;
}

.pagination-container1 button,
.pagination-container1 span {
  background-color: black;
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  min-width: auto;
  width: auto;
  text-align: center;
}

.pagination-container1 button.active {
  background-color: white;
  color: black;
  font-weight: bold;
  border: 2px solid black;
}

.pagination-container1 button {
  width: auto !important;
  display: inline-block;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  width: calc(100vw - 240px); /* full screen width minus sidebar */
  transform: translateX(-120px); /* shift left by half the sidebar width */
}

.pagination-container button,
.pagination-container span {
  background-color: black;
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  min-width: auto;
  width: auto;
  text-align: center;
}

.pagination-container button.active {
  background-color: white;
  color: black;
  font-weight: bold;
  border: 2px solid black;
}


.pagination-container button {
  width: auto !important;
  display: inline-block;
}

.delete-wishlist {
      position: relative;
      top: -30px;
      right: -100px;
      background: none;
      border: none;
      font-size: 18px;
      color: red;
      cursor: pointer;
    }
	
.products-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  justify-items: center;
  padding: 20px;
}
	
#wishlist-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 items per row */
  gap: 16px;
  justify-items: center;
  padding: 20px;
}

.new-arrivals-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
}
.product-details {
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
  background-color: #f9f9f9;
  gap: 40px;
}

.product-gallery {
  display: flex;
  flex-direction: row;
  gap: 16px;
  max-width: 100%;
}

.image-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 90px;
}

.thumbnail-image {
  width: 80px;
  height: 120px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.thumbnail-image:hover {
  border-color: black;
}

.main-product-image {
  width: 450px;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-info-block {
  flex: 1;
  min-width: 300px;
}

.product-info-block h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-info-block h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
}

.product-info-block p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

.product-info-block ul {
  list-style: none;
  padding: 0;
}

.product-info-block li {
  font-size: 15px;
  margin-bottom: 8px;
  background: #f0f0f0;
  padding: 6px 10px;
  border-radius: 5px;
  display: inline-block;
}

.related-section {
  padding: 40px 20px;
  background: #fff;
}

.related-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

#product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  padding: 20px;
  margin-right: 250px;
}

.no-products-message {
    text-align: center; /* Centers the text horizontally */
    width: 100%; /* Ensures the paragraph takes full width of its container */
    margin-top: 50px; /* Adds space above the message */
    display: block; /* Ensures it behaves as a block element */
    font-size: 1.2em; /* Makes the text a bit larger */
    color: #555; /* Sets a slightly softer color for the text */
	Margin-left: 400px;
}

.no-products-message1 {
    text-align: center; /* Centers the text horizontally */
    width: 100%; /* Ensures the paragraph takes full width of its container */
    margin-top: 50px; /* Adds space above the message */
    display: block; /* Ensures it behaves as a block element */
    font-size: 1.2em; /* Makes the text a bit larger */
    color: #555; /* Sets a slightly softer color for the text */
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.product-card img {
  object-fit: cover;
  height: 300px;
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}

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

.product-info-block h1 {
      font-size: 24px;
      font-weight: 400;
      text-transform: uppercase;
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }
    .product-info-block h2 {
      font-size: 20px;
      font-weight: normal;
      margin-bottom: 2px;
    }
    .product-info-block .tax-text {
      font-size: 12px;
      color: #555;
      margin-bottom: 24px;
      letter-spacing: 0.2px;
    }
	
	.product-action-buttons {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-outline {
  padding: 12px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid black;
  background-color: transparent;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #f0f0f0;
}

.btn-solid {
  padding: 12px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-solid:hover {
  background-color: #222;
}

.btn-outline i {
  margin-right: 6px;
}

.product-note {
  font-size: 13px;
  color: #444;
  margin-top: 16px;
  line-height: 1.5;
}

.buy-now-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.buy-now-content {
  background: white;
  width: 90%;
  max-width: 450px;
  height: 90%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.buy-now-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  position: relative; /* Needed for absolute positioning */
}

.buy-now-logo {
  display: flex;
  align-items: center;
}

.buy-now-logo img {
  height: 80px;
  object-fit: contain;
  background-color: transparent !important;
}

.buy-now-header .close-btn {
  position: absolute;
  top: -4px;
  right: -200px;
  font-size: 22px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 2;
}

.buy-now-total {
  font-size: 14px;
  text-align: right;
  margin-left: auto;
  margin-right: 50px;
}

.buy-now-total span {
  font-size: 14px;
}

.buy-now-header h2 {
  margin: 0;
  font-size: 14px;
}

.address-form h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}

.address-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 8px;
}

.address-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.address-form .tag-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.address-form .tag {
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}

.address-form .tag.active {
  background-color: black;
  color: white;
  border-color: black;
}

.address-form-save {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  background: black;
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 20px;
}

.address-box {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px; /* Smaller font */
  position: relative;
  margin-top: 10px; /* Shift up slightly */
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.address-header h3 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.address-header i {
  color: black;
}

.address-box p i {
  margin-right: 6px;
}

.edit-btn {
  font-size: 12px;
  background-color: transparent;
  color: black;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  position: absolute;
  top: 5px;
  margin-left: 170px;
}

#address-list .address-box {
  margin-bottom: 12px;
  width: 100%;
}


.buy-now-scrollable {
  overflow-x: hidden !important;
}
#all-addresses-container{
  width: 100%;
}

#address-form-container {
  
  box-sizing: border-box;
  margin-left: 20px;
  margin-right:10px;
  margin-bottom:20px;
}

.back-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 14px;
  margin-bottom: 0px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0px;
  margin-left:-20px;
}

.payment-container {
  padding: 16px;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.payment-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.payment-option:hover {
  background-color: #f7f7f7;
}

.payment-left {
  display: flex;
  align-items: center;
}

.payment-icon {
  width: 35px;
  height: 35px;
  margin-right: 12px;
}

.payment-icon1 {
  width: 42px;
  height: 35px;
  margin-right: 12px;
}

.payment-details {
  display: flex;
  flex-direction: column;
}

.payment-method-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.payment-subtext {
  font-size: 12px;
  color: #555;
  margin: 2px 0 0 0;
}

.payment-right {
  text-align: right;
}

.payment-amount {
  font-size: 14px;
  font-weight: 500;
}

.payment-arrow {
  font-size: 18px;
  color: #888;
  margin-left: 8px;
}

.cod-popup-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.5); /* make it invisible so modal below isn't dimmed */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 9999;
  }

  .cod-popup-card {
    background: white;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
	margin-bottom: 30px;
  }

  .cod-popup-header {
    display: inline;
  }
  
  .cod-popup-header h4 {
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin-bottom: 20px;
}

  .cod-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;  /* <- Add this line to make it visible */
  padding: 4px 8px;
  margin-left: 170px;
  margin-top: -20px;
}

  .cod-confirm-btn {
    background-color: black;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .pay-online-btn {
    background: transparent;
    border: none;
    text-align: center;
    width: 100%;
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }

  @keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  
  .order-success {
  text-align: center;
  padding: 40px 20px;
}

.tick-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: green;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tick-circle i {
  color: white;
  font-size: 40px;
}

.orders-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}



.order-card-horizontal {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  align-items: center;
}

.order-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 16px;
}

.order-details {
  flex: 1;
  position: relative;
}

.order-details h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.order-details p {
  margin: 0 0 12px;
  color: #555;
}

.track-btn {
  position: absolute;
  bottom:-10px;
  right: 0;
  background-color: #ccc;
  color: #000;
  border: none;
  padding: 6px 6px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  width: 100px;
}

.track-btn:hover {
  background-color: #bbb;
}

.order-details-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-details-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.order-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.order-details-logo img {
  height: 40px;
}

.order-details-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  margin-left: 300px;
}

.order-details-body {
  margin-top: -50px;
  text-align: center; /* ✅ center content */
  padding: 0 20px;
}

.order-info-with-icons p {
  margin: 12px 0;
  font-size: 15px;
}

.order-info-with-icons i {
  margin-right: 8px;
  color: #444;
}

  #buyNowModal.dimmed-blur {
    filter: blur(1px);
    opacity: 1;
    pointer-events: none;
  }
  
  .cart-container {
      display: flex;
      justify-content: space-between;
      padding: 30px;
      gap: 30px;
    }
    .cart-address-section {
      width: 30%;
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .cart-items-section {
      width: 70%;
    }
    .cart-item-card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      padding: 16px;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .cart-item-img {
      width: 100px;
      height: 140px;
      object-fit: cover;
      border-radius: 4px;
    }
    .cart-item-info {
      flex-grow: 1;
      padding-left: 20px;
    }
    .cart-summary {
      text-align: right;
      margin: 30px;
    }
    .cart-summary button {
      padding: 12px 20px;
      background: black;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
	  width: 200px;
    }
    .address-box {
      background: #f9f9f9;
      padding: 10px;
      border-radius: 6px;
      font-size: 14px;
      margin-top: 10px;
    }

#view-all-container {
  display: block;
  text-align: center;
  margin-top: 20px;
}
.view-all-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
}

.view-all-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.view-all-button:hover {
  background-color: #333;
}

.main-product-image {
      cursor: zoom-in;
    }
	
.image-zoom-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
    .image-zoom-modal img {
      max-width: 90vw;
      max-height: 90vh;
      object-fit: contain;
      transition: transform 0.3s ease;
      cursor: zoom-in;
    }
    .image-zoom-modal img.zoomed {
      transform: scale(1.8);
      cursor: zoom-out;
    }
	
	/* SIZE BUTTON STYLING */
.size-button {
  display: inline-block;
  padding: 10px 14px;
  margin: 6px 4px;
  border: 1px solid black;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  min-width: 40px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.size-button.selected {
  background-color: black;
  color: white;
  font-weight: 700;
  border: 2px solid black;
}
.size-button.disabled {
  color: #999;
  border-color: #ccc;
  background-color: #f0f0f0;
  cursor: not-allowed;
}

/* MODAL OVERLAY */
.size-guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

/* MODAL CONTENT */
.size-guide-content {
  background: white;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* TABLE */
.size-guide-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
  font-size: 15px;
  text-align: center;
  border: 1px solid #000;
  overflow: hidden;
  border-radius: 6px;
}

.size-guide-content th {
  background-color: #000;
  color: white;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 14px;
  border-right: 1px solid #fff;
}

.size-guide-content th:last-child {
  border-right: none;
}

.size-guide-content td {
  padding: 12px 10px;
  font-size: 14px;
  background-color: white;
  border-top: 1px solid #eee;
}

.size-guide-content tr:nth-child(even) td {
  background-color: #f3f3f3;
}

.size-guide-content h2 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
}

.size-guide-content p {
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  color: #444;
  margin-top: 15px;
}

.size-guide-link {
  color: black;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  margin-top: 10px;
}

.size-guide-link i {
  color: black;
  font-size: 18px;
}

.size-guide-link:hover {
  text-decoration: underline;
  color: #333;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 18px;
}

.quantity-selector button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  background-color: white;
  border: 1px solid #ccc;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  border-radius: 4px;
  padding: 0;
}

.quantity-selector button:disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  border: 1px solid #ccc;
}

.quantity-selector button:hover {
  background-color: #f0f0f0;
}

#quantity-value {
  font-size: 16px;
  min-width: 24px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.description-box {
  margin-top: 30px;
  border: 1px solid #ccc;
  padding: 18px 20px;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fdfdfd;
}

.description-box h3 {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #333;
}

.description-content {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  white-space: pre-line;
}

.move-to-bag-btn {
  margin-top: 10px;
  padding: 8px 14px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.move-to-bag-btn:hover {
  background-color: #444;
}

.size-button1 {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  font-size: 16px;
  border: 1px solid #ccc;
  background: white;
  color: black; /* ✅ Add this line to fix the missing text */
  cursor: pointer;
  border-radius: 6px;
}

.size-button1.selected {
  background-color: black;
  color: white;
}

.size-button1.disabled {
  background-color: #f2f2f2;
  color: #aaa;
  cursor: not-allowed;
}

/* Footer */
footer {
  background-color: #ffffff;
  border-top: 1px solid #ccc;
  padding: 20px;
  text-align: center;
}

.footer-icons {
  margin-bottom: 10px;
}

.footer-icon {
  margin: 0 10px;
  color: white;
  font-size: 1.4rem;
  text-decoration: none;
}

.footer-icon:hover {
  color: #007BFF;
}
footer {
  background: #333;
  text-align: center;
  padding: 20px;
  position: relative; /* changed from fixed */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  color: white;
}
/* --- FIXED CHECKBOX SPACING --- */

.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  margin-left: -70px;
  margin-right: 100px;
}

.checkbox-wrapper input[type="checkbox"] {
  transform: scale(1.1);
  margin-right: -60px;
  flex-shrink: 0;
  margin-bottom: 17px;
  
}

.checkbox-wrapper label {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 14px;
  white-space: nowrap;
  gap: -20px;
}

.checkbox-wrapper .label-text {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
}

.checkbox-wrapper .count {
  margin-left: 2px;
  font-size: 13px;
  color: #555;
  flex-shrink: 0;
  white-space: nowrap;
}

/* =============================== */
/* ✅ Responsive Layout Enhancements */
/* =============================== */

@media screen and (max-width: 768px) {
  /* Navbar */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    flex-wrap: wrap;
  }

  .brand-logo-img {
    width: 300px;
    height: auto;
  }

  .nav-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    width: 100%;
  }

  .dropdown-menu {
    width: 200px;
    right: 0;
  }

  .profile-dropdown {
    margin-left: 0;
  }

  /* Layout */
  .main-layout {
    flex-direction: column;
    padding: 10px;
  }

  .filter-sidebar {
    display: none;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .filter-toggle-btn {
    display: block;
    font-size: 24px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .filter-sidebar.active {
    display: block;
  }

  .content-area {
    width: 100%;
  }

  /* Footer */
  .footer-contact {
    font-size: 14px;
    text-align: center;
  }

  .footer-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Table and Cards */
  table {
    width: 100%;
    font-size: 13px;
  }

  .card {
    width: 100% !important;
  }

  .section-title {
    font-size: 1.1rem;
  }

  /* Hero slider image */
  .hero img{
	  width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .slider img, .slider2 img, .slider4 img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Product Detail Image Slider Fix */
  .thumbnail-slider {
    display: none;
  }
  
  .search-bar {
    justify-content: center;
    align-items: center;
    width: 100%;
	margin-top:-115px;
  }

  .search-container input[type="text"] {
	 
  }

  .search-container button {
  }

  .main-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }

  .main-image-container {
    width: 100%;
    overflow: hidden;
  }

  /* Mobile Swipe Slider */
  .image-slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    gap: 8px;
  }

  .image-slider img {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    scroll-snap-align: center;
    object-fit: cover;
    border-radius: 6px;
  }

  body {
    overflow-x: hidden;
  }
}

/* =============================== */
/* ✅ Product Grid for Responsive */
/* =============================== */


.pagination-container{
	margin-left: 220px;
}

.mobile-image-slider {
  display: none;
}

/* =============================== */
/* ✅ Utility Fixes */
/* =============================== */

/* Add horizontal scroll to wide tables */
.table-wrapper {
  overflow-x: auto;
}

/* Mobile text wrap */
.text-wrap {
  white-space: normal;
  word-break: break-word;
}

/* Fix icons and links in footer */
.footer a {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .filter-toggle-btn {
  display: block;
  font-size: 24px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;       /* Ensure it's above other elements */
  position: relative;  /* Or absolute if you're positioning it with top/right */
  color: black;        /* Optional: make sure it's visible */
  text-align: left;
}
  .filter-sidebar {
  display: none;
  position: fixed;
  top: 220px; /* below navbar */
  left: 0;
  width: 80%;
  max-width: 300px;
  height: calc(100vh - 220px);
  background-color: white;
  z-index: 999;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
  overflow: auto;
  padding: 16px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 9998;
}

.filter-sidebar.active {
  display: block;
  transform: translateX(0);
}
}

/* For larger screens hide the toggle button */
@media screen and (min-width: 769px) {
  .filter-toggle-btn {
    display: none;
  }
}
  
  

@media (max-width: 768px) {
  
  .buy-now-content {
    width: 95%;
    height: 95%;
    border-radius: 10px;
  }

  .buy-now-header {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .buy-now-logo img {
    height: 60px;
  }

  .buy-now-header .close-btn {
    position: absolute;
    top: 8px;
	right:20px;
  }
  
  .order-details-close-btn {
    margin-left: 0;
    margin-right: 0;
    display: block;
    text-align: right;
    padding: 10px 20px;
  }
  
  .close-btn {
    text-align: right;
  }

  .buy-now-total {
    margin: 8px 0 0 auto;
    font-size: 13px;
  }

  .buy-now-header h2 {
    font-size: 13px;
  }
  
  .order-card-horizontal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .order-card .order-details {
    width: 100%;
  }

  .order-card {
    width: 100%;
    margin-top: 50px;
  }
  
  .track-btn {
    width: 100%;
    margin-top: 200px;
  }
  
  
  .edit-btn {
  margin-left: 120px;
}
}

.cart-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

/* 📱 Mobile Fix */
@media (max-width: 768px) {
  .cart-container {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-address-section,
  .cart-items-section {
    width: 100% !important;
    margin: 0 0 16px 0;
  }

  .cart-items-section .cart-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
  }

  .cart-items-section .cart-product img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
  }

  .cart-items-section .cart-product-details {
    width: 100%;
    padding: 0 10px;
  }
  
  .size-guide-content {
    overflow-x: auto;
  }

  .size-guide-content table {
    min-width: 275px;
    width: 100%;
    display: block;
  }

  .size-guide-content th,
  .size-guide-content td {
    font-size: 13px;
    padding: 10px 8px;
  }

  .size-guide-content h2 {
    font-size: 18px;
  }

  .size-guide-content p {
    font-size: 13px;
  }
}

@media (max-width: 992px) {
  #wishlist-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* For smaller tablets or large phones: 2 items per row */
@media (max-width: 768px) {
  #wishlist-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For mobile phones: 1 item per row */
@media (max-width: 480px) {
  #wishlist-products {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Medium screens (tablet landscape): 3 items */
@media (max-width: 1024px) {
  #product-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-right: 0;
  }
}

/* Small tablets and large phones: 2 items */
@media (max-width: 768px) {
  #product-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-right: 0;
  }
}

/* Mobile phones: 1 item per row */
@media (max-width: 480px) {
  #product-grid {
    grid-template-columns: repeat(1, 1fr);
    margin-right: 0;
  }
}

@media (max-width: 1024px) {
  .products-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets and small laptops: 2 items per row */
@media (max-width: 768px) {
  .products-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile phones: 1 item per row */
@media (max-width: 480px) {
  .products-container {
    grid-template-columns: repeat(1, 1fr);
  }
}