.w-50 {
  max-width: 50% !important;
}

.card {
  transition: 0.4s all ease-in;
  border: none;
}

.carousel-control-next-icon {
  padding: 0 4px 0 0;
}
.product_price {
  float: right;
  font-family: lato;
  color: #6b7270;
  font-size: 20px;
  font-weight: 400;
}

.product-detail {
  position: absolute;
  height: 75px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  overflow: hidden;
  padding: 15px;
  background-color: rgba(223, 217, 217, 0.75);
  transition: all 0.35s;
  text-align: center;
  box-sizing: border-box;
}
.card .product-detail h5 {
  font-family: "Oswald";
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
}

.card .product-detail .subheading {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

.card .product-detail blockquote {
  padding: 0;
  margin: 0;
  font-style: italic;
  font-size: 1em;
}
.card:hover .product-detail {
  height: calc(92%);
  padding-top: 100px;
}

.pd-wrap {
  padding: 40px 0;
  font-family: "Poppins", sans-serif;
}
.heading-section {
  text-align: center;
  margin-bottom: 20px;
}
.sub-heading {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  display: block;
  font-weight: 600;
  color: #2e9ca1;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.heading-section h2 {
  font-size: 32px;
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 15px;
  font-family: "Poppins", sans-serif;
}
.user-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  min-width: 80px;
  background-size: 100%;
}
.carousel-testimonial .item {
  padding: 30px 10px;
}
.quote {
  position: absolute;
  top: -23px;
  color: #2e9da1;
  font-size: 27px;
}
.name {
  margin-bottom: 0;
  line-height: 14px;
  font-size: 17px;
  font-weight: 500;
}
.position {
  color: #adadad;
  font-size: 14px;
}
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  outline: none;
  height: 25px;
}
.owl-nav button svg {
  width: 25px;
  height: 25px;
}
.owl-nav button.owl-prev {
  left: 25px;
}
.owl-nav button.owl-next {
  right: 25px;
}
.owl-nav button span {
  font-size: 45px;
}
.product-thumb .item img {
  height: 100px;
}
.product-name {
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 4px;
}
.product-price-discount {
  font-size: 22px;
  font-weight: 400;
  padding: 10px 0;
  clear: both;
}
.product-price-discount span.line-through {
  text-decoration: line-through;
  margin-left: 10px;
  font-size: 14px;
  vertical-align: middle;
  color: #a5a5a5;
}
.display-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.product-info {
  width: 100%;
}
.reviews-counter {
  font-size: 13px;
}
.reviews-counter span {
  vertical-align: -2px;
}
.rate {
  float: left;
  padding: 0 10px 0 0;
}
.rate:not(:checked) > input {
  position: absolute;
  top: -9999px;
}
.rate:not(:checked) > label {
  float: right;
  width: 15px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 21px;
  color: #ccc;
  margin-bottom: 0;
  line-height: 21px;
}
.rate:not(:checked) > label:before {
  content: "\2605";
}
.rate > input:checked ~ label {
  color: #ffc700;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
}
.product-dtl p {
  font-size: 14px;
  line-height: 24px;
  color: #7a7a7a;
}
.product-dtl .form-control {
  font-size: 15px;
}
.product-dtl label {
  line-height: 16px;
  font-size: 15px;
}
.form-control:focus {
  outline: none;
  box-shadow: none;
}
.product-count {
  margin-top: 15px;
}
.product-count .qtyminus,
.product-count .qtyplus {
  width: 34px;
  height: 34px;
  background: #212529;
  text-align: center;
  font-size: 19px;
  line-height: 36px;
  color: #fff;
  cursor: pointer;
}
.product-count .qtyminus {
  border-radius: 3px 0 0 3px;
}
.product-count .qtyplus {
  border-radius: 0 3px 3px 0;
}
.product-count .qty {
  width: 60px;
  text-align: center;
}
.round-black-btn {
  border-radius: 4px;
  background: #212529;
  color: #fff;
  padding: 7px 45px;
  display: inline-block;
  margin-top: 20px;
  border: solid 2px #212529;
  transition: all 0.5s ease-in-out 0s;
}
.round-black-btn:hover,
.round-black-btn:focus {
  background: transparent;
  color: #212529;
  text-decoration: none;
}

.product-info-tabs {
  margin-top: 25px;
}
.product-info-tabs .nav-tabs {
  border-bottom: 2px solid #d8d8d8;
}
.product-info-tabs .nav-tabs .nav-item {
  margin-bottom: 0;
}
.product-info-tabs .nav-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #323232;
}
.product-info-tabs .nav-tabs .nav-item .nav-link:hover {
  border: none;
}
.product-info-tabs .nav-tabs .nav-item.show .nav-link,
.product-info-tabs .nav-tabs .nav-link.active,
.product-info-tabs .nav-tabs .nav-link.active:hover {
  border: none;
  border-bottom: 2px solid #d8d8d8;
  font-weight: bold;
}
.product-info-tabs .tab-content .tab-pane {
  padding: 30px 20px;
  font-size: 15px;
  line-height: 24px;
  color: #7a7a7a;
}
.review-form .form-group {
  clear: both;
}
.mb-20 {
  margin-bottom: 20px;
}

.review-form .rate {
  float: none;
  display: inline-block;
}
.review-heading {
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 6px;
  text-transform: uppercase;
  color: #000;
}
.review-form .form-control {
  font-size: 14px;
}
.review-form input.form-control {
  height: 40px;
}
.review-form textarea.form-control {
  resize: none;
}
.review-form .round-black-btn {
  text-transform: uppercase;
  cursor: pointer;
}

.owl-stage {
  display: flex;
  gap: 10px !important;
}

:root {
  --modal-bg: #ffffff;
  --modal-accent: #1a1a1a;
  --modal-gold: #c9a84c;
  --modal-gold-light: #f5e9cc;
  --modal-muted: #6b7280;
  --modal-border: #e5e7eb;
  --modal-radius: 16px;
  --modal-input-bg: #f9fafb;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Playfair Display", serif;
}

/* ── Backdrop ── */
#enquiryModal .modal-dialog {
  max-width: 480px;
}

#enquiryModal .modal-content {
  border: none;
  border-radius: var(--modal-radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  font-family: var(--font-body);
  overflow: hidden;
}

/* ── Header ── */
#enquiryModal .modal-header {
  background: var(--modal-accent);
  padding: 24px 28px 20px;
  border-bottom: none;
  position: relative;
}

#enquiryModal .modal-header::after {
  content: "";
  display: block;
  background: var(--modal-gold);
  border-radius: 2px;
  margin-top: 10px;
}

#enquiryModal .modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

#enquiryModal .modal-title small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

#enquiryModal .btn-close {
  filter: invert(1) opacity(0.7);
  transition: opacity 0.2s;
}
#enquiryModal .btn-close:hover {
  opacity: 1;
  filter: invert(1);
}

/* ── Body ── */
#enquiryModal .modal-body {
  padding: 28px 28px 32px;
  background: var(--modal-bg);
}

/* ── Labels ── */
#enquiryModal .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--modal-muted);
  margin-bottom: 8px;
}

/* ── Inputs ── */
#enquiryModal .form-control {
  background: var(--modal-input-bg);
  border: 1.5px solid var(--modal-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.93rem;
  color: var(--modal-accent);
  font-family: var(--font-body);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
#enquiryModal .form-control:focus {
  border-color: var(--modal-gold);
  box-shadow: 0 0 0 3px var(--modal-gold-light);
  background: #fff;
  outline: none;
}
#enquiryModal .form-control::placeholder {
  color: #b0b8c4;
}

/* ── Phone row ── */
#enquiryModal .phone-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

/* Country code select wrapper */
#enquiryModal .country-select-wrapper {
  position: relative;
  flex: 0 0 130px;
}

#enquiryModal .country-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  background: var(--modal-input-bg);
  border: 1.5px solid var(--modal-border);
  border-radius: 10px;
  padding: 11px 30px 11px 12px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--modal-accent);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
#enquiryModal .country-select-wrapper select:focus {
  border-color: var(--modal-gold);
  box-shadow: 0 0 0 3px var(--modal-gold-light);
  outline: none;
}

#enquiryModal .country-select-wrapper::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--modal-muted);
}

#enquiryModal .phone-input {
  flex: 1;
}

/* ── Divider ── */
#enquiryModal .form-divider {
  border: none;
  border-top: 1px dashed var(--modal-border);
  margin: 20px 0;
}

/* ── Submit button ── */
#enquiryModal .btn-enquiry {
  background: var(--modal-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s,
    transform 0.15s;
}
#enquiryModal .btn-enquiry::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: var(--modal-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
#enquiryModal .btn-enquiry:hover {
  background: #2d2d2d;
  transform: translateY(-1px);
}
#enquiryModal .btn-enquiry:hover::after {
  transform: scaleX(1);
}
#enquiryModal .btn-enquiry:active {
  transform: translateY(0);
}

/* ── Footer note ── */
#enquiryModal .modal-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--modal-muted);
  margin-top: 16px;
}
#enquiryModal .modal-note svg {
  vertical-align: middle;
  margin-right: 4px;
}

.product-slider{
  margin-bottom: 2rem !important;
}

/* ── Mobile & Tablet: horizontal scroll ── */
    @media (max-width: 1199px) {
      .testimonial-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 12px;
      }
      .testimonial-scroll-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
      }

      .testimonial-cards-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
      }

      .testimonial-card-item {
        width: 78vw;       /* ~78% of screen width per card */
        max-width: 320px;
        flex-shrink: 0;
        display: flex;
      }
    }

    /* ── Desktop: normal 4-column grid ── */
    @media (min-width: 1200px) {
      .testimonial-scroll-wrapper {
        overflow: visible;
      }
      .testimonial-cards-row {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
      }
      .testimonial-card-item {
        flex: 1 1 calc(25% - 24px);
        display: flex;
      }
    }

    /* Image wrapper — fixed height, image fills it */
  .product-img-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
  }

  .product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
  }

  .product-card:hover .product-img-wrapper img {
    transform: scale(1.04);
  }

  .product-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
  }

  .product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  }

  .btn-learn {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
  }

  /* Mobile: 2 columns, shorter image */
  @media (max-width: 575px) {
    .product-img-wrapper {
      height: 160px;
    }
    .card-title {
      font-size: 0.9rem;
    }
  }

  /* iPad (md): 2 columns, medium height */
  @media (min-width: 576px) and (max-width: 991px) {
    .product-img-wrapper {
      height: 320px;
    }
  }

  /* Desktop (lg+): 3 columns, full height */
  @media (min-width: 992px) {
    .product-img-wrapper {
      height: 500px;
    }
  }

  .team-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .team-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .team-cards-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    min-width: max-content;
  }
  .team-card-item {
    width: 260px;
    flex-shrink: 0;
  }

  /* On xl+ screens, revert to normal grid */
  /* Replace the team CSS with this */
@media (max-width: 1199px) {
  .team-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .team-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .team-cards-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: max-content;  /* ← THIS is the critical fix */
  }
  .team-card-item {
    width: 260px;
    flex-shrink: 0;
  }
}

@media (min-width: 1200px) {
  .team-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .team-card-item {
    width: auto;
  }
}