:root {
  --primary-color: #d17519;
  /* The orange/brown accent color */
  --primary-color-hover: #b86212;
  --bg-color: #fcfbf5;
  /* Light cream background */
  --text-dark: #111111;
  --text-muted: #666666;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --font-family: 'Anek Bangla', 'Noto Sans Bengali', sans-serif;
}

body {
  background-color: #e9ecef;
  /* Darker bg for desktop to contrast the mobile frame */
  font-family: var(--font-family);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--bg-color);
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow-x: hidden;
  padding: 15px;
  /* Added overall padding */
  box-sizing: border-box;
}

/* Header */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.header-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.2rem;
}

.header-logo img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
}

.btn-call {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 5px 15px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.btn-call:hover {
  color: var(--white);
}

/* Banner Title Section */
.banner-title-section {
  padding: 20px 15px 15px;
}

.banner-subtitle {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.banner-title-main {
  font-size: 1.8rem;
  font-weight: 800;
  color: #222;
  margin: 0 0 10px 0;
}

.banner-underline {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.banner-underline .line-long {
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.banner-underline .line-short {
  width: 15px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 5px;
}

/* Hero Image */
.hero-img-container {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  display: block;
}

.hero-badge {
  position: absolute;
  top: 15px;
  left: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 0 20px 20px 0;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Order Button */
.btn-order-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
  width: 100%;
  margin: 15px 0;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-order-primary:hover {
  background-color: var(--primary-color-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-order-primary i {
  font-size: 1.2rem;
}

/* Product Info */
.product-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 15px;
  margin-top: 10px;
}

.price-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 15px 0;
  padding: 15px;
  text-align: center;
  position: relative;
}

.discount-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background-color: var(--danger-color);
  color: white;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.old-price {
  color: var(--danger-color);
  text-decoration: line-through;
  font-size: 1.1rem;
  font-weight: 600;
}

.new-price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 5px 0;
}

.new-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.taka-text {
  font-size: 1rem;
  font-weight: 600;
}

.stock-badge {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0 15px;
  margin: 20px 0;
}

.features-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.features-list li i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Review Section */
.review-section {
  padding: 20px 15px;
  text-align: center;
}

.review-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.review-title span {
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 2px;
}

.review-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

/* Banner Footer */
.banner-footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 20px 15px;
  margin-top: 20px;
}

.banner-footer h4 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.banner-footer p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.btn-call-outline {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* Form Section */
.form-section {
  padding: 20px 15px;
  background-color: var(--bg-color);
}

.form-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-group-custom {
  margin-bottom: 15px;
}

.form-label-custom {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.form-label-custom i {
  margin-right: 5px;
  color: var(--primary-color);
}

.form-control-custom {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 15px;
  width: 100%;
  font-size: 1rem;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(209, 117, 25, 0.25);
}

/* Selection Cards */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.selection-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  padding: 10px 5px;
  cursor: pointer;
  background-color: var(--white);
  transition: all 0.2s ease;
  font-weight: 600;
}

.selection-box.active {
  border-color: var(--primary-color);
  background-color: rgba(209, 117, 25, 0.1);
  color: var(--primary-color);
}

.selection-box input[type="radio"] {
  display: none;
}

/* Quantity */
.quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  background: transparent;
}

/* Delivery Cards */
.delivery-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
}

.delivery-card.active {
  border-color: var(--primary-color);
  background-color: rgba(209, 117, 25, 0.1);
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.delivery-icon {
  width: 40px;
  height: 40px;
  background-color: #f1f1f1;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.delivery-text strong {
  display: block;
  font-size: 0.95rem;
}

.delivery-text small {
  color: var(--text-muted);
}

.delivery-radio {
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
}

/* Order Summary */
.order-summary {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px dashed var(--success-color);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* Carousel Customization */
.hero-img-container {
  padding: 0;
}

.carousel-inner {
  border-radius: 15px;
  overflow: hidden;
}

.hero-img {
  border-radius: 15px;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 0 20px 20px 0;
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 10;
}

.carousel-indicators {
  position: relative;
  bottom: 0;
  margin-top: 15px;
  margin-bottom: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #d3d3d3 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 4px !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  width: 25px !important;
  border-radius: 10px !important;
  background-color: var(--primary-color) !important;
}

/* New Product Info Styles */
.shadow-glow {
  box-shadow: 0 8px 25px rgba(209, 117, 25, 0.4) !important;
}

.btn-order-primary span {
  font-size: 1.1rem;
}

.product-title-new {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 5px 0;
  text-align: left;
}

.product-subtitle-new {
  font-size: 0.95rem;
  color: #555;
  text-align: left;
}

.price-box-new {
  background-color: #fffdf5;
  /* subtle yellow tint */
  border: 1px solid #f0e6d2;
  border-radius: 12px;
  margin: 15px 0;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.regular-price {
  color: #888;
  font-size: 0.95rem;
}

.regular-price span {
  color: #dc3545;
  text-decoration: line-through;
  font-weight: 600;
}

.offer-badge {
  background-color: #d9534f;
  color: white;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.new-price-container-new {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.new-price-lg {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.taka-text-sm {
  font-size: 1.1rem;
  color: #555;
  font-weight: 600;
}

.badge-stock {
  background-color: #ffe8e8;
  color: #d9534f;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-cod {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price-features {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: #555;
  margin-top: 10px;
  flex-wrap: wrap;
}

.price-features span i {
  color: #333;
}

.features-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

.features-list-new {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.features-list-new li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.features-list-new li span {
  font-size: 1.1rem;
  margin-top: 2px;
}

.btn-order-secondary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 10px;
  /* less rounded than primary */
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-order-secondary:hover {
  color: var(--white);
}

/* Review Section New Styles */
.review-title-new {
  font-size: 1.5rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}

.review-underline {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.review-underline span {
  width: 25px;
  height: 5px;
  background-color: var(--primary-color);
  border-radius: 4px;
}

.review-img-new {
  border-radius: 15px;
  object-fit: cover;
  height: 550px;
}

.review-carousel-inner {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* WhatsApp Banner */
.whatsapp-banner {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3Cpattern id='pattern' width='60' height='60' patternUnits='userSpaceOnUse' patternTransform='rotate(30)'%3E%3Cpath d='M0,30 Q15,15 30,30 T60,30' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='2'/%3E%3Cpath d='M0,10 Q15,-5 30,10 T60,10' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3Cpath d='M0,50 Q15,35 30,50 T60,50' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23pattern)'/%3E%3C/svg%3E"), linear-gradient(135deg, #cc721d, #e08b2d);
  background-size: cover;
  color: white;
  text-align: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.whatsapp-icon-top {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.whatsapp-banner h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.whatsapp-banner p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: white;
  color: #cc721d;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form Title Section */
.form-title-section {
  padding: 30px 15px 15px;
  background-color: #fffdf5;
}

.form-subtitle-small {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.form-title-main {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

/* Form Layout */
.form-section-new {
  background-color: #fffdf5;
}

#checkoutForm {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Step Label */
.step-label {
  font-weight: 800;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  display: block;
}

.step-sub {
  font-weight: 400;
  font-size: 0.85rem;
  color: #777;
}

/* Product Card */
.form-step {
  margin-bottom: 30px;
}

.product-card {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.product-card.selected {
  border: 2px solid var(--primary-color);
  background-color: #fffaf5;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background-color: #d17519;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 10px;
}

.product-icon {
  font-size: 1.8rem;
  margin-right: 15px;
}

.product-details {
  flex-grow: 1;
  padding-right: 10px;
}

.product-details h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #222;
}

.product-details p {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.4;
}

.product-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.product-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.radio-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--primary-color);
  font-size: 0.8rem;
}

.radio-indicator.empty {
  background-color: transparent;
  border: 2px solid #ccc;
}

/* Size Grid */
.size-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-box {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 0;
  text-align: center;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.3s ease;
}

.size-box.active {
  border-color: var(--primary-color);
  background-color: #fffaf5;
  color: var(--primary-color);
}

/* Quantity Control */
.qty-control {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 25px;
  padding: 5px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn.minus {
  background-color: #e9ecef;
  color: #333;
}

.qty-btn.plus {
  background-color: var(--primary-color);
  color: white;
}

.qty-input-new {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #111;
}

.qty-input-new:focus {
  outline: none;
}

.qty-total-text {
  font-size: 1rem;
  color: #666;
}

.qty-total-text span {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* Delivery Area New Styles */
.delivery-icon-new {
  width: 40px;
  height: 40px;
  background-color: #f0f4f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 15px;
}

/* Order Summary Box */
.order-summary-box {
  background-color: #fffdf5;
  border: 1px solid #f0e6d2;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.summary-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 15px;
}

.summary-item {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.summary-item.border-bottom-dashed {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 12px;
}

.summary-total-new {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  margin-top: 12px;
  align-items: center;
}

.summary-total-new .total-amount {
  color: var(--primary-color);
  font-size: 1.4rem;
}

/* Submit Button & Notice */
.btn-submit-order {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.shadow-glow-green {
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
  /* It has a slight greenish/orangish shadow in the image, going with a generic shadow here or primary colored one */
  box-shadow: 0 10px 25px rgba(209, 117, 25, 0.4);
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(209, 117, 25, 0.5);
}

.order-notice {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  margin-top: 15px;
  line-height: 1.5;
}

/* Footer New */
.footer-new {
  background-color: #02609c;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 10px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-slogan {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Unified Action Button with Hover Animation */
.btn-action-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
  color: var(--white);
  border: none;
  border-radius: 30px;
  width: 100%;
  padding: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(209, 117, 25, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-action-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine-btn 3s infinite;
  z-index: -1;
}

@keyframes shine-btn {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.btn-action-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(209, 117, 25, 0.5);
  color: var(--white);
}

.btn-action-primary i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-action-primary:hover i {
  animation: bounce-icon-btn 1s infinite;
}

@keyframes bounce-icon-btn {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px) scale(1.1);
  }
}