/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Design Tokens */
:root {
  /* Fonts */
  --font-bn-headline: "Noto Serif Bengali", system-ui;
  --font-bn-body: "Noto Serif Bengali", system-ui;
  --font-en: "Inter", -apple-system, system-ui, Roboto, Helvetica, Arial, sans-serif;

  /* Colors */
  --color-accent: #e91e63;       /* accent pink */
  --color-primary: #f06292;      /* primary pink */
  --color-primary-light: #f8bbd0;/* light primary pink */
  --color-primary-xxlight: #fdeff4; /* lightest primary pink */
  --color-font: #2c0d16;         /* dark font for pink theme */
  
  
}

body {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui,
    -apple-system, Roboto, Helvetica, sans-serif;
  background-color: #fff;
  color: var(--color-font, #171208);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Main Container */
.main-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
}

/* Section Containers */
.section-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Ensure product select header stacks above the grid */
.product-select-section {
  flex-direction: column;
  align-items: center;
}

/* Add side padding for select header on small screens */
@media (max-width: 480px) {
  .product-select-section .reviews-title,
  .product-select-section .reviews-subtitle {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Reviews Section Outer Container Background */
.reviews-container {
  background: #ffffff;
}

/* Call Section */
.call-section {
  width: 92%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}


/* .call-section {
  width: 92%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
   */


.call-title {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
.call-number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 30px;
  color: var(--color-accent);
}
.call-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
}
.call-button i {
  font-size: 20px;
}

@media (max-width: 420px) {
  .call-section {
    width: 88%;
    padding: 20px 16px;
    background-color: var(--color-primary-xxlight);
  }
  .call-number { font-size: 28px; }
  .call-button { width: 50%; justify-content: center; }
}

/* Top Banner */
.top-banner {
  width: 100%;
  height: 41px;
  background-color: var(--color-primary-light, #f2d495);
  position: relative;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-text {
  color: var(--color-font);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  position: absolute;
  animation: ticker 25s linear infinite;
  width: max-content;
}

@keyframes ticker {
  0% {
    transform: translateX(416px);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Image Gallery Container */
.image-gallery {
  position: relative;
  left: 0;
  top: 0;
  width: 92%;
  margin: 16px auto 0 auto;
}

/* Main Product Image */
.main-image-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  height: auto;
  overflow: visible;
  margin-bottom: 8px;
  position: relative;
}

.main-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  background-color: #ffffff;
}

/* Badges on main image */
.image-badge {
  position: absolute;
  top: 24px;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-weight: 900;
  font-size: 14px;
  color: #ffffff;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.offer-badge {
  left: 10px;
  right: auto;
  background: #ffd666; /* warm yellow */
  color: #111111; /* dark text for contrast */
  border-radius: 999px; /* full pill */
  padding: 4px 8px;
}
.price-badge {
  right: 0;
  left: auto;
  top: 24px;
  bottom: auto;
  background: #d01b22; /* red */
  color: #ffffff;
  border-radius: 0; /* square corners */
  padding: 4px 12px; /* bigger */
  font-size: 17px;
  box-shadow: 0 3px 10px rgba(208,27,34,0.25);
}

/* Arrow Buttons */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.arrow-btn:focus,
.arrow-btn:active {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.arrow-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 1);
}

.arrow-btn:active {
  background: rgba(0, 0, 0, 0.7);
}

.arrow-left {
  left: 15px;
}

.arrow-right {
  right: 15px;
}

.arrow-btn svg {
  width: 24px;
  height: 24px;
}

/* Thumbnail Images */
.thumbnails-container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.thumbnails-container::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  display: flex;
  width: 80px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
 
  height: 108px;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  margin-right: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.thumbnail:focus,
.thumbnail:active {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.thumbnail:hover {
  border: 2px solid #767676;
}

.thumbnail:last-child {
  margin-right: 0;
}

.thumbnail.selected {
  border: 2px solid #f74646;
  position: relative;
}

.thumbnail.selected::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  
  pointer-events: none;
}

.thumbnail img {
  width: 80px;
  height: 120px;
  aspect-ratio: 2/3;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
}

/* Product Information */
.product-info {
  position: relative;
  left: 0;
  top: 0;
  width: 92%;
  margin: 10px auto;
}

.product-title {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-size: 24px;
  font-weight: 700;
  color: #0f0f0f;
  margin-bottom: 13px;
}

.product-stats {
  display: flex;
  align-items: center;
  margin-bottom: 0px;
  height: 29px;
  justify-content: center;
}

.sold-count {
  font-family: var(--font-en), "Lato", -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #353535;
}

.divider {
  width: 1px;
  height: 20px;
  background: #b9a9a9;
  margin: 0 10px;
}

.rating {
  display: flex;
  align-items: center;
}

.stars {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 20px;
  color: #FFD700;
  margin-right: 4px;
}

.review-count {
  font-family: var(--font-bn-body);
  font-size: 18px;
  color: #282827;
}

.product-description {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 18px;
  color: #767676;
  margin-bottom: 8px;
  line-height: 1.4;
  text-align: center;
}

.recent-sales {
  display: flex;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 16px;
  justify-content: center;
  width: 100%;
}

.fire-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  object-fit: contain;
}

.sales-text {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #767676;
  display: flex;
  align-items: center;
}

.sales-count {
  font-weight: 700;
  color: #353535;
  margin-right: 2px;
  margin-left: 6px;
}

.price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

.original-price {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 22px;
  color: #767676;
  text-decoration: line-through;
  margin-right: 10px;
}

.sale-price {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
}

.offer-text {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 14px;
  color: #767676;
  text-align: center;
  margin-bottom: 8px;
}

.order-button {
  width: 331px;
  height: 56px;
 
  background-color: #000;
  color: #fff;
  font-family: var(--font-b);
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 420px) {
  .container {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
  }

  .top-banner {
    width: 100%;
    left: 0;
    height: 35px;
  }

  .banner-text {
    font-size: 12px;
    animation: ticker 20s linear infinite;
  }

  .image-gallery,
  .product-info {
    position: relative;
    left: 0;
    top: 0;
    width: 94%;
    margin: 10px auto;
  }

  .image-gallery {
    margin-top: 12px;
  }

  .main-image {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
  }

  .thumbnails-container {
    width: 100%;
    margin: 8px auto;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 12px;
  }

  .thumbnails-container::-webkit-scrollbar {
    display: none;
  }

  .thumbnail {
    flex-shrink: 0;
    margin-right: 6px;
    width: 70px;
    height: 80px;
  }

  .thumbnail img {
    width: 70px;
    height: auto;
  }

  .order-button {
    width: 65%;
    margin-bottom: 48px;
  }

  .main-container {
    width: 100%;
  }

  .section-container {
    width: 100%;
    padding: 0px;
    overflow: hidden;
    padding-bottom: 20px;
    padding-top: 20px;
  }
  .order-container {
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .features-section,
  .product-details-section,
  .reviews-section {
    width: 100%;
  }

  .reviews-section {
    width: 100%;
    overflow: hidden;
  }

  .review-main-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0 10px;
  }

  .main-review-image {
    width: 200px;
    max-width: 100%;
  }

  .review-arrow-btn {
    width: 35px;
    height: 35px;
  }

  .review-arrow-btn svg {
    width: 18px;
    height: 18px;
  }

  .review-arrow-left {
    left: 5px;
  }

  .review-arrow-right {
    right: 5px;
  }
}

/* Desktop fixed width layout */
@media (min-width: 1024px) {
  .main-container {
    width: 100%;
    max-width: 420px; /* fixed app width on desktop */
  }

  .section-container {
    width: 100%;
    max-width: 540px; /* match phone-like width */
  }

  .image-gallery,
  .product-info,
  .features-section,
  .product-details-section,
  .reviews-section {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .top-banner {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Product Features Section */
.features-section {
  width: 92%;
  max-width: 700px;
  background: var(--color-primary-xxlight);
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  padding: 32px;
}

.features-title {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 4px;
}

.features-subtitle {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #999696;
  text-align: center;
  margin-bottom: 32px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  width: 20px;
  height: 20px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-item span {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #353535;
  line-height: 1.4;
}

/* Product Details Section */
.product-details-section {
  width: 92%;
  max-width: 700px;
  margin-bottom: 40px;
}

.details-title {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-size: 20px;
  font-weight: 700;
  color: #0f0f0f;
  text-align: center;
  margin-bottom: 20px;
}

.details-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detail-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Customer Reviews Section */
.reviews-section {
  width: 92%;
  margin: 0 auto;
  background: #ffffff;
}

/* ===== Template Product Card and Order Form (normalized) ===== */
.select-text {
  text-align: center;
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-weight: 700;
  font-size: 24px;
  margin: 20px 0;
}

.product-options {
  width: 100%;
  margin: 0;
  padding: 0;
}

.product-item {
  display: grid;
  grid-template-columns: 24px 80px 1fr;
  grid-column-gap: 12px;
  grid-row-gap: 0;
  align-items: start;
  border: 1px solid #dedede;
  background: var(--color-primary-xxlight);
  margin-bottom: 10px;
  padding: 16px;
  position: relative;
  transition: box-shadow 0.2s ease;
  border-radius: 12px;
  margin: 12px;
}

.product-item.selected {
  border-color: var(--color-primary);
}

.check-mark {
  width: 24px;
  height: 24px;
  border: 2px solid #dedede;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 4px;
  background-color: #fff;
  grid-column: 1 / 2;
  align-self: start;
  position: relative;
}

/* Make it look like a checkbox even when unselected */
.check-mark::after {
  content: "✓";
  position: absolute;
  font-size: 14px;
  line-height: 1;
  color: #c7c7c7;
  opacity: 0.55;
}

.check-mark:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(234, 184, 78, 0.25);
}

/* When selected, use solid primary fill with white check (via <i>) and hide the faint hint */
.product-item.selected .check-mark::after {
  display: none;
}

.product-item.selected .check-mark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.check-mark i {
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}

.product-item.selected .check-mark i {
  opacity: 1;
}

.product-item:hover .check-mark {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
  min-width: 0;
  grid-column: 3 / 4;
  align-self: start;
  margin: 0;
  width: auto;
  padding: 0px 0px;
}
.product-information {
  flex: 1;
  min-width: 0;
  grid-column: 3 / 4;
  align-self: start;
  margin: 0;
  width: auto;
  padding: 0px 12px;
}
.product-info h3 {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-weight: 700;
  font-size: 20px;
  color: #0f0f0f;
  margin-top: 0;
  margin-bottom: 0px;
  word-break: break-word;
}

.product-subtitle {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 14px;
  color: #7a7a79;
  margin-bottom: 8px;
}

.price {
  display: flex;
  align-items: center;
}
.original-price {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #a7a6a5;
  text-decoration: line-through;
  margin-right: 10px;
}

.original-price-main {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 24px;
  color: #a7a6a5;
  text-decoration: line-through;
  margin-right: 10px;
}


.discount-price {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-accent);
}

.product-item img {
  width: 80px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  grid-column: 2 / 3;
  align-self: start;
}

.product-details {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 0px;
  grid-column: 1 / -1;
}
.product-item.selected .product-details {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.size-options,
.hijab-options,
.quantity-selector {
  display: flex;
  align-items: center;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.size-options {
  margin-top: 24px;
}
.product-item.selected .size-options,
.product-item.selected .hijab-options,
.product-item.selected .quantity-selector {
  opacity: 1;
  transform: translateY(0);
}

.size-options span,
.hijab-options span,
.quantity-selector span {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #000;
  margin-right: 0;
  min-width: 60px;
}

.size-buttons,
.hijab-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  position: relative;
}
.size-buttons button,
.hijab-buttons button {
  border: 1px solid #000;
  padding: 4px 12px;
  font-family: inherit;
  font-size: 14px;
  color: #000;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.size-buttons button.selected,
.hijab-buttons button.selected {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.quantity-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #a5a5a5;
  height: 26px;
  background: #fff;
}
.quantity-box button {
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: background-color 0.2s;
}
.quantity-box button:hover {
  background-color: #f0f0f0;
}
.quantity-box .quantity {
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #a5a5a5;
  border-right: 1px solid #a5a5a5;
  font-size: 14px;
  color: #000;
  user-select: none;
}

.price-overlay {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 1000;
}
.price-overlay.show {
  opacity: 1;
  right: -50px;
}
.price-overlay.increase {
  color: #d01b22;
}
.price-overlay.decrease {
  color: #28a745;
}

/* Inline badge shown next to the "হিজাব সহ" button upon selection */
.hijab-inline-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hijab-inline-badge.show {
  opacity: 1;
}
.hijab-inline-badge.inc { color: #d01b22; }
.hijab-inline-badge.dec { color: #28a745; }

/* Pop/fade animation for amount badges */
@keyframes amount-pop {
  0% { opacity: 0; transform: translateY(-2px) scale(0.9); }
  60% { opacity: 1; transform: translateY(0) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hijab-inline-badge.animate { animation: amount-pop 260ms ease-out; }

.order-form-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--color-primary-xxlight);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-top: 24px;
  padding-bottom: 48px;
}
.form-title {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 8px;
  background: var(--color-primary-xxlight);
  padding: 8px 20px;
  border-radius: 0;
  position: relative;
}
.form-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.form-subtitle {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #999696;
  text-align: center;
  margin-bottom: 16px;
  margin-bottom: 0;
  font-weight: 400;
  margin-bottom: 16px;
}
.order-form {
  width: 92%;
  max-width: 500px;
  margin: 0 auto;
  padding: 32px 8px;
  background: var(--color-primary-xxlight);
  border-radius: 0;
  box-shadow: none;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}
.required {
  color: var(--color-accent);
  margin-left: 2px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cbc9c9;
  border-radius: 10px;
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 15px;
  color: #333;
  background: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(234, 184, 78, 0.1);
}
.form-group textarea {
  height: 100px;
  resize: vertical;
  min-height: 100px;
}

.delivery-options {
  background: #fff;
  border: 1px solid #cbc9c9;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.radio-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}
.radio-label:last-child {
  border-bottom: none;
}
.radio-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-bn-body), system-ui;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}
.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-primary);
}
.radio-label:has(input[type="radio"]:checked) {
  background-color: #ffd2e2;
  border-color: var(--color-primary);
}

.order-summary {
  background: #f8f8f8;
  border: 1px solid #cbc9c9;
  border-radius: 10px;
  margin: 25px 0;
  margin-top: 32px;
  overflow: hidden;
}
.summary-header {
  background: var(--color-primary-xxlight);
  padding: 15px 18px;
  font-family: var(--font-bn-body), system-ui;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.summary-content {
  padding: 18px;
  background: #fff;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-bn-body), system-ui;
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 500;
}
.selected-item {
  background: #f9f9f9;
  padding: 12px 15px;
  margin: 10px 0;
  font-family: var(--font-bn-body), system-ui;
  font-size: 13px;
  color: #333;
  border-radius: 8px;
  border-left: 3px solid var(--color-primary);
}
.summary-row.total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #e0e0e0;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-accent);
}
.delivery-charge-row {
  border: none !important;
}
.confirm-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--color-accent), #c41e3a);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-weight: 600;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(208, 27, 34, 0.3);
}
.confirm-button:hover {
  background: linear-gradient(135deg, #c41e3a, var(--color-accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 27, 34, 0.4);
}
.confirm-button:disabled {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
  transform: none;
  box-shadow: none;
}
.confirm-button:disabled::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: loading 1.5s infinite;
}
@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Inactive/Active Order Controls */
.inactive-order-block {
  width: 100%;
  padding: 18px;
  background: #cccccc;
  color: #666666;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  user-select: none;
}

.inactive-order-block i {
  font-size: 20px;
}

.active-order-button {
  /* Button is always visible, disabled state is controlled by disabled attribute */
}

.thank-you-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.thank-you-popup.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}
.popup-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: popupSlideIn 0.3s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popupSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.success-icon {
  color: #4caf50;
  font-size: 60px;
  margin-bottom: 20px;
}
.popup-content h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
}
.popup-content p {
  color: #666;
  font-size: 16px;
  margin-bottom: 10px;
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
}
.contact-text {
  color: #4caf50 !important;
  font-weight: 500;
}
.popup-button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  transition: background-color 0.3s ease;
}
.popup-button:hover {
  background-color: #45a049;
}

.reviews-title {
  font-family: var(--font-bn-headline, "Noto Serif Bengali"), system-ui;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-top: 40px;
}

.reviews-subtitle {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  color: #999696;
  text-align: center;
  margin-bottom: 16px;
}

/* Review Main Container */
.review-main-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 0;
  overflow: hidden;
  max-width: 100%;
}

.main-review-image {
  width: 220px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  z-index: 2;
  will-change: transform, opacity;
}

/* Smooth slide-fade animations for review image */
@keyframes review-out {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-24px) scale(0.98);
  }
}

@keyframes review-in {
  0% {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.main-review-image.anim-out {
  animation: review-out 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-review-image.anim-in {
  animation: review-in 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Review Arrow Buttons */
.review-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.review-arrow-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.review-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.review-arrow-left {
  left: 10px;
}

.review-arrow-right {
  right: 10px;
}

.review-arrow-btn svg {
  width: 20px;
  height: 20px;
}

/* Review Dots */
.review-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  background: #eab84e;
  transform: scale(1.2);
}

.review-dot:hover {
  background: #9ca3af;
}

/* Warning Message Styling */
.warning-message {
  display: none;
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 16px;
  font-weight: 600;
  color: #856404;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(234, 184, 78, 0.2);
  animation: warningSlideIn 0.3s ease-out;
}

.warning-message.show {
  display: block;
}

.warning-message::before {
  content: "⚠️";
  font-size: 20px;
  margin-right: 8px;
  display: inline-block;
}

.warning-message.error {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border-color: var(--color-accent);
  color: #721c24;
  box-shadow: 0 4px 12px rgba(208, 27, 34, 0.2);
}

.warning-message.error::before {
  content: "❌";
}

.warning-message.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border-color: #28a745;
  color: #155724;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.warning-message.success::before {
  content: "✅";
}

@keyframes warningSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive adjustments for warning message */
@media (max-width: 420px) {
  .warning-message {
    margin: 16px 8px;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
  }
}

/* Footer Styling */
.simple-footer {
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
}

.simple-footer p {
  font-family: var(--font-bn-body, "Noto Serif Bengali"), system-ui;
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.simple-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.simple-footer a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Mobile responsive adjustments for footer */
@media (max-width: 420px) {
  .simple-footer {
    padding: 15px;
    margin-top: 0px;
  }
  
  .simple-footer p {
    font-size: 13px;
  }
}
