/* ================= BASE BUTTON ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: none;
  cursor: pointer;

  font-weight: 600;
  letter-spacing: 0.05em;

  transition: all 0.3s ease;
}

/* ================= BUTTONS ================= */

.btn-primary {
  background: var(--sakura);
  color: var(--text-primary);
  padding: 12px 28px;
  font-size: 14px;
}

.btn-primary:hover {
  background: var(--bronze);
  color: white;
}

.btn-secondary {
  background: var(--matcha);
  color: var(--ivory);
  padding: 12px 28px;
}

.btn-secondary:hover {
  background: #3f634c;
  color: var(--ivory);
  transform: translateY(-3px) scale(1.03);
}

/* fix for global a:hover */
.btn-secondary:visited,
.btn-secondary:active {
  color: var(--ivory);
}

/* ================= CTA GROUP ================= */

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ================= LUX BUTTON ================= */

.btn-lux {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 24px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;

  border: none;
  outline: none;

  appearance: none;
  -webkit-appearance: none;

  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

.btn-lux:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.15);
}

/* ================= MATCHA ================= */

.btn-lux--matcha {
  background: var(--matcha);
  color: var(--ivory);
  padding: 10px 20px;

  box-shadow:
    0 10px 30px rgba(79,122,94,0.35),
    0 4px 12px rgba(79,122,94,0.25);
}

.btn-lux--matcha:hover {
  color: #fff;

  box-shadow:
    0 18px 50px rgba(191,160,116,0.45),
    0 6px 20px rgba(0,0,0,0.15);
}

/* shine */
.btn-lux--matcha::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.7),
    transparent
  );

  transform: skewX(-20deg);
  transition: all 0.9s ease;
}

.btn-lux--matcha:hover::after {
  left: 130%;
}

/* ================= OUTLINE ================= */

.btn-lux--outline {
  background: #fff;
  color: var(--matcha);
  border: 1px solid var(--matcha);
}

.btn-lux--outline:hover {
  background: var(--matcha);
  color: #fff;
}

/* ================= FULL ================= */

.btn-full {
  width: 100%;
  padding: 12px 24px;
}

/* ================= VIEW ALL ================= */

.shop-footer {
  margin-top: 3rem;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 3rem auto 0;
  width: fit-content;

  padding: 0.75rem 2rem;
  border-radius: 999px;

  background: #F6D6DB;
  color: #1E1E1E;

  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;

  border: none;

  transition: all 0.3s ease;

  box-shadow:
    0 10px 40px rgba(246,214,219,0.35),
    0 4px 12px rgba(191,160,116,0.25);
}

.btn-view-all:hover {
  background: #BFA074;
  color: var(--ivory);
  transform: translateY(-3px) scale(1.02);
}

/* ================= SAKURA ================= */

.btn-lux--sakura {
  background: var(--sakura);
  color: var(--text-primary);

  box-shadow:
    0 10px 30px rgba(246,214,219,0.35),
    0 4px 12px rgba(191,160,116,0.25);
}

.btn-lux--sakura:hover {
  background: var(--bronze);
  color: #fff;
}

.btn-lux--sakura::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );

  transform: skewX(-20deg);
  transition: all 0.8s ease;
}

.btn-lux--sakura:hover::after {
  left: 130%;
}

/* ================= CHECKOUT ================= */

.cart-checkout {
  margin-top: 12px;

  box-shadow:
    0 12px 40px rgba(246,214,219,0.45),
    0 6px 18px rgba(191,160,116,0.25);
}

.cart-checkout:hover {
  transform: translateY(-2px) scale(1.02);
}

/* ================= SUBMIT ================= */

.btn-submit {
  background: #D6C5A3;
  color: #1E1E1E;
  padding: 10px 32px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-submit:hover {
  background: #BFA074;
  transform: scale(1.05);
}
