/* ============================================================
   Evassentials — Complementary Contrast Transaction Buttons
   assets/css/buy-now.css
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   CTA BUTTON STACK — product modal
   ─────────────────────────────────────────────────────────── */

.modal-cta-pair {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

/* Buy Now — 4px Electric Blue Outer Frame with a Solid Graphic Orange Core */
.btn-buy-now {
  width: 100%;
  padding: 0.85rem 1.5rem;
  
  /* Dual-layer background trick: puts solid orange inside the text block, blue on the border edge */
  background: padding-box linear-gradient(#EA7317, #EA7317), 
              border-box linear-gradient(135deg, #0052FF, #0036B3) !important;
  border: 4px solid transparent !important;
  
  color: #FFFFFF !important; /* Stark white font to jump out from the orange */
  border-radius: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase; /* Amplifies the streetwear aesthetic */
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.25);
  transition: transform 0.15s, filter 0.18s, box-shadow 0.18s;
}

.btn-buy-now:hover { 
  filter: brightness(1.15) !important; /* Energizes both colors simultaneously on hover */
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 82, 255, 0.4);
}

.btn-buy-now:active { 
  transform: translateY(0); 
}

.btn-buy-now:focus-visible {
  outline: 3px solid #0052FF;
  outline-offset: 3px;
}

/* Add to Cart — Electric Blue Frame with a Clean Transparent Core */
.btn-add-to-cart {
  width: 100%;
  padding: 0.75rem 1.5rem;
  
  /* Uses a white glass center background wrapped in our rich signature blue border */
  background: padding-box linear-gradient(#FFFFFF, #FFFFFF), 
              border-box linear-gradient(135deg, #0052FF, #0041CC) !important;
  border: 3px solid transparent !important;
  
  color: #0052FF !important; /* Sharp blue text matches the frame */
  border-radius: 10px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, filter 0.18s, box-shadow 0.18s;
}

.btn-add-to-cart:hover { 
  /* Flips into a solid graphic orange background on hover for interactive excitement */
  background: padding-box linear-gradient(#EA7317, #EA7317), 
              border-box linear-gradient(135deg, #EA7317, #EA7317) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(234, 115, 23, 0.25);
  transform: translateY(-1px);
}

.btn-add-to-cart:active {
  transform: translateY(0);
}

.btn-add-to-cart:focus-visible {
  outline: 3px solid #EA7317;
  outline-offset: 3px;
}

/* Reassurance micro-copy under the buttons */
.modal-cta-note {
  font-size: 0.72rem;
  color: var(--text3);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE — sticky CTA so Buy Now is always visible
   ─────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .modal-cta-pair {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: white;
    margin-left:  -2rem;
    margin-right: -2rem;
    padding: 1rem 2rem 0.75rem;
    border-top: 1px solid var(--paper3);
    box-shadow: 0 -4px 16px rgba(26, 26, 46, 0.06);
  }

  .modal-cta-note {
    padding-bottom: 0.25rem;
  }
}