/* Peptide Shop Menu UX */
.peptide-shop-menu {
  max-width: 1100px;
  margin: 0 auto;
}

.peptide-shop-menu.layout-two-column {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.peptide-shop-menu .menu-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
  overflow-x: auto;
}

.peptide-shop-menu .menu-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  z-index: 99;
}

.peptide-shop-menu .menu-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.peptide-shop-menu .menu-nav a.active,
.peptide-shop-menu .menu-nav a:hover {
  background: #eef7f1;
  color: #238451;
}

.peptide-shop-menu .menu-content {
  min-width: 0;
}

.peptide-shop-menu .menu-category {
  margin-bottom: 40px;
  scroll-margin-top: 110px;
}

.peptide-shop-menu .menu-category h2 {
  margin-bottom: 16px;
}

.peptide-shop-menu .menu-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.peptide-shop-menu .menu-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.peptide-shop-menu .menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

.peptide-shop-menu .menu-item-left {
  min-width: 0;
  flex: 1;
}

.peptide-shop-menu .menu-item-left h3 {
  margin: 6px 0;
  font-size: 18px !important;
}

.peptide-shop-menu .menu-item-description {
  font-size: 14px;
  line-height: 1.55;
}

.peptide-shop-menu .menu-item-description p:last-child {
  margin-bottom: 0;
}

.peptide-shop-menu .menu-item .price {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}

.peptide-shop-menu .menu-item-image {
  flex: 0 0 110px;
}

.peptide-shop-menu .menu-item-image img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.peptide-shop-menu .menu-item:hover .menu-item-image img {
  transform: scale(1.04);
}

.peptide-shop-menu .bestseller {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 7px;
  background: #ffcc00;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.pshop-quick-view,
.rmux-quick-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  margin-top: 12px;
  padding: 9px 15px;
  border: 0;
  border-radius: 7px;
  background: #238451;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pshop-quick-view.disabled,
.pshop-quick-view:disabled {
  background: #8a8a8a;
  cursor: not-allowed;
  opacity: 0.8;
}

.pshop-status-notice {
  max-width: 1100px;
  margin: 0 auto 20px;
}

.pshop-floating-cart {
  position: fixed;
  bottom: 15px;
  left: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  transform: translateX(-50%);
  background: #238451;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.pshop-floating-cart a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.pshop-quickview-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow-y: auto;
  padding: 25px;
  background: rgba(0, 0, 0, 0.62);
}

.pshop-quickview-inner {
  position: relative;
  width: min(100%, 560px);
  margin: 5vh auto;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.25);
}

.pshop-close-popup {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

#pshop-toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  z-index: 100000;
  padding: 12px 18px;
  transform: translateX(-50%) translateY(20px);
  background: #323232;
  color: #fff;
  border-radius: 24px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#pshop-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@keyframes pshop-cart-bump {
  0% { transform: translateX(-50%) scale(1); }
  30% { transform: translateX(-50%) scale(1.08); }
  60% { transform: translateX(-50%) scale(0.97); }
  100% { transform: translateX(-50%) scale(1); }
}

.pshop-floating-cart.bump {
  animation: pshop-cart-bump 0.45s ease;
}

@media (max-width: 991px) {
  .peptide-shop-menu.layout-two-column {
    grid-template-columns: 1fr;
  }

  .peptide-shop-menu .menu-sidebar {
    top: 60px;
    z-index: 99;
    background: #fff;
  }

  .peptide-shop-menu .menu-nav {
    flex-direction: row;
    gap: 10px;
    padding: 8px 0 10px;
  }

  .peptide-shop-menu .menu-nav a {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .peptide-shop-menu .menu-items {
    grid-template-columns: 1fr;
  }

  .peptide-shop-menu .menu-item-image {
    flex-basis: 92px;
  }

  .peptide-shop-menu .menu-item-image img {
    width: 92px;
    height: 92px;
  }

  .pshop-floating-cart {
    width: calc(100% - 24px);
    justify-content: space-between;
    gap: 8px;
    padding: 11px 15px;
    font-size: 13px;
  }

  .pshop-quickview-popup {
    padding: 12px;
  }

  .pshop-quickview-inner {
    margin: 2vh auto;
    padding: 20px;
  }
}
