/* RESET DAN VARIABEL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold-dark: #9a7b42;
  --gold-medium: #d1a85d;
  --gold-light: #e3c385;
  --gold-highlight: #f7e5c0;
  --gold-gradient: linear-gradient(
    90deg,
    var(--gold-dark),
    var(--gold-light) 25%,
    var(--gold-highlight) 50%,
    var(--gold-medium) 75%,
    var(--gold-dark)
  );
  --black: #111111;
  --white: #ffffff;
  --cream: #f8f4eb;
  --cream-dark: #e7ddca;
  --charcoal: #302b2c;
  --navy: #000080;
  --burgundy: #800020;
  --gray: #6b6b6b;
  --gray-light: #eeeeee;
  --green: #0d3504;
  --green-light: #4caf50;
  --accent: var(--gold-dark);
  --radius: 4px;
  --radius-lg: 12px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

/* NAVIGASI */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0 auto;
  padding: 12px 5%;
  border: 0;
  border-radius: 0;
  background: var(--black);
  box-shadow: none;
  backdrop-filter: none;
  transition:
    min-height 0.3s ease,
    width 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.navbar.is-scrolled {
  min-height: 68px;
  width: min(1380px, calc(100% - 48px));
  border: 1px solid rgb(227 195 133 / 18%);
  border-radius: 999px;
  margin: 12px auto 0;
  background: rgb(17 17 17 / 28%);
  border-color: rgb(227 195 133 / 18%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 1002;
}

.nav-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 160px;
  margin-right: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.nav-brand-name {
  margin-left: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  line-height: 1.1;

  background: var(--gold-gradient);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  padding: 9px 0;
  color: #f4eee3;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-current::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(227 195 133 / 45%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  transition:
    width 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.nav-search:focus-within,
.nav-search:hover {
  width: 190px;
  background: rgb(255 255 255 / 9%);
  border-color: var(--gold-light);
}
.nav-search input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    padding 0.3s ease;
}
.nav-search:focus-within input,
.nav-search:hover input {
  padding-left: 14px;
  opacity: 1;
}
.nav-search input::placeholder {
  color: #c7bda9;
}
.nav-search button {
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
}
.nav-search svg,
.nav-cart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nav-cart {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: var(--gold-light);
  color: #191510;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgb(227 195 133 / 28%);
}
.nav-cart-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #191510;
  color: var(--gold-light);
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-cart-count.is-bump {
  animation: cart-bump 0.35s ease;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@keyframes cart-bump {
  50% {
    transform: scale(1.35);
  }
}

.hamburger-btn {
  display: none;
  width: 36px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-medium);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* HERO */
.hero {
  display: flex;
  min-height: 82vh;
  align-items: center;
  padding: 80px 5%;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(rgb(0 0 0 / 58%), rgb(0 0 0 / 58%)),
    url("assets/urban3.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: 100%;
  max-width: 650px;
}

.hero-label {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 24px;
  background: var(--gold-gradient);
  background-clip: text;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* TOMBOL */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--gold-medium);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover,
.btn-secondary:hover {
  background: var(--black);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* SECTION UMUM */
.section {
  padding: 76px 5%;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  margin: 0 auto 48px;
  text-align: center;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
}

/* SOROTAN PRODUK DAN PROMO */
.spotlight-section {
  padding: 52px 5% 48px;
  border-bottom: 1px solid var(--cream-dark);
  background: var(--cream);
}
.spotlight-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
}
.spotlight-header {
  margin-bottom: 24px;
}
.spotlight-header h2 {
  margin-bottom: 8px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}
.spotlight-header p,
.spotlight-description {
  color: var(--gray);
  font-size: 14px;
}
.spotlight-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 22px;
}
.spotlight-tab {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  background: #fffdfa;
  color: var(--charcoal);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.spotlight-tab:hover,
.spotlight-tab.is-active {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--white);
}
.spotlight-panel {
  outline: none;
}
.spotlight-panel:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 5px;
}
.spotlight-description {
  margin-bottom: 16px;
  text-align: center;
}
.spotlight-products {
  gap: 18px;
}
.spotlight-products[hidden] {
  display: none;
}
.spotlight-products .produk-card {
  position: relative;
  background: var(--charcoal);
}
.spotlight-products .produk-img {
  position: relative;
}
.spotlight-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.spotlight-promo {
  display: flex;
  min-height: 255px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--burgundy), #4e0b20);
  color: var(--white);
}
.spotlight-promo[hidden] {
  display: none;
}
.spotlight-promo-empty[hidden],
.spotlight-launch[hidden] {
  display: none;
}
.spotlight-promo-copy {
  max-width: 680px;
}
.spotlight-promo-label {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.spotlight-promo h3 {
  margin: 8px 0 10px;
  color: var(--gold-highlight);
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}
.spotlight-promo p {
  max-width: 600px;
  margin-bottom: 20px;
  color: #f8e9e9;
  font-size: 14px;
  line-height: 1.7;
}
.spotlight-promo .btn {
  display: inline-block;
  background: var(--gold-light);
  color: var(--charcoal);
  font-weight: 700;
}
.spotlight-promo-mark {
  flex: 0 0 auto;
  color: rgb(255 255 255 / 12%);
  font-family: var(--font-display);
  font-size: clamp(86px, 17vw, 150px);
  font-weight: 700;
  line-height: .9;
}
.spotlight-promo-image {
  width: min(32%, 300px);
  max-height: 300px;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 36px rgb(0 0 0 / 22%);
}
.spotlight-promo-image[hidden] {
  display: none;
}
.spotlight-promo-date,
.spotlight-launch-date {
  margin: -9px 0 17px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
.spotlight-launch {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  background: var(--charcoal);
  box-shadow: 0 16px 38px rgb(48 43 44 / 15%);
  animation: spotlight-rise .65s ease both;
}
.spotlight-launch-image-wrap {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #1c1919;
}
.spotlight-launch-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 16%) 48%, transparent 70%);
  content: "";
  transform: translateX(-100%);
  animation: spotlight-shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}
.spotlight-launch-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  animation: spotlight-image-drift 12s ease-in-out infinite alternate;
}
.spotlight-launch-stamp {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  padding: 9px 14px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  background: rgb(48 43 44 / 88%);
  color: var(--gold-highlight);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  animation: spotlight-glow 2.8s ease-in-out infinite;
}
.spotlight-launch-copy {
  padding: clamp(24px, 5vw, 56px);
  color: var(--white);
}
.spotlight-launch-copy h3 {
  margin: 8px 0 12px;
  color: var(--gold-highlight);
  font-family: var(--font-display);
  font-size: clamp(29px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}
.spotlight-launch-copy > p:not(.spotlight-launch-date) {
  margin-bottom: 16px;
  color: #f0e7e3;
  font-size: 14px;
  line-height: 1.7;
}
.spotlight-launch-copy .spotlight-launch-date {
  margin: 0 0 20px;
}
.spotlight-launch-copy .btn {
  background: var(--gold-light);
  color: var(--charcoal);
  font-weight: 700;
}
.spotlight-promo-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: #fffdfa;
}
.spotlight-promo-empty > span {
  color: var(--gold-dark);
  font-size: 30px;
  animation: spotlight-glow 2.8s ease-in-out infinite;
}
.spotlight-promo-empty strong {
  color: var(--charcoal);
}
.spotlight-promo-empty p {
  color: var(--gray);
  font-size: 13px;
}
.spotlight-promo-empty a {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
}
.spotlight-footer {
  margin-top: 18px;
  text-align: center;
}
.spotlight-footer a {
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
}
.spotlight-footer a:hover {
  text-decoration: underline;
}

/* KARTU PRODUK */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.produk-card {
  overflow: hidden;
  border: 1px solid var(--gold-medium);
  border-radius: var(--radius-lg);
  background: var(--black);
  box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.produk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 16%);
}

.produk-img {
  display: flex;
  aspect-ratio: 3 / 4;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
}

.produk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produk-info {
  padding: 16px 18px 20px;
}

.produk-nama {
  margin-bottom: 4px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
}

.produk-harga {
  margin-bottom: 10px;
  color: var(--gold-medium);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.produk-stok {
  color: var(--gray);
  font-size: 12px;
}

.produk-stok.habis {
  color: #cc4444;
}

.btn-detail {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid var(--gold-medium);
  border-radius: var(--radius-lg);
  background: var(--green);
  color: var(--gold-light);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn-detail:hover {
  transform: translateY(-2px);
  background: var(--green-light);
  color: var(--black);
}

/* KEUNGGULAN DAN TESTIMONI */
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.keunggulan-card {
  padding: 28px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.keunggulan-icon {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 24px;
}

.keunggulan-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.keunggulan-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* PESANAN CUSTOM */
.custom-order-section {
  background: var(--white);
}

.custom-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  max-width: 1180px;
  margin: 0 auto;
}

.custom-order-visual {
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: 15px 10px 11px 0px rgba(0,0,0,0.29);
-webkit-box-shadow: 15px 10px 11px 0px rgba(0,0,0,0.29);
-moz-box-shadow: 15px 10px 11px 0px rgba(0,0,0,0.29);
}

.custom-order-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}


.custom-order-content > .section-label {
  margin-bottom: 8px;
}

.custom-order-content > h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
}

.custom-order-intro,
.custom-order-steps p,
.custom-order-terms p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.custom-order-steps {
  display: grid;
  gap: 18px;
  margin: 26px 0;
  list-style: none;
}

.custom-order-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.custom-step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--gold-medium);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.custom-order-steps h3 {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
}

.custom-order-terms {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold-medium);
  background: var(--cream);
}

.custom-order-terms strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.custom-order-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
}

/* KONTAK */
.kontak-grid {
  display: grid;
  max-width: 700px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.kontak-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.kontak-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-medium);
  box-shadow: 0 8px 24px rgb(0 0 0 / 7%);
}

.kontak-icon {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.kontak-card h3 {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}

.kontak-card p {
  color: var(--gray);
  font-size: 13px;
}

/* FOOTER */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 5%;
  border-top: 1px solid var(--cream-dark);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.footer-copy {
  color: var(--gray);
  font-size: 12px;
}

/* DETAIL PRODUK */
.detail-section {
  padding: 60px 5% 100px;
}

.detail-wrapper {
  display: flex;
  max-width: 1100px;
  gap: 56px;
  margin: 0 auto;
}

.detail-img {
  overflow: hidden;
  flex: 1;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--gray-light);
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.detail-info h1 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
}

.detail-harga {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
}

.opsi-group {
  margin-top: 28px;
}

.opsi-label {
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opsi-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.opsi-btn {
  padding: 10px 18px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.opsi-btn:hover {
  border-color: var(--black);
}

.opsi-btn.opsi-aktif {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.pilihan-status {
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--gray);
  font-size: 13px;
}

.btn-checkout {
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: #25d366;
  color: var(--black);
  text-align: center;
}

.btn-checkout:hover {
  background: #1fa855;
}

.halaman-detail {
  min-height: 100vh;
  background: var(--white);
}

.halaman-detail .detail-section {
  max-width: 1240px;
  margin: 0 auto;
}

.detail-kembali {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
}

.detail-kembali:hover {
  text-decoration: underline;
}

.detail-page-title {
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
}

.detail-loading {
  padding: 48px 0;
  color: var(--gray);
  text-align: center;
}

.detail-galeri {
  flex: 1;
  min-width: 0;
}

.detail-img {
  width: 100%;
  max-height: 760px;
}

.detail-gallery-label {
  margin-top: 12px;
  color: var(--gray);
  font-size: 13px;
}

.detail-photo-thumbnails {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  overflow-x: auto;
}

.detail-photo-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 96px;
  padding: 3px;
  border: 1px solid var(--cream-dark);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
}

.detail-photo-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.detail-photo-thumb.aktif,
.detail-photo-thumb:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 1px var(--gold-dark);
}

.detail-info {
  min-width: 0;
}

.detail-harga {
  margin-bottom: 0;
  color: var(--burgundy);
  font-size: 28px;
}

.detail-price-caption {
  color: var(--gray);
  font-size: 13px;
}

.detail-price-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.detail-price-row strong {
  text-align: right;
}

.detail-terms {
  margin-top: 20px;
  padding: 16px;
  border-left: 3px solid var(--gold-medium);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream);
}

.detail-terms h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.detail-terms ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  color: var(--gray);
  font-size: 13px;
}

.detail-terms strong {
  color: var(--black);
}

.detail-purchase {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.detail-purchase h2 {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

.detail-purchase label {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}

.detail-purchase select,
.detail-purchase input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  font: inherit;
}

.detail-purchase-help,
.detail-purchase-summary {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
}

.detail-current-pricing {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--cream-dark);
}

.detail-current-pricing p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.detail-current-pricing strong {
  text-align: right;
}

.detail-current-pricing .detail-subtotal {
  padding-top: 8px;
  border-top: 1px solid var(--cream-dark);
  font-size: 16px;
}

.detail-color-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}

.detail-thumbnail {
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.detail-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  object-fit: cover;
}

.detail-thumbnail span {
  display: block;
  padding: 5px 2px 2px;
  font-size: 11px;
}

.detail-thumbnail:hover,
.detail-thumbnail.aktif {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 1px var(--gold-dark);
}

.detail-stock {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--gray);
  font-size: 13px;
}

.detail-description {
  margin-top: 24px;
}

.detail-description h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}

.detail-description p,
.detail-payment-note {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.detail-spec-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-spec-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) 1.3fr;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 14px;
}

.detail-spec-row dt {
  color: var(--gray);
  text-transform: capitalize;
}

.detail-spec-row dd {
  margin: 0;
}

.size-guide-title {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

.size-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
}

.size-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
  text-align: left;
}

.size-table caption {
  padding: 10px 12px;
  background: var(--cream);
  color: var(--gray);
  text-align: left;
}

.size-table th,
.size-table td {
  padding: 11px 12px;
  border-top: 1px solid var(--cream-dark);
}

.size-table thead th {
  background: var(--cream);
  font-weight: 600;
}

.size-table tbody th {
  font-weight: 600;
}

.btn-checkout:disabled {
  background: #dddddd;
  color: #555555;
  cursor: not-allowed;
  opacity: 1;
}

.detail-payment-note {
  margin-top: 8px;
  font-size: 12px;
}

.btn-add-cart {
  width: 100%;
  margin-top: 20px;
}

.cart-action-status {
  min-height: 1.5em;
  margin-top: 8px;
  color: #2d6a4f;
  font-size: 13px;
}

.cart-action-status.is-error,
.cart-stock-error {
  color: #a12622;
}

.cart-stock-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.cart-view-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.cart-view-link:hover {
  text-decoration: underline;
}

.cart-count {
  font-weight: 700;
}

/* HALAMAN KERANJANG */
.halaman-keranjang {
  min-height: 100vh;
  background: var(--cream);
}

.cart-page {
  width: min(100% - 40px, 1050px);
  margin: 0 auto;
  padding: 52px 0 80px;
}

.cart-page > .detail-page-title {
  margin-bottom: 28px;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.cart-item-image {
  width: 120px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--gray-light);
  object-fit: cover;
}

.cart-item-info h2 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

.cart-item-info p {
  margin-top: 5px;
  color: var(--gray);
  font-size: 13px;
}

.cart-item-variant {
  margin-bottom: 8px;
}

.cart-quantity {
  width: 120px;
  min-height: 40px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font: inherit;
}

.cart-item-info label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.cart-item-info .cart-line-total {
  margin-top: 12px;
  color: var(--black);
  font-size: 15px;
}

.cart-remove {
  padding: 8px 12px;
  border: 1px solid #c66;
  border-radius: var(--radius);
  background: var(--white);
  color: #a22;
  cursor: pointer;
}

.cart-remove:hover {
  background: #fff3f3;
}

.cart-summary {
  display: grid;
  max-width: 460px;
  gap: 12px;
  margin: 24px 0 0 auto;
  padding: 22px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.cart-summary h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

.cart-summary > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--gray);
  font-size: 14px;
}

.cart-summary > p strong {
  color: var(--black);
  text-align: right;
}

.cart-summary .cart-grand-total {
  padding-top: 12px;
  border-top: 1px solid var(--cream-dark);
  font-size: 16px;
}

.cart-checkout {
  width: 100%;
}

.cart-checkout:disabled {
  border-color: #cccccc;
  background: #dddddd;
  color: #555555;
  cursor: not-allowed;
}

.cart-summary > p:last-child {
  display: block;
  font-size: 12px;
}

.cart-empty {
  padding: 42px 24px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}

.cart-empty h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 400;
}

.cart-empty p {
  margin-bottom: 20px;
  color: var(--gray);
}

/* TAMPILAN TABLET DAN PONSEL */
@media (max-width: 768px) {
  .navbar {
    padding: 0 4%;
  }

  .nav-brand {
    font-size: 19px;
  }

  .nav-logo {
    height: 44px;
    margin-right: 10px;
  }

  .hamburger-btn {
    position: relative;
    z-index: 1001;
    display: flex;
  }

  .nav-links {
    position: fixed;
    z-index: 1000;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 48px 20px;
    background: var(--black);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .nav-links.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 16px;
  }

  .hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    min-height: 68vh;
    justify-content: center;
    padding: 56px 5%;
    text-align: center;
  }

  .hero-sub {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .produk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .keunggulan-grid {
    grid-template-columns: 1fr;
  }

  .detail-wrapper {
    flex-direction: column;
    gap: 28px;
  }

  .detail-page-title {
    margin-bottom: 24px;
  }

  .detail-img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .cart-item {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-item-image {
    width: 90px;
  }

  .cart-remove {
    grid-column: 2;
    justify-self: start;
  }

  .cart-summary {
    max-width: none;
  }
}

.member-welcome {
  width: min(92vw, 560px);
  max-width: 560px;
  max-height: min(92vh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--cream-dark);
  border-radius: 22px;
  color: var(--charcoal, #302b2c);
  background: #fffdfa;
  box-shadow: 0 24px 90px rgb(35 25 20 / 30%);
}

.member-welcome::backdrop {
  background: rgb(28 23 22 / 68%);
  backdrop-filter: blur(5px);
}

.member-welcome[open] { animation: member-welcome-in .36s ease-out both; }

.member-welcome-card {
  position: relative;
  padding: clamp(28px, 6vw, 48px);
  text-align: center;
}

.member-welcome-logo { width: 66px; height: 66px; margin-bottom: 14px; object-fit: contain; }
.member-welcome .section-label { margin: 0 0 9px; color: #9b753c; }
.member-welcome h2 { margin: 0; color: #302b2c; font-family: Georgia, "Times New Roman", serif; font-size: clamp(27px, 6vw, 38px); line-height: 1.13; }
.member-welcome-intro { max-width: 430px; margin: 14px auto 20px; color: #70686a; line-height: 1.65; }

.member-benefits { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.member-benefits li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 14px; border: 1px solid #e8ddd0; border-radius: 12px; background: #faf6ef; color: #625b5b; font-size: 14px; line-height: 1.5; }
.member-benefits li > span:first-child { color: #b79a68; font-size: 18px; }
.member-benefits strong { color: #302b2c; }

.member-welcome-actions { display: grid; gap: 10px; margin-top: 22px; }
.member-welcome-actions .btn { width: 100%; min-height: 48px; justify-content: center; cursor: pointer; font: inherit; text-decoration: none; }
.member-welcome-actions .btn-secondary { border: 1px solid #d8c8b5; color: #5e5145; background: #fffdfa; }
.member-welcome-note { margin: 14px 0 0; color: #807779; font-size: 12px; }
.member-welcome-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #746b6b; background: #f5efe8; font-size: 25px; line-height: 1; cursor: pointer; }

@keyframes member-welcome-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .member-welcome[open] { animation: none; }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 5%;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .spotlight-section {
    padding: 42px 5% 38px;
  }
  .spotlight-header {
    margin-bottom: 20px;
  }
  .spotlight-tabs {
    gap: 5px;
    margin-bottom: 16px;
  }
  .spotlight-tab {
    min-height: 40px;
    padding: 8px 9px;
    font-size: 11px;
  }
  .spotlight-section .spotlight-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .spotlight-products .produk-info {
    padding: 12px 10px 14px;
  }
  .spotlight-promo {
    min-height: 0;
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .spotlight-promo-mark {
    display: none;
  }
  .spotlight-promo-image {
    width: 100%;
    max-height: 250px;
  }
  .spotlight-promo-empty {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px;
  }
  .spotlight-promo-empty a {
    margin-left: 48px;
  }
  .spotlight-launch {
    grid-template-columns: 1fr;
  }
  .spotlight-launch-image-wrap,
  .spotlight-launch-image-wrap img {
    min-height: 250px;
    max-height: 360px;
  }

  .produk-grid,
  .kontak-grid {
    grid-template-columns: 1fr;
  }

  .keunggulan-card {
    padding: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .kontak-card {
    gap: 14px;
    padding: 20px;
  }

  .cart-page {
    width: min(100% - 28px, 1050px);
    padding-top: 32px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .cart-item-image {
    width: 72px;
  }

  .cart-item-info h2 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* NAVBAR KONSEP 3: kapsul ringkas, pencarian melebar, dan menu mobile */
@media (max-width: 1020px) {
  .navbar {
    width: 100%;
    min-height: 70px;
    margin: 0 auto;
    padding: 9px 16px;
    border-radius: 0;
  }

  .navbar.is-scrolled {
    width: calc(100% - 32px);
    margin: 12px auto 0;
    border-radius: 999px;
  }

  .nav-logo {
    height: 48px;
  }

  .hamburger-btn {
    position: relative;
    z-index: 1002;
    display: flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    padding: 7px;
    border: 1px solid rgb(227 195 133 / 40%);
    border-radius: 50%;
  }

  .bar {
    height: 2px;
  }

  .nav-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgb(227 195 133 / 26%);
    border-radius: 26px;
    background: rgb(17 17 17 / 98%);
    box-shadow: 0 20px 45px rgb(0 0 0 / 35%);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .nav-content.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .nav-links {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
    padding: 0;
    background: transparent;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-links {
    align-items: stretch;
  }
  .nav-links a {
    width: 100%;
    padding: 11px 3px;
    font-size: 13px;
  }
  .nav-search,
  .nav-search:focus-within,
  .nav-search:hover {
    width: 100%;
    height: 44px;
  }
  .nav-search input {
    opacity: 1;
  }
  .nav-search input {
    padding-left: 14px;
  }
  .nav-cart {
    justify-content: center;
  }
  .hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .navbar {
    width: 100%;
    padding: 8px 13px;
  }
  .navbar.is-scrolled {
    width: calc(100% - 22px);
    padding: 8px 13px;
  }
  .nav-logo {
    height: 43px;
    max-width: 135px;
  }
  .nav-brand-name {
    font-size: 16px;
    margin-left: 7px;
  }
  .nav-content {
    padding: 18px;
  }
}

.produk-empty {
  grid-column: 1 / -1;
  padding: 32px 12px;
  color: var(--gray);
  text-align: center;
}
.search-results-highlight .section-header {
  animation: search-arrive 0.8s ease;
}
@keyframes search-arrive {
  50% {
    transform: translateY(-4px);
  }
}

@keyframes spotlight-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spotlight-shimmer {
  55%, 100% { transform: translateX(100%); }
}
@keyframes spotlight-image-drift {
  from { transform: scale(1); }
  to { transform: scale(1.055); }
}
@keyframes spotlight-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgb(227 195 133 / 0%); }
  50% { box-shadow: 0 0 0 6px rgb(227 195 133 / 18%); }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-launch,
  .spotlight-launch-image-wrap::after,
  .spotlight-launch-image-wrap img,
  .spotlight-launch-stamp,
  .spotlight-promo-empty > span {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar,
  .nav-search,
  .nav-content,
  .nav-cart,
  .nav-cart-count,
  .nav-links a,
  .nav-links a::after {
    transition: none !important;
    animation: none !important;
  }
}

/* HALAMAN CHECKOUT */
.halaman-checkout {
  min-height: 100vh;
  background: var(--cream);
}
.checkout-page {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 38px 0 80px;
}
.checkout-heading {
  margin: 24px 0 28px;
}
.checkout-heading .section-label {
  margin-bottom: 6px;
}
.checkout-heading .detail-page-title {
  margin-bottom: 22px;
}
.checkout-steps {
  display: flex;
  gap: 10px;
  list-style: none;
  color: var(--gray);
  font-size: 12px;
}
.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-steps li:not(:last-child)::after {
  width: 28px;
  height: 1px;
  background: var(--cream-dark);
  content: "";
}
.checkout-steps .is-current {
  color: var(--gold-dark);
  font-weight: 700;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  align-items: start;
  gap: 24px;
}
.checkout-main {
  display: grid;
  gap: 16px;
}
.checkout-card,
.checkout-summary,
.checkout-empty {
  padding: 24px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.checkout-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.checkout-number {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid var(--gold-medium);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}
.checkout-card-heading h2,
.checkout-summary h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}
.checkout-card-heading p {
  margin-top: 3px;
  color: var(--gray);
  font-size: 13px;
}
.checkout-products {
  display: grid;
  gap: 14px;
}
.checkout-product {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cream-dark);
}
.checkout-product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.checkout-product > img {
  width: 76px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--gray-light);
  object-fit: cover;
}
.checkout-product-info h3 {
  font-size: 15px;
}
.checkout-product-info p {
  margin-top: 3px;
  color: var(--gray);
  font-size: 12px;
}
.checkout-product-price {
  display: grid;
  gap: 3px;
  text-align: right;
  font-size: 13px;
}
.checkout-product-price span {
  color: var(--gray);
}
.checkout-edit-link,
.checkout-back-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}
.checkout-edit-link:hover,
.checkout-back-link:hover {
  text-decoration: underline;
}
.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 14px;
}
.checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: #fff;
  color: var(--black);
  font: inherit;
  font-size: 13px;
}
.checkout-form textarea {
  resize: vertical;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--gold-dark);
  outline: 2px solid rgb(154 123 66 / 18%);
}
.checkout-location-search {
  display: flex;
  align-items: stretch;
  gap: 9px;
}
.checkout-location-search input {
  flex: 1 1 auto;
  min-width: 0;
}
.checkout-location-search .btn {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
}
.checkout-field-hint {
  color: var(--gray);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.checkout-location-results {
  display: grid;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: #fff;
}
.checkout-location-results[hidden] {
  display: none;
}
.checkout-location-option {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid var(--cream-dark);
  background: #fff;
  color: var(--black);
  text-align: left;
  cursor: pointer;
}
.checkout-location-option:last-child {
  border-bottom: 0;
}
.checkout-location-option:hover,
.checkout-location-option:focus-visible {
  background: var(--cream);
}
.checkout-location-option strong {
  font-size: 13px;
}
.checkout-location-option span {
  color: var(--gray);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
.checkout-location-selected {
  margin: 0;
  color: #3b6844;
  font-size: 12px;
  font-weight: 600;
}
.checkout-location-selected:empty {
  display: none;
}
.checkout-package-weight {
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
}
.checkout-rate-button {
  min-height: 44px;
}
.checkout-rate-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.checkout-rate-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.checkout-rate-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.checkout-rate-option:focus-within,
.checkout-rate-option:has(input:checked) {
  border-color: var(--gold-dark);
  background: #fffaf2;
  box-shadow: 0 0 0 2px rgb(154 123 66 / 12%);
}
.checkout-rate-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold-dark);
}
.checkout-rate-details {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.checkout-rate-details strong,
.checkout-rate-cost {
  color: var(--black);
  font-size: 12px;
}
.checkout-rate-details small {
  color: var(--gray);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
.checkout-rate-cost {
  text-align: right;
  white-space: nowrap;
}
.checkout-full {
  grid-column: 1 / -1;
}
.checkout-optional {
  color: var(--gray);
  font-weight: 400;
}
.checkout-pending {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #eadbb9;
  border-radius: var(--radius);
  background: #fffaf0;
}
.checkout-pending-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #f0e3c7;
  color: var(--gold-dark);
  font-size: 19px;
}
.checkout-pending strong {
  font-size: 13px;
}
.checkout-pending p,
.checkout-shipping-hint {
  margin-top: 4px;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.6;
}
.checkout-shipping-hint {
  margin-top: 12px;
}
.checkout-summary {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
}
.checkout-summary h2 {
  margin-bottom: 4px;
}
.checkout-total-row,
.checkout-grand-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.checkout-total-row {
  margin-bottom: 10px;
  color: var(--gray);
}
.checkout-total-row[hidden] {
  display: none;
}
.checkout-total-row strong,
.checkout-grand-total strong {
  color: var(--black);
  text-align: right;
}
.checkout-grand-total {
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
  font-size: 15px;
  font-weight: 700;
}
.checkout-submit {
  width: 100%;
  margin-top: 2px;
}
.checkout-submit:disabled {
  background: #dedbd4;
  color: #68645d;
  cursor: not-allowed;
  opacity: 1;
}
.checkout-action-status {
  min-height: 1.4em;
  color: #6b5424;
  font-size: 12px;
  line-height: 1.5;
}
.checkout-summary-note {
  color: var(--gray);
  font-size: 11px;
  line-height: 1.55;
}
.checkout-grand-total small {
  color: var(--gray);
  font-size: 10px;
  font-weight: 400;
}
.checkout-back-link {
  margin-top: 0;
  text-align: center;
}
.checkout-empty {
  padding: 42px;
  text-align: center;
}
.checkout-empty[hidden],
.checkout-layout[hidden] {
  display: none;
}
.checkout-empty h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 400;
}
.checkout-empty p {
  margin-bottom: 20px;
  color: var(--gray);
}

.detail-current-pricing .detail-packaging-fee {
  padding-top: 8px;
  border-top: 1px solid var(--cream-dark);
  color: var(--gray);
  font-size: 13px;
}
.detail-packaging-fee small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.detail-purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.detail-purchase-actions .btn-add-cart {
  width: 100%;
  min-height: 48px;
  margin-top: 0;
}
.detail-purchase-actions .btn-checkout-now {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 520px) {
  .detail-purchase-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 520px) {
  .checkout-page {
    width: min(100% - 28px, 1180px);
    padding-top: 26px;
  }
  .checkout-card,
  .checkout-summary {
    padding: 18px;
  }
  .checkout-form {
    grid-template-columns: 1fr;
  }
  .checkout-location-search {
    flex-direction: column;
  }
  .checkout-location-search .btn {
    width: 100%;
  }
  .checkout-full {
    grid-column: auto;
  }
  .checkout-product {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
  }
  .checkout-product > img {
    width: 62px;
  }
  .checkout-product-price {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
  .checkout-steps {
    gap: 6px;
    font-size: 11px;
  }
  .checkout-steps li:not(:last-child)::after {
    width: 12px;
  }
}

@media (max-width: 800px) {
  .custom-order-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 640px;
  }

  .custom-order-visual img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .custom-order-layout {
    gap: 24px;
  }
  .custom-order-content > h2 {
    font-size: 32px;
  }
  .custom-order-steps {
    gap: 16px;
    margin: 22px 0;
  }
  .custom-order-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }
  .custom-step-number {
    width: 32px;
    height: 32px;
  }
  .custom-order-cta {
    width: 100%;
  }
}
