/* ============================================================
   AMANAH OFFICIAL — Main Stylesheet
   File   : public/assets/css/amanah.css
   Author : AutoLaris
   Version: 1.0.0
   ============================================================ */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--linen);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ── CSS VARIABLES ── */
:root {
  /* Brand Colors */
  --hot-pink: #E8547A;
  --soft-pink: #F4A7BE;
  --pale-pink: #FDF0F5;
  --rose-white: #FFF5F8;
  --lavender: #C8A8D8;
  --lav-dark: #9B72B8;
  --dark-plum: #2D1B33;
  --mid-plum: #5C2A40;
  --muted-rose: #9B6B88;
  --border-pink: #F0D0DC;
  --white: #FFFFFF;
  --linen: #FDF0F5;

  /* Gradients */
  --grad-hero: linear-gradient(160deg, #4A1535 0%, #7A2558 40%, #9B3070 100%);
  --grad-card: linear-gradient(145deg, #FFF0F5, #FCE4EF);
  --grad-banner-1: linear-gradient(135deg, #E8547A, #C8386A);
  --grad-banner-2: linear-gradient(135deg, #9B72B8, #7A50A0);
  --grad-banner-3: linear-gradient(135deg, #F4729A, #D85080);

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 48px;
  --spacing-2xl: 96px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(232, 84, 122, 0.06);
  --shadow-md: 0 8px 24px rgba(232, 84, 122, 0.12);
  --shadow-lg: 0 16px 40px rgba(232, 84, 122, 0.18);

  /* Container */
  --container: 1280px;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.1;
  color: var(--dark-plum);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.text-pink {
  color: var(--hot-pink);
}

.text-plum {
  color: var(--dark-plum);
}

.text-lav {
  color: var(--lav-dark);
}

.text-muted {
  color: var(--muted-rose);
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lav-dark);
  margin-bottom: 10px;
  font-family: system-ui;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #C8386A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 84, 122, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--soft-pink);
  color: var(--soft-pink);
}

.btn-wa {
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background: #1EAD54;
}

.btn-dark {
  background: var(--dark-plum);
  color: var(--soft-pink);
}

.btn-dark:hover {
  background: var(--mid-plum);
}

/* ── TOP BAR ── */
.topbar {
  background: var(--hot-pink);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-pink);
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.navbar-search {
  flex: 1;
  max-width: 500px;
  margin: 0 32px;
  position: relative;
}

.navbar-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-pink);
  font-size: 13px;
  background: var(--rose-white);
  color: var(--dark-plum);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.navbar-search input:focus {
  border-color: var(--hot-pink);
}

.navbar-search input::placeholder {
  color: var(--muted-rose);
}

.navbar-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-wishlist,
.btn-cart,
.btn-login,
.btn-account {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  font-size: 12px;
  color: var(--muted-rose);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.btn-wishlist:hover,
.btn-login:hover,
.btn-account:hover {
  color: var(--hot-pink);
}

.btn-wishlist .icon,
.btn-cart .icon,
.btn-login .icon,
.btn-account .icon {
  font-size: 20px;
}

.btn-logout {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-rose);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-logout:hover {
  color: var(--hot-pink);
}

.btn-cart-main {
  background: var(--hot-pink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cart-main:hover {
  background: #C8386A;
}

.cart-badge {
  background: var(--white);
  color: var(--hot-pink);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

/* ── HERO SECTION ── */
.hero {
  background: var(--grad-hero);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Ccircle cx='25' cy='25' r='1.2' fill='%23F5D5DF' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.04;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 130, 152, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-marble {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 84, 122, 0.12);
  border: 1px solid rgba(232, 84, 122, 0.3);
  border-radius: 3px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--soft-pink);
}

.hero-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--soft-pink);
}

.hero-logo {
  margin-bottom: 24px;
}

.hero-logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--soft-pink);
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 225, 235, 0.65);
  line-height: 1.78;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero stats grid */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 84, 122, 0.22);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(232, 84, 122, 0.45);
}

.stat-num {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--soft-pink);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.stat-sub {
  font-size: 11px;
  color: rgba(255, 210, 225, 0.4);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--mid-plum);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 225, 235, 0.85);
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 210, 225, 0.2);
}

/* ── BANNER HERO ── */
.banner-section {
  padding: 24px 0;
}

.banner-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  padding: 0 56px;
  box-shadow: 0 8px 32px rgba(232, 84, 122, 0.25);
}

.banner-deco-circle-1 {
  position: absolute;
  right: 80px;
  top: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.banner-deco-circle-2 {
  position: absolute;
  right: 140px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.banner-deco-emoji {
  position: absolute;
  right: 40px;
  top: 20px;
  font-size: 120px;
  opacity: 0.22;
  pointer-events: none;
}

.banner-body {
  position: relative;
  z-index: 1;
}

.banner-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.banner-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.banner-body p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}

.btn-banner {
  background: var(--white);
  color: var(--hot-pink);
  padding: 11px 26px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 14px;
  display: inline-block;
  transition: all 0.2s;
}

.btn-banner:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.banner-dot {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  width: 8px;
}

.banner-dot.active {
  background: rgba(255, 255, 255, 0.9);
  width: 22px;
}

/* ── TRUST CARDS ── */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
}

.trust-card-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.trust-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-plum);
  display: block;
}

.trust-card-sub {
  font-size: 11px;
  color: var(--muted-rose);
  display: block;
}

/* ── CATEGORY FILTER ── */
.category-section {
  padding: 0 0 24px;
}

.category-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--border-pink);
}

.category-wrap h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  margin-bottom: 14px;
  font-family: system-ui;
}

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

.btn-cat {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-pink);
  background: var(--white);
  color: var(--muted-rose);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cat:hover,
.btn-cat.active {
  border-color: var(--hot-pink);
  background: var(--hot-pink);
  color: var(--white);
}

/* ── PRODUCT GRID ── */
.product-section {
  padding: 0 0 40px;
}

.product-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted-rose);
  margin-left: 8px;
}

.sort-select {
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12px;
  color: var(--dark-plum);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--soft-pink);
}

.product-card-img {
  height: 160px;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--white);
  background: var(--hot-pink);
}

.product-badge.badge-sale {
  background: var(--hot-pink);
}

.product-badge.badge-top {
  background: #FFB800;
}

.product-badge.badge-new {
  background: var(--lav-dark);
}

.product-badge.badge-hot {
  background: #E85000;
}

.btn-wishlist-card {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.btn-wishlist-card.active {
  background: var(--hot-pink);
}

.product-card-body {
  padding: 12px 14px 16px;
}

.product-cat {
  font-size: 10px;
  color: var(--lav-dark);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-plum);
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: system-ui;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--hot-pink);
}

.product-price-orig {
  font-size: 11px;
  color: var(--muted-rose);
  text-decoration: line-through;
}

.product-discount {
  font-size: 10px;
  background: #FEE2EC;
  color: var(--hot-pink);
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--muted-rose);
}

.stars {
  color: #FFB800;
}

.btn-add-cart {
  width: 100%;
  background: transparent;
  color: var(--hot-pink);
  border: 1.5px solid var(--hot-pink);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-add-cart:hover {
  background: var(--hot-pink);
  color: var(--white);
}

/* Product empty state */
.product-empty {
  text-align: center;
  padding: 60px;
  color: var(--muted-rose);
  grid-column: 1 / -1;
}

.product-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ── WA CTA BANNER ── */
.wa-cta {
  margin-bottom: 40px;
}

.wa-cta-wrap {
  background: linear-gradient(135deg, #E8547A, #9B72B8);
  border-radius: var(--radius-lg);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(232, 84, 122, 0.25);
  flex-wrap: wrap;
}

.wa-cta-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wa-cta-wrap h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 4px;
}

.wa-cta-wrap p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark-plum);
  padding: 56px 0 24px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.93);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 210, 225, 0.42);
  margin-bottom: 14px;
}

.footer-contact-item {
  font-size: 13px;
  color: rgba(255, 210, 225, 0.42);
  margin-bottom: 6px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--soft-pink);
  margin-bottom: 14px;
  font-family: system-ui;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 210, 225, 0.4);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--soft-pink);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-btn {
  background: rgba(232, 84, 122, 0.15);
  border: 1px solid rgba(232, 84, 122, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  color: var(--soft-pink);
  cursor: pointer;
  transition: background 0.2s;
}

.footer-social-btn:hover {
  background: rgba(232, 84, 122, 0.3);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(232, 84, 122, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 210, 225, 0.25);
  font-family: system-ui;
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .trust-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .navbar {
    padding: 0 20px;
  }

  .navbar-search {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-bar {
    gap: 16px;
    padding: 12px 20px;
  }

  .trust-divider {
    display: none;
  }

  .banner-section {
    padding: 16px 0;
  }

  .banner-wrap {
    padding: 0 28px;
    height: 220px;
  }

  .wa-cta-wrap {
    padding: 24px 28px;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

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

  .trust-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0;
  }
}

/* ============================================================
   INNER PAGES — Shared Styles
   ============================================================ */

/* Page Hero (shared banner top semua inner page) */
.page-hero {
  background: var(--grad-hero);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Ccircle cx='25' cy='25' r='1.2' fill='%23F5D5DF' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  opacity: 0.04;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 225, 235, 0.6);
  margin-bottom: 16px;
  font-family: system-ui;
}

.page-breadcrumb a {
  color: rgba(255, 225, 235, 0.6);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--soft-pink);
}

.page-breadcrumb span {
  color: rgba(255, 225, 235, 0.3);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 225, 235, 0.65);
  font-size: 15px;
  font-family: system-ui;
  max-width: 560px;
  line-height: 1.7;
}

/* Page Content Wrapper */
.page-content {
  padding: 64px 0;
}

/* Prose / long-form text */
.prose {
  max-width: 800px;
  font-family: system-ui, sans-serif;
  color: var(--dark-plum);
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.4rem;
  margin: 36px 0 14px;
  color: var(--dark-plum);
}

.prose h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--mid-plum);
  font-family: system-ui;
  font-weight: 700;
}

.prose p {
  margin-bottom: 16px;
  font-size: 14.5px;
}

.prose ul,
.prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose li {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.prose ul li {
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

.prose strong {
  color: var(--dark-plum);
  font-weight: 700;
}

.prose a {
  color: var(--hot-pink);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--lav-dark);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border-pink);
  margin: 32px 0;
}

.prose blockquote {
  border-left: 3px solid var(--hot-pink);
  padding: 12px 20px;
  background: var(--pale-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--mid-plum);
}

/* Step Cards (Cara Belanja, Pembayaran, dll) */
.step-grid {
  display: grid;
  gap: 20px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-banner-1);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: Georgia, serif;
}

.step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: system-ui;
  color: var(--dark-plum);
  font-weight: 700;
}

.step-body p {
  font-size: 13.5px;
  color: var(--muted-rose);
  line-height: 1.65;
  font-family: system-ui;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pale-pink);
  color: var(--hot-pink);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Info Box */
.info-box {
  background: var(--pale-pink);
  border: 1px solid var(--border-pink);
  border-left: 4px solid var(--hot-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-family: system-ui;
  font-size: 13.5px;
  color: var(--dark-plum);
  line-height: 1.65;
}

.info-box strong {
  color: var(--hot-pink);
}

.info-box.lavender {
  background: #F8F0FF;
  border-color: #D0B0E8;
  border-left-color: var(--lav-dark);
}

.info-box.lavender strong {
  color: var(--lav-dark);
}

/* Payment Methods Grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.payment-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
}

.payment-card:hover {
  border-color: var(--hot-pink);
  box-shadow: var(--shadow-sm);
}

.payment-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.payment-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 4px;
}

.payment-card p {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Tracking form */
.track-form {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 640px;
  box-shadow: var(--shadow-sm);
}

.track-form h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.track-form p {
  font-size: 14px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-plum);
  margin-bottom: 6px;
  font-family: system-ui;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: system-ui;
  color: var(--dark-plum);
  background: var(--rose-white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--hot-pink);
  background: var(--white);
}

.form-group input::placeholder {
  color: var(--muted-rose);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--pale-pink);
}

.faq-question.active {
  background: var(--pale-pink);
  color: var(--hot-pink);
}

.faq-arrow {
  font-size: 12px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-question.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 13.5px;
  color: var(--muted-rose);
  font-family: system-ui;
  line-height: 1.7;
  border-top: 1px solid var(--border-pink);
}

.faq-answer.open {
  display: block;
}

/* FAQ Category tabs */
.faq-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.faq-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-pink);
  background: var(--white);
  color: var(--muted-rose);
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-tab.active,
.faq-tab:hover {
  border-color: var(--hot-pink);
  background: var(--hot-pink);
  color: var(--white);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.22s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--soft-pink);
}

.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.blog-card-img.bg-pink {
  background: linear-gradient(135deg, #FFF0F5, #FCE4EF);
}

.blog-card-img.bg-lav {
  background: linear-gradient(135deg, #F8F0FF, #EDD8FF);
}

.blog-card-img.bg-peach {
  background: linear-gradient(135deg, #FFF5EE, #FFE4CC);
}

.blog-card-body {
  padding: 20px;
}

.blog-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hot-pink);
  background: var(--pale-pink);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-family: system-ui;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-plum);
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: system-ui;
}

.blog-card p {
  font-size: 13px;
  color: var(--muted-rose);
  line-height: 1.6;
  font-family: system-ui;
  margin-bottom: 14px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hot-pink);
  font-family: system-ui;
  transition: gap 0.2s;
}

.btn-read-more:hover {
  gap: 10px;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse>* {
  direction: ltr;
}

.about-visual {
  background: var(--grad-card);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  border: 1px solid var(--border-pink);
}

.about-copy h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.about-copy p {
  font-size: 14.5px;
  color: var(--muted-rose);
  line-height: 1.8;
  font-family: system-ui;
  margin-bottom: 14px;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.value-card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 12.5px;
  color: var(--muted-rose);
  font-family: system-ui;
  line-height: 1.55;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot-pink), var(--lav-dark));
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  font-family: Georgia, serif;
}

.team-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Sidebar layout (for blog) */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-widget h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-plum);
  margin-bottom: 14px;
  font-family: system-ui;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-pink);
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--pale-pink);
  color: var(--hot-pink);
  font-size: 12px;
  font-weight: 600;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-tag:hover {
  background: var(--hot-pink);
  color: var(--white);
}

.sidebar-post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.sidebar-post-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.sidebar-post h5 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
  line-height: 1.4;
  margin-bottom: 3px;
}

.sidebar-post span {
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Responsive inner pages */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid.reverse {
    direction: ltr;
  }

  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .step-card {
    flex-direction: column;
    gap: 14px;
  }

  .value-cards {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0;
}

/* Gallery */
.product-gallery {}

.product-gallery-main {
  background: var(--grad-card);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 140px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.thumb-item {
  background: var(--grad-card);
  border: 2px solid var(--border-pink);
  border-radius: var(--radius-sm);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: border-color 0.2s;
  overflow: hidden;
}

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

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--hot-pink);
}

/* Product Info */
.product-info {}

.product-info-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lav-dark);
  margin-bottom: 8px;
  font-family: system-ui;
  display: block;
}

.product-info h1 {
  font-size: 1.75rem;
  color: var(--dark-plum);
  margin-bottom: 14px;
  line-height: 1.25;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.rating-stars {
  color: #FFB800;
  font-size: 15px;
}

.rating-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.rating-count {
  font-size: 13px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.rating-divider {
  width: 1px;
  height: 14px;
  background: var(--border-pink);
}

.product-price-box {
  background: var(--pale-pink);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
}

.product-price-main {
  font-size: 2rem;
  font-weight: 900;
  color: var(--hot-pink);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 6px;
}

.product-price-strike-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-strike {
  font-size: 14px;
  color: var(--muted-rose);
  text-decoration: line-through;
  font-family: system-ui;
}

.price-discount-badge {
  background: var(--hot-pink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: system-ui;
}

/* Variant selector */
.variant-section {
  margin-bottom: 20px;
}

.variant-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.variant-label span {
  font-weight: 400;
  color: var(--muted-rose);
}

.variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variant-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark-plum);
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.18s;
}

.variant-btn:hover,
.variant-btn.active {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
  color: var(--hot-pink);
}

.variant-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Color variant */
.color-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--border-pink);
  cursor: pointer;
  transition: border-color 0.18s;
  position: relative;
}

.color-btn.active {
  border-color: var(--hot-pink);
}

.color-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
}

/* Qty selector */
.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.qty-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--rose-white);
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--hot-pink);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--pale-pink);
}

.qty-input {
  width: 52px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--border-pink);
  border-right: 1px solid var(--border-pink);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  background: white;
  outline: none;
}

.qty-stock {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.qty-stock strong {
  color: #155724;
}

/* CTA buttons */
.product-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-buy-now {
  background: var(--hot-pink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-buy-now:hover {
  background: #C8386A;
  transform: translateY(-1px);
}

.btn-add-to-cart {
  background: white;
  color: var(--hot-pink);
  border: 2px solid var(--hot-pink);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-to-cart:hover {
  background: var(--pale-pink);
}

.btn-wishlist-detail {
  width: 100%;
  background: transparent;
  color: var(--muted-rose);
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-wishlist-detail:hover,
.btn-wishlist-detail.active {
  color: var(--hot-pink);
  border-color: var(--hot-pink);
  background: var(--pale-pink);
}

/* Promo strip */
.promo-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px dashed var(--border-pink);
  border-bottom: 1px dashed var(--border-pink);
  margin-bottom: 18px;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dark-plum);
  font-family: system-ui;
}

.promo-item span:first-child {
  font-size: 16px;
}

/* Product tabs */
.product-tabs-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-pink);
}

.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-pink);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-rose);
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  color: var(--hot-pink);
  border-bottom-color: var(--hot-pink);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui;
  font-size: 13.5px;
}

.spec-table tr:nth-child(even) td {
  background: var(--pale-pink);
}

.spec-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-pink);
  vertical-align: top;
}

.spec-table td:first-child {
  font-weight: 700;
  color: var(--dark-plum);
  width: 35%;
  background: var(--rose-white);
}

/* Review cards */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot-pink), var(--lav-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: Georgia, serif;
  flex-shrink: 0;
}

.review-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.review-date {
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.review-stars {
  color: #FFB800;
  font-size: 12px;
}

.review-text {
  font-size: 13.5px;
  color: var(--dark-plum);
  font-family: system-ui;
  line-height: 1.65;
}

.review-tag {
  display: inline-block;
  background: var(--pale-pink);
  color: var(--hot-pink);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: system-ui;
  margin-top: 8px;
}

/* Related products */
.related-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-pink);
}

.related-section h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* Produk serupa — 2 kolom (2 baris) di semua ukuran layar */
.related-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 480px) {
  .related-grid {
    gap: 10px;
  }
}

/* ============================================================
   KERANJANG / CART PAGE
   ============================================================ */

.cart-page {
  padding: 40px 0 64px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* Cart header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-pink);
  margin-bottom: 16px;
}

.cart-header h2 {
  font-size: 1.2rem;
  font-family: system-ui;
  font-weight: 700;
}

.btn-clear-cart {
  background: none;
  border: none;
  color: var(--muted-rose);
  font-size: 13px;
  font-family: system-ui;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.btn-clear-cart:hover {
  color: var(--hot-pink);
}

/* Select all */
.cart-select-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--rose-white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 13px;
  font-family: system-ui;
  color: var(--dark-plum);
}

.cart-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--hot-pink);
  cursor: pointer;
}

/* Cart items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.cart-item-info {}

.cart-item-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lav-dark);
  font-family: system-ui;
  margin-bottom: 3px;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 4px;
  line-height: 1.35;
}

.cart-item-variant {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.cart-item-price-col {
  text-align: right;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--hot-pink);
  font-family: Georgia, serif;
  white-space: nowrap;
}

.cart-item-price-orig {
  font-size: 11px;
  color: var(--muted-rose);
  text-decoration: line-through;
  font-family: system-ui;
  display: block;
  margin-bottom: 2px;
}

.cart-item-subtotal {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Cart empty */
.cart-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
}

.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.cart-empty h3 {
  font-size: 1.2rem;
  color: var(--dark-plum);
  margin-bottom: 8px;
}

.cart-empty p {
  font-size: 14px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 24px;
}

/* Cart summary */
.cart-summary {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.cart-summary h3 {
  font-size: 1.1rem;
  font-family: system-ui;
  font-weight: 700;
  color: var(--dark-plum);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-pink);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-family: system-ui;
  color: var(--dark-plum);
  margin-bottom: 10px;
}

.summary-row span:last-child {
  font-weight: 600;
}

.summary-row.discount span:last-child {
  color: #27AE60;
}

.summary-row.ongkir span:last-child {
  color: #27AE60;
}

.summary-divider {
  height: 1px;
  background: var(--border-pink);
  margin: 14px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.summary-total span:first-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.summary-total-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--hot-pink);
  font-family: Georgia, serif;
}

.btn-checkout {
  width: 100%;
  background: var(--hot-pink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-checkout:hover {
  background: #C8386A;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-checkout-wa {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

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

/* Voucher */
.voucher-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-pink);
}

.voucher-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 8px;
  display: block;
}

.voucher-input-row {
  display: flex;
  gap: 8px;
}

.voucher-input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: system-ui;
  color: var(--dark-plum);
  background: var(--rose-white);
  outline: none;
}

.voucher-input:focus {
  border-color: var(--hot-pink);
}

.btn-voucher {
  background: var(--dark-plum);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-voucher:hover {
  background: var(--mid-plum);
}

/* Payment methods icons in summary */
.payment-icons {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.payment-icon-pill {
  background: var(--rose-white);
  border: 1px solid var(--border-pink);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
  font-weight: 600;
}

/* Responsive product detail */
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .product-cta {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: auto 80px 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 14px;
    align-items: start;
  }

  .cart-item-price-col {
    grid-column: 2 / -1;
    text-align: left;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .cart-item-price-orig {
    margin-bottom: 0;
  }

  .cart-item-subtotal {
    margin-top: 0;
    width: 100%;
  }

  .cart-item-actions {
    grid-column: 2 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .product-gallery-main {
    height: 280px;
    font-size: 100px;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .cart-item {
    grid-template-columns: auto 64px 1fr;
    gap: 10px 12px;
    padding: 14px;
  }

  .cart-item-img {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .cart-item-name {
    font-size: 13px;
  }
}

/* ============================================================
   WISHLIST PAGE
   ============================================================ */

.wishlist-page {
  padding: 40px 0 64px;
}

/* Header */
.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-pink);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.wishlist-header h1 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wishlist-count-badge {
  background: var(--hot-pink);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: system-ui;
}

.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-share-wish {
  background: none;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-rose);
  font-family: system-ui;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-share-wish:hover {
  border-color: var(--hot-pink);
  color: var(--hot-pink);
}

.btn-add-all-cart {
  background: var(--hot-pink);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  font-family: system-ui;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-add-all-cart:hover {
  background: #C8386A;
}

/* Filter sort bar */
.wishlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.wishlist-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wishlist-filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-pink);
  background: var(--white);
  color: var(--muted-rose);
  font-size: 12px;
  font-weight: 600;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
}

.wishlist-filter-btn.active,
.wishlist-filter-btn:hover {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
  color: var(--hot-pink);
}

/* Wishlist grid */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Wishlist card */
.wishlist-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: all 0.22s;
}

.wishlist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--soft-pink);
}

.wishlist-card-img {
  height: 200px;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

/* Remove from wishlist button */
.btn-remove-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
  z-index: 2;
}

.btn-remove-wish:hover {
  background: var(--hot-pink);
  transform: scale(1.1);
}

.btn-remove-wish:hover::after {
  content: '✕';
  color: white;
  font-size: 14px;
  font-weight: 700;
}

/* Stock badge */
.stock-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: system-ui;
}

.stock-badge.in-stock {
  background: #D4EDDA;
  color: #155724;
}

.stock-badge.low-stock {
  background: #FFF3CD;
  color: #856404;
}

.stock-badge.out-stock {
  background: #F8D7DA;
  color: #721C24;
}

/* Card body */
.wishlist-card-body {
  padding: 14px 16px 16px;
}

.wishlist-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lav-dark);
  font-family: system-ui;
  margin-bottom: 4px;
  display: block;
}

.wishlist-card-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.wishlist-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--hot-pink);
}

.wishlist-price-orig {
  font-size: 11px;
  color: var(--muted-rose);
  text-decoration: line-through;
}

.wishlist-disc {
  font-size: 10px;
  background: #FEE2EC;
  color: var(--hot-pink);
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.wishlist-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 12px;
}

.wishlist-meta .stars {
  color: #FFB800;
}

/* Card footer buttons */
.wishlist-card-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-wish-to-cart {
  background: var(--hot-pink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-wish-to-cart:hover {
  background: #C8386A;
}

.btn-wish-to-cart:disabled {
  background: var(--border-pink);
  color: var(--muted-rose);
  cursor: not-allowed;
}

.btn-wish-detail {
  background: var(--rose-white);
  color: var(--dark-plum);
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-wish-detail:hover {
  border-color: var(--hot-pink);
  color: var(--hot-pink);
}

/* Date added badge */
.wish-date-added {
  font-size: 10px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Price drop alert */
.price-drop-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #D4EDDA;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #155724;
  font-family: system-ui;
  margin-bottom: 10px;
}

/* Wishlist empty state */
.wishlist-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border: 1px dashed var(--border-pink);
  border-radius: var(--radius-lg);
}

.wishlist-empty-icon {
  font-size: 72px;
  margin-bottom: 20px;
}

.wishlist-empty h3 {
  font-size: 1.3rem;
  color: var(--dark-plum);
  margin-bottom: 10px;
}

.wishlist-empty p {
  font-size: 14px;
  color: var(--muted-rose);
  font-family: system-ui;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 28px;
}

/* Recommendation section */
.wish-recommend {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-pink);
}

.wish-recommend h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .wishlist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .wishlist-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .wishlist-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-share-wish,
  .btn-add-all-cart {
    flex: 1;
    justify-content: center;
  }

  /* Filter kategori bisa di-scroll horizontal saat sempit */
  .wishlist-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .wishlist-toolbar-left {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .wishlist-toolbar-left::-webkit-scrollbar {
    display: none;
  }

  .wishlist-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .wishlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .wishlist-card-img {
    height: 150px;
    font-size: 60px;
  }

  .wishlist-card-footer {
    grid-template-columns: 1fr auto;
  }

  .btn-wish-to-cart {
    font-size: 11px;
    padding: 9px 8px;
  }
}

/* ============================================================
   VARIANT PICKER MODAL
   ============================================================ */
.vmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(45, 27, 51, 0.55);
  backdrop-filter: blur(2px);
  animation: vmodalFade 0.2s ease;
}

.vmodal-overlay[hidden] {
  display: none;
}

@keyframes vmodalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.vmodal {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  animation: vmodalPop 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes vmodalPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vmodal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--pale-pink);
  color: var(--muted-rose);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.18s;
}

.vmodal-close:hover {
  background: var(--hot-pink);
  color: var(--white);
}

.vmodal-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-pink);
}

.vmodal-emoji {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: var(--grad-card);
  border-radius: var(--radius-md);
}

.vmodal-head-info {
  min-width: 0;
}

.vmodal-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.vmodal-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin: 2px 0 6px;
  line-height: 1.3;
}

.vmodal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.vmodal-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--hot-pink);
  font-family: system-ui;
}

.vmodal-price-orig {
  font-size: 12px;
  color: var(--muted-rose);
  text-decoration: line-through;
}

.vmodal-section {
  margin-bottom: 18px;
}

.vmodal-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vmodal-label span {
  font-weight: 400;
  color: var(--muted-rose);
}

.vmodal-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.vmodal-qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--pale-pink);
  color: var(--dark-plum);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
}

.vmodal-qty-btn:hover {
  background: var(--hot-pink);
  color: var(--white);
}

.vmodal-qty-input {
  width: 52px;
  height: 38px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  background: var(--white);
}

.vmodal-qty-input:focus {
  outline: none;
}

.vmodal-hint {
  font-size: 12px;
  color: var(--hot-pink);
  font-family: system-ui;
  margin: -6px 0 14px;
}

.vmodal-add {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--hot-pink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: filter 0.18s;
}

.vmodal-add:hover {
  filter: brightness(1.05);
}

@media (max-width: 480px) {
  .vmodal {
    padding: 18px;
  }

  .vmodal-emoji {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}

/* ── CONFIRM DIALOG (hapus dari keranjang) ── */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(45, 27, 51, 0.55);
  backdrop-filter: blur(2px);
  animation: vmodalFade 0.2s ease;
}

.confirm-overlay[hidden] {
  display: none;
}

.confirm-box {
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 22px;
  text-align: center;
  animation: vmodalPop 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pale-pink);
  font-size: 28px;
}

.confirm-title {
  font-family: system-ui;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-plum);
  margin-bottom: 8px;
}

.confirm-msg {
  font-family: system-ui;
  font-size: 13.5px;
  color: var(--muted-rose);
  line-height: 1.5;
  margin-bottom: 22px;
}

.confirm-actions {
  display: flex;
  gap: 10px;
}

.confirm-cancel,
.confirm-ok {
  flex: 1;
  padding: 11px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.18s;
}

.confirm-cancel {
  border: 1px solid var(--border-pink);
  background: var(--white);
  color: var(--muted-rose);
}

.confirm-cancel:hover {
  background: var(--pale-pink);
}

.confirm-ok {
  border: none;
  background: var(--hot-pink);
  color: var(--white);
}

.confirm-ok:hover {
  filter: brightness(1.05);
}

/* ============================================================
   CHECKOUT, AUTH & AKUN PAGES — v5
   ============================================================ */

/* ── STEP WIZARD (Checkout) ── */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-pink);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  width: 60px;
  height: 2px;
  background: var(--border-pink);
  margin: 0 8px;
  transition: background 0.3s;
}

.step-item.done::after,
.step-item.active::after {
  background: var(--hot-pink);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-pink);
  background: var(--white);
  color: var(--muted-rose);
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.step-item.done .step-circle {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  color: white;
}

.step-item.active .step-circle {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  color: white;
  box-shadow: 0 0 0 4px rgba(232, 84, 122, 0.15);
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui;
  color: var(--muted-rose);
  transition: color 0.3s;
}

.step-item.active .step-label,
.step-item.done .step-label {
  color: var(--dark-plum);
}

/* Checkout layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* Aside diregangkan setinggi baris grid agar ringkasan sticky
   punya ruang untuk menempel saat kolom kiri di-scroll */
.checkout-layout > aside {
  align-self: stretch;
}

/* Section card dalam checkout */
.checkout-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.checkout-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-pink);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Item row dalam checkout */
.checkout-item-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-pink);
}

.checkout-item-row:last-child {
  border-bottom: none;
}

.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.checkout-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 3px;
}

.checkout-item-variant {
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.checkout-item-qty {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-top: 3px;
}

.checkout-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--hot-pink);
  font-family: Georgia, serif;
  white-space: nowrap;
}

/* Shipping options */
.shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.shipping-option:hover,
.shipping-option.selected {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
}

.shipping-radio {
  width: 18px;
  height: 18px;
  accent-color: var(--hot-pink);
  flex-shrink: 0;
}

.shipping-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.shipping-est {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.shipping-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--hot-pink);
  font-family: system-ui;
  margin-left: auto;
}

/* Jenis pengiriman — toggle COD / Non-COD */
.shipping-type-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.shipping-type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-family: system-ui;
}

.shipping-type-btn:hover {
  border-color: var(--hot-pink);
}

.shipping-type-btn.active {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
}

.shipping-type-btn .stb-icon {
  font-size: 22px;
  line-height: 1;
}

.shipping-type-btn .stb-text {
  display: flex;
  flex-direction: column;
}

.shipping-type-btn .stb-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark-plum);
}

.shipping-type-btn .stb-sub {
  font-size: 11.5px;
  color: var(--muted-rose);
}

.ekspedisi-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  font-family: system-ui;
  letter-spacing: 0.3px;
  color: var(--lav-dark);
  background: var(--pale-pink);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-full);
  padding: 2px 8px;
}

/* Payment method */
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover,
.payment-option.selected {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
}

.payment-option-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.payment-option-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.payment-option-sub {
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Order summary sticky */
.order-summary-sticky {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 88px;
}

/* ── AUTH PAGES ── */
.auth-wrapper {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, #FDF0F5 0%, #FAE8F0 100%);
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 8px 40px rgba(232, 84, 122, 0.1);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 12px;
}

.auth-title {
  font-size: 1.4rem;
  text-align: center;
  color: var(--dark-plum);
  margin-bottom: 4px;
}

.auth-sub {
  font-size: 13px;
  text-align: center;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 28px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-pink);
}

.auth-divider span {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
  white-space: nowrap;
}

.auth-link {
  text-align: center;
  font-size: 13px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-top: 20px;
}

.auth-link a {
  color: var(--hot-pink);
  font-weight: 700;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap input {
  padding-left: 40px;
}

.input-icon-wrap .input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}

.input-toggle-pass {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  line-height: 1;
  color: var(--muted-rose);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.form-check input {
  margin-top: 2px;
  accent-color: var(--hot-pink);
}

.form-check a {
  color: var(--hot-pink);
}

.btn-full {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: system-ui;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-full.primary {
  background: var(--hot-pink);
  color: white;
}

.btn-full.primary:hover {
  background: #C8386A;
}

.btn-social {
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui;
  border: 1.5px solid var(--border-pink);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--dark-plum);
}

.btn-social:hover {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
}

/* ── AKUN DASHBOARD ── */
.akun-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  padding: 40px 0;
}

/* Sidebar akun */
.akun-sidebar {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 88px;
}

.akun-user-info {
  background: linear-gradient(135deg, var(--dark-plum), var(--mid-plum));
  padding: 24px 20px;
  text-align: center;
}

.akun-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot-pink), var(--lav-dark));
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  font-family: Georgia, serif;
  border: 3px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

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

.akun-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 18px;
}

.akun-avatar:hover .akun-avatar-overlay {
  opacity: 1;
}

.akun-name {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.akun-email {
  font-size: 12px;
  color: rgba(255, 225, 235, 0.6);
  font-family: system-ui;
}

.akun-nav {
  padding: 12px 0;
}

.akun-nav-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-rose);
  padding: 10px 20px 6px;
  font-family: system-ui;
}

.akun-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-family: system-ui;
  color: var(--dark-plum);
  text-decoration: none;
  transition: all 0.18s;
  border-left: 3px solid transparent;
}

.akun-nav-item:hover {
  background: var(--pale-pink);
  color: var(--hot-pink);
  border-left-color: var(--hot-pink);
}

.akun-nav-item.active {
  background: var(--pale-pink);
  color: var(--hot-pink);
  border-left-color: var(--hot-pink);
  font-weight: 700;
}

.akun-nav-item .nav-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.akun-nav-badge {
  margin-left: auto;
  background: var(--hot-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  font-family: system-ui;
}

.akun-nav-divider {
  height: 1px;
  background: var(--border-pink);
  margin: 8px 0;
}

/* Akun content area */
.akun-content {}

.akun-content-header {
  margin-bottom: 24px;
}

.akun-content-header h2 {
  font-size: 1.3rem;
  color: var(--dark-plum);
  margin-bottom: 4px;
}

.akun-content-header p {
  font-size: 13px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Profile form */
.profile-section {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.profile-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-pink);
}

.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: var(--pale-pink);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.profile-avatar-big {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot-pink), var(--lav-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  color: white;
  font-family: Georgia, serif;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid white;
}

.profile-avatar-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-upload-photo {
  background: var(--hot-pink);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.btn-upload-photo:hover {
  background: #C8386A;
}

/* Address card */
.address-card {
  border: 1.5px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
  transition: border-color 0.2s;
}

.address-card.primary {
  border-color: var(--hot-pink);
}

.address-primary-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--hot-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: system-ui;
}

.address-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 2px;
}

.address-phone {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 6px;
}

.address-text {
  font-size: 13px;
  color: var(--dark-plum);
  font-family: system-ui;
  line-height: 1.55;
}

.address-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-address-action {
  font-size: 12px;
  font-weight: 600;
  font-family: system-ui;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--hot-pink);
  padding: 0;
  transition: opacity 0.2s;
}

.btn-address-action:hover {
  opacity: 0.7;
}

.btn-address-action.delete {
  color: var(--muted-rose);
}

/* ── ORDER MANAGEMENT ── */
.order-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-pink);
  margin-bottom: 20px;
  overflow-x: auto;
}

/* Tiap tab adalah <a> ke URL statusnya sendiri. */
.order-tab-btn {
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-rose);
  font-family: system-ui;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  /* Tanpa ini tab tergencet alih-alih memicu overflow-x .order-tabs */
  flex-shrink: 0;
}

.order-tab-btn.active {
  color: var(--hot-pink);
  border-bottom-color: var(--hot-pink);
}

.order-tab-badge {
  background: var(--hot-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Kartu yang statusnya berubah sehingga tak lagi masuk tab aktif. */
.order-card-wrap.leaving {
  opacity: 0;
  transform: translateX(24px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease 0.1s;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .order-card-wrap.leaving {
    transition: none;
  }
}

/* Order card */
.order-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}

.order-card:hover {
  box-shadow: var(--shadow-sm);
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--rose-white);
  border-bottom: 1px solid var(--border-pink);
  flex-wrap: wrap;
  gap: 8px;
}

.order-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
}

.order-date {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Nomor + tanggal order; min-width:0 supaya teks panjang boleh menyusut
   dan tidak mendorong badge/tombol refresh keluar baris. */
.order-card-ident {
  min-width: 0;
}

.order-status-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.order-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: system-ui;
  white-space: nowrap;
}

/* Tombol perbarui status */
.btn-status-refresh {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-status-refresh:hover:not(:disabled) {
  background: var(--pale-pink);
  border-color: var(--hot-pink);
}

.btn-status-refresh:disabled {
  cursor: default;
  opacity: 0.7;
}

.btn-status-refresh.spinning .btn-status-refresh-icon {
  display: inline-block;
  animation: statusRefreshSpin 0.8s linear infinite;
}

@keyframes statusRefreshSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-status-refresh.spinning .btn-status-refresh-icon {
    animation: none;
  }
}

.status-pending {
  background: #FFF3CD;
  color: #856404;
}

/* Selaras --lavender; sengaja beda dari .status-done agar "Dikemas" dan
   "Selesai" tidak terbaca sama. */
.status-packed {
  background: #EDE3F5;
  color: #4A2B63;
}

.status-shipping {
  background: #CCE5FF;
  color: #004085;
}

.status-done {
  background: #D4EDDA;
  color: #155724;
}

.status-cancel {
  background: #F8D7DA;
  color: #721C24;
}

.order-card-body {
  padding: 16px 18px;
}

.order-item-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.order-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.order-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 2px;
}

.order-item-meta {
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.order-more-items {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-top: 4px;
}

.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border-pink);
  flex-wrap: wrap;
  gap: 10px;
}

.order-total-label {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

.order-total-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--hot-pink);
  font-family: Georgia, serif;
}

.order-total-group {
  min-width: 0;
}

/* Info batas waktu bayar — murni informasi, tombol bayarnya ada di .order-actions */
.order-pay-notice {
  padding: 10px 18px;
  border-top: 1px solid var(--border-pink);
  background: #FFF3CD;
  color: #856404;
  font-size: 13px;
  font-family: system-ui;
}

.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.order-cancel-form {
  display: inline-flex;
  margin: 0;
}

.btn-order-action {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  font-family: system-ui;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-order-primary {
  background: var(--hot-pink);
  color: white;
}

.btn-order-primary:hover {
  background: #C8386A;
}

.btn-order-outline {
  background: white;
  color: var(--dark-plum);
  border: 1.5px solid var(--border-pink);
}

.btn-order-outline:hover {
  border-color: var(--hot-pink);
  color: var(--hot-pink);
}

/* ── Modal lacak pengiriman & ulasan ──
   Kerangkanya pakai .vmodal-* yang sudah ada; di sini hanya isinya. */
.track-awb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.track-awb-row code {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  letter-spacing: 0.4px;
  word-break: break-all;
}

.btn-track-copy {
  padding: 4px 10px;
  font-size: 11px;
  flex-shrink: 0;
}

.track-meta {
  display: grid;
  gap: 6px;
}

.track-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-family: system-ui;
}

.track-meta-row span {
  color: var(--muted-rose);
}

.track-meta-row strong {
  color: var(--dark-plum);
  text-align: right;
}

/* Riwayat bisa panjang — biarkan bagian ini saja yang menggulung. */
.tracking-modal-body {
  max-height: 46vh;
  overflow-y: auto;
  padding-right: 4px;
}

.review-modal-form {
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Tracking timeline */
.tracking-timeline {
  position: relative;
  padding-left: 28px;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-pink);
}

.track-event {
  position: relative;
  padding-bottom: 20px;
}

.track-event:last-child {
  padding-bottom: 0;
}

.track-dot {
  position: absolute;
  left: -24px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--border-pink);
  background: white;
  transition: all 0.3s;
}

.track-event.done .track-dot {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
}

.track-event.current .track-dot {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  box-shadow: 0 0 0 4px rgba(232, 84, 122, 0.2);
}

.track-event-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-plum);
  font-family: system-ui;
  margin-bottom: 2px;
}

.track-event-time {
  font-size: 11px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 3px;
}

.track-event-desc {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
  line-height: 1.5;
}

/* ── RATING & REVIEW ── */
.review-form-card {
  background: var(--white);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.review-product-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-pink);
  margin-bottom: 20px;
}

.review-product-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.review-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-plum);
  font-family: system-ui;
}

.review-product-var {
  font-size: 12px;
  color: var(--muted-rose);
  font-family: system-ui;
}

/* Star rating input */
.star-rating-input {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.star-btn {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--border-pink);
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}

.star-btn.active,
.star-btn:hover {
  color: #FFB800;
  transform: scale(1.15);
}

.star-label {
  font-size: 13px;
  color: var(--muted-rose);
  font-family: system-ui;
  margin-bottom: 14px;
  display: block;
  min-height: 18px;
}

/* Photo upload review */
.review-photo-upload {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.photo-upload-box {
  width: 72px;
  height: 72px;
  border: 2px dashed var(--border-pink);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: var(--muted-rose);
  transition: all 0.2s;
  background: var(--rose-white);
}

.photo-upload-box:hover {
  border-color: var(--hot-pink);
  background: var(--pale-pink);
  color: var(--hot-pink);
}

.photo-upload-box span {
  font-size: 10px;
  font-family: system-ui;
  margin-top: 2px;
}

/* Responsive akun */
@media (max-width: 900px) {
  .akun-layout {
    grid-template-columns: 1fr;
  }

  .akun-sidebar {
    position: static;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary-sticky {
    position: static;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .auth-card {
    padding: 24px 20px;
  }

  .checkout-steps {
    gap: 0;
  }

  .step-item:not(:last-child)::after {
    width: 30px;
  }

  .step-label {
    display: none;
  }

  .akun-nav-item {
    padding: 10px 14px;
  }

  /* Manajemen order — list order responsif */
  .order-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  /* Grid 2 kolom: aksi utama melebar penuh, sisanya berdampingan.
     Lebih rapi daripada flex:1 saat jumlah tombol per kartu berbeda-beda. */
  .order-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .order-actions > .btn-order-primary {
    grid-column: 1 / -1;
  }

  .order-cancel-form {
    display: block;
  }

  .order-actions .btn-order-action {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .btn-status-refresh {
    width: 36px;
    height: 36px;
  }

  .order-tab-btn {
    padding: 10px 12px;
    font-size: 12px;
  }
}