/* sec-3  */
.sec-3 {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 6;
  background-color: #fff;
  border-radius: 0px 0px 40px 40px;
  margin-bottom: -40px;
}

.sec-3-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.125rem 2rem;
  display: flex;
  flex-direction: column;
}

.sec-3-container .title {
  font-size: 2rem;
  text-align: center;
  color: #000000;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sec-3-container .sub-title {
  font-size: 1rem;
  text-align: center;
  margin: 0rem auto 2rem auto;
  font-weight: 300;
  max-width: 300px;
}

.sec-3-container .card-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0.5rem;
}

/* .sec-3-container .card-item {
  position: relative;
  box-shadow: 0px 1px 9px -2px #ddd;
  border-radius: 12px;
  width: 300px;
  min-height: 400px;
  margin: auto;
  cursor: pointer;
  margin-bottom: 2rem;
  transform: translateY(0);
  transition: all 0.3s ease-in;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  display: flex;
} */

.sec-3-container .card-item {
  position: relative;
  box-shadow: 0px 1px 9px -2px #ddd;
  border-radius: 12px;
  width: 300px;
  min-height: 400px;
  margin: auto;
  cursor: pointer;
  margin-bottom: 2rem;

  transition: all 0.3s ease-in;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sec-3-container .card-item .card-image {
  position: absolute;
  inset: 0; /* fill the card */
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps aspect ratio */
  z-index: 0; /* stay behind text */
}

.sec-3-container .overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background: linear-gradient(2deg, #000000, transparent);
}

.sec-3-container .card-item .name {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #000000;
  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 0px 0px 12px 0px;
  font-size: 1rem;
  font-weight: 500;
}

.sec-3-container .card-item .content {
  margin-top: auto;
  position: relative;
  padding: 12px;
}

.sec-3-container .card-item .content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
}

.sec-3-container .card-item .content ul li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.sec-3-container .card-item .content ul li .modal {
  background-color: #fff;
  color: #000;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 40px;
}

.sec-3-container .card-item .content .button-container {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.sec-3-container .card-item .content .button-container .price {
  width: 140px;

  color: #fff;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.sec-3-container .card-item .content .button-container .price label {
  font-size: 0.6rem;
  font-weight: 300;
}

.sec-3-container .card-item .content .button-container .price span {
  font-size: 1.2rem;
  font-weight: 500;
}

.sec-3-container .card-item .content .button-container .view {
  width: 100%;
  background-color: #c8102e;
  border: none;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.sec-3-container .card-item .content .button-container .view svg {
  width: 1rem;
  height: 1rem;
}

/* .sec-3-container .card-item .content .button-container .view {
  width: 50%;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #ffff;
}

.sec-3-container .card-item .content .button-container .view svg {
  width: 1rem;
  height: 1rem;
} */

.sec-3-container .show-more-btn {
  width: fit-content;
  margin: auto;
  background-color: #000000;
  color: #fff;
  padding: 0.6rem 1rem;
  border: none;
  font-size: 1rem;
  border-radius: 60px;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

.sec-3-container .show-more-btn:hover {
  background-color: #111;
  transform: translateY(-3px);
}

.sec-3-container .show-more-btn svg {
  width: 1rem;
  height: 1rem;
}

.sec-3-container .offers-horizontal-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sec-3-container .offers-horizontal-scroll-container {
  flex: 1;
}

.sec-3-container .offers-scroll-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
}

.sec-3-container
  .offers-scroll-nav-btn:hover:not(.offers-scroll-nav-btn-disabled) {
  background-color: #000;
  color: #fff;
  border-color: #000;
  transform: scale(1.05);
}

.sec-3-container .offers-scroll-nav-btn-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.sec-3-container .offers-scroll-nav-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .sec-3-container .offers-horizontal-scroll-wrapper {
    gap: 0.5rem;
  }

  .sec-3-container .offers-scroll-nav-btn {
    width: 2rem;
    height: 2rem;
  }

  .sec-3-container .offers-scroll-nav-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .sec-3-container .card-container {
    padding: 0;
  }
}

@media (max-width: 400px) {
  .sec-3-container .card-item {
    width: 250px;
    min-height: 350px;
  }
}
