html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
}

.web-desain {
  background-color: #ffffff;
  overflow: visible;
  width: 100%;
  min-width: 1440px;
  min-height: 3598px;
  position: relative;
}

.web-desain .hero {
  width: 100vw;
}

.web-desain .hero-image {
  background-image: url("img/d3.jpeg");
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  width: 1440px;
  height: 811px;
  aspect-ratio: 1.98;
}

/* HEADER STYLES */
.web-desain .logo {
  position: absolute;
  top: 33px;
  left: 100px;
}

.web-desain .d-coffee {
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 48px;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

.web-desain .text-wrapper {
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 48px;
  letter-spacing: 0;
}

.web-desain .span {
  font-size: 32px;
}

.web-desain nav.navbar {
  position: absolute;
  top: 54px;
  left: 392px;
  width: 667px;
  height: 30px;
  display: flex;
  gap: 64px;
  flex-wrap: nowrap;
  align-items: center;
}

.web-desain .navbar .nav-item {
  height: 30px;
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.web-desain header.header {
  position: relative;
  z-index: 2;
  width: 100%;
}

.web-desain .search-icon img:first-child {
  position: absolute;
  width: 90.62%;
  height: 90.62%;
  top: 9.38%;
  left: 9.38%;
}

.web-desain .search-icon img:last-child {
  position: absolute;
  width: 33.75%;
  height: 33.75%;
  top: 66.25%;
  left: 66.25%SECTION;
}

/* HERO  */
.web-desain .hero {
  position: relative;
}

.web-desain .hero {
  position: relative;
  min-height: 811px;
  overflow: hidden;
}

.web-desain .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.web-desain .hero-content {
  position: absolute;
  top: 239px;
  left: 185px;
  width: 614px;
  height: 228px;
  display: flex;
  flex-direction: column;
}

.web-desain .hero-title {
  width: 278px;
  height: 48px;
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 32px;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

.web-desain .hero-subtitle {
  width: 610px;
  height: 180px;
  font-family: "Poppins-Bold", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

.web-desain .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 36px;
  position: absolute;
  top: 553px;
  left: 185px;
  background-color: #ffffff;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.web-desain .cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.web-desain .cta-button span {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #8b6f47;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.web-desain .hero-description {
  position: absolute;
  top: 475px;
  left: 185px;
  width: 545px;
  font-family: "Poppins-Medium", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

/* CATEGORY SECTION */
.web-desain .category-section {
  position: relative;
}

.web-desain .kategori-wrapper {
  position: absolute;
  top: 811px;
  left: calc(50.00% - 720px);
  height: 190px;
  display: flex;
  padding: 42px 379px;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 1440px;
  background-color: #f4e8d8;
}

.web-desain .kategori {
  width: 681px;
  height: 105px;
  position: relative;
}

.web-desain .category-item {
  position: absolute;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.web-desain .hot-coffee {
  width: 14.54%;
  top: 0;
  left: 0;
}

.web-desain .cold-coffee {
  width: 16.01%;
  top: 0;
  left: 40.68%;
}

.web-desain .main-course {
  width: 17.47%;
  height: 80.36%;
  top: 9.52%;
  left: 82.82%;
}

.web-desain .category-icon {
  position: absolute;
  height: 100%;
  top: 0;
}

.web-desain .hot-coffee .category-icon {
  width: 88.89%;
  left: 11.11%;
}

.web-desain .cold-coffee .category-icon {
  width: 80.26%;
  left: 19.74%;
}

.web-desain .main-course .category-icon {
  width: 76.05%;
  left: 23.95%;
}

.web-desain .category-title {
  position: absolute;
  top: 78px;
  left: 0;
  font-family: "Poppins-Bold", Helvetica;
  font-weight: 700;
  color: #8b6f47;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
  width: 100%;
}

.web-desain .main-course .category-title {
  top: 57px;
}

/* SECTION TITLES */
.web-desain .special-coffee-section .section-title {
  position: absolute;
  top: 1020px;
  left: calc(50.00% - 164px);
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #a08764;
  font-size: 32px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

.web-desain .main-course-section .section-title {
  position: absolute;
  top: 1620px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: auto;
  white-space: nowrap;
  font-family: "Poppins-SemiBold", Helvetica;
  font-weight: 600;
  color: #a08764;
  font-size: 32px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

/* CAROUSEL CONTAINERS */
.web-desain .special-coffee-section .carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: absolute;
  top: 1120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.web-desain .main-course-section .carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: absolute;
  top: 1720px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.web-desain .carousel-controls {
  position: relative;
  width: 48px;
  height: 48px;
  background-color: #f4e8d8;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.web-desain .carousel-controls:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

.web-desain .carousel-controls:last-child {
  order: 1;
}

.web-desain .arrow-btn {
  position: relative;
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.web-desain .carousel-controls .arrow-btn img:first-child {
  position: absolute;
  width: 83.33%;
  height: 54.17%;
  top: 45.83%;
  left: 16.67%;
}

.web-desain .carousel-controls .arrow-btn img:last-child {
  position: absolute;
  width: 83.33%;
  height: 83.33%;
  top: 16.67%;
  left: 16.67%;
}

.web-desain .carousel-controls:last-child .arrow-btn img:first-child {
  transform: rotate(-180deg);
}

.web-desain .carousel-controls:last-child .arrow-btn img:last-child {
  transform: rotate(-180deg);
}

.web-desain .carousel-products {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  justify-content: center;
  flex: 1;
  flex-wrap: nowrap;
}

/* PRODUCT CARDS */
.web-desain .product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  position: relative;
  flex: 0 0 auto;
  background-color: #f4e8d833;
  border-radius: 16px;
  border: 1.5px solid;
  border-color: #f4e8d8;
  width: 260px;
  min-width: 260px;
}

.web-desain .product-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
}

.web-desain .favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.web-desain .favorite-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.web-desain .favorite-btn svg {
  width: 24px;
  height: 24px;
}

.web-desain .product-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.web-desain .product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.web-desain .product-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.web-desain .product-name {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: "Poppins-Medium", Helvetica;
  font-weight: 500;
  color: #8b6f47;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  margin: 0;
}

.web-desain .product-description {
  position: relative;
  align-self: stretch;
  font-family: "Poppins-Regular", Helvetica;
  font-weight: 400;
  color: #8b6f47;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  margin: 0;
}

.web-desain .product-action {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 20px;
  position: relative;
  flex: 0 0 auto;
  justify-content: space-between;
}

.web-desain .product-price {
  position: relative;
  width: fit-content;
  font-family: "Poppins-Medium", Helvetica;
  font-weight: 500;
  color: #8b6f47;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.web-desain .order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px8px 20px;
  position: relative;
  flex: 0 0 auto;
  background-color: #c8a882;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: #f9f7f4;
  font-family: "Poppins-Medium", Helvetica;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.web-desain .order-btn:hover {
  background-color: #b39670;
  white-space: nowrap;
}

/* FOOTER */
.web-desain .footer {
  position: absolute;
  top: 2273px;
  left: -9px;
  width: 1440px;
  height: 254px;
  background-color: #f4e8d8;
}
