/* styles.css */

/* Base styling */
body {
  background: #0d1117;
  color: #c9d1d9;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
}

/* Hero Section with gradient + single very-light logo */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(13,17,23,0.7), rgba(13,17,23,0.7)),
    url('synergen_logo.png') center/15% no-repeat;
  padding: 6rem 1rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p,
.hero .lead {
  color: #ddd;
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
}

/* Product Images */
.product-img {
  max-height: 180px;
  object-fit: contain;
  background: #1c1c1c;
  padding: 1rem;
  cursor: pointer;
}

/* Modal Title & Price */
.modal-body .price {
  font-weight: 600;
  color: #58a6ff;
  margin-bottom: 1rem;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 100%;
  background: #161b22;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s;
  z-index: 1050;
  padding: 1rem;
  padding-top: 2.5rem; /* space for close button */
}
.cart-sidebar.show {
  transform: translateX(0);
}

/* Close button in Cart */
.close-cart {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1100;
}

/* Ensure PayPal area is visible */
#paypal-button-container {
  min-height: 80px;
}

/* Manual instructions */
#manual-instructions {
  white-space: pre-wrap;
}

/* Form fields in sidebar */
#manual-checkout-form .form-control,
#promo-code {
  background: #0d1117;
  border: 1px solid #444;
  color: #c9d1d9;
}
#manual-checkout-form .form-control::placeholder,
#promo-code::placeholder {
  color: #666;
}

/* Buttons */
.btn-outline-info {
  border-color: #58a6ff;
  color: #58a6ff;
}
.btn-outline-info:hover {
  background: #58a6ff;
  color: #0d1117;
}

/* Downloads Row cards */
.section .border-secondary {
  border-color: #444 !important;
}

/* Mobile: full-width cart */
@media (max-width: 576px) {
  .cart-sidebar {
    width: 100%;
  }
}

