/* ============================================
   UDANG NENEK - Main Stylesheet
   Aesthetic: Coastal Luxury - Deep Ocean & Coral
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --ocean: #0d4f6e;
  --ocean-deep: #082f43;
  --ocean-mid: #1a6b8a;
  --coral: #e8572a;
  --coral-light: #f07040;
  --coral-pale: #fde8e0;
  --sand: #f5efe6;
  --sand-dark: #e8ddd0;
  --shell: #fff9f5;
  --seaweed: #2d7a4f;
  --gold: #c9982a;
  --gold-light: #f5c842;
  --text-dark: #1a1208;
  --text-mid: #4a3728;
  --text-light: #8a7060;
  --white: #ffffff;
  --footer-bg: #082f43;

  --shadow-sm: 0 2px 8px rgba(8, 47, 67, 0.08);
  --shadow-md: 0 6px 24px rgba(8, 47, 67, 0.12);
  --shadow-lg: 0 16px 48px rgba(8, 47, 67, 0.16);
  --shadow-coral: 0 8px 24px rgba(232, 87, 42, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--shell);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* ---- Container ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 7px 0;
  position: relative;
  z-index: 100;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a { color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 5px; }
.topbar-right a:hover { color: var(--gold-light); }
.separator { opacity: 0.3; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background: var(--white);
  border-bottom: 1px solid rgba(13,79,110,0.08);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 20px rgba(8,47,67,0.08);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0 8px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { font-size: 2rem; line-height: 1; }
.logo-main { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--ocean-deep); line-height: 1; }
.logo-sub { display: block; font-size: 0.65rem; color: var(--coral); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

.nav-search {
  flex: 1; max-width: 520px; margin: 0 auto;
  display: flex; background: var(--sand); border-radius: 50px;
  border: 2px solid transparent; overflow: hidden; transition: var(--transition);
}
.nav-search:focus-within { border-color: var(--ocean); background: white; }
.nav-search input { flex: 1; border: none; background: transparent; padding: 10px 18px; font-family: var(--font-body); font-size: 0.9rem; outline: none; color: var(--text-dark); }
.nav-search button { background: var(--ocean); color: white; border: none; padding: 0 18px; cursor: pointer; transition: var(--transition); }
.nav-search button:hover { background: var(--coral); }

.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-btn { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-mid); transition: var(--transition); position: relative; }
.nav-btn:hover { background: var(--sand); color: var(--ocean); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--coral); color: white; font-size: 0.65rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ocean-deep); border-radius: 2px; transition: var(--transition); }

.cat-nav { display: flex; align-items: center; gap: 4px; padding: 6px 0 10px; overflow-x: auto; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-link { padding: 5px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--text-mid); white-space: nowrap; transition: var(--transition); }
.cat-link:hover, .cat-link.active { background: var(--ocean); color: white; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 50%, var(--ocean-mid) 100%);
  color: white; position: relative; overflow: hidden; min-height: 560px;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bubble {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05);
  animation: float 8s ease-in-out infinite;
}
.hero-bubble:nth-child(1) { width: 300px; height: 300px; right: -80px; top: -80px; }
.hero-bubble:nth-child(2) { width: 180px; height: 180px; right: 120px; bottom: -40px; animation-delay: 2s; }
.hero-bubble:nth-child(3) { width: 100px; height: 100px; right: 300px; top: 60px; animation-delay: 4s; }
@keyframes float { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-20px) scale(1.03)} }

.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px; padding: 7px 18px; font-size: 0.82rem; font-weight: 500;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; line-height: 1.7; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--coral); color: white; padding: 15px 32px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-coral); transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--coral-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,87,42,0.4); }
.btn-hero-secondary {
  background: rgba(255,255,255,0.12); color: white; padding: 15px 32px; border-radius: 50px;
  font-weight: 500; border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.stat-item { }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--gold-light); }
.stat-label { font-size: 0.78rem; opacity: 0.75; }
.hero-image-section { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; display: flex; align-items: center; justify-content: center; }
.hero-emoji-large { font-size: 15rem; opacity: 0.15; position: absolute; right: -20px; bottom: -20px; line-height: 1; }

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-strip { background: var(--coral); color: white; padding: 14px 0; }
.trust-strip .container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 500; }
.trust-icon { font-size: 1.2rem; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block; background: var(--coral-pale); color: var(--coral);
  padding: 5px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.section-header h2 { color: var(--ocean-deep); margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 520px; margin: 0 auto; }
.section-divider { width: 56px; height: 3px; background: linear-gradient(90deg, var(--coral), var(--gold)); border-radius: 2px; margin: 16px auto 0; }

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card {
  background: white; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  text-align: center; padding: 32px 20px; cursor: pointer;
  border: 2px solid transparent; position: relative;
}
.category-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--ocean), var(--coral));
  opacity: 0; transition: var(--transition); z-index: 0;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ocean); }
.category-card:hover::before { opacity: 0.04; }
.category-card:hover .cat-icon { transform: scale(1.2) rotate(5deg); }
.cat-icon { font-size: 3rem; margin-bottom: 16px; display: block; transition: var(--transition); position: relative; z-index: 1; }
.cat-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ocean-deep); margin-bottom: 6px; position: relative; z-index: 1; }
.cat-count { font-size: 0.8rem; color: var(--text-light); position: relative; z-index: 1; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  background: white; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--coral-pale));
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.badge-sale {
  position: absolute; top: 12px; left: 12px; background: var(--coral);
  color: white; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 50px;
}
.badge-featured {
  position: absolute; top: 12px; left: 12px; background: var(--gold);
  color: white; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 50px;
}
.product-actions {
  position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.action-btn {
  width: 36px; height: 36px; background: white; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: var(--shadow-sm); cursor: pointer; border: none;
  color: var(--text-mid); transition: var(--transition);
}
.action-btn:hover { background: var(--coral); color: white; }

.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.72rem; color: var(--coral); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ocean-deep); margin-bottom: 8px; line-height: 1.3; }
.product-name a:hover { color: var(--coral); }
.product-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 12px; line-height: 1.5; flex: 1; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; }
.rating-count { font-size: 0.75rem; color: var(--text-light); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-current { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--coral); }
.price-original { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }
.price-unit { font-size: 0.75rem; color: var(--text-light); }
.btn-add-cart {
  background: var(--ocean); color: white; border: none; border-radius: 50px;
  padding: 10px 20px; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; transition: var(--transition);
}
.btn-add-cart:hover { background: var(--coral); transform: translateY(-1px); box-shadow: var(--shadow-coral); }

/* ============================================
   FEATURED BANNER
   ============================================ */
.featured-banner {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean) 100%);
  border-radius: var(--radius-xl); padding: 60px; color: white; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.featured-banner::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
  right: -60px; top: -80px;
}
.featured-content { position: relative; z-index: 2; max-width: 500px; }
.featured-badge { background: var(--gold); color: var(--ocean-deep); padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; display: inline-block; margin-bottom: 16px; }
.featured-banner h2 { font-size: 2.2rem; margin-bottom: 14px; }
.featured-banner p { opacity: 0.8; margin-bottom: 28px; }
.featured-emoji { font-size: 8rem; position: relative; z-index: 2; line-height: 1; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.process-step { text-align: center; padding: 32px 20px; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); position: relative; }
.step-num {
  width: 48px; height: 48px; background: var(--ocean); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 900; margin: 0 auto 16px;
}
.step-icon { font-size: 2.5rem; margin-bottom: 14px; }
.process-step h4 { font-family: var(--font-display); color: var(--ocean-deep); margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--text-light); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: white; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--ocean); }
.testi-quote { font-size: 2.5rem; color: var(--ocean); line-height: 1; margin-bottom: 12px; font-family: Georgia; }
.testi-text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--ocean), var(--coral)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.testi-name { font-weight: 600; font-size: 0.9rem; color: var(--ocean-deep); }
.testi-location { font-size: 0.75rem; color: var(--text-light); }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 4px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.92rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition);
}
.btn-primary { background: var(--ocean); color: white; }
.btn-primary:hover { background: var(--ocean-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-coral { background: var(--coral); color: white; }
.btn-coral:hover { background: var(--coral-light); transform: translateY(-2px); box-shadow: var(--shadow-coral); }
.btn-outline { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn-outline:hover { background: var(--ocean); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: white; color: var(--ocean); }
.btn-sm { padding: 8px 20px; font-size: 0.83rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================
   FORMS & INPUTS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 500; font-size: 0.88rem; color: var(--text-mid); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.92rem;
  color: var(--text-dark); background: white; transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(13,79,110,0.08); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 14px 20px; border-radius: var(--radius-sm); margin: 16px 0;
  display: flex; align-items: center; gap: 12px; font-size: 0.9rem;
  position: relative;
}
.alert button { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1.2rem; opacity: 0.6; }
.alert-success { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #4caf50; }
.alert-danger { background: #ffebee; color: #b71c1c; border-left: 4px solid #f44336; }
.alert-info { background: #e3f2fd; color: #0d47a1; border-left: 4px solid #2196f3; }
.alert-warning { background: #fff8e1; color: #e65100; border-left: 4px solid #ff9800; }

/* ============================================
   CART & CHECKOUT
   ============================================ */
.page-hero { background: linear-gradient(135deg, var(--ocean-deep), var(--ocean)); color: white; padding: 50px 0; margin-bottom: 48px; }
.page-hero h1 { margin-bottom: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; opacity: 0.7; flex-wrap: wrap; }
.breadcrumb a { opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { opacity: 0.5; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-table-wrap { background: white; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 12px 16px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); border-bottom: 2px solid var(--sand); text-align: left; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--sand); vertical-align: middle; }
.cart-product-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--sand); }
.cart-product-name { font-weight: 600; font-size: 0.92rem; color: var(--ocean-deep); margin-bottom: 4px; }
.cart-product-meta { font-size: 0.78rem; color: var(--text-light); }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 30px; height: 30px; border: 1.5px solid var(--sand-dark); border-radius: var(--radius-sm); background: white; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { border-color: var(--ocean); color: var(--ocean); }
.qty-input { width: 48px; text-align: center; border: 1.5px solid var(--sand-dark); border-radius: var(--radius-sm); padding: 6px; font-size: 0.9rem; }
.remove-btn { background: none; border: none; cursor: pointer; color: var(--text-light); transition: var(--transition); padding: 4px; }
.remove-btn:hover { color: var(--coral); }

.order-summary { background: white; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.summary-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--ocean-deep); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--sand); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; color: var(--ocean-deep); border-top: 2px solid var(--sand); padding-top: 14px; margin-top: 6px; }
.summary-row .label { color: var(--text-light); }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; }
.coupon-form button { white-space: nowrap; }

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.product-gallery { }
.main-image { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; background: var(--sand); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 12rem; }
.thumb-row { display: flex; gap: 10px; }
.thumb { width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.thumb.active, .thumb:hover { border-color: var(--ocean); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-title { font-size: 2rem; color: var(--ocean-deep); margin-bottom: 12px; }
.product-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.stock-badge { padding: 4px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.stock-available { background: #e8f5e9; color: #2e7d32; }
.stock-low { background: #fff3e0; color: #e65100; }
.stock-out { background: #ffebee; color: #c62828; }
.price-display { margin: 20px 0; }
.price-big { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--coral); }
.price-old { font-size: 1rem; color: var(--text-light); text-decoration: line-through; margin-left: 10px; }
.price-save { display: inline-block; background: var(--coral-pale); color: var(--coral); padding: 3px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; margin-left: 8px; }
.product-desc-text { color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.purchase-box { display: flex; gap: 14px; flex-wrap: wrap; }
.purchase-box .qty-control { border: 1.5px solid var(--sand-dark); padding: 8px 12px; border-radius: 50px; }
.purchase-box input { width: 56px; font-size: 1rem; }
.btn-buy-now { background: var(--coral); color: white; }
.btn-buy-now:hover { background: var(--coral-light); transform: translateY(-2px); box-shadow: var(--shadow-coral); }

/* ============================================
   TABS (Product Detail)
   ============================================ */
.tabs { border-bottom: 2px solid var(--sand); margin-bottom: 32px; display: flex; gap: 4px; }
.tab-btn { padding: 12px 24px; border: none; background: none; cursor: pointer; font-family: var(--font-body); font-size: 0.92rem; font-weight: 500; color: var(--text-light); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: var(--transition); }
.tab-btn.active { color: var(--ocean); border-bottom-color: var(--ocean); }
.tab-btn:hover { color: var(--ocean); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.page-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--sand-dark); background: white; cursor: pointer; color: var(--text-mid); transition: var(--transition); font-size: 0.9rem; }
.page-btn:hover, .page-btn.active { background: var(--ocean); color: white; border-color: var(--ocean); }

/* ============================================
   SIDEBAR FILTERS
   ============================================ */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filter-sidebar { background: white; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.filter-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--ocean-deep); margin-bottom: 20px; }
.filter-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--sand); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-label { font-weight: 600; font-size: 0.85rem; color: var(--ocean-deep); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.88rem; color: var(--text-mid); }
.filter-option input { accent-color: var(--ocean); }
.filter-option:hover { color: var(--ocean); }
.price-range-inputs { display: flex; gap: 10px; align-items: center; }
.price-range-inputs input { flex: 1; }
.price-range-inputs span { color: var(--text-light); font-size: 0.8rem; }

/* ============================================
   ACCOUNT / LOGIN
   ============================================ */
.auth-page { min-height: 80vh; display: flex; align-items: center; background: var(--sand); padding: 40px 0; }
.auth-card { max-width: 480px; margin: 0 auto; background: white; border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo-icon { font-size: 3rem; }
.auth-logo h2 { font-family: var(--font-display); color: var(--ocean-deep); }
.auth-logo p { color: var(--text-light); font-size: 0.88rem; }
.auth-divider { text-align: center; margin: 20px 0; color: var(--text-light); font-size: 0.85rem; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--sand-dark); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--text-light); }
.auth-link a { color: var(--ocean); font-weight: 600; }

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--ocean-deep); color: white; flex-shrink: 0; position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; z-index: 200; }
.admin-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-logo span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; display: block; }
.admin-logo small { font-size: 0.72rem; opacity: 0.6; }
.admin-nav { padding: 20px 12px; }
.admin-nav-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.4; padding: 12px 8px 6px; margin-top: 8px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: var(--transition); margin-bottom: 2px; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.12); color: white; }
.admin-nav a svg { flex-shrink: 0; }
.admin-main { flex: 1; margin-left: 260px; }
.admin-topbar { background: white; padding: 16px 28px; border-bottom: 1px solid var(--sand); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.admin-content { padding: 32px 28px; }
.admin-page-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--ocean-deep); margin-bottom: 6px; }
.admin-page-sub { color: var(--text-light); font-size: 0.88rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 18px; }
.stat-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.stat-icon.blue { background: rgba(13,79,110,0.1); color: var(--ocean); }
.stat-icon.coral { background: rgba(232,87,42,0.1); color: var(--coral); }
.stat-icon.green { background: rgba(45,122,79,0.1); color: var(--seaweed); }
.stat-icon.gold { background: rgba(201,152,42,0.1); color: var(--gold); }
.stat-val { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; color: var(--ocean-deep); }
.stat-lbl { font-size: 0.8rem; color: var(--text-light); }

.admin-card { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 24px; }
.admin-card-header { padding: 18px 24px; border-bottom: 1px solid var(--sand); display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ocean-deep); }
.admin-card-body { padding: 24px; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 11px 16px; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); background: var(--sand); text-align: left; border-bottom: 2px solid var(--sand-dark); }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--sand); font-size: 0.88rem; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(13,79,110,0.02); }

.badge-status { padding: 3px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.status-pending { background: #fff3e0; color: #e65100; }
.status-processing { background: #e3f2fd; color: #1565c0; }
.status-shipped { background: #e8eaf6; color: #283593; }
.status-delivered { background: #e8f5e9; color: #1b5e20; }
.status-cancelled { background: #ffebee; color: #b71c1c; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--ocean-deep); color: rgba(255,255,255,0.8); position: relative; }
.footer-wave { line-height: 0; margin-bottom: -2px; }
.footer-body { padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.85rem; opacity: 0.7; line-height: 1.7; margin-top: 16px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.footer-logo-icon { font-size: 2rem; }
.footer-logo-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: white; }
.footer-logo-tagline { font-size: 0.72rem; color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: var(--transition); }
.social-btn:hover { background: var(--coral); color: white; transform: translateY(-2px); }

.footer-col h4 { font-family: var(--font-display); color: white; margin-bottom: 18px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.85rem; opacity: 0.7; transition: var(--transition); }
.footer-col ul a:hover { opacity: 1; color: var(--gold-light); padding-left: 6px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; opacity: 0.75; }
.contact-item svg { flex-shrink: 0; margin-top: 2px; }

.footer-newsletter p { font-size: 0.82rem; margin-bottom: 10px; opacity: 0.7; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.15); color: white; padding: 10px 14px; border-radius: 50px; font-size: 0.82rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { background: var(--coral); color: white; border: none; padding: 10px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: var(--transition); }
.newsletter-form button:hover { background: var(--coral-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; opacity: 0.6; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { opacity: 1; }
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badge { background: rgba(255,255,255,0.12); padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; }

/* ============================================
   WA FLOAT & BACK TO TOP
   ============================================ */
.wa-float {
  position: fixed; bottom: 88px; right: 24px; width: 56px; height: 56px;
  background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 900;
  transition: var(--transition); animation: pulse 3s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-tooltip {
  position: absolute; right: 66px; background: var(--ocean-deep); color: white;
  padding: 6px 12px; border-radius: 8px; font-size: 0.8rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 16px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 28px rgba(37,211,102,0.7)} }

.back-top {
  position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px;
  background: var(--ocean); color: white; border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 900; transition: var(--transition);
  opacity: 0; pointer-events: none;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--coral); transform: translateY(-3px); }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content { min-height: 60vh; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .admin-main { margin-left: 0; }
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
}
@media (max-width: 768px) {
  .topbar-left { display: none; }
  .nav-search { max-width: 100%; order: 3; width: 100%; }
  .nav-inner { flex-wrap: wrap; }
  .hamburger { display: flex; }
  .cat-nav { display: none; }
  .cat-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow-md); z-index: 88; }
  .hero { min-height: auto; }
  .hero-content { padding: 48px 0; }
  .hero-image-section { display: none; }
  .featured-banner { flex-direction: column; padding: 36px; }
  .featured-emoji { font-size: 5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid .product-desc { display: none; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.slide-up { animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes slideUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }

/* Stagger children */
.stagger > * { opacity: 0; animation: fadeIn 0.5s ease forwards; }
.stagger > *:nth-child(1){animation-delay:.1s}
.stagger > *:nth-child(2){animation-delay:.2s}
.stagger > *:nth-child(3){animation-delay:.3s}
.stagger > *:nth-child(4){animation-delay:.4s}
.stagger > *:nth-child(5){animation-delay:.5s}
.stagger > *:nth-child(6){animation-delay:.6s}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 24px;
  align-items: start;
}
.detail-img-main {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.detail-img-main img { width:100%; height:100%; object-fit:cover; }
.detail-img-placeholder {
  font-size: 10rem;
  opacity: 0.25;
  user-select: none;
}
.product-detail-name {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--ocean-deep);
  margin: 8px 0;
}
.detail-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--sand);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 16px 0;
}
.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  background: var(--shell);
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-dark);
}
.detail-meta-item {
  font-size: .88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-add-cart {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 10px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--ocean);
  border-radius: 50px;
  overflow: hidden;
  flex-shrink: 0;
}
.qty-btn {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--ocean);
  transition: var(--transition);
  font-weight: 700;
}
.qty-btn:hover { background: var(--ocean); color: white; }
#qtyInput {
  width: 48px;
  text-align: center;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
}
.btn-add-cart-lg {
  flex: 1;
  padding: 13px 24px;
  font-size: 1rem;
  border-radius: 50px;
}
.detail-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sand-dark);
}
.detail-trust-item {
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Tab */
.product-tabs {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--sand-dark);
  background: var(--sand);
}
.tab-btn {
  padding: 14px 28px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--ocean-deep);
  border-bottom-color: var(--coral);
  background: white;
}
.tab-content { display: none; padding: 32px; }
.tab-content.active { display: block; }
.product-description { line-height: 1.9; color: var(--text-mid); }
.product-description p { margin-bottom: 14px; }

/* Ulasan */
.review-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--sand);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.review-avg { text-align: center; }
.review-avg-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.review-form-wrap {
  background: var(--shell);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}
.review-form-wrap h4 { margin-bottom: 14px; color: var(--ocean-deep); }
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 8px;
}
.star-rating-input input { display: none; }
.star-rating-input label {
  font-size: 2rem;
  color: var(--sand-dark);
  cursor: pointer;
  transition: var(--transition);
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: var(--gold); }
.review-item {
  border-bottom: 1px solid var(--sand-dark);
  padding: 20px 0;
}
.review-item:last-child { border-bottom: none; }
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ocean);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .9rem; }
.review-date { margin-left: auto; font-size: .8rem; color: var(--text-light); }
.review-text { color: var(--text-mid); line-height: 1.7; }

/* Responsive */
@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-add-cart { flex-direction: column; align-items: stretch; }
  .btn-add-cart-lg { text-align: center; }
  .tab-btn { padding: 12px 16px; font-size: .85rem; }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}
.checkout-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.checkout-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sand-dark);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.required { color: var(--coral); }
.sticky-summary { position: sticky; top: 100px; }
.checkout-items {
    border: 1px solid var(--sand-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}
.checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--sand-dark);
    gap: 10px;
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-name { font-size: .85rem; font-weight: 600; color: var(--ocean-deep); }
.checkout-item-qty  { font-size: .78rem; color: var(--text-light); margin-top: 2px; }
.checkout-item-total { font-size: .85rem; font-weight: 700; white-space: nowrap; }

/* Metode Pembayaran */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option { cursor: pointer; }
.payment-option input[type="radio"] { display: none; }
.payment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: white;
}
.payment-option input:checked + .payment-card {
    border-color: var(--ocean);
    background: rgba(13,79,110,.04);
}
.payment-option:hover .payment-card { border-color: var(--ocean-light); }
.pay-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    min-width: 54px;
    text-align: center;
}
.payment-name { font-weight: 600; font-size: .88rem; color: var(--ocean-deep); }
.payment-desc { font-size: .78rem; color: var(--text-light); margin-top: 2px; }

/* ============================================
   ORDER SUCCESS PAGE
   ============================================ */
.success-header {
    text-align: center;
    padding: 40px 20px 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.success-icon { font-size: 4rem; margin-bottom: 12px; }
.success-header h1 { color: var(--ocean-deep); font-size: 1.6rem; }
.success-header p  { color: var(--text-mid); margin-top: 8px; }
.order-number-badge {
    display: inline-block;
    background: var(--ocean-deep);
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: .08em;
    margin-top: 14px;
    font-size: .95rem;
}
.success-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}
.success-card h3 {
    color: var(--ocean-deep);
    font-size: 1rem;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sand-dark);
    margin-bottom: 4px;
}
.payment-info-card { border: 2px solid var(--gold); }
.pay-detail-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pay-detail-item { display: flex; justify-content: space-between; align-items: center; }
.pay-detail-label { font-size: .85rem; color: var(--text-light); }
.pay-detail-value { font-size: .9rem; font-weight: 600; text-align: right; }
.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--sand-dark);
}
.order-item-row:last-child { border-bottom: none; }
.status-badge {
    font-size: .75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
}
.status-badge.pending    { background: #fff3cd; color: #856404; }
.status-badge.processing { background: #cff4fc; color: #055160; }
.status-badge.shipped    { background: #d1ecf1; color: #0c5460; }
.status-badge.delivered  { background: #d4edda; color: #155724; }
.status-badge.cancelled  { background: #f8d7da; color: #721c24; }
.contact-success {
    text-align: center;
    padding: 40px 20px;
}
.contact-success h3 { color: var(--ocean-deep); margin-bottom: 8px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sand-dark);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-icon {
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    background: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-label { font-size: .78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact-value { font-size: .92rem; color: var(--ocean-deep); font-weight: 500; line-height: 1.6; }
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid var(--sand-dark);
    border-radius: 50px;
    font-size: .82rem;
    color: var(--ocean-deep);
    text-decoration: none;
    transition: var(--transition);
}
.social-btn:hover { background: var(--ocean); color: white; border-color: var(--ocean); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ocean-deep);
    transition: var(--transition);
    gap: 12px;
}
.faq-question:hover { background: var(--sand); }
.faq-item.active .faq-question { background: var(--sand); color: var(--coral); }
.faq-icon { font-size: 1.4rem; color: var(--coral); flex-shrink: 0; }
.faq-answer {
    padding: 0 22px 18px;
    color: var(--text-mid);
    line-height: 1.8;
    font-size: .9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-layout   { grid-template-columns: 1fr; }
    .sticky-summary    { position: static; }
    .form-row          { grid-template-columns: 1fr; }
    .contact-grid      { grid-template-columns: 1fr; }
    .pay-detail-item   { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}
.account-sidebar { position: sticky; top: 100px; }
.account-avatar-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}
.account-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--ocean);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.account-name  { font-weight: 700; color: var(--ocean-deep); font-size: 1rem; }
.account-email { font-size: .78rem; color: var(--text-light); margin-top: 4px; }
.account-nav {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.account-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: .88rem;
    color: var(--text-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--sand-dark);
    transition: var(--transition);
}
.account-nav-item:last-child { border-bottom: none; }
.account-nav-item:hover      { background: var(--sand); color: var(--ocean-deep); }
.account-nav-item.active     { background: var(--ocean-deep); color: white; font-weight: 600; }
.account-nav-item.logout-link { color: var(--coral); }
.account-nav-item.logout-link:hover { background: #fff0ee; }
.nav-badge {
    background: var(--coral);
    color: white;
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
}
.account-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.account-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ocean-deep);
    padding-bottom: 14px;
    border-bottom: 2px solid var(--sand-dark);
    margin-bottom: 20px;
}
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* Daftar Pesanan */
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-list-item {
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.order-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--sand);
    gap: 10px;
}
.order-list-number { font-weight: 700; color: var(--ocean-deep); font-size: .9rem; }
.order-list-date   { font-size: .78rem; color: var(--text-light); margin-top: 2px; }
.order-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
}
.order-detail-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: var(--sand);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 4px;
}
.order-detail-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--sand-dark);
}
.order-detail-footer h4 { font-size: .85rem; color: var(--ocean-deep); margin-bottom: 6px; }
.order-detail-footer p  { font-size: .85rem; color: var(--text-mid); line-height: 1.7; }

/* Alamat */
.address-card {
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.address-card.primary { border-color: var(--seaweed); }
.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--sand);
    gap: 8px;
}
.address-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--ocean-deep);
}
.address-card-body {
    padding: 14px 16px;
    font-size: .85rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* Coupon */
.coupon-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .account-layout      { grid-template-columns: 1fr; }
    .account-sidebar     { position: static; }
    .order-detail-header { grid-template-columns: 1fr 1fr; }
    .order-detail-footer { grid-template-columns: 1fr; }
}
