/* =========================
   BASE (Mobile First)
   ========================= */

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tab {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    background-color: #ffd700;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-align: center;
    min-height: 44px; /* touch friendly */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ACTIVE */
.tab.sactive {
    background-color: #e63946;
    color: #fff;
}

/* HOVER */
.tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background-color: #ffca28;
    color: #000;
}

/* =========================
   MOBILE (≤ 480px)
   ========================= */
@media (max-width: 480px) {
    .tabs {
        flex-direction: row;
    }

    .tab {
        flex: 1 1 calc(36% - 5px);
        font-size: 12px;
        padding: 1px 0px;
        min-height: 40px;
    }
}

/* =========================
   TABLET (481px – 768px)
   ========================= */
@media (min-width: 481px) and (max-width: 768px) {
    .tabs {
        flex-direction: row;
    }

    .tab {
        flex: 1 1 calc(30% - 8px);
        font-size: 15px;
        padding: 8px 8px;
    }
}

/* =========================
   SMALL LAPTOP (769px – 1024px)
   ========================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .tab {
        flex: 1 1 calc(20% - 5px);
        font-size: 13px;
        padding: 9px 9px;
    }
}

/* =========================
   DESKTOP (1025px – 1200px)
   ========================= */
@media (min-width: 1025px) and (max-width: 1200px) {
    .tab {
        font-size: 16px;
        padding: 14px 22px;
    }
}

/* =========================
   LARGE / XL SCREENS (≥ 1201px)
   ========================= */
@media (min-width: 1201px) {
    .tabs {
        gap: 12px;
    }

    .tab {
        font-size: 15px;
        padding: 10px 18px;
        border-radius: 8px;
    }
}


.badge {
    display: inline-block;
    background: #1e293b;
    color: #f9f9f9;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-box {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.step-icon {
    font-size: 40px;
    color: var(--theme-color2);
    margin-right: 25px;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.step-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.step-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .step-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .step-icon {
        margin-bottom: 15px;
    }
}

.wrapper {
  position: relative;
  width: 100%; /* FIXED */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: -3px -3px 7px #9e9e9e6b, 3px 3px 5px #ceced1;
}

.img-area {
  height: 110px;
  width: 110px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Perfect Neumorphism */
  box-shadow: -3px -3px 7px #9e9e9e6b, 3px 3px 5px #ceced1;
}

/* Keep icon always centered */
.img-area i {
  font-size: 55px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Fix */
@media (max-width: 576px) {
  .img-area {
    height: 90px;
    width: 90px;
  }

  .img-area i {
    font-size: 45px;
  }
}

.name {
  font-size: 15px;
  font-weight: 600;
  min-height: 30px;
  max-height: 50px;
}

.about {
  font-size: 15px;
  color: #44476a;
}

/* Quantity Section */
.product-qty {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  width: 100%;
}

.qty-btn {
  width: 45px;
  height: 45px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 24px;
  cursor: pointer;
  background: #fff;
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
}

.qty-input {
  width: 65px !important;
  height: 45px !important;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  border: 2px solid #ddd;
  background: #fff;
  box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

.buttons button {
  width: 45%;
  padding: 10px 0;
  border-radius: 5px;
  border: none;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: #31344b;
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
}

.buttons button.buy {
  background: #ff4b4b;
  color: #fff;
}

.buy-btn {
  width: 45%;
  padding: 5px 0;
  border-radius: 5px;
  border: none;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: #ff4b4b;
  color: #FFF;
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
}

.menu-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 20px;
  color: #444;
  cursor: pointer;
  opacity: 0.7;
}

.summary-box {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.summary-box h5 {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.table-hover tbody tr:hover {
  background-color: #f1f7ff;
  transition: 0.3s;
}

.table th,
.table td {
  vertical-align: middle;
  font-size: 0.95rem;
}

.text-success {
  color: #198754 !important;
}

#qtyShow {
  color: #333;
}
