:root {
  --green-dark: #1b5e20;
  --green: #2e7d32;
  --green-light: #4caf50;
  --green-soft: #a5d6a7;
  --green-bg: #e8f5e9;

  --silver-1: #f8f9fa;
  --silver-2: #eceff1;
  --silver-3: #d6d9dc;
  --silver-4: #b0b7bf;
  --silver-dark: #495057;
  --silver-text: #212529;
}
body {
  background: #f2f2f2;

  overflow: hidden;
}

/* .category-panel { */
/* background: linear-gradient(180deg, var(--green-dark), var(--green)); */

/* height:calc(100vh - 70px);

    padding:20px 15px;

    border-radius:0 25px 25px 0; */

/* box-shadow: 5px 0 15px rgba(0, 0, 0, 0.15);
  padding: 12px 10px; */
/* } */
/* .category-scroll{

    width:100%;

    height:700px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #A5D6A7 transparent;
} */
/* Chrome scrollbar */
/* .category-panel::-webkit-scrollbar{
    width:8px;
}

.category-panel::-webkit-scrollbar-track{
    background:transparent;
}

.category-panel::-webkit-scrollbar-thumb{
    background:#A5D6A7;
    border-radius:20px;
}

.category-panel::-webkit-scrollbar-thumb:hover{
    background:#7BC67E;
}
.category-title{

    color:#fff;

    text-align:center;

    font-size:26px;

    font-weight:bold;

    margin-bottom:25px;

    letter-spacing:1px;

}
.category {
  width:100%;

    min-height:55px;

    border:none;

    border-radius:12px;

    margin-bottom:8px;

    background:rgba(255,255,255,.15);

    color:white;

    font-size:16px;

    font-weight:600;

    transition:.2s;

    display:flex;

    align-items:center;

    justify-content:flex-start;

    gap:10px;

    padding-left:20px;
}
.category i{

    font-size:18px;

    width:24px;

    text-align:center;

}
.category:hover {
   background:white;

    color:var(--green-dark);

    transform:translateX(8px);

    box-shadow:0 8px 20px rgba(0,0,0,.2);
}
.category.active {
  background:white;

    color:var(--green-dark);

    box-shadow:0 10px 25px rgba(0,0,0,.25);
}
.category.active i{

    color:var(--green);

} */

.category-top {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 8px 10px;
}

.category-scroll-horizontal {
  /* display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  gap: 8px;
  scrollbar-width: thin; */
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  gap: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch; /* Smooth touch scrolling on mobile */
  scroll-behavior: smooth;
}

.category-scroll-horizontal::-webkit-scrollbar {
  height: 8px;
}

.category-scroll-horizontal::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 20px;
}

.category {
  /* display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #198754;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  flex-shrink: 0; /* Prevents buttons from squishing */
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: #198754;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.category:hover {
  background: #e8f5e9;
  color: #146c43;
  text-decoration: none;
}

.category.active {
  background: #198754;
  color: #fff;
}

.navbar {
  background: linear-gradient(
    90deg,
    var(--green-dark),
    var(--green),
    var(--green-light)
  ) !important;

  height: 80px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);

  padding: 0 25px;
}

.navbar-brand {
  color: #fff !important;

  font-size: 32px;

  font-weight: 700;

  letter-spacing: 1px;
}

.navbar-brand i {
  margin-right: 10px;

  color: #c8e6c9;
}
/* .product-item{
    width:31%;
} */
.product {
  border-radius: 12px;

  overflow: hidden;
}

.product img {
  height: 120px;

  object-fit: cover;
}

.product .card-body {
  padding: 10px;
}

.product-name {
  font-size: 15px;

  font-weight: 600;
}

.product h5 {
  font-size: 18px;
}

.product .btn {
  height: 38px;

  font-size: 14px;
}

.cart-panel {
  background: linear-gradient(180deg, var(--silver-1), var(--silver-2));

  height: calc(100vh - 80px);

  padding: 20px;

  border-left: 3px solid var(--silver-3);

  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.12);

  overflow-y: auto;
}
/* Title */

.cart-title {
  font-size: 28px;

  font-weight: 700;

  color: var(--silver-dark);

  text-align: center;

  margin-bottom: 15px;
}

/* Order Number */

.order-number {
  text-align: center;

  background: white;

  border: 1px solid var(--silver-3);

  border-radius: 12px;

  padding: 10px;

  margin-bottom: 20px;

  font-weight: bold;

  color: #198754;
}
.cart-item {
  background: white;

  border-radius: 15px;

  padding: 15px;

  margin-bottom: 15px;

  border: 1px solid var(--silver-3);

  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.cart-item-name {
  font-size: 18px;

  font-weight: bold;

  color: var(--silver-text);
}

.cart-item-price {
  color: #198754;

  font-size: 18px;

  font-weight: bold;
}
.qty-btn {
  width: 38px;

  height: 38px;

  border: none;

  border-radius: 10px;

  background: #198754;

  color: white;

  font-size: 22px;

  font-weight: bold;

  transition: 0.2s;
}

.qty-btn:hover {
  background: #146c43;
}
.summary {
  background: white;

  border-radius: 15px;

  padding: 18px;

  margin-top: 20px;

  border: 1px solid var(--silver-3);
}

.summary-row {
  display: flex;

  justify-content: space-between;

  margin-bottom: 12px;

  font-size: 18px;
}

.grand-total {
  border-top: 2px dashed var(--silver-4);

  padding-top: 15px;

  margin-top: 15px;

  font-size: 30px;

  font-weight: bold;

  color: #198754;
}
.checkout-btn {
  width: 100%;

  height: 65px;

  border: none;

  border-radius: 15px;

  background: #198754;

  color: white;

  font-size: 24px;

  font-weight: bold;

  margin-top: 20px;

  transition: 0.2s;
}

.checkout-btn:hover {
  background: #146c43;

  transform: scale(1.02);
}
.suspend-btn {
  width: 100%;

  height: 65px;

  border: none;

  border-radius: 15px;

  background: #c5c906;

  color: white;

  font-size: 24px;

  font-weight: bold;

  margin-top: 20px;

  transition: 0.2s;
}

.suspend-btn:hover {
  background: #abe706;

  transform: scale(1.02);
}
#productArea {
  /* height:calc(100vh - 160px);

    overflow-y:auto;

    overflow-x:hidden;

    padding:15px;

    display:block; */
  height: calc(100vh - 170px);

  overflow-y: auto;
  overflow-x: hidden;

  display: flex;
  flex-wrap: wrap;

  gap: 15px;

  align-content: flex-start;

  padding: 10px;
  padding-bottom: 100px;
}
/* Vertical scrollbar */
#productArea::-webkit-scrollbar {
  width: 10px;
}

#productArea::-webkit-scrollbar-thumb {
  background: #a5d6a7;
  border-radius: 10px;
}

#productArea::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Cart Button */

.cart-btn {
  background: #fff;

  color: var(--green-dark);

  border: none;

  border-radius: 50px;

  padding: 10px 20px;

  font-size: 22px;

  font-weight: bold;

  transition: 0.25s;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.cart-btn:hover {
  background: var(--green-soft);

  transform: scale(1.05);
}

.cart-count {
  background: var(--green-dark);

  color: #fff;

  border-radius: 50%;

  width: 35px;

  height: 35px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-left: 10px;
}

/* Exit Button */

.exit-btn {
  width: 60px;

  height: 60px;

  border: none;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.18);

  color: white;

  font-size: 28px;

  transition: 0.25s;

  display: flex;

  justify-content: center;

  align-items: center;
}

.exit-btn:hover {
  background: white;

  color: #1b5e20;

  transform: scale(1.08);

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.logo-img {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  object-fit: cover;

  background: white;

  padding: 5px;
}

.cart-bounce {
  animation: bounce 0.4s;
}

@keyframes bounce {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.25);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}
.radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 15px 20px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #fff;
  font-weight: 500;
}

.radio-card:hover {
  border-color: #0d6efd;
  background: #f8fbff;
  transform: translateY(-2px);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-card i {
  font-size: 22px;
  color: #6c757d;
}

.radio-card:has(input:checked) {
  border-color: #0d6efd;
  background: #eaf3ff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.radio-card:has(input:checked) i {
  color: #0d6efd;
}
