:root{
  --blue: #0385ff;
  --light-ash: #f2f2f2;
  --dark-ash: #9c9c9c;
  --white: #ffffff;
  --black: #0d0d0d;
  --black-text: #303030;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🧱 Page Layout (Sticky Footer Setup) */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Hind Siliguri", sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
  text-align: center;
  overflow-y: scroll;
}

/* সব কনটেন্ট এরিয়া wrapper */
main {
  flex: 1;
}

/* 🌈 Header */
.header {
  background: linear-gradient(90deg, var(--blue), #9333ea);
  color: #fff;
  padding: 10px 10px;
}

.header p {
  font-size: 1.1rem;
}

.timer span {
  font-size: 28px;
  font-weight: bold;
}

/* 🖼️ Product Section */
.product {
  padding: 20px;
}

.product h2 {
  font-weight: bold;
  margin-bottom: 20px;
}

.main-img img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 15px 0;
}

.thumbs img {
  width: 80px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.thumbs img:hover {
  transform: scale(1.05);
}

.thumbs img.active {
  border: 3px solid #4f46e5;
}

.price {
  margin-top: 20px;
}

.price .old {
  color: var(--dark-ash);
  text-decoration: line-through;
  font-size: 1rem;
}

.price .new {
  color: #d10000;
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 5px;
}

/* 🛒 Order Button */
.order-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 25px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.order-btn:hover {
  transform: scale(1.08);
  transition: transform 0.25s ease;
}


@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(15, 139, 255, 0.6);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 25px rgba(15, 139, 255, 0.9);
    opacity: 0.95;
  }
  100% {
    box-shadow: 0 0 0 rgba(15, 139, 255, 0.6);
    opacity: 1;
  }
}

.blink {
  animation: pulseGlow 2.5s ease-in-out infinite;
  will-change: opacity, box-shadow;
}


/* 📋 Details Section */
.details {
  background: var(--light-ash);
  padding: 50px 20px;
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  border-radius: 10px;
  text-align: left;
}

.details h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.details ul {
  list-style: none;
}

.details li {
  background: var(--white);
  padding: 12px 16px;
  margin-bottom: 10px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  font-size: 1rem;
}

/* 🧾 Checkout Section */
.checkout {
  max-width: 600px;
  width: 100%;
  background: #f9f9ff;
  margin: 40px auto;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: left;
}

.checkout h2 {
  text-align: center;
  color: var(--blue);
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkout-form label {
  font-weight: bold;
  margin-bottom: 4px;
}

.checkout-form input,
.checkout-form select {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 6px rgba(79, 70, 229, 0.4);
  outline: none;
}

.submit-btn {
  background: var(--blue);
  color:var(--white);
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
  font-family: "Hind Siliguri", sans-serif;
}

.submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.6);
}

/* ⚓ Footer (Always Bottom) */
.footer {
  background: #000;
  color: #aaa;
  padding: 20px;
  font-size: 0.9rem;
  text-align: center;
  margin-top: auto; /* footer সবসময় নিচে থাকবে */
}

.footer strong {
  color: #fff;
}

/* 📱 Responsive */
@media (max-width: 500px) {
  .checkout {
    padding: 20px;
  }

  .checkout h2 {
    font-size: 1.5rem;
  }

  .checkout-form input,
  .checkout-form select {
    font-size: 0.95rem;
  }

  .submit-btn {
    font-size: 1rem;
  }
}
