/* ==========================================================================
   COMMON BUTTONS SYSTEM (Hệ thống nút bấm dùng chung)
   ========================================================================== */

/* 1. Reset & Base Button Styles */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  letter-spacing: 0.2px;
}

/* 2. Primary Buttons (Nút chính) */
.btn--primary.btn--small {
  background: var(--brand-color-3) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
  margin-left: 10px;
}

.btn--primary.btn--small:hover {
  background-color: #035e44 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(4, 120, 87, 0.3);
}

/* 3. Action Buttons (Thêm vào giỏ hàng, Đặt in) */
.btn-action-primary,
.btn-action-secondary {
  height: 56px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
}

.btn-action-primary {
  background-color: var(--brand-color-3);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.2);
}

.btn-action-primary:hover {
  background-color: #059669;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(4, 120, 87, 0.3);
}

.btn-action-secondary {
  background-color: #fa8c16;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(250, 140, 22, 0.2);
}

.btn-action-secondary:hover {
  background-color: #ff9c32;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(250, 140, 22, 0.3);
}

/* 4. Icon Buttons & Nav Buttons */
.nav__icon-btn {
  position: relative;
  color: var(--gray-700);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transition: 0.3s;
}

.nav__icon-btn:hover {
  color: var(--brand-color-1);
}

.btn-filter-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.btn-filter-mobile:hover {
  border-color: var(--brand-color-1);
  color: var(--brand-color-1);
  background: var(--blue-50);
}

/* 5. Quantity & Form Buttons */
.qty-btn {
  width: 40px;
  height: 36px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--brand-color-1);
  color: #fff;
}

.btn-submit-contact,
.auth-btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--brand-color-1);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-submit-contact:hover {
  background: #00817c;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(var(--brand-color-1-rgb), 0.3);
}

/* 6. Social & Floating Buttons */
.btn-social-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1e293b;
  font-weight: 700;
  transition: all 0.3s ease;
}

.scroll-top-btn {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.scroll-top-btn.is-show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

/* 7. Card & Specific Utility Buttons */
.action-btn {
  /* Product Card Plus Button */
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--brand-color-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.action-btn:hover {
  background: var(--brand-color-1);
  color: #fff;
}

.service-card__btn,
.blog-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__btn {
  padding: 10px 20px;
}

.blog-card__btn {
  max-width: fit-content;
  padding: 10px 20px;
}

.service-card__btn,
.blog-card__btn {
  gap: 6px;
  background-color: var(--blue-50);
  color: var(--brand-color-1);
  border-radius: 12px;
  border: 1px solid var(--blue-150);
  font-size: 1.5rem;
  font-weight: 700;
  transition: 0.3s;
}

.service-card__btn:hover,
.blog-card__btn:hover {
  background-color: var(--brand-color-1);
  color: #ffffff;
  transform: translateY(-5px);
}

/* 8. Pagination Links (Act as buttons) */
.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--gray-400);
  border-radius: 12px;
  color: #64748b;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
  background: var(--brand-color-1);
  color: #ffffff;
  border-color: var(--brand-color-1);
}
