@charset "UTF-8";
body {
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: #444;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-size: 12px;
  font-weight: normal;
}

/* Chrome border line */
button:focus {
  outline: none !important;
}

/* container */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 320px;
  margin-left: -160px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  position: relative;
  padding-bottom: 5px;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span {
  font-size: 1.1em;
  color: white;
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}

/* logo */
#logo {
  text-align: center;
  margin: 0px;
}

#logo img {
  max-width: 280px;
  margin-top: -5px;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}
/* search */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}

/* cart */
#cart {
  margin-bottom: 10px;
}

#cart .img-thumbnail {
  min-width: 100px;
}

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #eee;
}

#cart .dropdown-menu li {
  min-width: 300px;
}

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}
/* menu */
#menu {
  background-color: #000;
  background-image: linear-gradient(to bottom, #000, #000);
  background-repeat: repeat-x;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
}

#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 1px 15px 1px 15px;
  background-color: transparent;
}

#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}

/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}

.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}

.nav-tabs {
  margin-bottom: 15px;
}

.form-check .form-check-input {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* footer */
footer {
  border: 1px solid #000000;
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 2px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}

.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0, 0, 0, 0.55);
  border-bottom: 2px solid rgba(0, 0, 0, 0.55);
  transform: rotate(-45deg);
}

.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

/* ===== Product Thumb Card — final consolidated version ===== */
.product-thumb {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  transition: box-shadow 0.25s ease;
}

.product-thumb:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  /* কোনো transform/translateY নেই - card স্থির থাকবে, উপরে ওঠে না */
}

.product-thumb .content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 16px;
}

.product-thumb .description {
  flex: 1;
}

.product-thumb form {
  margin-top: 10px;
}

/* --- Image --- */
.product-thumb .image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--bs-tertiary-bg);
  text-align: center;
}

.product-thumb .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-thumb:hover .image img {
  transform: scale(1.04);
}

/* --- Badges --- */
.product-thumb .badge-sale,
.product-thumb .badge-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-thumb .badge-sale {
  background-color: #e6394a;
  color: #fff;
}

.product-thumb .badge-stock {
  background-color: #6c757d;
  color: #fff;
}

/* --- Quick View icon --- */
.product-thumb .btn-quickview {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--bs-gray-700);
  font-size: 13px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-thumb:hover .btn-quickview {
  opacity: 1;
  transform: translateY(0);
}

.product-thumb .btn-quickview:hover {
  background-color: var(--bs-primary);
  color: #fff;
}

/* --- Title --- */
.product-thumb .description h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.product-thumb .description h4 a {
  color: var(--bs-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

.product-thumb .description h4 a:hover {
  color: var(--bs-primary-text-emphasis, var(--bs-primary));
  text-decoration: underline;
}

/* --- Description --- */
.product-thumb .description p {
  font-size: 12px;
  color: var(--bs-gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

/* --- Price (thumb card-এ scoped override) --- */
.product-thumb .price {
  margin-bottom: 6px;
}

.product-thumb .price-new {
  font-size: 17px;
  font-weight: 700;
  color: var(--bs-body-color);
}

.product-thumb .price-old {
  font-size: 12px;
  color: var(--bs-gray-500);
  text-decoration: line-through;
  margin-left: 4px;
}

/* --- Rating (thumb card-এ scoped override) --- */
.product-thumb .rating {
  margin-bottom: 8px;
}

.product-thumb .rating .fa-stack {
  width: 13px;
  height: 13px;
  font-size: 11px;
}

.product-thumb .rating .fa-solid.fa-star {
  color: #f5a623;
}

.product-thumb .rating .fa-regular.fa-star {
  color: #d9d9d9;
}

/* --- Add to Cart: ছোট, pill-shaped, Amazon-style --- */
.product-thumb .button {
  margin-top: 4px;
}

.product-thumb .button button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  padding: 7px 16px;
  border: 1px solid var(--bs-border-color);
  border-radius: 20px;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-thumb .button button i {
  font-size: 13px;
}

.product-thumb .button button:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.product-thumb .button button:active {
  transform: scale(0.97);
}

.product-thumb .button button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--bs-tertiary-bg);
  border-color: var(--bs-border-color);
  color: var(--bs-gray-500);
}

/* ===== End Product Thumb Card ===== */
/* এই generic rule গুলো site-এর অন্য জায়গায়ও (single product page, cart) ব্যবহার হয় বলে অপরিবর্তিত রাখা হয়েছে */
.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #999;
  font-size: 15px;
}

.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}

.rating .fa-star + .fa-star {
  color: #E69500;
}

/* product list */
.price {
  color: #444;
}

.price-new {
  font-weight: 600;
  font-size: 25px;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
  font-size: 15px;
}

.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

/* Sticky Nav */
#fixedmenu {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 999999;
}

@media screen and (max-width: 768px) {
  #fixedmenu {
    left: 0px;
    right: 0px;
  }
}
@media (min-width: 960px) {
  .product-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
}
.product-list .image {
  flex-direction: column;
  margin-bottom: 0px;
}

.product-list .button {
  border-left: 1px solid #ddd;
  width: calc(100% - 15px);
  margin-left: 15px;
}

.price-weight-badge {
  display: inline-block;
  margin: 4px 0 14px;
  padding: 8px 16px;
  background-color: lightblue;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--bs-body-color);
}

.price-weight-badge strong {
  font-weight: 800;
  color: var(--bs-primary);
}

#product-info .price {
  background-color: var(--bs-tertiary-bg);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 4px;
}

#product-info .price-new {
  font-size: 32px;
  font-weight: 800;
  color: var(--bs-primary);
  line-height: 1.2;
}

#product-info .price-old {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: var(--bs-gray-500);
  text-decoration: line-through;
  margin-bottom: 2px;
}

#product-info .price-tax {
  font-size: 13px;
  color: var(--bs-gray-600);
  margin-top: 2px;
}

.button-group-outline {
  border-top: 1px solid #eeeeee;
  padding-top: 8px;
  margin-top: 8px;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.btn-cart-outline {
  flex: 1;
  background: transparent;
  color: #444444;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 6px 2px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease-in-out;
}

/* Hover করলে ব্যাকগ্রাউন্ড আসবে */
.btn-cart-outline:hover {
  background-color: #ff9900;
  border-color: #ff9900;
  color: #ffffff;
}

.btn-buy-outline {
  flex: 1;
  background: transparent;
  color: #444444;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 6px 2px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease-in-out;
}

/* Hover করলে ব্যাকগ্রাউন্ড আসবে */
.btn-buy-outline:hover {
  background-color: #d9534f;
  border-color: #d9534f;
  color: #ffffff;
}

.custom-cart-btn {
  background-color: #ff9900 !important;
  border-color: #ff9900 !important;
  color: #111111 !important;
  padding: 12px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.3);
  transition: all 0.2s ease-in-out;
}

.custom-cart-btn:hover {
  background-color: #e68a00 !important;
  border-color: #e68a00 !important;
}

.custom-buy-btn {
  background-color: #d9534f !important;
  border-color: #d9534f !important;
  color: #ffffff !important;
  padding: 12px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(217, 83, 79, 0.3);
  transition: all 0.2s ease-in-out;
}

.custom-buy-btn:hover {
  background-color: #c9302c !important;
  border-color: #c9302c !important;
}

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  border-top: 1px solid #e5e5e5;
}

#product-info .short-description {
  font-size: 15px;
  color: var(--bs-gray-700);
  line-height: 1.6;
  margin: 4px 0 10px;
}