/**
 * Mochabun Unified Cart & Checkout Stylesheet
 * 
 * Includes NanumSquareNeo typography, warm palette, interactive components,
 * sticky order summary, and [cart-mochabun] header shortcode.
 */

@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/NanumSquareNeo-Variable.woff2');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Quicksand:wght@500;600;700&display=swap');

@font-face {
  font-family: 'NanumSquareNeo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/NanumSquareNeo-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg-warm: #FAF7F2;
  --bg-white: #FFFFFF;
  --terracotta: #8D5B4C;
  --terracotta-dark: #734537;
  --terracotta-light: #F5EBE6;
  --warm-tan: #EFE8DE;
  --warm-tan-card: #F3ECE2;
  --text-dark: #2D2A26;
  --text-muted: #7A7571;
  --border-color: #E8E1D5;
  --font-heading: 'NanumSquareNeo', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Quicksand', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Global Cart Icon Shortcode [cart-mochabun] ── */
body .mc-header-cart,
body a.mc-header-cart,
.mc-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px !important;
  border-radius: 999px !important;
  background: #ffffff00 !important;
  background-color: #ffffff00 !important;
  border: none !important;
  color: inherit !important;
  text-decoration: none !important;
  font-family: var(--font-brand);
  font-size: 13.5px;
  font-weight: 700;
  transition: color 0.2s ease, opacity 0.2s ease;
  box-shadow: none !important;
  outline: none !important;
}

body .mc-header-cart:hover,
body .mc-header-cart:focus-visible,
body a.mc-header-cart:hover,
body a.mc-header-cart:focus-visible,
.mc-header-cart:hover,
.mc-header-cart:focus-visible {
  border: none !important;
  background: #ffffff00 !important;
  background-color: #ffffff00 !important;
  color: inherit !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 0.85;
}

body .mc-header-cart__icon-wrap,
body a.mc-header-cart .mc-header-cart__icon-wrap,
.mc-header-cart__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff00 !important;
  background-color: #ffffff00 !important;
  border: none !important;
  box-shadow: none !important;
}

body .mc-header-cart.font-color-change,
body .mc-header-cart .font-color-change,
.mc-header-cart.font-color-change,
.mc-header-cart .font-color-change {
  color: inherit;
  transition: color 0.25s ease, stroke 0.25s ease;
}

body .mc-header-cart .font-color-change svg,
body .mc-header-cart.font-color-change svg,
body .mc-header-cart svg.mc-header-cart__icon,
.mc-header-cart .font-color-change svg,
.mc-header-cart.font-color-change svg,
.mc-header-cart svg.mc-header-cart__icon {
  stroke: currentColor;
  transition: stroke 0.25s ease, color 0.25s ease;
}

/* ── AUTO COLOR CHANGE: Dark Background Support ── */
body .mc-header-cart.is-dark-bg,
body .mc-header-cart.is-dark-bg .mc-header-cart__icon-wrap,
body .mc-header-cart.is-dark-bg .mc-header-cart__text,
body .mc-header-cart.is-dark-bg .mc-header-cart__label,
body .mc-header-cart.is-dark-bg .mc-header-cart__amount,
body .mc-header-cart.is-dark-bg .font-color-change,
body a.mc-header-cart.is-dark-bg,
.mc-header-cart.is-dark-bg,
.mc-header-cart.is-dark-bg .mc-header-cart__icon-wrap,
.mc-header-cart.is-dark-bg .mc-header-cart__text,
.mc-header-cart.is-dark-bg .mc-header-cart__label,
.mc-header-cart.is-dark-bg .mc-header-cart__amount,
.mc-header-cart.is-dark-bg .font-color-change,
.dark .mc-header-cart,
.dark .mc-header-cart .font-color-change,
.is-dark .mc-header-cart,
.is-dark .mc-header-cart .font-color-change,
.dark-header .mc-header-cart,
.dark-header .mc-header-cart .font-color-change,
.header-dark .mc-header-cart,
.header-dark .mc-header-cart .font-color-change,
.elementor-element--dark .mc-header-cart,
.elementor-element--dark .mc-header-cart .font-color-change,
.has-dark-background .mc-header-cart,
.has-dark-background .mc-header-cart .font-color-change,
[data-theme="dark"] .mc-header-cart,
[data-header-color="dark"] .mc-header-cart,
.mac-bg-dark .mc-header-cart,
[data-mac-tone="dark"] .mc-header-cart,
[data-mac-tone="dark"] .mc-header-cart .font-color-change,
[data-mac-group][data-mac-tone="dark"] .mc-header-cart,
[data-elementor-type="header"].elementor-location-header [data-mac-tone="dark"] .mc-header-cart,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="dark"] .mc-header-cart {
  color: #FFFFFF !important;
}

body .mc-header-cart.is-dark-bg svg,
body .mc-header-cart.is-dark-bg svg path,
body .mc-header-cart.is-dark-bg svg line,
body .mc-header-cart.is-dark-bg svg.mc-header-cart__icon,
body .mc-header-cart.is-dark-bg svg.mc-header-cart__icon path,
body .mc-header-cart.is-dark-bg svg.mc-header-cart__icon line,
.mc-header-cart.is-dark-bg svg,
.mc-header-cart.is-dark-bg svg path,
.mc-header-cart.is-dark-bg svg line,
.mc-header-cart.is-dark-bg svg.mc-header-cart__icon,
.mc-header-cart.is-dark-bg svg.mc-header-cart__icon path,
.mc-header-cart.is-dark-bg svg.mc-header-cart__icon line,
.dark .mc-header-cart svg,
.dark .mc-header-cart svg path,
.dark .mc-header-cart svg line,
.is-dark .mc-header-cart svg,
.is-dark .mc-header-cart svg path,
.is-dark .mc-header-cart svg line,
.dark-header .mc-header-cart svg,
.dark-header .mc-header-cart svg path,
.dark-header .mc-header-cart svg line,
.header-dark .mc-header-cart svg,
.header-dark .mc-header-cart svg path,
.header-dark .mc-header-cart svg line,
.elementor-element--dark .mc-header-cart svg,
.elementor-element--dark .mc-header-cart svg path,
.elementor-element--dark .mc-header-cart svg line,
.has-dark-background .mc-header-cart svg,
.has-dark-background .mc-header-cart svg path,
.has-dark-background .mc-header-cart svg line,
[data-theme="dark"] .mc-header-cart svg,
[data-theme="dark"] .mc-header-cart svg path,
[data-theme="dark"] .mc-header-cart svg line,
[data-header-color="dark"] .mc-header-cart svg,
[data-header-color="dark"] .mc-header-cart svg path,
[data-header-color="dark"] .mc-header-cart svg line,
.mac-bg-dark .mc-header-cart svg,
.mac-bg-dark .mc-header-cart svg path,
.mac-bg-dark .mc-header-cart svg line,
[data-mac-tone="dark"] .mc-header-cart svg,
[data-mac-tone="dark"] .mc-header-cart svg path,
[data-mac-tone="dark"] .mc-header-cart svg line,
[data-mac-group][data-mac-tone="dark"] .mc-header-cart svg,
[data-mac-group][data-mac-tone="dark"] .mc-header-cart svg path,
[data-mac-group][data-mac-tone="dark"] .mc-header-cart svg line,
[data-elementor-type="header"].elementor-location-header [data-mac-tone="dark"] .mc-header-cart svg,
[data-elementor-type="header"].elementor-location-header [data-mac-tone="dark"] .mc-header-cart svg path,
[data-elementor-type="header"].elementor-location-header [data-mac-tone="dark"] .mc-header-cart svg line,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="dark"] .mc-header-cart svg,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="dark"] .mc-header-cart svg path,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="dark"] .mc-header-cart svg line {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

/* ── Light Background & Sticky White Header State ── */
body .mc-header-cart.is-light-bg,
body .mc-header-cart.is-light-bg .font-color-change,
body a.mc-header-cart.is-light-bg,
.mc-header-cart.is-light-bg,
.mc-header-cart.is-light-bg .font-color-change,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky .mc-header-cart,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky .mc-header-cart .font-color-change,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky [data-mac-group][data-mac-tone] .mc-header-cart,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="light"] .mc-header-cart {
  color: var(--text-dark, #2D2A26) !important;
}

body .mc-header-cart.is-light-bg svg,
body .mc-header-cart.is-light-bg svg path,
body .mc-header-cart.is-light-bg svg line,
body .mc-header-cart.is-light-bg svg.mc-header-cart__icon,
body .mc-header-cart.is-light-bg svg.mc-header-cart__icon path,
body .mc-header-cart.is-light-bg svg.mc-header-cart__icon line,
.mc-header-cart.is-light-bg svg,
.mc-header-cart.is-light-bg svg path,
.mc-header-cart.is-light-bg svg line,
.mc-header-cart.is-light-bg svg.mc-header-cart__icon,
.mc-header-cart.is-light-bg svg.mc-header-cart__icon path,
.mc-header-cart.is-light-bg svg.mc-header-cart__icon line,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky .mc-header-cart svg,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky .mc-header-cart svg path,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky .mc-header-cart svg line,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky [data-mac-group][data-mac-tone] .mc-header-cart svg,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky [data-mac-group][data-mac-tone] .mc-header-cart svg path,
[data-elementor-type="header"].elementor-location-header.mac-is-sticky [data-mac-group][data-mac-tone] .mc-header-cart svg line,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="light"] .mc-header-cart svg,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="light"] .mc-header-cart svg path,
[data-elementor-type="header"].elementor-location-header [data-mac-group][data-mac-tone="light"] .mc-header-cart svg line {
  stroke: var(--text-dark, #2D2A26) !important;
  color: var(--text-dark, #2D2A26) !important;
}

body .mc-header-cart svg,
body .mc-header-cart svg path,
body .mc-header-cart svg line,
body .mc-header-cart .mc-header-cart__text,
body .mc-header-cart .mc-header-cart__label,
body .mc-header-cart .mc-header-cart__amount {
  transition: stroke 0.25s ease, color 0.25s ease, opacity 0.2s ease;
}

.mc-cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terracotta);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(141, 91, 76, 0.35);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mc-cart-count.is-bumped {
  transform: scale(1.3);
}

.mc-header-cart__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mc-header-cart__label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.mc-header-cart__amount {
  font-size: 13px;
  color: var(--terracotta);
  font-weight: 700;
}

/* ── Main Unified Checkout Layout ── */
body.mc-checkout-page {
  background: var(--bg-warm);
  color: var(--text-dark);
  font-family: var(--font-brand);
  line-height: 1.5;
}

.mc-main-container {
  min-height: 80vh;
  padding: 20px 0 60px;
}

.mc-checkout-wrapper * {
  box-sizing: border-box;
}

.mc-checkout-wrapper .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0px 0px 0px;
}

.mc-checkout-wrapper a {
  text-decoration: none;
  color: inherit;
}

.mc-checkout-wrapper .breadcrumb,
.mc-checkout-wrapper .breadcrumb a,
.mc-checkout-wrapper .breadcrumb strong,
.mc-checkout-wrapper .breadcrumb span {
  font-size: 12px;
  font-family: 'Nanum Square Neo', 'NanumSquareNeo', sans-serif;
  padding: 20px 0 16px;
}

.mc-checkout-wrapper .breadcrumb a {
  color: var(--text-muted);
  transition: color 0.18s;
}

.mc-checkout-wrapper .breadcrumb a:hover {
  color: var(--terracotta);
}

.mc-checkout-wrapper .breadcrumb strong {
  color: var(--text-dark);
}

.mc-checkout-wrapper .checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0 24px;
}

.mc-checkout-wrapper .checkout-header h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.25;
}

.mc-checkout-wrapper .steps {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.mc-checkout-wrapper .step-badge {
  padding: 6px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.mc-checkout-wrapper .step-active {
  background: var(--terracotta);
  color: #FFFFFF;
}

.mc-checkout-wrapper .step-idle {
  background: var(--terracotta-light);
  color: var(--terracotta);
}

.mc-checkout-wrapper .step-arrow {
  color: var(--text-muted);
  font-size: 13px;
}

.mc-checkout-wrapper .main-grid {
  width: 1400px;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 32px;
  margin-bottom: 60px;
  align-items: start;
}

.mc-checkout-wrapper .mc-btn-back {
  background: none !important;
  border: none !important;
  color: var(--terracotta, #8D5B4C) !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 18px !important;
  text-decoration: none !important;
  transition: transform 0.16s ease, color 0.16s ease !important;
}

.mc-checkout-wrapper .mc-btn-back:hover {
  color: var(--terracotta-dark, #73483b) !important;
  transform: translateX(-4px);
}

.mc-checkout-wrapper .step-badge {
  cursor: pointer;
  user-select: none;
}

/* ── Step Button Mutual Exclusivity ── */
.mc-checkout-wrapper #mc-place-order,
.mc-checkout-wrapper:not(.is-step-shipping) #mc-place-order {
  display: none !important;
}

.mc-checkout-wrapper.is-step-shipping #mc-btn-to-shipping {
  display: none !important;
}

.mc-checkout-wrapper.is-step-shipping #mc-place-order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.mc-checkout-wrapper .mc-left-col {
  width: 100%;
}

.mc-checkout-wrapper .mc-right-col {
  width: 100%;
}

/* ── Card Box Components ── */
.mc-checkout-wrapper .card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.mc-checkout-wrapper .card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
}

.mc-checkout-wrapper .card-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0 20px;
}

.mc-free-shipping-tag {
  font-size: 12px;
  color: #2E7D32;
  font-weight: 700;
  background: #EAF5ED;
  padding: 4px 10px;
  border-radius: 99px;
}

.mc-secure-badge {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: var(--font-brand);
  font-weight: 600;
}

/* ── Cart Item Rows ── */
.mc-checkout-wrapper .cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #F5EFE6;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mc-checkout-wrapper .cart-item:last-child {
  border-bottom: none;
}

.mc-checkout-wrapper .cart-item.is-removing {
  opacity: 0;
  transform: translateX(-15px);
}

.mc-checkout-wrapper .item-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #F3ECE2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mc-checkout-wrapper .item-thumb img,
.mc-checkout-wrapper .item-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.mc-checkout-wrapper .item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.mc-checkout-wrapper .item-title a:hover {
  color: var(--terracotta);
}

.mc-checkout-wrapper .item-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mc-checkout-wrapper .item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--terracotta);
}

.mc-checkout-wrapper .qty-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-warm);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}

body .mc-checkout-wrapper .qty-btn,
body .mc-checkout-wrapper button.qty-btn {
  cursor: pointer;
  color: var(--text-dark) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-weight: bold;
  font-size: 16px;
  padding: 0 4px !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, transform 0.1s;
}

body .mc-checkout-wrapper .qty-btn:hover,
body .mc-checkout-wrapper button.qty-btn:hover {
  color: var(--terracotta) !important;
  background: transparent !important;
  background-color: transparent !important;
}

body .mc-checkout-wrapper .qty-btn:active,
body .mc-checkout-wrapper button.qty-btn:active {
  transform: scale(0.9);
}

.mc-checkout-wrapper .qty-val {
  min-width: 16px;
  text-align: center;
}

body .mc-checkout-wrapper .btn-del,
body .mc-checkout-wrapper button.btn-del {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  color: #9c928b !important;
  padding: 6px !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 6px !important;
  transition: color 0.18s, background 0.18s;
}

body .mc-checkout-wrapper .btn-del svg {
  stroke: currentColor;
}

body .mc-checkout-wrapper .btn-del:hover,
body .mc-checkout-wrapper button.btn-del:hover {
  color: #c62828 !important;
  background: #fde8e8 !important;
  background-color: #fde8e8 !important;
}

/* ── Form Inputs & Address Fields ── */
.mc-checkout-wrapper .mc-form-row,
.mc-checkout-wrapper .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

.mc-checkout-wrapper .mc-form-row::before,
.mc-checkout-wrapper .mc-form-row::after,
.mc-checkout-wrapper .form-row::before,
.mc-checkout-wrapper .form-row::after {
  display: none !important;
}

.mc-checkout-wrapper .mc-form-group,
.mc-checkout-wrapper .form-group {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.mc-checkout-wrapper .mc-form-row .mc-form-group,
/* ── Address Management & Tabbed View Components ── */
.mc-address-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body .btn-address-pill,
body .mc-checkout-wrapper .btn-address-pill {
  background: var(--terracotta, #8D5B4C) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--terracotta, #8D5B4C) !important;
  border-radius: 99px !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading, inherit) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.18s ease !important;
}

body .btn-address-pill:hover,
body .mc-checkout-wrapper .btn-address-pill:hover {
  background: var(--terracotta-dark, #73483b) !important;
  border-color: var(--terracotta-dark, #73483b) !important;
}

body .btn-address-pill--outline,
body .mc-checkout-wrapper .btn-address-pill--outline {
  background: #FFFFFF !important;
  color: var(--terracotta, #8D5B4C) !important;
  border: 1px solid #DDD1C9 !important;
}

body .btn-address-pill--outline:hover,
body .mc-checkout-wrapper .btn-address-pill--outline:hover {
  background: #FDF9F6 !important;
  border-color: var(--terracotta, #8D5B4C) !important;
}

.mc-address-select-group {
  margin-bottom: 18px;
}

.mc-select-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.mc-select-hint {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.mc-select-box {
  position: relative;
  width: 100%;
}

.mc-checkout-wrapper #mc-address-select,
body #mc-address-select,
.mc-address-select-control {
  width: 100%;
  padding: 13px 44px 13px 16px !important;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background-color: #FFFFFF;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.mc-checkout-wrapper #mc-address-select::-ms-expand,
body #mc-address-select::-ms-expand,
.mc-address-select-control::-ms-expand {
  display: none;
}

.mc-checkout-wrapper #mc-address-select:focus,
body #mc-address-select:focus,
.mc-address-select-control:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(141, 91, 76, 0.12);
}

.mc-select-box:not(:has(.mc-select-box__chevron)) #mc-address-select,
#mc-address-select:only-child {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373483b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 16px) center !important;
  background-size: 18px 18px !important;
}

.mc-select-box__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #73483b;
  line-height: 1;
  z-index: 2;
}

.mc-select-box__chevron svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: #73483b;
}

/* ── Address Tabs ── */
.mc-address-tabs {
  margin-bottom: 16px;
}

.mc-address-tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

body .mc-tab-btn,
body .mc-checkout-wrapper .mc-tab-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: var(--font-heading, inherit) !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.16s ease !important;
}

body .mc-tab-btn:hover,
body .mc-checkout-wrapper .mc-tab-btn:hover {
  color: var(--terracotta) !important;
  background: rgba(141, 91, 76, 0.05) !important;
}

body .mc-tab-btn.active,
body .mc-checkout-wrapper .mc-tab-btn.active {
  background: var(--terracotta-light, #F5EBE6) !important;
  color: var(--terracotta, #8D5B4C) !important;
}

/* ── Address Detail Box ── */
.mc-address-detail-box {
  background: #FDFBFA;
  border: 1.5px solid #EFE4DC;
  border-radius: 14px;
  padding: 18px 22px;
  transition: all 0.2s ease;
}

.mc-address-detail-box:hover {
  border-color: #DFCDC3;
  box-shadow: 0 3px 12px rgba(141, 91, 76, 0.06);
}

.mc-address-detail-box__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mc-address-badge {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--terracotta, #8D5B4C);
  padding: 3px 10px;
  border-radius: 6px;
}

.mc-address-active-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #2E7D32;
  background: #EAF5ED;
  padding: 3px 8px;
  border-radius: 99px;
}

.mc-address-detail-box__recipient {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.mc-address-detail-box__recipient strong {
  font-size: 16px;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.mc-detail-phone {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: 6px;
}

.mc-address-detail-box__address {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4A4A4A;
  margin-bottom: 12px;
}

.mc-address-detail-box__actions {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #F0E8E2;
}

body .mc-action-link,
body .mc-checkout-wrapper .mc-action-link {
  background: none !important;
  border: none !important;
  color: var(--terracotta, #8D5B4C) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: color 0.15s ease !important;
}

body .mc-action-link:hover,
body .mc-checkout-wrapper .mc-action-link:hover {
  color: var(--terracotta-dark, #73483b) !important;
  text-decoration: underline !important;
}

/* ── Address Form Edit Actions (Simpan & Batal) ── */
.mc-address-edit-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color, #E8E1D5);
}

.mc-address-edit-msg {
  margin-right: auto;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.mc-address-edit-msg.is-success {
  color: #2E7D32;
}

.mc-address-edit-msg.is-error {
  color: #D32F2F;
}

body .mc-checkout-wrapper .mc-btn-address-cancel,
body .mc-btn-address-cancel,
.mc-btn-address-cancel {
  background: #FFFFFF !important;
  color: var(--text-muted, #7A7571) !important;
  border: 1.5px solid #DDD1C9 !important;
  border-radius: 12px !important;
  padding: 10px 22px !important;
  font-family: var(--font-heading, inherit) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.18s ease !important;
  line-height: 1.3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body .mc-checkout-wrapper .mc-btn-address-cancel:hover,
body .mc-btn-address-cancel:hover,
.mc-btn-address-cancel:hover {
  background: #FDF9F6 !important;
  border-color: var(--terracotta, #8D5B4C) !important;
  color: var(--terracotta, #8D5B4C) !important;
  transform: translateY(-1px) !important;
}

body .mc-checkout-wrapper .mc-btn-address-save,
body .mc-btn-address-save,
.mc-btn-address-save {
  background: var(--terracotta, #8D5B4C) !important;
  background: linear-gradient(135deg, #8D5B4C 0%, #734537 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 26px !important;
  font-family: var(--font-heading, inherit) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(141, 91, 76, 0.28) !important;
  transition: all 0.18s ease !important;
  line-height: 1.3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body .mc-checkout-wrapper .mc-btn-address-save:hover,
body .mc-btn-address-save:hover,
.mc-btn-address-save:hover {
  background: #734537 !important;
  background: linear-gradient(135deg, #7A4B3D 0%, #63382C 100%) !important;
  box-shadow: 0 6px 18px rgba(141, 91, 76, 0.35) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 480px) {
  .mc-address-edit-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .mc-address-edit-msg {
    width: 100%;
    margin-right: 0;
  }
  .mc-btn-address-cancel,
  .mc-btn-address-save {
    flex: 1;
    text-align: center;
  }
}

.mc-checkout-wrapper label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.mc-checkout-wrapper input[type="text"],
.mc-checkout-wrapper input[type="email"],
.mc-checkout-wrapper input[type="tel"],
.mc-checkout-wrapper select,
.mc-checkout-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-warm);
  font-family: var(--font-brand);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.mc-checkout-wrapper input:focus,
.mc-checkout-wrapper select:focus,
.mc-checkout-wrapper textarea:focus {
  border-color: var(--terracotta);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(141, 91, 76, 0.1);
}

.mc-checkout-wrapper .courier-box {
  background: var(--terracotta-light);
  border: 1px solid var(--terracotta);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  gap: 12px;
}

.mc-checkout-wrapper .courier-free {
  color: #2E7D32;
  white-space: nowrap;
}

/* ── Custom Payment Option Radio Cards ── */
.mc-checkout-wrapper .pay-option {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  background: #FAF7F2;
  transition: all 0.2s ease;
  position: relative;
}

.mc-checkout-wrapper .pay-option:last-child {
  margin-bottom: 0;
}

.mc-checkout-wrapper .pay-option input[type="radio"] {
  display: none;
}

.mc-checkout-wrapper .custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  transition: all 0.18s ease;
}

.mc-checkout-wrapper .pay-option.selected {
  border: 1.5px solid var(--terracotta);
  background: #F5EBE6;
}

.mc-checkout-wrapper .pay-option.selected .custom-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--terracotta);
  border-radius: 50%;
}

.mc-checkout-wrapper .pay-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.mc-checkout-wrapper .pay-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.mc-checkout-wrapper .mc-payment-box {
  padding: 12px 18px;
  margin: -6px 0 12px;
  border: 1px solid var(--terracotta);
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: #fff;
  font-size: 13px;
  color: var(--text-dark);
}

/* ── Right Column: Sticky Summary Card ── */
.mc-checkout-wrapper .summary-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 90px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

/* ── Promotion % Button in Order Summary ── */
.mc-checkout-wrapper .mc-promo-section {
  margin-bottom: 16px;
}

body .mc-checkout-wrapper .btn-promotion,
body .mc-checkout-wrapper button.btn-promotion,
.btn-promotion {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 13px 16px !important;
  border-radius: 14px !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1.5px dashed var(--terracotta, #8D5B4C) !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(141, 91, 76, 0.04) !important;
  font-family: var(--font-brand) !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

body .mc-checkout-wrapper .btn-promotion:hover,
body .mc-checkout-wrapper button.btn-promotion:hover,
.btn-promotion:hover {
  background: #FAF5F2 !important;
  border-color: var(--terracotta-dark, #73483b) !important;
  border-style: solid !important;
  box-shadow: 0 4px 14px rgba(141, 91, 76, 0.12) !important;
  transform: translateY(-1px);
}

.btn-promotion__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-promotion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--terracotta, #8D5B4C);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(141, 91, 76, 0.25);
}

.btn-promotion__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark, #2B1F1A);
  letter-spacing: 0.2px;
}

.btn-promotion__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-promotion__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2E7D32;
  background: #EAF5ED;
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px solid #C8E6C9;
}

.btn-promotion__hint {
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta, #8D5B4C);
}

/* ── Active Coupon Tags ── */
.mc-active-coupons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mc-coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EAF5ED;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.mc-coupon-tag button {
  background: none;
  border: none;
  color: #2E7D32;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
}

/* ── Promotion Modal Popup ── */
body.mc-modal-open {
  overflow: hidden !important;
}

.mc-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.mc-promo-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mc-promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 23, 18, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.mc-promo-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  border: 1px solid #F0E6E0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.mc-promo-modal.is-open .mc-promo-modal__dialog {
  transform: scale(1) translateY(0);
}

.mc-promo-modal__header {
  padding: 20px 24px;
  background: #FAF6F3;
  border-bottom: 1px solid #EFE6E1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mc-promo-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-promo-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--terracotta, #8D5B4C);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(141, 91, 76, 0.25);
}

.mc-promo-modal__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark, #2B1F1A);
  margin: 0 0 2px 0;
  line-height: 1.25;
}

.mc-promo-modal__desc {
  font-size: 12px;
  color: var(--text-muted, #7A6F69);
  margin: 0;
  line-height: 1.35;
}

body #mc-promo-modal .mc-promo-modal__close,
body #mc-promo-modal button.mc-promo-modal__close,
.mc-promo-modal__close {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 1px solid #E2D7D0 !important;
  background: #EFE6E0 !important;
  background-color: #EFE6E0 !important;
  background-image: none !important;
  color: #4A3E39 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
  animation: none !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  outline: none !important;
  outline-style: none !important;
}

body #mc-promo-modal .mc-promo-modal__close:hover,
body #mc-promo-modal button.mc-promo-modal__close:hover,
.mc-promo-modal__close:hover {
  background: #E2D7D0 !important;
  background-color: #E2D7D0 !important;
  color: #2B1F1A !important;
  border-color: #D5C6BD !important;
  transform: none !important;
  animation: none !important;
}

.mc-promo-modal__body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  background: #FFFFFF;
}

/* Custom Scrollbar for Modal Body */
.mc-promo-modal__body::-webkit-scrollbar {
  width: 6px;
}

.mc-promo-modal__body::-webkit-scrollbar-thumb {
  background: #E0D4CD;
  border-radius: 4px;
}

/* Section 1: Input Card */
.mc-promo-modal__input-card {
  background: #FAF7F5;
  border: 1px solid #EDE3DC;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.mc-promo-modal__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #5A4E48;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.mc-promo-modal__input-row {
  display: flex;
  gap: 8px;
}

.mc-promo-modal__input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #DDD1C9 !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  font-family: var(--font-brand) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #2B1F1A !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.18s ease !important;
}

.mc-promo-modal__input:focus {
  border-color: var(--terracotta, #8D5B4C) !important;
  box-shadow: 0 0 0 3px rgba(141, 91, 76, 0.12) !important;
}

body #mc-promo-modal .mc-promo-modal__btn-apply,
body #mc-promo-modal button.mc-promo-modal__btn-apply,
.mc-promo-modal__btn-apply {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  background: var(--terracotta, #8D5B4C) !important;
  background-color: var(--terracotta, #8D5B4C) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
  flex-shrink: 0 !important;
  outline: none !important;
  outline-style: none !important;
}

body #mc-promo-modal .mc-promo-modal__btn-apply:hover,
body #mc-promo-modal button.mc-promo-modal__btn-apply:hover,
.mc-promo-modal__btn-apply:hover {
  background: var(--terracotta-dark, #73483b) !important;
  background-color: var(--terracotta-dark, #73483b) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* Section 2: Coupons List */
.mc-promo-modal__list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mc-promo-modal__available-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta, #8D5B4C);
  background: #F5EBE6;
  padding: 2px 8px;
  border-radius: 10px;
}

.mc-promo-modal__coupons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-coupon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px dashed #E2D7D0;
  background: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.mc-coupon-item:hover {
  border-color: var(--terracotta, #8D5B4C);
  background: #FDFBF9;
  box-shadow: 0 4px 14px rgba(141, 91, 76, 0.06);
}

.mc-coupon-item.is-applied {
  border-style: solid;
  border-color: #A5D6A7;
  background: #F6FAF7;
}

.mc-coupon-item__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 90px;
  flex-shrink: 0;
}

.mc-coupon-item__discount {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--terracotta, #8D5B4C);
  line-height: 1.2;
  white-space: nowrap;
}

.mc-coupon-item.is-applied .mc-coupon-item__discount {
  color: #2E7D32;
}

.mc-coupon-item__code {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #F5EBE6;
  color: var(--terracotta, #8D5B4C);
  padding: 2px 7px;
  border-radius: 5px;
  margin-top: 4px;
}

.mc-coupon-item.is-applied .mc-coupon-item__code {
  background: #EAF5ED;
  color: #2E7D32;
}

.mc-coupon-item__center {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #5A4E48;
  line-height: 1.35;
}

.mc-coupon-item__desc {
  margin: 0 0 4px 0;
  font-weight: 500;
  color: #3E322C;
}

.mc-coupon-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mc-coupon-item__meta-tag {
  font-size: 10px;
  font-weight: 600;
  color: #8C7F78;
  background: #F0EBE7;
  padding: 2px 6px;
  border-radius: 4px;
}

.mc-coupon-item__right {
  flex-shrink: 0;
}

body #mc-promo-modal .btn-coupon-action,
body #mc-promo-modal button.btn-coupon-action,
.btn-coupon-action {
  border: none !important;
  background: var(--terracotta, #8D5B4C) !important;
  background-color: var(--terracotta, #8D5B4C) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
  outline: none !important;
  outline-style: none !important;
}

body #mc-promo-modal .btn-coupon-action:hover,
body #mc-promo-modal button.btn-coupon-action:hover,
.btn-coupon-action:hover {
  background: var(--terracotta-dark, #73483b) !important;
  background-color: var(--terracotta-dark, #73483b) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

body #mc-promo-modal .btn-coupon-action.is-applied,
body #mc-promo-modal button.btn-coupon-action.is-applied,
.btn-coupon-action.is-applied {
  border: 1px solid #A5D6A7 !important;
  background: #EAF5ED !important;
  background-color: #EAF5ED !important;
  background-image: none !important;
  color: #2E7D32 !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
}

body #mc-promo-modal .btn-coupon-action.is-applied:hover,
body #mc-promo-modal button.btn-coupon-action.is-applied:hover,
.btn-coupon-action.is-applied:hover {
  background: #FDEDEC !important;
  background-color: #FDEDEC !important;
  color: #C62828 !important;
  border-color: #FADBD8 !important;
}

/* Modal Footer */
.mc-promo-modal__footer {
  padding: 16px 24px !important;
  border-top: 1px solid #EFE6E1 !important;
  background: #FAF6F3 !important;
  box-sizing: border-box !important;
}

body #mc-promo-modal .btn-modal-close,
body #mc-promo-modal button.btn-modal-close,
.btn-modal-close {
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1.5px solid #DDD1C9 !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #5A4E48 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.16s ease !important;
  outline: none !important;
  outline-style: none !important;
}

body #mc-promo-modal .btn-modal-close:hover,
body #mc-promo-modal button.btn-modal-close:hover,
.btn-modal-close:hover {
  background: #F7EFEA !important;
  background-color: #F7EFEA !important;
  color: var(--terracotta, #8D5B4C) !important;
  border-color: var(--terracotta, #8D5B4C) !important;
  box-shadow: 0 4px 12px rgba(141, 91, 76, 0.1) !important;
}

/* ── Global Outline / Focus Ring Reset for All Mochabun Checkout Buttons ── */
body .mc-checkout-wrapper button,
body .mc-checkout-wrapper button:focus,
body .mc-checkout-wrapper button:focus-visible,
body .mc-checkout-wrapper button:active,
body #mc-promo-modal button,
body #mc-promo-modal button:focus,
body #mc-promo-modal button:focus-visible,
body #mc-promo-modal button:active,
body .btn-promotion,
body .btn-promotion:focus,
body .btn-promotion:focus-visible,
body .mc-promo-modal__close,
body .mc-promo-modal__close:focus,
body .mc-promo-modal__close:focus-visible,
body .btn-coupon-action,
body .btn-coupon-action:focus,
body .btn-coupon-action:focus-visible,
body .btn-modal-close,
body .btn-modal-close:focus,
body .btn-modal-close:focus-visible,
body #mc-place-order,
body #mc-place-order:focus,
body #mc-place-order:focus-visible,
body .btn-checkout,
body .btn-checkout:focus,
body .btn-checkout:focus-visible,
body .btn-apply,
body .btn-apply:focus,
body .btn-apply:focus-visible,
body [data-mc-qty-minus],
body [data-mc-qty-minus]:focus,
body [data-mc-qty-plus],
body [data-mc-qty-plus]:focus,
body [data-mc-remove],
body [data-mc-remove]:focus,
body [data-mc-remove-coupon],
body [data-mc-remove-coupon]:focus {
  outline: none !important;
  outline-style: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

body .mc-checkout-wrapper button::-moz-focus-inner,
body #mc-promo-modal button::-moz-focus-inner {
  border: 0 !important;
  padding: 0 !important;
}

/* Modal Responsive */
@media (max-width: 520px) {
  .mc-promo-modal__header {
    padding: 16px;
  }
  .mc-promo-modal__body {
    padding: 16px;
  }
  .mc-coupon-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mc-coupon-item__right {
    width: 100%;
  }
  .btn-coupon-action {
    width: 100%;
    text-align: center;
  }
}

.mc-checkout-wrapper .price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dark);
}

.mc-checkout-wrapper .price-total {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--terracotta);
}

body .mc-checkout-wrapper .btn-checkout,
body .mc-checkout-wrapper button.btn-checkout,
body #mc-place-order {
  width: 100% !important;
  padding: 14px !important;
  border-radius: 99px !important;
  background: #8D5B4C !important;
  background-color: #8D5B4C !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: none !important;
  font-family: var(--font-brand) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  margin-top: 20px !important;
  transition: background 0.2s, transform 0.1s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(141, 91, 76, 0.2) !important;
}

body .mc-checkout-wrapper .btn-checkout:hover,
body .mc-checkout-wrapper button.btn-checkout:hover,
body #mc-place-order:hover {
  background: #734537 !important;
  background-color: #734537 !important;
  color: #FFFFFF !important;
}

body .mc-checkout-wrapper .btn-checkout:active,
body .mc-checkout-wrapper button.btn-checkout:active,
body #mc-place-order:active {
  transform: scale(0.99) !important;
}

body .mc-checkout-wrapper .btn-checkout:disabled,
body .mc-checkout-wrapper button.btn-checkout:disabled,
body #mc-place-order:disabled {
  background: #cfc9c5 !important;
  background-color: #cfc9c5 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ── Step Button Mutual Exclusivity Override Safety ── */
/* In step 1 (Keranjang), strictly hide Selesaikan Pesanan button */
body .mc-checkout-wrapper:not(.is-step-shipping) #mc-place-order,
body .mc-checkout-wrapper:not(.is-step-shipping) button#mc-place-order,
.mc-checkout-wrapper:not(.is-step-shipping) #mc-place-order,
.mc-checkout-wrapper #mc-place-order {
  display: none !important;
}

/* In step 2 (Pengiriman), strictly hide Lanjut ke Pengiriman and show Selesaikan Pesanan */
body .mc-checkout-wrapper.is-step-shipping #mc-btn-to-shipping,
body .mc-checkout-wrapper.is-step-shipping button#mc-btn-to-shipping,
.mc-checkout-wrapper.is-step-shipping #mc-btn-to-shipping {
  display: none !important;
}

body .mc-checkout-wrapper.is-step-shipping #mc-place-order,
body .mc-checkout-wrapper.is-step-shipping button#mc-place-order,
.mc-checkout-wrapper.is-step-shipping #mc-place-order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.mc-checkout-wrapper .trust-box {
  background: var(--warm-tan-card);
  border-radius: 14px;
  padding: 18px;
  margin-top: 20px;
  font-size: 12px;
}

.mc-checkout-wrapper .trust-item {
  margin-bottom: 8px;
  line-height: 1.4;
}

.mc-checkout-wrapper .trust-item:last-child {
  margin-bottom: 0;
}

.mc-checkout-wrapper .trust-item strong {
  font-family: var(--font-heading);
  color: var(--terracotta);
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ── Empty Cart State ── */
.mc-empty-cart {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.mc-empty-cart__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px auto;
  line-height: 1;
}

.woocommerce img,
.woocommerce-page img {
  height: auto;
  max-width: 100%;
}

.mc-empty-cart__img,
.mc-empty-cart .mc-empty-cart__icon img {
  display: block;
  max-width: 150px;
  width: auto;
  height: 180px !important;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(141, 91, 76, 0.08));
}

.mc-empty-cart__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-align: center;
}

.mc-empty-cart__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ── Empty Cart CTA (Matches Elementor .shop-now-gsap & Centered) ── */
#mc-cart-card > .mc-cart-items-list .mc-empty-cart__action,
.mc-empty-cart__action {
  margin-top: 24px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}

#mc-cart-card > .mc-cart-items-list .shop-now-gsap,
.mc-empty-cart .shop-now-gsap {
  --arrow-x: 0px;
  --line-scale: 1;
  --link-color: #000000;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  align-self: center !important;
  margin: 0 auto !important;
  width: max-content !important;
  max-width: 100%;
  text-align: center !important;
}

.mc-empty-cart .shop-now-gsap:is(a, button),
.mc-empty-cart .shop-now-gsap :is(a, button) {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto !important;
  min-width: 0 !important;
  padding: 4px 0 8px !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--link-color) !important;
  font-family: var(--font-heading), "NanumSquareNeo", "Nanum Square Neo", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  overflow: visible;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-empty-cart .shop-now-gsap:is(a, button)::before,
.mc-empty-cart .shop-now-gsap :is(a, button)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(var(--line-scale));
  transform-origin: left center;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-empty-cart .shop-now-gsap:is(a, button)::after,
.mc-empty-cart .shop-now-gsap :is(a, button)::after {
  content: "➞";
  display: inline-block;
  flex: 0 0 auto;
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1;
  transform: translate3d(var(--arrow-x), 0, 0);
  pointer-events: none;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-empty-cart .shop-now-gsap:hover,
.mc-empty-cart .shop-now-gsap:hover a,
.mc-empty-cart .shop-now-gsap a:hover {
  --arrow-x: 6px;
  --line-scale: 0.9;
  --link-color: #BF7950;
  color: #BF7950 !important;
}

.mc-empty-cart .shop-now-gsap:hover a::before,
.mc-empty-cart .shop-now-gsap a:hover::before {
  transform: scaleX(0.9);
}

.mc-empty-cart .shop-now-gsap:hover a::after,
.mc-empty-cart .shop-now-gsap a:hover::after {
  transform: translate3d(6px, 0, 0);
}

.mc-empty-cart .shop-now-gsap:is(a, button):focus-visible,
.mc-empty-cart .shop-now-gsap :is(a, button):focus-visible {
  outline: 2px solid #BF7950;
  outline-offset: 5px;
}

/* ── Responsive Mobile/Tablet Breakpoint ── */
@media (max-width: 900px) {
  .mc-checkout-wrapper .container {
    padding: 24px 16px 0 16px;
  }
  .mc-checkout-wrapper .main-grid,
  .mc-checkout-wrapper .mc-form-row,
  .mc-checkout-wrapper .form-row {
    grid-template-columns: 1fr !important;
  }
  .mc-checkout-wrapper .summary-card {
    position: static;
  }
  .mc-checkout-wrapper .checkout-header h1 {
    font-size: 24px;
  }
  .mc-checkout-wrapper .card-box {
    padding: 20px;
  }
  .mc-checkout-wrapper .cart-item {
    grid-template-columns: 64px 1fr auto auto;
    gap: 12px;
  }
  .mc-checkout-wrapper .item-thumb {
    width: 64px;
    height: 64px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MULTISTEP ADDRESS MODAL (TOKOPEDIA STYLE)
   ══════════════════════════════════════════════════════════════ */
#mc-address-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  transition: opacity 0.24s ease, visibility 0.24s ease !important;
}

#mc-address-modal:not(.is-open) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

#mc-address-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
}

.mc-ms-dialog {
  max-width: 600px !important;
  width: 95% !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  border: 1px solid #EAE1D5 !important;
  padding: 0 !important;
  box-shadow: 0 20px 50px rgba(45, 42, 38, 0.2) !important;
  font-family: var(--font-brand, 'Quicksand', sans-serif) !important;
  animation: mcMsPopIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes mcMsPopIn {
  from {
    transform: scale(0.96) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.mc-ms-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 24px !important;
  border-bottom: 1px solid #EFE8DE !important;
  background: #FAF7F2 !important;
  position: relative !important;
}

.mc-ms-btn-back {
  background: #FFFFFF !important;
  border: 1px solid #E2D9CE !important;
  padding: 6px !important;
  cursor: pointer !important;
  color: #5A4A42 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all 0.18s ease !important;
  outline: none !important;
  box-shadow: 0 2px 5px rgba(45, 42, 38, 0.05) !important;
}

.mc-ms-btn-back:hover {
  background: #F5EBE6 !important;
  border-color: #8D5B4C !important;
  color: #8D5B4C !important;
}

.mc-ms-title {
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
  font-size: 17.5px !important;
  font-weight: 800 !important;
  color: #2D2A26 !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  flex: 1 !important;
  text-align: center !important;
}

.mc-ms-btn-close {
  background: #FFFFFF !important;
  border: 1px solid #E2D9CE !important;
  font-size: 15px !important;
  color: #7A7571 !important;
  cursor: pointer !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.18s ease !important;
  outline: none !important;
  box-shadow: 0 2px 5px rgba(45, 42, 38, 0.05) !important;
}

.mc-ms-btn-close:hover {
  background: #8D5B4C !important;
  border-color: #8D5B4C !important;
  color: #FFFFFF !important;
  transform: rotate(90deg);
}

/* ── Stepper Bar ── */
.mc-ms-stepper {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  padding: 16px 24px 14px 24px !important;
  border-bottom: 1px solid #EFE8DE !important;
  background: #FAF7F2 !important;
}

.mc-ms-step {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  flex: 1 !important;
  position: relative !important;
}

.mc-ms-step-circle {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 2px solid #D5CBC0 !important;
  color: #8C8075 !important;
  background: #FFFFFF !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 6px !important;
  transition: all 0.2s ease !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

.mc-ms-step.active .mc-ms-step-circle {
  background: #8D5B4C !important;
  border-color: #8D5B4C !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(141, 91, 76, 0.35) !important;
}

.mc-ms-step.completed .mc-ms-step-circle {
  background: #8D5B4C !important;
  border-color: #8D5B4C !important;
  color: #FFFFFF !important;
}

.mc-ms-step-line {
  flex: 1 !important;
  height: 2px !important;
  background: #E5DDD2 !important;
  margin: 13px 8px 0 8px !important;
  border-radius: 2px !important;
  transition: background 0.25s ease !important;
}

.mc-ms-step-line.completed {
  background: #8D5B4C !important;
}

.mc-ms-step-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #8C8075 !important;
  line-height: 1.35 !important;
  max-width: 115px !important;
  font-family: var(--font-brand, sans-serif) !important;
}

.mc-ms-step.active .mc-ms-step-label {
  color: #2D2A26 !important;
  font-weight: 800 !important;
}

/* ── Modal Body & Panes ── */
.mc-ms-body {
  padding: 24px !important;
  max-height: 72vh !important;
  overflow-y: auto !important;
  background: #FFFFFF !important;
  box-sizing: border-box !important;
}

.mc-ms-pane-heading {
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #2D2A26 !important;
  margin: 0 0 16px 0 !important;
}

/* ── Step 1 Search Box ── */
.mc-ms-search-wrap {
  display: flex !important;
  align-items: center !important;
  border: 1.5px solid #E2D9CE !important;
  border-radius: 12px !important;
  padding: 11px 16px !important;
  background: #FFFFFF !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.mc-ms-search-wrap:focus-within {
  border-color: #8D5B4C !important;
  box-shadow: 0 0 0 3.5px rgba(141, 91, 76, 0.15) !important;
}

.mc-ms-search-icon {
  display: flex !important;
  align-items: center !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  color: #8D5B4C !important;
}

.mc-ms-search-icon svg {
  stroke: #8D5B4C !important;
}

.mc-ms-search-input {
  width: 100% !important;
  border: none !important;
  outline: none !important;
  font-family: var(--font-brand, inherit) !important;
  font-size: 13.5px !important;
  color: #2D2A26 !important;
  padding: 0 !important;
  background: transparent !important;
}

.mc-ms-search-input::placeholder {
  color: #A39891 !important;
}

.mc-ms-search-clear {
  background: #FAF7F2 !important;
  border: 1px solid #E2D9CE !important;
  color: #7A7571 !important;
  font-size: 12px !important;
  cursor: pointer !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  outline: none !important;
  transition: all 0.15s ease !important;
}

.mc-ms-search-clear:hover {
  background: #8D5B4C !important;
  border-color: #8D5B4C !important;
  color: #FFFFFF !important;
}

/* ── GPS Trigger Option ── */
.mc-ms-gps-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  border: 1px solid #E8E1D5 !important;
  border-radius: 12px !important;
  margin-top: 14px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  background: #FAF7F2 !important;
}

.mc-ms-gps-trigger:hover {
  background: #F5EBE6 !important;
  border-color: #8D5B4C !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(141, 91, 76, 0.1) !important;
}

.mc-ms-gps-icon svg {
  stroke: #8D5B4C !important;
}

.mc-ms-gps-text {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #2D2A26 !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

/* ── Search Results ── */
.mc-ms-results-divider {
  padding: 12px 0 8px 0 !important;
  font-size: 12px !important;
  color: #8C8075 !important;
  font-weight: 500 !important;
  border-bottom: 1px solid #EFE8DE !important;
  margin-top: 10px !important;
}

.mc-ms-results-list {
  max-height: 240px !important;
  overflow-y: auto !important;
  margin-top: 6px !important;
}

.mc-ms-result-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  cursor: pointer !important;
  border-bottom: 1px solid #F7F3EE !important;
  border-radius: 10px !important;
  transition: background 0.14s ease !important;
}

.mc-ms-result-item:hover {
  background: #FAF7F2 !important;
}

.mc-ms-result-pin {
  font-size: 18px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.mc-ms-result-content strong {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #2D2A26 !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

.mc-ms-result-content span {
  display: block !important;
  font-size: 12.5px !important;
  color: #7A7571 !important;
  margin-top: 2px !important;
}

.mc-ms-footer-action {
  margin-top: 20px !important;
  padding-top: 12px !important;
}

.mc-ms-link-manual {
  background: none !important;
  border: none !important;
  color: #8D5B4C !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  outline: none !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
  font-family: var(--font-brand, inherit) !important;
}

.mc-ms-link-manual:hover {
  color: #734537 !important;
  text-decoration: underline !important;
}

/* ── Step 2 Map & Pinpoint ── */
.mc-ms-map-card {
  position: relative !important;
  height: 270px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1.5px solid #E2D9CE !important;
  background: #EFECE6 !important;
  box-shadow: 0 4px 16px rgba(45, 42, 38, 0.06) !important;
  z-index: 1 !important;
}

.mc-ms-map-canvas {
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.mc-ms-map-pin {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -100%) !important;
  pointer-events: none !important;
  z-index: 999 !important;
  text-align: center !important;
}

.mc-ms-pin-bubble {
  font-size: 38px !important;
  line-height: 1 !important;
  filter: drop-shadow(0 4px 8px rgba(141, 91, 76, 0.45)) !important;
  animation: mcPinBounce 1.6s ease-in-out infinite alternate !important;
}

@keyframes mcPinBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.mc-ms-pin-shadow {
  width: 14px !important;
  height: 6px !important;
  background: rgba(45, 42, 38, 0.25) !important;
  border-radius: 50% !important;
  margin: 2px auto 0 auto !important;
}

.mc-ms-map-floating-bar {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 999 !important;
}

/* Ensure Leaflet container stays within card */
.mc-ms-map-card .leaflet-container {
  font-family: inherit !important;
  width: 100% !important;
  height: 100% !important;
}

.mc-ms-map-card .leaflet-control-attribution {
  font-size: 9px !important;
  background: rgba(250, 247, 242, 0.75) !important;
  color: #7A7571 !important;
}

.mc-ms-float-btn {
  background: #FFFFFF !important;
  border: 1px solid #E2D9CE !important;
  border-radius: 999px !important;
  padding: 7px 15px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #4A3E39 !important;
  box-shadow: 0 3px 10px rgba(45, 42, 38, 0.1) !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.18s ease !important;
  font-family: var(--font-brand, inherit) !important;
}

.mc-ms-float-btn:hover {
  background: #FAF7F2 !important;
  border-color: #8D5B4C !important;
  color: #8D5B4C !important;
  transform: translateY(-1px) !important;
}

.mc-ms-loc-info-box {
  background: #FAF7F2 !important;
  border: 1px solid #EAE2D7 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin-top: 14px !important;
}

.mc-ms-loc-info-box__title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #2D2A26 !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

.mc-ms-loc-info-box__desc {
  font-size: 13px !important;
  color: #6B625B !important;
  margin: 4px 0 0 0 !important;
  line-height: 1.45 !important;
}

.mc-ms-notice-box {
  background: #F7F2EB !important;
  border: 1px solid #E9DFD3 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin-top: 12px !important;
}

.mc-ms-notice-box__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #5A483E !important;
  margin-bottom: 2px !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

.mc-ms-notice-box__desc {
  font-size: 12px !important;
  color: #7D7167 !important;
  line-height: 1.45 !important;
}

.mc-ms-step2-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-top: 20px !important;
  padding-top: 8px !important;
}

.mc-ms-btn-primary {
  background: #8D5B4C !important;
  background: linear-gradient(135deg, #8D5B4C 0%, #814F41 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 13px 24px !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(141, 91, 76, 0.28) !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
}

.mc-ms-btn-primary:hover {
  background: #734537 !important;
  box-shadow: 0 6px 18px rgba(141, 91, 76, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* ── Step 3 Lengkapi Detail Alamat ── */
.mc-ms-pinpoint-card {
  background: #FAF7F2 !important;
  border: 1px solid #EAE2D7 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin-bottom: 18px !important;
}

.mc-ms-pinpoint-card__label {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #8D5B4C !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

.mc-ms-pinpoint-card__val {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #2D2A26 !important;
  margin-top: 4px !important;
}

.mc-ms-field-group {
  margin-bottom: 14px !important;
}

.mc-ms-field-label-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 6px !important;
}

.mc-ms-field-label-row label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #3B312C !important;
  margin: 0 !important;
  font-family: var(--font-heading, 'NanumSquareNeo', sans-serif) !important;
}

.mc-ms-counter {
  font-size: 11.5px !important;
  color: #9E938A !important;
  font-weight: 500 !important;
}

.mc-ms-input,
.mc-ms-textarea {
  width: 100% !important;
  border: 1.5px solid #E0D7CB !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  font-family: var(--font-brand, inherit) !important;
  font-size: 13.5px !important;
  color: #2D2A26 !important;
  background: #FFFFFF !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.mc-ms-input:focus,
.mc-ms-textarea:focus {
  border-color: #8D5B4C !important;
  box-shadow: 0 0 0 3.5px rgba(141, 91, 76, 0.15) !important;
}

.mc-ms-input::placeholder,
.mc-ms-textarea::placeholder {
  color: #A39891 !important;
}

.mc-ms-step3-footer {
  margin-top: 22px !important;
}

.mc-ms-btn-submit {
  width: 100% !important;
  padding: 14px 24px !important;
  font-size: 14.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* ── Fast Search Wilayah & Kode Pos Autocomplete Dropdown ── */
.mc-form-group,
.mc-ms-field-group {
  position: relative;
}

.mc-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #FFFFFF;
  border: 1.5px solid #E2D9D2;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(141, 91, 76, 0.16);
  max-height: 240px;
  overflow-y: auto;
  z-index: 99999;
  padding: 6px 0;
  display: none;
}

.mc-autocomplete-item {
  padding: 9px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
  font-size: 13.5px;
  color: #333333;
  text-align: left;
  border-bottom: 1px solid #F5EFEB;
}

.mc-autocomplete-item:last-child {
  border-bottom: none;
}

.mc-autocomplete-item:hover,
.mc-autocomplete-item.is-selected {
  background: #F8F5F2;
  color: #8D5B4C;
}

.mc-autocomplete-item strong {
  font-weight: 700;
  font-size: 14px;
  color: #2D2D2D;
}

.mc-autocomplete-item.is-selected strong,
.mc-autocomplete-item:hover strong {
  color: #8D5B4C;
}

.mc-autocomplete-sub {
  font-size: 12px;
  color: #7A7A7A;
}

.mc-autocomplete-highlight {
  color: #8D5B4C;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mc-autocomplete-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: #888888;
  font-style: italic;
  text-align: center;
}

.elementor-kit-8 h1 {
  font-size: 24pt;
}

/* ── Order Received (Thank You) Page (Mochabun Warm Theme) ── */
body.mc-order-received-page,
.woocommerce-order-received,
.mc-order-received-wrapper {
  background: var(--bg-warm);
  color: var(--text-dark);
  font-family: var(--font-brand);
}

.mc-order-received-wrapper {
  padding: 100px 0 60px;
  width: 100%;
}

.mc-order-received-container,
.mc-order-received-wrapper .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Order Hero / Thank You Banner */
.order-success-hero {
  background: #eeebe3;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 0px 32px 40px 32px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.check-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--terracotta-light);
  border: 2px solid var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.order-celebrate-video-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-celebrate-video {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  display: block;
}
.order-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.order-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.order-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--warm-tan-card);
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Key Meta Overview Bar (5 Kolom) */
.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.meta-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 14px;
  min-width: 0;
}
.meta-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.meta-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Box Card */
.card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0 20px;
}

/* Order Item List */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}
.item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--warm-tan-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: 2px;
}
.item-thumb img,
.item-thumb .item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}
.item-info {
  flex: 1;
  min-width: 0;
}
.item-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.4;
  font-family: var(--font-heading);
}
.item-color {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.4;
}
.item-other-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.item-price {
  font-weight: 800;
  font-size: 14.5px;
  font-family: var(--font-heading);
  color: var(--terracotta);
  text-align: left;
  margin-bottom: 12px;
}
.item-note {
  margin-top: 10px;
}
.item-note-label {
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-family: var(--font-heading);
}
.item-note-content {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Summary Totals */
.summary-table {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.summary-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 16px;
  font-weight: 800;
  color: var(--terracotta-dark);
  font-family: var(--font-heading);
}

/* Two Columns Section (Payment & Delivery) */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.info-tile {
  background: var(--bg-warm);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
}
.info-tile-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-tile-content {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Action Buttons */
.action-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--terracotta);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(141, 91, 76, 0.2);
}
.btn-pill:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
  color: #FFFFFF !important;
}
.btn-pill-outline {
  background: transparent;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta) !important;
  box-shadow: none;
}
.btn-pill-outline:hover {
  background: var(--terracotta-light);
  color: var(--terracotta-dark) !important;
}

/* Responsive */
@media (max-width: 860px) {
  .order-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
  .card-box, .order-success-hero {
    padding: 24px 20px;
  }
  .mc-order-received-wrapper {
    padding: 24px 0 40px;
  }
}



