.page-wrap {
  background: #f0f0f0;
  min-height: 70vh;
  padding: 32px 16px;
}


.page-wrap #main-img {
    height: 170px !important;
    object-fit:contain !important;
}



.product-title {
  /* font-family: "Sarabun", system-ui; */
  font-family: "roboto", system-ui;
  font-weight: 700;
  font-style: normal;
  font-size: 35px;
  color: #2e3192;
  margin-bottom: 2px;
}

.product-dims {
  font-size: 20px;
  color: #444;
  margin-bottom: 4px;
}

.product-vol {
  font-size: 20px;
  color: #888;
  margin-bottom: 24px;
}




.carousel-panel {
  background: #1a3bbf;
  border-radius: 20px;
  padding: 20px 16px 16px;
}

.carousel-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-btn:hover {
  opacity: 0.7;
}

.nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.items-track {
  display: flex;
  gap: 10px;
  overflow: hidden;
  flex: 1;
  justify-content: center;
}

.item-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  flex: 0 0 calc(20% - 8px);
  min-width: 80px;
  max-width: 110px;
  text-align: center;
  border: 2.5px solid transparent;
  transition: border 0.2s, background 0.2s;
}

.item-card.active {
  background: #fff;
  border: 2.5px solid #f5a623;
}

.item-card img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.item-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
  line-height: 1.3;
}

.item-card.active .item-label {
  color: #555;
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qty-val {
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  min-width: 24px;
  text-align: center;
}

.cat-filters {
  display: flex;
  gap: 8px;
}

.cat-btn {
  background: transparent;
  border: 2px solid #f5a623;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cat-btn.active {
  background: #f5a623;
  color: #fff;
}

.cat-btn:hover:not(.active) {
  background: rgba(245, 166, 35, 0.15);
}



.add-btn {
  background: #00000000;
  color: #fff;
  border: none;
  border-radius: 100px;
  border: solid 2px white;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 25px;
  cursor: pointer;
  letter-spacing: 1px;
}

.add-btn:hover {
  background: #1a69e0;
}