/* =========================
   NAVBAR
========================= */

.notify {
  position: absolute;
  top: -4px;
  right: -10px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50px;
  color: #fff;
  background-color: #fa3434;
}

.icon-xs {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.icon {
  width: 40px;
  height: 40px;
}

/* SEARCH */
.search-wrapper {
  position: relative;
}

.search-input {
  width: 60%;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0 0 6px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-suggestions li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
}

.search-suggestions li:hover {
  background: #f4f6f8;
}

/* HAMBURGER */
.navbar-toggler {
  border: none;
  font-size: 20px;
  background: none;
}

/* =========================
    HOME RESPONSIVE
========================= */

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

.scroll-wrapper {
  position: relative;
}

.scroll-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 5px 0;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.card-item {
  position: relative;
  min-width: 130px;
  flex: 0 0 auto;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  text-align: center;
}

.card-item img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
}

.card-body {
  padding: 8px;
}

.card-body .title {
  font-size: 13px;
  margin: 0;
}

.card-body .price {
  font-weight: 600;
  margin: 4px 0 0;
}

.scroll-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
}

.scroll-btn.left {
  left: -10px;
}

.scroll-btn.right {
  right: -10px;
}

.offer-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 10px;
  z-index: 2;
}

/* =========================
   store RESPONSIVE
========================= */

.row {
  row-gap: 12px;
}

.card-product-grid {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 240px;
  /* reduced */
  margin-bottom: 0;
  /* remove extra bottom gap */
}

.card-product-grid .img-wrap {
  height: 150px;
  /* slightly smaller */
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-product-grid .info-wrap {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  /* controls spacing between title/price/button */
}

.card-product-grid .title {
  font-size: 13px;
  line-height: 1.2;
  height: 32px;
  overflow: hidden;
  margin: 0;
}

.card-product-grid .price-wrap {
  margin: 0;
  /* remove extra gap */
  height: auto;
}

.card-product-grid .info-wrap>div:last-child {
  margin-top: 4px;
  /* very small gap from price */
}

.card-product-grid .btn {
  font-size: 11px;
  padding: 4px;
}

.card-product-grid .d-flex {
  gap: 4px;
}

.card-product-grid .btn-primary {
  flex: 2;
}

.card-product-grid .btn-outline-primary,
.card-product-grid .btn-danger {
  flex: 1;
}

.offer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  padding: 4px 8px;
  z-index: 2;
  white-space: nowrap;
}



/* =========================
   cart RESPONSIVE
========================= */

.dlist-align {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dlist-align dt {
  margin: 0;
  color: #555;
}

.dlist-align dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}






