/* Reset & Basic Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
  padding: 0 20px 40px;
  color: #333;
}

/* Header */
header {
  position: static;
  background-color: #ffffff;
  padding: 10px;
  text-align: center;
  border-bottom: 2px solid #ddd;
}

header h1 {
  color: #000;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Offer Section */
.offer {
  padding: 20px;
  margin-top: 20px;
}

.offer-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.offer-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.offer-title {
  font-size: 2rem;
  font-weight: bold;
  color: #00008B;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.offer-description {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.offer-prices {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.offer-prices .original-price {
  text-decoration: line-through;
  color: #777;
  margin-right: 10px;
}

.offer-prices .discounted-price {
  font-weight: bold;
  color: #000;
}

.offer-saving {
  font-size: 1rem;
  color: green;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Offer Buttons */
.offer-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}

.offer-buttons a {
  flex: 1;
  text-align: center;
}

/* Button Styling */
.btn {
  position: relative;
  display: inline-block;
  padding: 14px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}

.btn:active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  from { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  to { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.order-btn {
  background: linear-gradient(45deg, #00008B, #4169E1);
  border: none;
}

.order-btn:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 0 20px rgba(0,0,139,0.6);
}

.size-guide-btn {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  border: none;
}

.size-guide-btn:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 0 20px rgba(255,215,0,0.6);
}

/* Timer Container */
.timer-container {
  margin-top: 20px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #ffffff, #f0f4f8);
  border: 2px dashed #00008B;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,139,0.2);
}

.timer-info {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #00008B;
  text-transform: uppercase;
  text-align: center;
}

#timer {
  font-size: 1.4rem;
  letter-spacing: 1px;
  display: flex;
  gap: 10px;
  color: #000;
  justify-content: center;
}

#timer .time {
  display: inline-block;
  background: rgba(240,240,240,0.95);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  min-width: 50px;
  text-align: center;
}

@media (max-width: 480px) {
  #timer {
    flex-wrap: wrap;
    gap: 5px;
    font-size: 1.2rem;
  }
  #timer .time {
    padding: 6px 8px;
    min-width: 40px;
  }
  .timer-info {
    font-size: 1rem;
    text-align: center;
  }
}

/* Contact Options Under Timer */
.contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.contact-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00008B;
  text-align: center;
  margin-bottom: 10px;
}

.contact-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.contact-options .contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #fff;
  transition: background 0.3s ease;
}

.call-btn {
  background-color: #007BFF;
}

.whatsapp-btn {
  background-color: #25D366;
}

.facebook-btn {
  background-color: #3b5998;
}

/* Slider Box */
.slider-box {
  flex: 1;
  min-width: 300px;
  margin: 0 auto;
  padding: 10px;
  background: linear-gradient(135deg, #ffffff, #eef6ff);
  border: 2px solid #00008B;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,139,0.3);
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  text-align: center;
  padding: 10px;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #00008B;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.slide img:hover,
.slide img:active {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.product-name {
  margin-top: 8px;
  font-size: 1.2rem;
  color: #00008B;
  font-weight: bold;
}

@media (max-width: 768px) {
  .product-name {
    font-size: 1rem;
  }
  .slider-box {
    margin: 10px;
    padding: 10px;
  }
}

/* Quantity Control in Order Section */
.qty-control {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.qty-control button {
  background: #00008B;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qty-control button:hover {
  background: #4169E1;
}

.qty-control input {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 5px;
}

/* Additional Images Section */
.additional-images {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: nowrap;
}

.additional-image {
  text-align: center;
}

.additional-image img {
  max-width: 100%;
  height: auto;
  border: 2px solid blue;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: none; /* Removed transition for no zoom */
  cursor: default; /* Changed cursor to default */
}

/* Additional Product Name */
.additional-product-name {
  margin-top: 8px;
  font-size: 1.2rem;
  color: #00008B;
  font-weight: bold;
  text-align: center;
}

/* Extra Order Section */
.extra-order {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

.order-details {
  margin-bottom: 20px;
}

.order-details .regular-price {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #FF0000, #FF5733);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.order-details .offer-price {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #388E3C, #66BB6A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.order-details .order-urgency {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #FFA500, #FF9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.order-button {
  margin-top: 15px;
}

.price {
  font-weight: bold;
  font-size: 1.2rem;
  color: #E91E63;
  margin-top: 10px;
  align-self: flex-end;
}

/* Size Info Section */
.size-info {
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  background: #f9f9f9;
  border: 2px solid #00008B;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,139,0.2);
}

.size-info-box {
  border: 1px solid #00008B;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.size-table-container {
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid #00008B;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
}
.size-table th,
.size-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  font-size: 1rem;
}
.size-table thead {
  background: #00008B;
  color: #fff;
}

.size-info .size-select-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
  border: 1px solid #00008B;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.size-info .size-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.size-info .size-option input {
  display: none;
}

.size-info .option-mark {
  display: inline-block;
  padding: 8px 12px;
  border: 2px solid #00008B;
  border-radius: 4px;
  font-size: 1rem;
  color: #00008B;
  transition: background-color 0.3s, color 0.3s;
}

.size-info .size-option input:checked + .option-mark,
.size-info .size-option.selected .option-mark {
  background-color: #00008B;
  color: #fff;
}

/* Order Form Section */
.order-form {
  padding: 20px;
  background: #f0f8ff;
  margin: 20px auto;
  max-width: 800px;
  border: 1px solid #00008B;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,139,0.2);
  text-align: left;
}

.order-form h3 {
  font-size: 1.8rem;
  color: #00008B;
  margin-bottom: 15px;
  text-align: center;
}

.order-form label {
  display: block;
  margin: 8px 0 4px;
  font-size: 1rem;
  color: #333;
}

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.order-form textarea {
  resize: vertical;
}

.order-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.order-summary-table th,
.order-summary-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.order-summary-table th {
  background: #00008B;
  color: #fff;
}

.order-confirm {
  text-align: center;
  margin-top: 15px;
}

/* Shipping Options */
.delivery-charge-headline {
  text-align: center;
  margin-bottom: 15px;
}

.delivery-charge-headline h4 {
  font-size: 1.5rem;
  color: #00008B;
  margin: 0;
}

.shipping-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.shipping-option {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background-color: white;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.shipping-option input[type="radio"] {
  display: none;
}

.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #00008B;
  border-radius: 50%;
  background-color: white;
  margin-right: 10px;
  position: relative;
  transition: background-color 0.3s ease;
}

.shipping-option input[type="radio"]:checked + .custom-radio::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: #00008B;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.shipping-option:hover {
  background-color: #f9f9f9;
}

/* Order Form - Size Options */
.order-form .size-select-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.order-form .size-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.order-form .size-option input {
  display: none;
}

.order-form .option-mark {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #00008B;
  border-radius: 30px;
  font-size: 1rem;
  color: #00008B;
  transition: background-color 0.3s, color 0.3s;
}

.order-form .size-option input:checked + .option-mark,
.order-form .size-option.selected .option-mark {
  background-color: #00008B;
  color: #fff;
}

/* Delivery Info Section */
.delivery-info {
  padding: 20px;
  background: #f9f9f9;
  margin-top: 20px;
}

.delivery-info-container {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  justify-content: space-around;
  overflow-x: auto;
}

.delivery-info-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 150px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.delivery-info-box h3 {
  font-size: 1.5rem;
  color: #00008B;
  margin-bottom: 5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.delivery-info-box p {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

/* Review Section */
.review-section {
  padding: 20px;
  background: #fff;
  margin: 20px auto;
  max-width: 1200px;
  text-align: center;
}

.review-section h3 {
  font-size: 1.8rem;
  color: #00008B;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.review-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
  justify-content: center;
  padding: 10px;
  scroll-snap-type: x mandatory;
}

.review-box {
  flex: none;
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.review-box img {
  width: 100%;
  height: auto;
  display: block;
}

.review-details {
  padding: 10px;
  text-align: center;
}

.review-details h4 {
  font-size: 1.1rem;
  color: #00008B;
  margin-bottom: 5px;
}

.review-details p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

/* Contact Number Section */
.contact-info {
  padding: 20px;
  text-align: center;
  background: #eeeeee;
  margin-top: 20px;
  border-top: 2px solid #ccc;
  font-size: 1.2rem;
  color: #00008B;
}

/* Additional Images - Mobile View */
@media (max-width: 600px) {
  .additional-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .additional-image {
    margin: 0;
  }
}

/* Floating WhatsApp Button */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn svg {
  width: 24px;
  height: 24px;
}

/* Order Section Product Image Fixed Size */
.product-img {
  width: 50px; /* ছোট করা হয়েছে */
  height: 50px; /* ছোট করা হয়েছে */
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #00008B;
  float: left;
  margin-right: 10px;
}

.product-img img {
  width: 100%; /* কন্টেইনারের ১০০% প্রস্থ নেবে */
  height: 100%; /* কন্টেইনারের ১০০% উচ্চতা নেবে */
  object-fit: contain; /* সম্পূর্ণ ছবিটি দেখানোর জন্য */
}
