/* === Shop Now Page (responsive: desktop + mobile) === */
html[lang="th"] #copyLinkBtn {
  font-family: 'prompt';
  font-size: 16px;   /* adjust as needed */
}

.shopnow {
  padding: clamp(80px, 8vw, 140px) 16px clamp(28px, 4vw, 56px);
}

.shopnow__container {
  max-width: 1100px;
  margin: 0 auto;
}

.shopnow__card {
  position: relative;
  border-radius: 24px;
  padding: clamp(18px, 3vw, 32px);
  overflow: hidden;
}

/* soft interactive background glow */
.shopnow__card::before {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  transform: translateZ(0);
}

.shopnow__badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.3px;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}

.shopnow__title {
  margin: 14px 0 6px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
  position: relative;
  z-index: 1;
  color: #1D4F25;
}

.shopnow__subtitle {
  margin: 0 0 18px;
  max-width: 62ch;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* desktop layout */
.shopnow__grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal width */
  gap: 0px; /* slightly more breathing room */
  align-items: center; /* vertical center alignment */
}

.shopnow__qr {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.shopnow__qrFrame {
  width: min(360px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shopnow__qrImg {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.shopnow__qrFallback {
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.shopnow__qrFallbackText {
  font-size: 14px;
  opacity: 0.8;
}

.shopnow__qrHint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  opacity: 0.85;
}

.shopnow__hintDot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
}

.shopnow__actions {
  display: block;
}

.shopnow__panel {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 14px 38px rgba(0,0,0,0.05);
  transform: translateY(-20px);

}

.shopnow__panelTitle {
  margin: 0 0 6px;
  font-size: 18px;
}

.shopnow__panelText {
  margin: 0 0 14px;
  opacity: 0.85;
}

.shopnow__buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shopnow__buttons > a,
.shopnow__buttons > button{
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 860px){
  .shopnow__buttons{
    grid-template-columns: 1fr;
  }
}

.shopnow__btn {
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.72);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  user-select: none;
}

.shopnow__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.shopnow__btn:active {
  transform: translateY(0px);
  box-shadow: none;
}

.shopnow__btn--primary {
  /* use your scheme via CSS variables if you have them */
  background: #4CC764;
  color: #fff;
}

.shopnow__btn--ghost {
  background: rgba(255,255,255,0.55);
}

.shopnow__btnArrow {
  font-size: 16px;
  transform: translateY(-1px);
}

.shopnow__status {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.85;
  min-height: 18px;
}

.shopnow__footerNote {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.75;
  position: relative;
  z-index: 1;
}

/* === Mobile design === */
@media (max-width: 860px) {
  .shopnow__grid {
    grid-template-columns: 1fr;
  }

  .shopnow__qr {
    justify-items: center;
  }

  .shopnow__qrFrame {
    width: min(320px, 100%);
  }

  .shopnow__buttons {
    flex-direction: column;
  }

  .shopnow__btn {
    width: 100%;
  }
}
/* Sticky footer - page-only */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.main-content {
  flex: 1;
}