:root {
  --primary: #4f515c;
  --primaryy: #ffb9bc;
  --bg: #94565f;
  --color-primary: #8d4e59; /* Rose Gold/Muted Pink */
  --color-secondary: #eeddcc; /* Light Cream/Beige */
  --color-text: #444; /* Dark Grey */
  --color-light: #fff8f8; /* Almost White */
  --color-accent: #ffb9bc; /* Soft Gold/Copper Accent */
  --color-bg-theme: linear-gradient(
    to right,
    #e6e9ef 0%,
    #fff 25%,
    #e6e9ef 50%,
    #e6e9ef 75%,
    #fff 100%
  ); /* Latar belakang Rose Gold sangat lembut */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--color-primary);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

h2 {
  font-size: 2em;
  margin-bottom: 1em;
  text-align: center;
}

/* Tombol (CTA) */
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: #b88a8a;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: white;
}

.btn-secondary:hover {
  background-color: #8d4e59;
  transform: translateY(-2px);
}

/* BAGIAN 6: CTA KEDUA */
.cta-section {
  background-color: var(--color-primary);
  color: white;
  text-align: center;
  padding: 60px 0;
  background-image: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #e9afa3 100%
  );
}

.cta-section h2 {
  color: white;
  margin-bottom: 0.5em;
}

.guarantee {
  margin-top: 20px;
  font-size: 1em;
  font-weight: 300;
}

/* HEADER (NAVIGASI) */
.main-header {
  background-color: white;
  border-bottom: 1px solid var(--color-secondary);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 7%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #e9afa3 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a:hover {
  color: var(--primaryy);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.5s;
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 0;
  border-radius: 12px;
  width: 85%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  transform: scale(0.9);
  animation: bounceIn 0.6s forwards;
}

.close-btn {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 0 8px;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 1010;
}

#promoImage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* CSS UNTUK CONTOH TOMBOL PROMO & TIMER */
.promo-trigger-bar {
  background-color: #dc3545;
  color: white;
  width: 100%;
  padding: 35px 5px 5px;
  text-align: center;
  font-size: 1.2em;
  position: fixed;
  z-index: 9997;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 5px solid #a52737;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-trigger-bar button {
  background: none;
  color: white;
  border: 2px solid white;
  padding: 2px 7px;
  font-weight: bold;
  cursor: pointer;
  margin-right: 15px;
  border-radius: 5px;
}

.timer-unit-number {
  font-size: 1.1em;
  font-weight: 900;
  margin: 0 2px;
  display: inline-block;
}

.timer-unit-separator {
  margin: 0 4px;
  display: inline-block;
}

/* MEDIA QUERY UNTUK TAMPILAN HP (RAMPING HORIZONTAL) */
@media screen and (max-width: 600px) {
  .modal-content {
    margin: 35% auto;
  }

  .promo-trigger-bar {
    font-size: 1em;
  }
  .promo-trigger-bar {
    font-size: 1em;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

a.filter-btn {
      background: #fff;
    width: max-content;
    margin: 3px;
    color: #a96475;
    border-radius: 1rem;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    justify-content: center;
}

.filter-btn.active {
    background: linear-gradient(to right, #A87981 2%, #dea3ae 25%, #C08C99 50%, #cb9fa7 75%, #A87981 100%);
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  justify-content: center;
}
.cetak .filter-btn {
  background-color: #2d2e34;
  color: #f4f7f9;
}

.filter-extra {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

a#login-button {
  background-color: var(--bg);
  padding: 8px;
  border-radius: 1rem;
  font-weight: bold;
}

.wa img {
  width: 5rem;
}

a.wa {
  right: 2rem;
  bottom: 4rem;
  position: fixed;
  z-index: 2;
  filter: drop-shadow(2px 4px 6px black);
}

.navbar .navbar-extra a:hover {
  color: var(--primaryy);
}

#hamburger-menu {
  display: inline-block;
}
#hamburger-menu .quantity-badge2 {
  display: inline-block;
  padding: 1px 5px;
  background-color: red;
  border-radius: 6px;
  font-size: 0.8rem;
  position: relative;
  bottom: 60%;
  right: 10px;
}
/* Navbar search form */
.navbar .search-form {
  position: absolute;
  top: 100%;
  right: 7%;
  background-color: #fff;
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
}

.navbar .search-form.active {
  transform: scaleY(1);
}

.navbar .search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.6rem;
  color: var(--bg);
  padding: 1rem;
}

.navbar .search-form label {
  cursor: pointer;
  font-size: 2rem;
  margin-right: 1.5rem;
  color: var(--bg);
}

/* Shopping Cart */

#shopping-cart-button {
  position: relative;
}

#shopping-cart-button .quantity-badge {
  display: inline-block;
  padding: 1px 5px;
  background-color: red;
  border-radius: 6px;
  font-size: 0.8rem;
  position: absolute;
  top: 0;
  right: -10px;
}

.shopping-cart {
  position: absolute;
  top: 100%;
  right: -100%;
  height: 100vh;
  padding: 0 1.5rem;
  background-color: #fff;
  color: var(--bg);
  transition: 0.3s;
}

.shopping-cart.active {
  right: 0;
}

.navbar .navbar-nav {
  position: absolute;
  top: 100%;
  overflow: scroll;
  right: -150%;
  max-height: 80vh;
  /* padding: 1rem 1.5rem; */
  background-color: #fff;
  color: var(--bg);
  transition: 0.3s;
  font-size: 7px;
}

.swal2-container {
  z-index: 99999 !important; /* Nilai yang sangat tinggi */
}
.shopping-cart .cart-item {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #666;
  position: relative;
}

.shopping-cart img {
  height: 6rem;
  border-radius: 50%;
}

.shopping-cart h3 {
  font-size: 1.4rem;
}

.shopping-cart .item-price {
  font-size: 1.2rem;
}

.shopping-cart .cart-item #add,
.shopping-cart .cart-item #remove {
  display: inline-block;
  padding: 2px 5px;
  cursor: pointer;
  margin: 0 8px;
  background-color: #010101;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
}

.shopping-cart h4 {
  font-size: 1.6rem;
  margin-top: -1rem;
  text-align: center;
}

.form-container {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px dashed black;
  margin-top: 1rem;
  padding: 1rem;
}

.form-container h5 {
  text-align: center;
  font-size: 1rem;
}

.form-container form {
  width: 100%;
  text-align: center;
}

.form-container label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.form-container span {
  text-align: right;
}

.form-container input {
  background-color: #eee;
  padding: 5px;
  font-size: 1rem;
  width: 70%;
}

.form-container .checkout-button {
  padding: 6px 14px;
  background-color: royalblue;
  color: #fefefe;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 20px;
  margin: 1rem auto;
  cursor: pointer;
}

.form-container .checkout-button.disabled {
  background-color: #666;
  cursor: not-allowed;
}

/* BAGIAN 1: HERO SECTION */
.hero-section {
  text-align: center;
  padding: 13% 0 50px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top,
    rgba(255, 230, 230, 0.5),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.sub-headline {
  margin-bottom: 30px;
  color: #4f515c;
}

.hero-image-wrapper {
  margin-bottom: 40px;
}

.promo-badge {
    position: absolute;
    right: 23%;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    background-color: #d50707;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(15deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image-main {
  width: 100%;
  max-width: 660px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.social-proof {
  margin-top: 15px;
  font-size: 0.9em;
  color: var(--color-text);
}

/* About Section */
.about,
.menu,
.products {
  padding: 8rem 4% 1.4rem;
  background: var(--color-bg-theme);
}

.menu {
  padding: 8rem 22% 1.4rem;
}

.about h2,
.menu h2,
.products h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.products h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 100;
  line-height: 1.6;
}
/* BAGIAN 2: PROBLEM & SOLUTION */
.problem-solution {
  padding: 60px 0;
  background: var(--color-bg-theme);
}

.content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.problem-list,
.solution-box {
  flex: 1;
}

.problem-list ul {
  list-style: none;
  padding-left: 20px;
}

.problem-list li {
  margin-bottom: 15px;
  position: relative;
  font-size: 1.4rem;
}

.problem-list li::before {
  content: "❌";
  position: absolute;
  left: -20px;
  color: var(--color-primary);
}

.solution-box {
  background-color: var(--color-light);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--color-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-box .hero-image {
  width: 100%;
  background: #e4c3c9;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto 20px;
}

/* Menu Section */
.menu h2,
.products h2,
.contact h2 {
  margin-bottom: 1rem;
}

.menu p,
.products p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.menu .row {
  display: grid;
  margin-top: 5rem;
  justify-content: center;
  grid-template-columns: 3fr 3fr 3fr 3fr;
  align-content: space-between;
  align-items: end;
  justify-items: stretch;
}

.menu .row .menu-card {
  text-align: center;
  padding-bottom: 4rem;
}

.menu .row .menu-card img {
  border-radius: 50%;
  width: 40%;
}

.menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
  color: #ffffff;
}

/* Products Section */
.products .row {
  display: grid;
 grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1rem;
}

.products .product-card {
  padding: 15px 0;
  text-align: center;
  background-color: #fff8f8;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.products .product-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3px;
}

.products .product-icons a {
  width: 4rem;
  height: 4rem;
  background-color: #8d4e59;
  color: #fff;
  margin: 0.3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.products .product-icons a:hover {
  background-color: var(--primary);
  border: 1px solid var(--primary);
}

.products .product-image {
  background: linear-gradient(
    to right,
    #a87981 0%,
    #e4c3c9 25%,
    #c08c99 50%,
    #e4c3c9 75%,
    #a87981 100%
  );
  display: flex;
  margin: auto;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  justify-content: space-around;
  flex-direction: column;
}

.promo {
  position: absolute;
  color: hsla(0, 0%, 100%, 1);
  padding: 5px 15px;
  font-family: cursive;
  margin-top: 0.6rem;
  border-radius: 25px;
  z-index: 7;
}

.products .product-image img {
  height: 100%;
  width: 100%;
}

.products .product-content h3 {
    color: #6a4949;
    padding-top: 2rem;
}

.products .product-stars {
  font-size: 1.7rem;
  padding: 0.8rem;
  color: var(--primary);
}

.starfull {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.starsvg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.products .product-stars .star-full {
  fill: var(--primary);
}

.products .product-price {
  font-size: 1.8rem;
  font-weight: bold;
}

.products .product-price.del {
  text-decoration: line-through;
  font-weight: bold;
  color: #8e919b;
  margin-left: 16px;
  font-size: 13px;
}

/* Contact Section */
.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
}

.contact {
  background-color: #4f515c;
  margin-bottom: -3rem;
  margin-top: 3rem;
  flex: 1 1 45rem;
  padding: 8rem 2rem;
  text-align: center;
}

a.btncontact {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--bg);
  border: 1px solid #eee;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  background: none;
  color: #fff;
}

.contact .row form .btn {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
}

.discount {
 color: #8d383b;
    font-weight: bold;
  justify-content: center;
  display: flex;
  font-size: 13px;
  margin-bottom: 6px;
  text-align: center;
  align-content: space-around;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

/* Footer */
footer {
  background-color: #4f515c;
  text-align: center;
  padding: 1rem 0 3rem;
}


footer .socials a {
  color: #fff;
}

footer .socials a:hover,
footer .links a:hover {
  color: var(--bg);
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: #ffb9bc;
  font-weight: 700;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  position: fixed;
  z-index: 10000;
  left: 10%;
  margin-top: 20%;
  right: 10%;
}

button.close {
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
}

.close {
  filter: alpha(opacity=20);
  opacity: 0.2;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  cursor: pointer;
}

.alert.alert-danger {
  color: #a94442;
  background-color: #f3c9c9;
  border-color: #ebccd1;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  margin-top: 2rem;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
}

/* Item Detail */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-container {
  position: relative;
  background-color: #fefefe;
  color: var(--bg);
  margin: 15% auto;
  padding: 1.2rem;
  border: 1px solid #666;
  width: 80%;
  animation: animateModal 0.5s;
}


/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  a#login-button {
    font-size: 1rem;
  }
}
@media (max-width: 750px) {
  html {
    font-size: 69%;
  }

  .promo-trigger-bar button {
    font-size: 10px;
  }
.promo-badge {
    right: 0;
}
  .hero-section {
    padding: 29% 0 50px;
  }
}
/* Tablet */
@media (max-width: 758px) {
  html {
    font-size: 69%;
  }
  .promo-trigger-bar {
    margin-top: 8%;
  }
  .hero-section {
    text-align: center;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .navbar .search-form {
    width: 90%;
    right: 2rem;
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
  }

  .modal-content {
    flex-wrap: wrap;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .content-wrapper,
  .flow-steps {
    flex-direction: column;
  }
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* PENAMBAHAN BAGIAN 5: CARA ORDER */
.order-flow-section {
  padding: 30px 0;
  background-color: #e4c3c9;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
}

.step-card {
  flex: 1;
  padding: 10px;
  text-align: center;
  position: relative;
}

.step-number {
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  margin: 0 auto 10px;
  font-size: 1.5em;
  font-weight: 700;
}

.step-card h3 {
  color: #4f515c;
  margin-bottom: 10px;
}

/* Mobile Phone */
@media (max-width: 450px) {
  .menu {
    padding: 5rem 7% 1.4rem;
  }

  .products .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  }

}
img.hero-image {
  width: 100%;
  background: #a96475;
  max-width: 300px;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px;
}
