/* Login Register Page */

.login-register-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.login-section,
.register-section {
  flex: 1;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

/* Custom My Account Navigation */

.custom-myaccount-nav ul {
  list-style: none;
  padding: 0;
}

.custom-myaccount-nav li {
  margin-bottom: 10px;
}

.custom-myaccount-nav a {
  text-decoration: none;
  color: #0073aa;
  font-weight: bold;
}

.custom-myaccount-nav a:hover {
  color: #005177;
}


/* Wishlist CSS */
.wishlist-btn.added {
  background: url(../images/heart-filled.png) no-repeat center;
  background-size: 100% 100%;
}

.unsubscribe-wrapper {
  max-width: 600px;
  margin: 80px auto;
  background-color: #fefefe;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

.unsubscribe-wrapper h1 {
  color: #4caf50;
  font-size: 32px;
  margin-bottom: 20px;
}

.unsubscribe-wrapper p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.unsubscribe-wrapper a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.unsubscribe-wrapper a:hover {
  background-color: #45a045;
}


/* Product detail page */

.product-gallery {
  max-width: 500px;
}

.main-slider {
  margin-bottom: 10px;
}

.thumbs-slider .swiper-slide {
  cursor: pointer;
  opacity: 0.6;
}

.thumbs-slider .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-zoom-container img {
  cursor: zoom-in;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-nav {
  display: flex;
  list-style: none;
  gap: 20px;
  cursor: pointer;
}

.tab-nav li.active {
  font-weight: bold;
  border-bottom: 2px solid #333;
}


/* SHOP PAGE CSS */

.shop-layout {
  display: flex;
  gap: 20px;
}

.filters-area {
  width: 25%;
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.products-area {
  width: 75%;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.category-list {
  list-style: none;
  padding: 0;
}

.parent-cat {
  position: relative;
  padding: 8px;
  cursor: pointer;
}

.parent-cat:hover>.child-category {
  display: block;
}

.child-category {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 150px;
  z-index: 99;
}

.child-category li {
  padding: 6px 10px;
  cursor: pointer;
}

.child-category li:hover {
  background: #f0f0f0;
}

/* PRODUCT SEARCH Header */
.search-container {
  display: flex;
  align-items: center;
}

.search-container input[type="search"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
}

.search-container .search-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.search-container .search-btn img {
  width: 20px;
  height: 20px;
}


/* quantity of cart */

.custom-qty {
  display: inline-flex;
  align-items: center;
  border: 2px solid black;
  border-radius: 5px;
  overflow: hidden;
}

.custom-qty .qty-btn {
  background: black;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

.custom-qty .qty {
  width: 50px;
  text-align: center;
  border: none;
}

form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

form.cart .qty-btn {
  background: black;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 2px solid black;
  border-radius: 5px;
  overflow: hidden;
}

form.cart .qty {
  width: 50px;
  text-align: center;
  border: none;
}

/* BLOG COMMENTS CSS */

.comments-section {
  max-height: 400px;
  /* jitni height chahiye */
  overflow-y: auto;
  padding-right: 10px;
}

.comments-section::-webkit-scrollbar {
  width: 6px;
}

.comments-section::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}


/* Order Details */

/* ------ Layout ------ */
.bf-view-order {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
}

.bf-grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 26px;
}

@media (max-width: 980px) {
  .bf-grid {
    grid-template-columns: 1fr;
  }
}

/* ------ Header ------  */
/* .bf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bf-order-no {
  font-size: 22px;
  font-weight: 800;
  color: #0f2f25;
}

.bf-order-meta {
  color: #6b7280;
  font-size: 13px;
  margin-top: 6px;
}

.bf-total {
  font-size: 22px;
  font-weight: 800;
  color: #0f2f25;
} */

/* ------ Progress ------ */
/* .bf-progress {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  margin-top: 16px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.bf-steps {
  list-style: none;
  margin: 0;
  padding: 4px 8px;
  display: flex;
  min-width: 500px;
}

.bf-step {
  position: relative;
  text-align: center;
  padding: 10px 6px 0;
  flex: 1;
}

.bf-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin: 0 auto;
  background: #d1d5db;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 3px #fff inset;
  transition: all 0.3s ease;
}

.bf-step.is-done .bf-dot {
  background: #0f6a51;
}

.bf-step.is-current .bf-dot {
  box-shadow: 0 0 0 3px #d6f5ec inset;
  transform: scale(1.2);
}

.bf-line {
  position: absolute;
  top: 18px;
  left: 50%;
  right: -50%;
  height: 3px;
  background: #e5e7eb;
  z-index: 1;
  transition: all 0.3s ease;
}

.bf-step.is-done+.bf-step .bf-line,
.bf-step.is-current+.bf-step .bf-line {
  background: #20a37a;
}

.bf-step-title {
  margin-top: 10px;
  font-weight: 700;
  color: #0f2f25;
  font-size: 13px;
  white-space: nowrap;
}

.bf-step-date {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
} */

/* ------ Banner ------ */
.bf-status-banner {
  background: #f3faf7;
  border: 1px solid #d6f5ec;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #0f2f25;
}

.bf-status-banner .bf-status-sub {
  font-size: 13px;
  color: #4b5563;
  margin-top: 4px;
}

.bf-status-banner a {
  color: #0f6a51;
  text-decoration: underline;
  font-weight: 600;
}

/* ------ Cards ------ */
.bf-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bf-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 720px) {
  .bf-two {
    grid-template-columns: 1fr;
  }
}

.bf-mini {
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
}

.bf-mini div {
  margin-bottom: 4px;
}

/* ------ Items ------ */
.bf-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.bf-item:last-child {
  border-bottom: 0;
}

.bf-item-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
}

.bf-item-main {
  flex: 1;
}

.bf-item-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.bf-item-name {
  font-weight: 700;
  color: #0f2f25;
}

.bf-item-price {
  font-weight: 700;
  color: #0f2f25;
}

.bf-item-meta {
  color: #6b7280;
  font-size: 12px;
  margin-top: 4px;
}

.bf-item-qty {
  color: #6b7280;
  font-size: 12px;
  margin-top: 6px;
}

/* ------ Summary Right ------ */
.bf-right-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0f2f25;
}

.bf-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.bf-total-row {
  font-weight: 800;
  font-size: 15px;
  color: #0f2f25;
  margin-top: 4px;
}

hr {
  border: none;
  border-top: 1px solid #e9ecef;
  margin: 8px 0;
}

/* ------ History ------ */
.bf-history {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bf-history li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #eef2f7;
}

.bf-history li:last-child {
  border-bottom: 0;
}

.bf-history-status {
  font-weight: 600;
}

.bf-history-date {
  color: #6b7280;
  font-size: 12px;
}

/* ------ Footer btn ------ */
.bf-footerbar {
  margin-top: 14px;
  text-align: center;
}

/* .bf-btn {
  display: inline-block;
  background: #0f6a51;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.bf-btn:hover {
  background: #0a4e3c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 106, 81, 0.2);
} */

/* Headings */
h3 {
  font-size: 18px;
  color: #0f2f25;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 8px;
  /* border-bottom: 2px solid #e9ecef; */
}

h4 {
  font-size: 16px;
  color: #0f2f25;
  margin-top: 0;
  margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .bf-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .bf-progress {
    padding: 12px;
  }

  .bf-step-title {
    font-size: 12px;
  }

  .bf-step-date {
    font-size: 11px;
  }
}