/* ==========================================================
   Hoor Lifestyle / Roza Fashion - Ladies Cheli Palazzo
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-teal: #00796b;
  --primary-teal-hover: #00695c;
  --accent-yellow: #ffff00;
  --accent-orange: #ea580c;
  --bg-page: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --font-bn: 'Noto Sans Bengali', sans-serif;
  --font-en: 'Outfit', 'Noto Sans Bengali', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: var(--font-bn);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ---------------- Top Logo & Hero ---------------- */
.header-hero {
  text-align: center;
  padding: 24px 12px 16px;
  background: #ffffff;
}

.brand-logo-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.brand-logo-img {
  width: auto;
  height: auto;
  max-height: 68px;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.main-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 18px;
  font-family: var(--font-bn);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  word-break: normal;
}

.main-title span {
  color: #dc2626;
}

.hero-img-card {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

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

/* ---------------- Highlight Disclaimer (Marker Highlighter Style) ---------------- */
.disclaimer-highlight-wrapper {
  margin: 22px auto 26px;
  text-align: left;
  max-width: 900px;
  padding: 0 4px;
}

.highlight-text {
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.65;
  color: #000000;
  font-family: var(--font-bn);
}

.highlight-text mark {
  background-color: #ffff00;
  color: #000000;
  padding: 3px 8px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-style: italic;
  font-weight: 800;
}

/* ---------------- Product Variations Horizontal Slider ---------------- */
.product-variations-section {
  position: relative;
  margin: 28px 0;
}

.product-slider-wrapper {
  position: relative;
  width: 100%;
}

.product-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-teal) #e2e8f0;
}

/* Custom sleek scrollbar */
.product-grid::-webkit-scrollbar {
  height: 6px;
}

.product-grid::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.product-grid::-webkit-scrollbar-thumb {
  background: var(--primary-teal);
  border-radius: 10px;
}

.product-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary-teal-hover);
}

.product-card {
  /* Exactly 4 products visible on desktop: (100% - 3*14px) / 4 */
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: calc((100% - 42px) / 4);
  max-width: calc((100% - 42px) / 4);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  position: relative;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Slider Nav Arrow Buttons */
.slider-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 30;
  transition: all 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.slider-arrow:hover {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.92);
  background: var(--primary-teal);
  color: #ffffff;
}

.slider-arrow-left {
  left: -14px;
}

.slider-arrow-right {
  right: -14px;
}

.product-info {
  padding: 10px 8px;
}

.product-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  font-family: var(--font-bn);
}

.product-price {
  font-size: 15.5px;
  font-weight: 800;
  color: #475569;
  font-family: var(--font-en);
  margin-bottom: 10px;
}

.btn-select {
  background: var(--primary-teal);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  width: 90%;
  transition: all 0.2s;
  font-family: var(--font-bn);
}

.btn-select:hover {
  background: var(--primary-teal-hover);
}

.btn-select.selected {
  background: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.3);
}

/* ---------------- Measurement & Features ---------------- */
.measurement-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 20px;
  margin: 24px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.measurement-title {
  text-align: center;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 22px;
  line-height: 1.45;
  font-family: var(--font-bn);
}

.features-list {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17.5px;
  color: #1e293b;
  font-weight: 600;
  font-family: var(--font-bn);
}

.check-icon {
  color: #16a34a;
  font-size: 18px;
  flex-shrink: 0;
}

/* ---------------- Wholesale Banner & Contact ---------------- */
.wholesale-banner {
  background: linear-gradient(90deg, #3b2a82 0%, #00acc1 100%);
  color: #ffffff;
  text-align: center;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 18.5px;
  font-weight: 800;
  margin-top: 24px;
  font-family: var(--font-bn);
}

.contact-buttons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 28px;
  flex-wrap: nowrap;
  width: 100%;
}

.btn-contact {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: var(--font-bn);
  min-width: 0;
  white-space: nowrap;
  text-align: center;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.btn-contact-icon {
  font-size: 16px;
  line-height: 1;
}

.btn-contact-text {
  font-weight: 700;
}

.btn-wa { background: #f97316; }
.btn-call { background: #0284c7; }
.btn-msg { background: #a855f7; }

/* ---------------- Checkout & Order Form ---------------- */
.checkout-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin: 28px 0 60px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.card-heading {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  font-family: var(--font-bn);
}

.form-group {
  margin-bottom: 13px;
  position: relative;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-bn);
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-control.no-icon {
  padding-left: 12px;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.15);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}

/* ---------------- Interactive Cart Items List ---------------- */
.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
}

.cart-empty-state {
  text-align: center;
  padding: 24px 12px;
  color: #94a3b8;
  font-size: 14.5px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-item-img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding-right: 4px;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cart-item-calc {
  font-size: 12.5px;
  color: #475569;
  font-family: var(--font-en);
  font-weight: 600;
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  flex-shrink: 0;
}

.cart-size-select {
  padding: 3px 6px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  font-size: 11.5px;
  font-family: var(--font-bn);
  outline: none;
  background: #ffffff;
  max-width: 105px;
}

.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-qty-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
}

.cart-qty-btn {
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  color: #334155;
  transition: background 0.15s;
}

.cart-qty-btn:hover {
  background: #e2e8f0;
}

.cart-qty-num {
  width: 26px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-en);
  border: none;
  outline: none;
  background: transparent;
}

.btn-remove-item {
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, color 0.15s;
  line-height: 1;
}

.btn-remove-item:hover {
  transform: scale(1.2);
}

/* Order Summary Box */
.summary-table {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: collapse;
}

.summary-table tr td {
  padding: 8px 0;
  font-size: 15.5px;
  color: #334155;
  font-family: var(--font-bn);
}

.summary-table tr td:last-child {
  text-align: right;
  font-weight: 700;
  font-family: var(--font-en);
}

.summary-table tr.total-row td {
  border-top: 1.5px solid #e2e8f0;
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  padding-top: 12px;
}

.btn-submit-order {
  width: 100%;
  background: #00796b;
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-size: 17.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-bn);
}

.btn-submit-order:hover {
  background: #00695c;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 800px) {
  .checkout-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 20px 0 40px;
    width: 100%;
  }

  .checkout-card {
    padding: 18px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .measurement-box {
    padding: 20px 16px;
    margin: 20px 0;
  }

  .main-title {
    font-size: 22px;
    line-height: 1.45;
    padding: 0 4px;
  }

  .highlight-text {
    font-size: 19px;
  }
}

@media (max-width: 680px) {
  .product-grid {
    gap: 10px;
    padding-bottom: 12px;
  }

  .product-card {
    /* Exactly 2 products visible on mobile view */
    flex: 0 0 calc((100% - 10px) / 2);
    min-width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }

  .slider-arrow {
    display: flex !important;
    width: 34px;
    height: 34px;
    font-size: 22px;
    font-weight: 700;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    top: 36%;
    z-index: 30;
  }

  .slider-arrow-left {
    left: -6px;
  }

  .slider-arrow-right {
    right: -6px;
  }

  .contact-buttons-row {
    gap: 6px;
  }

  .btn-contact {
    padding: 9px 6px;
    font-size: 13.5px;
    gap: 5px;
  }

  .btn-contact-icon {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .main-title {
    font-size: 19px;
    line-height: 1.45;
  }

  .measurement-box {
    padding: 16px 12px;
    margin: 16px 0;
    border-radius: 10px;
  }

  .checkout-card {
    padding: 16px 12px;
    border-radius: 10px;
  }

  .contact-buttons-row {
    gap: 5px;
    margin: 14px 0 20px;
  }

  .btn-contact {
    padding: 8px 4px;
    font-size: 12.5px;
    gap: 4px;
    border-radius: 6px;
  }

  .btn-contact-icon {
    font-size: 13px;
  }

  .cart-item-img {
    width: 42px;
    height: 42px;
  }

  .cart-item-title {
    font-size: 13px;
  }

  .cart-item-calc {
    font-size: 12px;
  }

  .cart-size-select {
    padding: 2px 4px;
    font-size: 11px;
    max-width: 95px;
  }

  .cart-qty-btn {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .cart-qty-num {
    width: 24px;
    font-size: 12px;
  }

  .btn-remove-item {
    font-size: 14px;
    padding: 1px;
  }
}
