/* ========== SHOP SECTION ========== */
.shop {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.shop h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #a26b1f;
}


/* back button */
.back-btn {
  background: rgba(5, 8, 54, 0.9);
  color: #fff;
  border: none;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.back-btn:hover {
  background: #cf711f;
}

.back-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0; /* space above and below */
  padding-bottom: 5%;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(5, 8, 54, 0.9);
  color: #fff;
  text-decoration: none;


}a[href^="https:"] {
    color: white;
}

/* social icon */

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* space between icons */
  margin: 20px 0;
  
}

.social-links a {
  color: white;   /* default color */
  font-size: 28px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #25D366; /* WhatsApp green, or change to brand colors */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 8, 54, 0.9);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.navbar .logo img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar nav ul li a:hover {
  color: #e67e22;
}

/* Adjust hero so it doesn't hide behind navbar */
.hero {
  margin-top: 80px; /* pushes hero below navbar */
}

.search-bar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.search-bar input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.search-bar button {
  padding: 10px 15px;
  border: none;
  background: rgb(192, 51, 9);
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.search-bar button:hover {
  background: #af8204;
}

/* highlight effect */
.highlight {
  background: yellow;
  color: black;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}


/* CART SECTION */
#cartSection {
    padding: 40px 5%;
    background: #fef3b7;
}

.payment-box {
    background: white;
    padding: 20px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ffe0dc;
    /* max-width: 400px; */
}


.cart-item {
    padding: 10px;
    margin: 10px 0;
    background: #f5f5f5;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-btn {
    background: red !important;
}


/* POPUP BACKGROUND */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* POPUP BOX */
.popup-content {
    background: #fff;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    animation: popIn 0.3s ease;
}

.close-btn {
    background: #555 !important;
    margin-top: 10px;
}

@keyframes popIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.copy-btn {
    background: #c62828;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #a31f1f;
}



/* POPUP BACKGROUND */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* POPUP BOX */
.popup-content {
    background: #fff;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    animation: popIn 0.3s ease;
}

.close-btn {
    background: #555 !important;
    margin-top: 10px;
}

@keyframes popIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.copy-btn {
    background: #c62828;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #a31f1f;
}



/* --------- Preview (zoom) popup styling --------- */
#previewPopup {
    display: none; /* hidden by default; uses same overlay behavior as other popups */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

#previewPopup .popup-content {
    width: 92%;
    max-width: 520px;
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

#previewPopup img#previewImage {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 12px;
}

#previewPopup h3, #previewPopup p {
    margin: 8px 0;
}

#previewPopup .close-btn {
    background: #777 !important;
    margin-top: 12px;
}

.btn {
    display: inline-block;
    background: #1d1f49;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: #a31f1f;
}

.search-box {
      display: block;
      margin: 0 auto 2rem auto;
      width: 300px;
      padding: 0.75rem 1rem;
      border-radius: 50px;
      border: 2px solid #1d1f49;
      font-size: 1rem;
      outline: none;
      transition: all 0.3s ease;
    }

    .search-box:focus {
      border-color:black;
      box-shadow: 0 0 8px rgba(128,0,128,0.3);
    }
