/* ====== FONT GOOGLE ====== */
@import url("https://fonts.googleapis.com/css2?family=Ibarra+Real+Nova:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

/* ====== ROOT / GLOBAL VARIABLES ====== */
:root {
  --brand-color: #512810;
  --button-color: #a86a2d;
  --button-hover: #8b5522;
  --text-dark: #512810;
  --text-muted: #5f4835;
  --background-start: #fef5d7;
  --background-middle: #f3e8d8;
  --background-end: #f0dabc;
  --surface: #ffffff;
  --max-width: 1440px;
}

/* ====== RESET STYLE ====== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(
    135deg,
    var(--background-start) 0%,
    var(--background-middle) 50%,
    var(--background-end) 100%
  );
  padding: 0 0 90px;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 94px;
}

/* ====== HEADER SECTION ====== */
.site-header {
  width: 100%;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Header dibuat tinggi seperti Figma */
.header-inner {
  height: 164px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

/* Logo kiri dibuat besar */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  width: 116px;
  height: auto;
}

/* ====== NAVIGATION MENU ====== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.nav-list li:nth-child(1) {
  transform: translateX(-125px);
}

.nav-list li:nth-child(2) {
  transform: translateX(-75px);
}

.nav-list li:nth-child(3) {
  transform: translateX(-25px);
}

.nav-list li:nth-child(4) {
  transform: translateX(25px);
}

.nav-list li:nth-child(5) {
  transform: translateX(75px);
}

.nav-list li:nth-child(6) {
  transform: translateX(125px);
}

.nav-list li {
  max-width: none;
}

.nav-list a {
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-color);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
  position: relative;
  transition: all 0.3s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: #512810;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list li:nth-child(3) a {
  display: block;
  width: 240px;
  text-align: center;
  white-space: normal;
}

.nav-list li:nth-child(3) a::after {
  left: 50%;
  transform: translateX(-50%);
}

.nav-list li:nth-child(3) a:hover::after {
  width: 90%;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--button-color);
}

.nav-list li:first-child a {
  font-weight: 800;
}

.nav-list li:first-child a {
  font-weight: 800;
}

/* ====== ICON KANAN HEADER ====== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 31px;
}

.header-icons a {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-icons a:hover {
  background: transparent;
  transform: translateY(-2px);
}

.header-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Tombol hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--text-dark);
}

/* ====== HERO SECTION ====== */
.hero {
  min-height: calc(1024px - 164px);
  background: linear-gradient(
    135deg,
    var(--background-start) 0%,
    var(--background-middle) 52%,
    var(--background-end) 100%
  );
  padding: 0;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  align-items: start;
  gap: 0;
  padding-top: 65px;
  min-height: 555px;
}

/* Teks kiri */
.hero-copy {
  max-width: 900px;
  padding-top: 0;
  transform: translateX(-28px);
}

.hero-label {
  font-family: "Ibarra Real Nova", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--brand-color);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
  transform: translateX(-120px);
  white-space: nowrap;
}

/* Judul besar */
.hero-copy h1 {
  font-family: "Ibarra Real Nova", serif;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--brand-color);
  max-width: 900px;
  margin-bottom: 38px;
  transform: translateX(-120px);
  white-space: nowrap;
}

/* Deskripsi */
.hero-text {
  max-width: 650px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.36;
  color: var(--brand-color);
  margin-bottom: 34px;
  transform: translateX(-120px);
}

/* Tombol SHOP NOW */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 301px;
  height: 64px;
  padding: 0 36px;
  border-radius: 999px;
  background: var(--button-color);
  color: #ffffff;
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  transition: 0.25s ease;
  transform: translateX(-110px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--button-hover);
  transform: translateX(-110px) translateY(-2px);
}

/* Gambar kanan tanpa kotak/card */
.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 0;
  transform: translateX(10px) translateY(-25px);
}

.hero-image img {
  width: 455px;
  transform: translateX(70px);
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* ====== FEATURE SECTION ====== */
.feature-section {
  padding: 0;
  transform: translateY(20px);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 46px;
  align-items: start;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.feature-card:nth-child(1) {
  transform: translateX(-55px);
}

.feature-card:nth-child(2) {
  transform: translateX(-5px);
  /* width: 50px;
  height: 50%; */
}

.feature-card:nth-child(3) {
  transform: translateX(45px);
}

.feature-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.feature-icon img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

/* icon feature nomor 2 dibuat lebih besar */
.feature-card:nth-child(2) .feature-icon {
  width: 85px;
  height: 85px;
}

.feature-card:nth-child(2) .feature-icon img {
  width: 85px;
  height: 85px;
}

.feature-copy h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--brand-color);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 2px;
}

.feature-copy p {
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.24;
  color: var(--brand-color);
}

/* ====== RESPONSIVE LAPTOP DAN TABLET ====== */
@media (max-width: 1350px) {
  /* Container */
  .container {
    padding: 0 48px;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    gap: 30px;
    padding-top: 55px;
    min-height: 555px;
  }

  /* Reset posisi teks desktop */
  .hero-copy {
    max-width: 100%;
    transform: none;
  }

  .hero-label {
    font-size: 56px;
    transform: none;
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 54px;
    transform: none;
    white-space: normal;
    margin-bottom: 30px;
  }

  .hero-text {
    max-width: 620px;
    font-size: 21px;
    transform: none;
    margin-bottom: 30px;
  }

  /* Tombol Shop Now */
  .btn-primary {
    min-width: 250px;
    height: 58px;
    font-size: 24px;
    transform: none;
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    transform: translateY(-2px);
  }

  /* Foto kanan */
  .hero-image {
    justify-content: flex-end;
    transform: none;
    padding-top: 0;
  }

  .hero-image img {
    width: 400px;
    max-width: 100%;
    transform: none;
  }

  /* Feature */
  .feature-section {
    padding-left: 48px;
    padding-right: 48px;
  }

  .feature-grid {
    gap: 28px;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    transform: none;
  }

  .feature-copy h2 {
    font-size: 22px;
  }

  .feature-copy p {
    font-size: 20px;
  }
}

/* ====== RESPONSIVE MENU TABLET DAN HP ====== */
@media (max-width: 900px) {
  /* Header */
  .site-header .container.header-inner {
    height: 92px !important;
    padding: 0 24px !important;
    gap: 15px !important;
  }

  /* Logo */
  .brand-logo img {
    width: 78px !important;
  }

  /* Menu navigasi */
  .site-nav {
    position: absolute !important;
    top: 92px !important;
    left: 20px !important;
    right: 20px !important;

    width: auto !important;

    display: none !important;

    background: #ffffff !important;

    border-radius: 20px !important;

    padding: 20px !important;

    box-shadow: 0 18px 40px rgba(81, 40, 16, 0.18) !important;

    z-index: 999 !important;
  }

  /* Menu muncul setelah hamburger diklik */
  .site-nav.is-open {
    display: block !important;
  }

  /* Menu dibuat lurus */
  .nav-list {
    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    justify-content: flex-start !important;

    gap: 10px !important;
  }

  /* Reset posisi menu desktop */
  .nav-list li:nth-child(1),
  .nav-list li:nth-child(2),
  .nav-list li:nth-child(3),
  .nav-list li:nth-child(4),
  .nav-list li:nth-child(5),
  .nav-list li:nth-child(6) {
    transform: none !important;
  }

  /* Tombol navigasi */
  .nav-list a {
    display: block !important;

    width: 100% !important;

    padding: 12px 14px !important;

    border-radius: 12px !important;

    background: #fef5d7 !important;

    font-size: 14px !important;

    text-align: center !important;

    white-space: normal !important;
  }

  /* Personal Colour */
  .nav-list li:nth-child(3) a {
    width: 100% !important;

    text-align: center !important;
  }

  /* Hamburger */
  .menu-toggle {
    display: flex !important;
  }

  /* Icon kanan */
  .header-icons {
    gap: 12px !important;
  }

  .header-icons img {
    width: 24px !important;
    height: 24px !important;
  }

  /* Container */
  .container {
    padding: 0 24px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr !important;

    text-align: left;

    gap: 20px;

    padding-top: 34px;

    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;

    transform: none;
  }

  .hero-label,
  .hero-copy h1 {
    font-size: 45px;

    transform: none;

    white-space: normal;
  }

  .hero-text {
    max-width: 100%;

    font-size: 18px;

    transform: none;
  }

  /* Tombol Shop Now */
  .btn-primary {
    transform: none;

    min-width: 230px;

    font-size: 22px;
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    transform: translateY(-2px);
  }

  /* Gambar hero */
  .hero-image {
    justify-content: center;

    padding-top: 0;

    transform: none;
  }

  .hero-image img {
    width: 300px;

    max-width: 100%;

    transform: none;
  }

  /* Feature */
  .feature-section {
    padding: 28px 24px 60px;

    transform: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    transform: none;
  }
}

/* ====== RESPONSIVE MOBILE ====== */
@media (max-width: 520px) {
  /* Header */
  .site-header .container.header-inner {
    height: 82px !important;

    padding: 0 15px !important;

    gap: 8px !important;
  }

  /* Logo */
  .brand-logo img {
    width: 66px !important;
  }

  /* Menu navigasi */
  .site-nav {
    top: 82px !important;

    left: 12px !important;
    right: 12px !important;

    padding: 15px !important;
  }

  .nav-list {
    gap: 8px !important;
  }

  .nav-list a {
    padding: 10px 12px !important;

    font-size: 12px !important;
  }

  /* Icon kanan tetap tampil */
  .header-icons a:nth-child(1),
  .header-icons a:nth-child(2),
  .header-icons a:nth-child(3) {
    display: inline-flex !important;
  }

  .header-icons {
    gap: 10px !important;
  }

  .header-icons img {
    width: 22px !important;
    height: 22px !important;
  }

  /* Hamburger */
  .menu-toggle {
    width: 27px;

    height: 20px;
  }

  /* Hero */
  .hero-inner {
    padding: 30px 20px 0;
  }

  .hero-label,
  .hero-copy h1 {
    font-size: 37px;
  }

  .hero-text {
    font-size: 16px;

    line-height: 1.5;
  }

  /* Tombol */
  .btn-primary {
    min-width: 200px;

    height: 52px;

    font-size: 19px;
  }

  /* Gambar */
  .hero-image img {
    width: 280px;
  }

  /* Feature */
  .feature-card {
    gap: 14px;
  }

  .feature-copy h2 {
    font-size: 18px;
  }

  .feature-copy p {
    font-size: 17px;
  }

  /* Search Box */
  .search-box {
    top: 92px;

    left: 15px;
    right: 15px;

    width: auto;
  }
}

/* ====== REVISI POSISI HEADER & BACKGROUND HOME ====== */
/* Tambahkan di PALING BAWAH home.css */

/* background utama sesuai login */
body,
.hero {
  background: linear-gradient(90deg, #FEF5D7 0%, #F0DABC 100%) !important;
}

/* header full lebar seperti halaman login */
.site-header {
  width: 100% !important;
  background: #ffffff !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* container header jangan terlalu masuk tengah */
.site-header .container.header-inner {
  width: 100% !important;
  max-width: none !important;
  height: 127px !important;
  padding: 0 60px !important;
  margin: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
}

/* logo kiri dekat pinggir */
.brand-logo {
  flex-shrink: 0 !important;
}

.brand-logo img {
  width: 120px !important;
  height: auto !important;
}

/* navigasi tengah rapi */
.site-nav {
  flex: 1 !important;
  justify-content: center !important;
}

.nav-list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 34px !important;
}

/* tulisan navigasi */
.nav-list a {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #512810 !important;
  white-space: nowrap !important;
}

/* menu panjang dibuat 2 baris seperti figma */
.nav-list li:nth-child(3) a {
  width: 240px !important;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}

/* HOME bold */
.nav-list li:first-child a {
  font-weight: 800 !important;
}

/* icon kanan dekat pinggir */
.header-actions {
  flex-shrink: 0 !important;
}

.header-icons {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
}

.header-icons a {
  background: transparent !important;
  width: auto !important;
  height: auto !important;
}

.header-icons img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
}

/* ====== RESPONSIVE HEADER DAN HAMBURGER ====== */
@media (max-width: 1350px) {
  /* Header */
  .site-header .container.header-inner {
    height: 95px !important;
    padding: 0 48px !important;
    position: relative !important;
  }

  /* Logo */
  .brand-logo img {
    width: 90px !important;
  }

  /* Menu utama disembunyikan */
  .site-nav {
    display: none !important;
  }

  /* Menu muncul saat hamburger diklik */
  .site-nav.is-open {
    display: flex !important;

    position: absolute !important;

    top: 95px !important;
    right: 48px !important;
    left: auto !important;

    width: auto !important;

    background: #ffffff !important;

    padding: 18px 26px !important;

    border-radius: 16px !important;

    box-shadow: 0 12px 30px rgba(81, 40, 16, 0.18) !important;

    z-index: 999 !important;
  }

  /* Menu dibuat vertikal seperti Login */
  .site-nav.is-open .nav-list {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 16px !important;
  }

  /* Reset posisi menu desktop */
  .site-nav.is-open .nav-list li:nth-child(1),
  .site-nav.is-open .nav-list li:nth-child(2),
  .site-nav.is-open .nav-list li:nth-child(3),
  .site-nav.is-open .nav-list li:nth-child(4),
  .site-nav.is-open .nav-list li:nth-child(5),
  .site-nav.is-open .nav-list li:nth-child(6) {
    transform: none !important;
  }

  /* Tulisan menu */
  .site-nav.is-open .nav-list a {
    display: block !important;

    width: auto !important;

    padding: 0 !important;

    background: transparent !important;

    border-radius: 0 !important;

    color: #512810 !important;

    font-size: 16px !important;

    font-weight: 400 !important;

    text-align: center !important;

    white-space: nowrap !important;
  }

  /* Personal Colour tetap rapi */
  .site-nav.is-open .nav-list li:nth-child(3) a {
    width: 230px !important;

    white-space: normal !important;

    line-height: 1.3 !important;
  }

  /* HOME aktif */
  .site-nav.is-open .nav-list a.active {
    font-weight: 800 !important;
  }

  /* Hamburger tampil */
  .menu-toggle {
    display: flex !important;
  }

  /* Icon kanan */
  .header-icons {
    gap: 18px !important;
  }

  .header-icons img {
    width: 28px !important;
    height: 28px !important;
  }
}

.search-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.search-box {
  position: fixed;
  top: 105px;
  right: 70px;
  width: 360px;
  height: 54px;
  background: white;
  border: 2px solid #512810;
  border-radius: 100px;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  z-index: 999;
}

.search-box.active {
  display: flex;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #512810;
}

.search-box button {
  font-size: 28px;
  color: #512810;
}

/* ====== MENU HOME AKTIF ====== */

.nav-list a.active {
  color: #512810 !important;
  font-weight: 800 !important;
}

.nav-list a.active::after {
  width: 100% !important;
}

/* ====== TOMBOL AKUN HOME ====== */

.home-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: none;
  background: transparent;

  cursor: pointer;

  transition: transform 0.2s ease;
}

.home-account-btn:hover {
  transform: translateY(-2px);
}

.home-account-btn img {
  width: 38px;
  height: 38px;

  object-fit: contain;
}


/* ====== DROPDOWN AKUN HOME ====== */

.home-account-dropdown {
  position: fixed;
  top: 145px;
  right: 48px;
  z-index: 1100;

  display: none;

  width: 375px;
  padding: 34px 25px 32px;

  border-radius: 24px;

  background: #ffffff;

  box-shadow:
    7px 8px 0 rgba(255, 238, 191, 0.65),
    0 12px 30px rgba(81, 40, 16, 0.08);
}

.home-account-dropdown.active {
  display: block;
}


/* ====== LOGIN ATAU SIGN UP ====== */

.home-account-user {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 19px;

  color: var(--brand-color);
}

.home-account-user img {
  width: 52px;
  height: 52px;

  flex-shrink: 0;

  object-fit: contain;
}

.home-account-user strong {
  color: var(--brand-color);

  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.home-account-user-data {
  min-width: 0;
}

.home-account-user-data p {
  margin: 2px 0 0;

  color: var(--brand-color);

  font-size: 16px;
  line-height: 1.35;

  overflow-wrap: anywhere;
}

.home-account-user:hover strong {
  color: var(--button-color);
}


/* ====== MENU AKUN HOME ====== */

.home-account-menu {
  width: 100%;
  min-height: 56px;

  display: flex;
  align-items: center;

  gap: 18px;

  color: var(--brand-color);

  font-size: 23px;
  font-weight: 500;

  transition: color 0.3s ease;
}

.home-account-menu:hover {
  color: var(--button-color);
}

.home-account-menu img {
  width: 31px;
  height: 31px;

  flex-shrink: 0;

  object-fit: contain;
}


/* ====== RESPONSIVE LAPTOP ====== */

@media (max-width: 1350px) {
  .home-account-btn img {
    width: 28px;
    height: 28px;
  }

  .home-account-dropdown {
    top: 112px;
    right: 48px;

    width: 390px;

    padding: 36px 28px 34px;
  }

  .home-account-user img {
    width: 48px;
    height: 48px;
  }

  .home-account-user strong {
    font-size: 24px;
  }

  .home-account-menu {
    min-height: 60px;

    font-size: 23px;
  }

  .home-account-menu img {
    width: 31px;
    height: 31px;
  }
}


/* ====== RESPONSIVE TABLET ====== */

@media (max-width: 900px) {
  .home-account-btn img {
    width: 24px;
    height: 24px;
  }

  .home-account-dropdown {
    top: 108px;
    right: 24px;

    width: min(390px, calc(100% - 48px));
  }
}


/* ====== RESPONSIVE MOBILE ====== */

@media (max-width: 520px) {
  .home-account-btn img {
    width: 22px;
    height: 22px;
  }

  .home-account-dropdown {
    top: 95px;
    right: 15px;
    left: 15px;

    width: auto;

    padding: 28px 22px 26px;
  }

  .home-account-user {
    gap: 12px;

    margin-bottom: 16px;
  }

  .home-account-user img {
    width: 44px;
    height: 44px;
  }

  .home-account-user strong {
    font-size: 21px;
  }

  .home-account-menu {
    min-height: 55px;

    gap: 16px;

    font-size: 20px;
  }

  .home-account-menu img {
    width: 28px;
    height: 28px;
  }
}

/* ====== STATUS MENU AKUN ====== */

.is-hidden {
  display: none !important;
}

/* Tombol Log Out mengikuti desain menu akun */
button.home-account-menu {
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

/* ====== BADGE WISHLIST DAN CART HOME ====== */

.wishlist-link,
.cart-link {
  position: relative;
}

.wishlist-count-badge,
.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -9px;

  min-width: 20px;
  height: 20px;
  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #e84c3d;
  border: 2px solid #ffffff;
  border-radius: 100px;

  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;

  pointer-events: none;
}

.wishlist-count-badge:not(.is-hidden),
.cart-count-badge:not(.is-hidden) {
  animation: homeBadgePop 0.3s ease;
}

@keyframes homeBadgePop {
  0% {
    transform: scale(0.5);
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* ====== FINAL RESPONSIVE HEADER HOME ====== */

/* LAPTOP 1366px DAN SEKITARNYA */
@media (max-width: 1450px) {
  .site-header .container.header-inner {
    position: relative !important;
    height: 95px !important;
    padding: 0 36px !important;
    gap: 20px !important;
  }

  .brand-logo img {
    width: 88px !important;
  }

  .site-nav {
    display: none !important;
  }

  .site-nav.is-open {
    position: absolute !important;
    top: 95px !important;
    right: 36px !important;
    left: auto !important;
    z-index: 999 !important;

    display: flex !important;
    width: auto !important;
    padding: 20px 27px !important;

    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgba(81, 40, 16, 0.18) !important;
  }

  .site-nav.is-open .nav-list {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .site-nav.is-open .nav-list li {
    transform: none !important;
  }

  .site-nav.is-open .nav-list a {
    display: block !important;
    width: auto !important;
    padding: 0 !important;

    background: transparent !important;
    font-size: 15px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .site-nav.is-open .nav-list li:nth-child(3) a {
    width: 225px !important;
    white-space: normal !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .header-icons {
    gap: 18px !important;
  }

  .header-icons img,
  .home-account-btn img {
    width: 28px !important;
    height: 28px !important;
  }

  .search-box {
    top: 108px !important;
    right: 36px !important;
  }

  .home-account-dropdown {
    top: 112px !important;
    right: 36px !important;
  }
}


/* TABLET */
@media (max-width: 900px) {
  .site-header .container.header-inner {
    height: 88px !important;
    padding: 0 22px !important;
    gap: 12px !important;
  }

  .brand-logo img {
    width: 76px !important;
  }

  .site-nav.is-open {
    top: 88px !important;
    right: 22px !important;
    left: 22px !important;

    width: auto !important;
    padding: 18px 20px !important;
  }

  .site-nav.is-open .nav-list {
    align-items: stretch !important;
    gap: 12px !important;
  }

  .site-nav.is-open .nav-list a {
    width: 100% !important;
    font-size: 14px !important;
    white-space: normal !important;
  }

  .site-nav.is-open .nav-list li:nth-child(3) a {
    width: 100% !important;
  }

  .header-icons {
    gap: 12px !important;
  }

  .header-icons img,
  .home-account-btn img {
    width: 24px !important;
    height: 24px !important;
  }

  .search-box {
    top: 100px !important;
    right: 22px !important;
    left: 22px !important;
    width: auto !important;
  }

  .home-account-dropdown {
    top: 100px !important;
    right: 22px !important;
    left: auto !important;
    width: min(390px, calc(100% - 44px)) !important;
  }
}


/* HP */
@media (max-width: 520px) {
  .site-header .container.header-inner {
    height: 78px !important;
    padding: 0 12px !important;
    gap: 7px !important;
  }

  .brand-logo img {
    width: 60px !important;
  }

  .site-nav.is-open {
    top: 78px !important;
    right: 10px !important;
    left: 10px !important;
    padding: 15px !important;
  }

  .site-nav.is-open .nav-list {
    gap: 10px !important;
  }

  .site-nav.is-open .nav-list a {
    font-size: 12px !important;
  }

  .header-icons {
    gap: 8px !important;
  }

  .header-icons img,
  .home-account-btn img {
    width: 20px !important;
    height: 20px !important;
  }

  .menu-toggle {
    width: 25px !important;
    height: 18px !important;
  }

  .menu-toggle span {
    height: 2px !important;
  }

  .search-box {
    top: 88px !important;
    right: 12px !important;
    left: 12px !important;
    height: 48px !important;
  }

  .home-account-dropdown {
    top: 88px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
  }

  .wishlist-count-badge,
  .cart-count-badge {
    top: -6px;
    right: -7px;

    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    border-width: 1px;
    font-size: 10px;
  }
}

/* ==================================================
   CINEMATIC BRAND ENTRANCE — HOME
================================================== */

/* ====== DEKORASI BACKGROUND HERO ====== */

.hero {
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 480px;
  height: 480px;

  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}

.hero::before {
  top: -230px;
  left: -190px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0)
  );

  animation: homeGlowLeft 9s ease-in-out infinite alternate;
}

.hero::after {
  right: -220px;
  bottom: -260px;

  background: radial-gradient(
    circle,
    rgba(168, 106, 45, 0.2),
    rgba(168, 106, 45, 0)
  );

  animation: homeGlowRight 10s ease-in-out infinite alternate;
}


/* ====== TEKS HERO MUNCUL BERTAHAP ====== */

.hero-label {
  opacity: 0;
  translate: 0 24px;

  animation: homeTextEnter 0.75s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.15s forwards;
}

.hero-copy h1 {
  opacity: 0;
  translate: 0 28px;

  animation: homeTextEnter 0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.32s forwards;
}

.hero-text {
  opacity: 0;
  translate: 0 22px;

  animation: homeTextEnter 0.7s ease
    0.5s forwards;
}


/* ====== TOMBOL SHOP NOW PREMIUM ====== */

.btn-primary {
  position: relative;
  overflow: hidden;

  opacity: 0;
  translate: 0 20px;

  box-shadow:
    0 12px 26px rgba(139, 85, 34, 0.28);

  animation: homeButtonEnter 0.65s ease
    0.68s forwards;

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    translate 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;

  width: 65%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.48),
    transparent
  );

  transform: skewX(-20deg);

  transition: left 0.65s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  translate: 0 -4px;

  box-shadow:
    0 18px 34px rgba(139, 85, 34, 0.36);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  left: 145%;
}

.btn-primary:active {
  translate: 0 -1px;
  scale: 0.98;
}


/* ====== FOTO MODEL MASUK DARI KANAN ====== */

.hero-image {
  opacity: 0;
  translate: 45px 0;

  animation: homeImageEnter 1s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.25s forwards;
}

.hero-image img {
  filter: drop-shadow(
    0 22px 25px rgba(81, 40, 16, 0.14)
  );

  animation: homeImageFloat 5s ease-in-out
    1.3s infinite;

  transition:
    filter 0.4s ease,
    scale 0.4s ease;
}

.hero-image:hover img {
  scale: 1.025;

  filter: drop-shadow(
    0 30px 34px rgba(81, 40, 16, 0.2)
  );
}


/* ====== FEATURE CARD MUNCUL BERGANTIAN ====== */

.feature-card {
  position: relative;

  opacity: 0;
  translate: 0 28px;

  padding: 14px 16px;
  border-radius: 22px;

  animation: homeFeatureEnter 0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    translate 0.35s ease;
}

.feature-card:nth-child(1) {
  animation-delay: 0.82s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.96s;
}

.feature-card:nth-child(3) {
  animation-delay: 1.1s;
}

.feature-card:hover {
  translate: 0 -7px;

  background: rgba(255, 255, 255, 0.46);

  box-shadow:
    0 16px 34px rgba(81, 40, 16, 0.1);
}


/* ====== ICON FEATURE ====== */

.feature-icon {
  position: relative;

  transition:
    translate 0.35s ease,
    scale 0.35s ease;
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: -7px;

  border: 1px solid rgba(168, 106, 45, 0.17);
  border-radius: 20px;

  opacity: 0;
  scale: 0.8;

  transition:
    opacity 0.35s ease,
    scale 0.35s ease;
}

.feature-card:hover .feature-icon {
  translate: 0 -3px;
  scale: 1.06;
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
  scale: 1;
}

.feature-icon img {
  transition:
    scale 0.35s ease,
    filter 0.35s ease;
}

.feature-card:hover .feature-icon img {
  scale: 1.05;

  filter: drop-shadow(
    0 8px 12px rgba(81, 40, 16, 0.13)
  );
}


/* ====== TEKS FEATURE ====== */

.feature-copy h2,
.feature-copy p {
  transition:
    color 0.3s ease,
    translate 0.3s ease;
}

.feature-card:hover .feature-copy h2 {
  color: var(--button-hover);
  translate: 3px 0;
}

.feature-card:hover .feature-copy p {
  translate: 3px 0;
}


/* ====== DROPDOWN AKUN ====== */

.home-account-dropdown.active {
  transform-origin: top right;

  animation: homeDropdownEnter 0.35s
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}

.home-account-menu {
  border-radius: 12px;

  transition:
    color 0.3s ease,
    background 0.3s ease,
    padding-left 0.3s ease;
}

.home-account-menu:hover {
  padding-left: 12px;
  background: rgba(254, 245, 215, 0.72);
}


/* ====== SEARCH BOX MUNCUL HALUS ====== */

.search-box.active {
  animation: homeSearchEnter 0.3s
    cubic-bezier(0.22, 1, 0.36, 1)
    both;
}


/* ====== KEYFRAMES ====== */

@keyframes homeTextEnter {
  from {
    opacity: 0;
    translate: 0 24px;
    filter: blur(5px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes homeButtonEnter {
  from {
    opacity: 0;
    translate: 0 20px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes homeImageEnter {
  from {
    opacity: 0;
    translate: 45px 0;
    scale: 0.96;
  }

  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes homeImageFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes homeFeatureEnter {
  from {
    opacity: 0;
    translate: 0 28px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes homeDropdownEnter {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes homeSearchEnter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes homeGlowLeft {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(60px, 45px);
  }
}

@keyframes homeGlowRight {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-55px, -40px);
  }
}


/* ====== RESPONSIVE ====== */

@media (max-width: 900px) {
  .hero-image img {
    animation-name: homeImageFloatMobile;
  }

  .feature-card:hover {
    translate: 0 -4px;
  }

  @keyframes homeImageFloatMobile {
    0%,
    100% {
      translate: 0 0;
    }

    50% {
      translate: 0 -6px;
    }
  }
}

@media (max-width: 520px) {
  .hero-image:hover img,
  .feature-card:hover {
    scale: 1;
    translate: 0 0;
  }

  .feature-card {
    padding: 10px;
  }
}


/* ====== AKSESIBILITAS ====== */

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-label,
  .hero-copy h1,
  .hero-text,
  .btn-primary,
  .hero-image,
  .hero-image img,
  .feature-card,
  .home-account-dropdown.active,
  .search-box.active {
    animation: none;
    opacity: 1;
    translate: none;
    scale: 1;
    filter: none;
  }

  .btn-primary::before {
    display: none;
  }
}

/* ==================================================
   FINAL HOME FIT — ZOOM BROWSER 100%
================================================== */

/* Hilangkan ruang kosong tambahan di bawah halaman */
body {
  padding-bottom: 0 !important;
}


/* ====== DESKTOP DAN LAPTOP ====== */
@media (min-width: 901px) {
  /*
    Jangan paksa hero mengikuti tinggi desain 1024px.
    Tinggi mengikuti isi asli sehingga feature langsung terlihat.
  */
  .hero {
    min-height: auto !important;
  }

  .hero-inner {
    min-height: 555px !important;
  }

  /* Feature tidak didorong lagi ke bawah */
  .feature-section {
    transform: none !important;
    padding-bottom: 24px !important;
  }
}


/* ====== LAPTOP 1366px–1450px ====== */
@media (min-width: 901px) and (max-width: 1450px) {
  .hero .container {
    padding-right: 48px !important;
    padding-left: 48px !important;
  }

  .hero-inner {
    grid-template-columns:
      1.25fr 0.75fr !important;

    gap: 30px !important;
    min-height: 490px !important;
    padding-top: 38px !important;
  }

  .hero-copy {
    max-width: 100% !important;
    transform: none !important;
  }

  .hero-label {
    font-size: 54px !important;
    transform: none !important;
    white-space: normal !important;
  }

  .hero-copy h1 {
    margin-bottom: 24px !important;

    font-size: 51px !important;
    transform: none !important;
    white-space: normal !important;
  }

  .hero-text {
    max-width: 610px !important;
    margin-bottom: 24px !important;

    font-size: 19px !important;
    transform: none !important;
  }

  .btn-primary {
    min-width: 235px !important;
    height: 54px !important;

    font-size: 22px !important;
    transform: none !important;
  }

  .btn-primary:hover,
  .btn-primary:focus-visible {
    transform: translateY(-2px) !important;
  }

  .hero-image {
    padding-top: 0 !important;
    transform: none !important;
  }

  .hero-image img {
    width: 360px !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .feature-section {
    padding-right: 48px !important;
    padding-left: 48px !important;
  }

  .feature-grid {
    gap: 26px !important;
  }

  .feature-card {
    padding: 10px 12px !important;
  }

  .feature-icon,
  .feature-icon img {
    width: 56px !important;
    height: 56px !important;
  }

  .feature-card:nth-child(2) .feature-icon,
  .feature-card:nth-child(2) .feature-icon img {
    width: 68px !important;
    height: 68px !important;
  }

  .feature-copy h2 {
    font-size: 20px !important;
  }

  .feature-copy p {
    font-size: 17px !important;
  }
}

/* ==================================================
   HERO VIDEO BACKGROUND — SAFE FINAL OVERRIDE
   Menjaga struktur Home asli, tanpa offset negatif.
================================================== */

.hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: calc(100vh - 127px) !important;
  background: linear-gradient(90deg, #fef5d7 0%, #f0dabc 100%) !important;
}

/* Dekorasi animasi lama dinonaktifkan agar tidak menimpa video. */
.hero::before,
.hero::after {
  display: none !important;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

/*
  Lapisan kiri lebih pekat agar tulisan tetap terbaca,
  bagian kanan sedikit lebih gelap agar video terasa hangat.
*/
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(254, 245, 215, 0.93) 0%,
      rgba(254, 245, 215, 0.86) 29%,
      rgba(240, 218, 188, 0.62) 58%,
      rgba(81, 40, 16, 0.30) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(81, 40, 16, 0.08) 58%,
      rgba(254, 245, 215, 0.70) 100%
    );
}

/* Seluruh konten asli selalu berada di depan video dan overlay. */
.hero > .container {
  position: relative;
  z-index: 2;
}

/* Foto lama di kanan tidak dipakai lagi. */
.hero-image {
  display: none !important;
}

/*
  Reset semua offset negatif layout desktop lama.
  Ini bagian penting agar huruf pertama tidak terpotong.
*/
.hero-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 0 !important;
  min-height: 555px !important;
  padding-top: 65px !important;
}

.hero-copy {
  width: 100% !important;
  max-width: 930px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.hero-label,
.hero-copy h1,
.hero-text,
.btn-primary {
  transform: none !important;
}

.hero-label,
.hero-copy h1 {
  white-space: normal !important;
}

.hero-label {
  max-width: 930px !important;
}

.hero-copy h1 {
  max-width: 930px !important;
}

.hero-text {
  max-width: 650px !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px) !important;
}

/* Feature tetap penuh, rapi, dan tidak keluar dari sisi kiri layar. */
.feature-section {
  position: relative !important;
  z-index: 2 !important;
  transform: none !important;
  padding-bottom: 28px !important;
}

.feature-card,
.feature-card:nth-child(1),
.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  transform: none !important;
}

/* DESKTOP BESAR */
@media (min-width: 1451px) {
  .hero-inner {
    min-height: 570px !important;
    padding-top: 64px !important;
  }

  .hero-copy {
    max-width: 980px !important;
  }

  .hero-label {
    font-size: 72px !important;
  }

  .hero-copy h1 {
    font-size: 68px !important;
  }
}

/* LAPTOP */
@media (min-width: 901px) and (max-width: 1450px) {
  .hero {
    min-height: calc(100vh - 95px) !important;
  }

  .hero .container {
    padding-right: 48px !important;
    padding-left: 48px !important;
  }

  .hero-inner {
    min-height: 490px !important;
    padding-top: 48px !important;
  }

  .hero-copy {
    max-width: 760px !important;
  }

  .hero-label {
    font-size: 54px !important;
  }

  .hero-copy h1 {
    font-size: 51px !important;
  }

  .hero-text {
    max-width: 610px !important;
    font-size: 19px !important;
  }

  .feature-section {
    padding-right: 48px !important;
    padding-left: 48px !important;
  }
}

/* TABLET */
@media (max-width: 900px) {
  .hero {
    min-height: calc(100svh - 88px) !important;
  }

  .hero-background-video {
    object-position: center center;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(254, 245, 215, 0.92) 0%,
        rgba(254, 245, 215, 0.78) 70%,
        rgba(81, 40, 16, 0.25) 100%
      ),
      linear-gradient(
        180deg,
        rgba(254, 245, 215, 0.10) 0%,
        rgba(254, 245, 215, 0.72) 100%
      );
  }

  .hero-inner {
    min-height: auto !important;
    padding: 46px 24px 52px !important;
  }

  .hero-copy {
    max-width: 680px !important;
  }

  .feature-section {
    padding-top: 26px !important;
    padding-bottom: 50px !important;
  }
}

/* MOBILE */
@media (max-width: 520px) {
  .hero {
    min-height: calc(100svh - 78px) !important;
  }

  .hero-background-video {
    object-position: 58% center;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(254, 245, 215, 0.94) 0%,
        rgba(254, 245, 215, 0.85) 72%,
        rgba(81, 40, 16, 0.23) 100%
      ),
      linear-gradient(
        180deg,
        rgba(254, 245, 215, 0.08) 0%,
        rgba(254, 245, 215, 0.78) 100%
      );
  }

  .hero-inner {
    padding: 38px 20px 44px !important;
  }

  .hero-label,
  .hero-copy h1 {
    font-size: 37px !important;
  }

  .hero-text {
    font-size: 16px !important;
  }

  .feature-section {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

/* Video tidak bergerak sendiri bila pengguna meminta minim animasi. */
@media (prefers-reduced-motion: reduce) {
  .hero-background-video {
    display: none;
  }
}