/* ============================================================
   Angga Narotama — Public Style
   Modern, fun, semi-professional. 2026.
   Color palette:
     --primary:    #7c3aed  (violet)
     --accent:     #f59e0b  (amber)
     --surface:    #fafafa
     --text:       #1e1b4b
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #7c3aed;
  --primary-light: #ede9fe;
  --primary-dark:  #5b21b6;
  --accent:        #f59e0b;
  --accent-light:  #fef3c7;
  --surface:       #fafafa;
  --surface-2:     #f3f4f6;
  --border:        #e5e7eb;
  --text:          #1e1b4b;
  --text-muted:    #6b7280;
  --white:         #ffffff;
  --success:       #10b981;
  --error:         #ef4444;
  --warning:       #f59e0b;
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-full:   9999px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
  --transition:    .2s ease;
  --header-h:      68px;
  --container:     1160px;
  --font-sans:     'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif:    'Lora', Georgia, serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  padding-top: var(--header-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-footer { margin-top: auto; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 740px; }

/* ── SECTION ──────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--page-header { padding: 3rem 0 2rem; background: var(--primary-light); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.section-link { color: var(--primary); font-weight: 600; font-size: .95rem; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.page-desc { color: var(--text-muted); margin-top: .5rem; font-size: 1.1rem; }
.empty-state { color: var(--text-muted); padding: 3rem 0; text-align: center; font-size: 1.1rem; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .625rem 1.375rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary  { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(124,58,237,.35); }
.btn--outline  { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost    { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--wa       { background: #25d366; color: #fff; }
.btn--wa:hover { background: #128C7E; color: #fff; }
.btn--disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }
.btn--lg { padding: .875rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .4rem 1rem; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }
.qty-btn { width: 32px; height: 32px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 1rem; font-weight: 700; line-height: 1; transition: all var(--transition); }
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── BADGE ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tag {
  display: inline-block;
  padding: .2rem .7rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
}
.tag:hover { background: var(--primary); color: #fff; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  margin: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.site-logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.logo-tagline { font-size: .7rem; color: var(--text-muted); font-weight: 500; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; align-items: center; }
.site-nav a {
  padding: .45rem .9rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.cart-link { position: relative; padding: .45rem .7rem; border-radius: var(--radius-full); font-size: 1.1rem; color: var(--text); transition: all var(--transition); text-decoration: none; display: flex; align-items: center; }
.cart-link:hover { background: var(--primary-light); }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; border-radius: 9999px; font-size: .65rem; font-weight: 800; min-width: 16px; height: 16px; line-height: 16px; text-align: center; padding: 0 4px; }
.cart-nav-item { margin-left: .25rem; padding-left: .25rem; border-left: 1px solid var(--border); display: flex; align-items: center; }

/* Auth nav (Login / Daftar buttons) */
.auth-nav-item { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; padding-left: .5rem; border-left: 1px solid var(--border); }

/* User dropdown nav */
.user-nav-item { position: relative; margin-left: .5rem; padding-left: .5rem; border-left: 1px solid var(--border); display: flex; align-items: center; }
.user-nav-btn { display: flex; align-items: center; gap: .45rem; background: none; border: none; cursor: pointer; padding: .35rem .6rem; border-radius: var(--radius-full); font-size: .85rem; font-weight: 600; color: var(--text); transition: background var(--transition); }
.user-nav-btn:hover { background: var(--primary-light); }
.user-nav-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-nav-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-nav-caret { font-size: .65rem; color: var(--text-muted); }
.user-nav-dropdown { position: absolute; top: calc(100% + .5rem); right: 0; min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 200; overflow: hidden; }
.user-nav-dropdown__header { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.user-nav-dropdown__header strong { display: block; font-size: .9rem; }
.user-nav-dropdown__header small { color: var(--text-muted); font-size: .75rem; }
.user-nav-dropdown__item { display: block; padding: .6rem 1rem; font-size: .875rem; color: var(--text); text-decoration: none; transition: background var(--transition); }
.user-nav-dropdown__item:hover { background: var(--primary-light); color: var(--primary); }
.user-nav-dropdown__item--danger { color: #dc2626; }
.user-nav-dropdown__item--danger:hover { background: #fee2e2; color: #dc2626; }
.user-nav-dropdown__item--form { padding: 0; }
.user-nav-dropdown__item--form button { width: 100%; text-align: left; background: none; border: none; cursor: pointer; }

/* Auth pages (register/login) */
.section--auth { min-height: calc(100vh - var(--header-h) - 4rem); display: flex; align-items: center; padding: 3rem 0; }
.auth-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 440px; margin: 0 auto; box-shadow: var(--shadow); }
.auth-box__header { text-align: center; margin-bottom: 1.75rem; }
.auth-box__title { font-size: 1.5rem; font-weight: 800; margin: 0 0 .35rem; }
.auth-box__sub { color: var(--text-muted); font-size: .9rem; margin: 0; }
.auth-box__footer { text-align: center; margin-top: 1.5rem; font-size: .875rem; color: var(--text-muted); }
.auth-box__footer a { color: var(--primary); font-weight: 600; }
.auth-field { margin-bottom: 1.1rem; }
.auth-field label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .4rem; }
.auth-field input { width: 100%; padding: .65rem .9rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: .95rem; transition: border-color var(--transition); box-sizing: border-box; }
.auth-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.auth-alert { padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: .875rem; }
.auth-alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.auth-alert--success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.auth-alert--info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.auth-alert--info a  { color: #1e40af; font-weight: 600; }
.auth-alert--warning { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.btn--full { width: 100%; justify-content: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--primary-light); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease, background var(--transition); }

/* ── FLASH ────────────────────────────────────────────────── */
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  font-weight: 500;
  font-size: .95rem;
}
.flash--success { background: #d1fae5; color: #065f46; }
.flash--error   { background: #fee2e2; color: #991b1b; }
.flash--warning { background: #fef3c7; color: #92400e; }
.flash-close { background: none; border: none; font-size: 1.2rem; opacity: .6; }
.flash-close:hover { opacity: 1; }

/* ── ALERT ────────────────────────────────────────────────── */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 500; }
.alert--success { background: #d1fae5; color: #065f46; }
.alert--error   { background: #fee2e2; color: #991b1b; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 60%);
  margin: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(124,58,237,.08) 0%, transparent 60%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 1.25rem;
  position: relative;
  width: 100%;
}
.hero-eyebrow { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: .5rem; }
.hero-name { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; color: var(--text); }
.hero-tagline { font-size: 1.25rem; color: var(--primary); font-weight: 600; margin: .5rem 0; }
.hero-bio { color: var(--text-muted); max-width: 420px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-illustration { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobMorph 8s ease-in-out infinite;
  opacity: .15;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  33% { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
  66% { border-radius: 70% 30% 60% 40% / 40% 70% 30% 60%; }
}
.hero-avatar {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
}
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.scroll-dot {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ── ARTICLE CARDS ────────────────────────────────────────── */
.article-grid { display: grid; gap: 1.5rem; }
.article-grid--featured { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.article-grid--featured .article-card--hero { grid-column: 1 / -1; }
.article-grid--list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.article-grid--main { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card__image-link { display: block; }
.article-card__image {
  height: 200px;
  background: var(--surface-2) center/cover no-repeat;
  transition: transform .4s ease;
}
.article-card--hero .article-card__image { height: 340px; }
.article-card__image-link:hover .article-card__image { transform: scale(1.03); }
.article-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.article-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.article-card__title a { color: var(--text); }
.article-card__title a:hover { color: var(--primary); }
.article-card--hero .article-card__title { font-size: 1.4rem; }
.article-card__excerpt { color: var(--text-muted); font-size: .9rem; flex: 1; }
.article-card__meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; }

/* ── ARTICLES LAYOUT (list page) ──────────────────────────── */
.articles-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }

/* ── SIDEBAR ──────────────────────────────────────────────── */
.sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.cat-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.cat-list a { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: var(--radius-sm); color: var(--text); font-size: .9rem; font-weight: 500; }
.cat-list a:hover, .cat-list a.active { background: var(--primary-light); color: var(--primary); }
.cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ── ARTICLE DETAIL ───────────────────────────────────────── */
.article-header { margin: 2rem 0; }
.article-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.25; margin: .75rem 0; }
.article-meta { color: var(--text-muted); font-size: .9rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.article-featured-image { border-radius: var(--radius); overflow: hidden; margin: 2rem 0; box-shadow: var(--shadow); }
.article-featured-image img { width: 100%; max-height: 480px; object-fit: cover; }
.article-content {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.85;
  color: #2d2d2d;
}
.article-content h2, .article-content h3 { font-family: var(--font-sans); margin: 2rem 0 1rem; }
.article-content p { margin-bottom: 1.25rem; }
.article-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-content blockquote { border-left: 4px solid var(--primary); padding-left: 1.25rem; margin: 1.5rem 0; color: var(--text-muted); font-style: italic; }
.article-content pre { background: #1e1b4b; color: #e2e8f0; padding: 1.5rem; border-radius: var(--radius); overflow-x: auto; margin: 1.5rem 0; }
.article-content code { font-family: 'Courier New', monospace; font-size: .9em; background: var(--primary-light); padding: .15em .4em; border-radius: 4px; }
.article-content pre code { background: none; padding: 0; }
.article-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin: 2.5rem 0 1.5rem; }
.article-share { display: flex; align-items: center; gap: .75rem; padding: 1.5rem 0; border-top: 1px solid var(--border); }
.share-btn { display: inline-block; padding: .35rem .9rem; border-radius: var(--radius-full); font-size: .82rem; font-weight: 700; }
.share-btn--wa { background: #25d366; color: #fff; }
.share-btn--tw { background: #000; color: #fff; }
.share-btn--fb { background: #1877f2; color: #fff; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--primary-light); border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; }
.author-box__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box__avatar--placeholder { background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 1.3rem; }
.author-box h4 { font-weight: 700; margin-bottom: .25rem; }
.author-box p { color: var(--text-muted); font-size: .9rem; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.breadcrumb a { color: var(--primary); }

/* ── COMMENTS ─────────────────────────────────────────────── */
.section--comments { background: var(--surface-2); }
.comment-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.comment { display: flex; gap: 1rem; }
.comment__avatar { flex-shrink: 0; }
.avatar-initial {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.comment__body { flex: 1; background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.comment__meta { display: flex; gap: .6rem; align-items: center; margin-bottom: .5rem; font-size: .85rem; color: var(--text-muted); }
.comment__meta strong { color: var(--text); font-size: .95rem; }
.comment-replies { margin-top: 1rem; padding-left: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.comment--reply .comment__body { background: var(--surface-2); }
.reply-btn { background: none; border: none; color: var(--primary); font-size: .82rem; font-weight: 600; padding: .3rem 0; margin-top: .5rem; }
.reply-btn:hover { text-decoration: underline; }
.no-comments { color: var(--text-muted); text-align: center; padding: 2rem 0; }
.comment-form-wrap { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); margin-top: 1.5rem; }

/* ── FACEBOOK-STYLE COMMENT BOX ─────────────────────────── */
.fb-comment-box { display: flex; gap: .75rem; align-items: flex-start; }
.fb-comment-box__avatar { flex-shrink: 0; padding-top: .35rem; }
.fb-comment-box form { flex: 1; min-width: 0; }
.fb-guest-info { display: flex; gap: .5rem; margin-bottom: .5rem; }
.fb-guest-info input {
  flex: 1;
  padding: .5rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .875rem;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color var(--transition);
}
.fb-guest-info input:focus { outline: none; border-color: var(--primary); background: var(--white); }
#replyLabel { font-size: .82rem; color: var(--primary); font-weight: 600; min-height: 0; }
.fb-input-row {
  display: flex;
  align-items: flex-end;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .5rem .5rem .5rem .875rem;
  gap: .5rem;
  transition: border-color var(--transition);
}
.fb-input-row:focus-within { border-color: var(--primary); background: var(--white); }
.fb-input-row textarea {
  flex: 1;
  border: none;
  background: transparent;
  resize: none;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.5;
  max-height: 160px;
  overflow-y: auto;
  padding: 0;
}
.fb-input-row textarea:focus { outline: none; }
.fb-input-tools { display: flex; align-items: center; gap: .25rem; }
.emoji-toggle {
  background: none; border: none; font-size: 1.3rem; cursor: pointer;
  line-height: 1; padding: .2rem; border-radius: 50%;
  transition: background var(--transition);
}
.emoji-toggle:hover { background: var(--primary-light); }
.fb-send-btn {
  background: var(--primary); color: #fff; border: none;
  width: 34px; height: 34px; border-radius: 50%; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.fb-send-btn:hover { background: var(--primary-dark); }
.emoji-picker {
  display: flex; flex-wrap: wrap; gap: .25rem;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: .75rem;
  box-shadow: var(--shadow);
  max-width: 320px;
  margin-top: .4rem;
}
.emoji-picker[hidden] { display: none; }
.emoji-btn {
  background: none; border: none; font-size: 1.35rem;
  cursor: pointer; border-radius: var(--radius-sm); padding: .2rem .3rem;
  transition: background var(--transition);
  line-height: 1;
}
.emoji-btn:hover { background: var(--primary-light); }
.fb-form-footer { margin-top: .5rem; }

/* ── FB-STYLE COMMENT SYSTEM ─────────────────────────────── */
.fb-comment-wrap { margin-bottom: 1rem; }
.fb-comment-box { display: flex; gap: .75rem; align-items: flex-start; }
.fb-avatar-col { flex-shrink: 0; padding-top: .2rem; }
.fb-form-col { flex: 1; min-width: 0; }
.fb-comment-count { font-size: .85rem; color: var(--text-muted); font-weight: 600; margin: 1rem 0 .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.fb-comment-list { display: flex; flex-direction: column; gap: 1rem; }
.fb-comment-item { display: flex; gap: .6rem; align-items: flex-start; }
.fb-comment-item--reply { margin-top: .5rem; }
.fb-comment-right { flex: 1; min-width: 0; }
.fb-bubble { background: var(--surface-2); border-radius: var(--radius-lg); padding: .6rem .9rem; display: inline-block; max-width: 100%; }
.fb-bubble__name { font-weight: 700; font-size: .875rem; color: var(--text); display: block; margin-bottom: .1rem; }
.fb-bubble__content { font-size: .9rem; color: var(--text); line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.fb-comment-actions { display: flex; align-items: center; gap: .75rem; margin-top: .2rem; padding-left: .5rem; }
.fb-time { font-size: .75rem; color: var(--text-muted); }
.fb-reply-btn { background: none; border: none; font-size: .8rem; font-weight: 700; color: var(--text-muted); cursor: pointer; padding: 0; transition: color var(--transition); }
.fb-reply-btn:hover { color: var(--primary); }
.fb-delete-btn { background: none; border: none; font-size: .75rem; color: var(--error); cursor: pointer; padding: 0; opacity: .7; transition: opacity var(--transition); }
.fb-delete-btn:hover { opacity: 1; }
.fb-cancel-reply { background: none; border: none; font-size: .78rem; color: var(--text-muted); cursor: pointer; margin-top: .3rem; padding: 0; }
.fb-cancel-reply:hover { color: var(--error); }
.fb-author-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: .7rem; font-weight: 700; padding: .1rem .4rem; border-radius: var(--radius-full); margin-left: .35rem; vertical-align: middle; }
.fb-replies { margin-top: .75rem; display: flex; flex-direction: column; gap: .5rem; padding-left: .25rem; border-left: 2px solid var(--border); margin-left: .75rem; }
.fb-inline-reply { margin-top: .5rem; }
.avatar-initial--sm { width: 30px !important; height: 30px !important; font-size: .75rem !important; }
.section--comments { background: var(--surface-2); padding: 3rem 0; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: auto;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.required { color: var(--error); }
.char-count { font-size: .78rem; color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--surface-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,27,75,.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: .75rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: #fff; font-weight: 600; font-size: .85rem; }
/* Stats badge always visible at bottom of photo card */
.gallery-item__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .35rem .6rem;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  display: flex;
  gap: .6rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  pointer-events: none;
}
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.album-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.album-card__image { aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.album-card__image img { width: 100%; height: 100%; object-fit: cover; }
.album-card__no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; }
.album-card__body { padding: .875rem 1rem; }
.album-card__body h3 { font-weight: 700; font-size: .95rem; }
.album-count { font-size: .8rem; color: var(--text-muted); }

/* ── PHOTO DETAIL + COMMENTS ──────────────────────────────── */
.section--foto-detail { padding: 0 !important; }
.foto-detail-layout { display: grid; grid-template-columns: 1fr 400px; gap: 0; align-items: start; min-height: calc(100vh - var(--header-h)); }.foto-detail-main { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); background: #0d0d0d; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.foto-detail-img-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.foto-detail-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.foto-detail-meta { padding: 0 0 .25rem; }
.foto-detail-album { font-size: .8rem; color: var(--text-muted); margin: 0 0 .4rem; }
.foto-detail-title { font-size: 1.35rem; font-weight: 800; margin: 0 0 .4rem; }
.foto-detail-desc { color: var(--text-muted); margin: 0; font-size: .95rem; line-height: 1.6; }
.foto-detail-comments { height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 1.5rem; border-left: 1px solid var(--border); box-sizing: border-box; }
.comments-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 1.25rem; display: flex; align-items: center; gap: .5rem; }
.comments-count { background: var(--primary-light); color: var(--primary); font-size: .75rem; font-weight: 800; border-radius: 9999px; padding: .15rem .55rem; }
.comments-empty { color: var(--text-muted); font-size: .9rem; margin: 1.5rem 0; }
.comment-login-prompt { display: flex; align-items: center; gap: .75rem; padding: 1rem; background: var(--surface-2); border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .875rem; color: var(--text-muted); flex-wrap: wrap; }
/* Comment form */
.comment-form { margin-bottom: 1.5rem; }
.comment-form__row { display: flex; gap: .75rem; align-items: flex-start; }
.comment-form__input-wrap { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.comment-textarea { width: 100%; padding: .6rem .8rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: .875rem; font-family: inherit; resize: vertical; min-height: 60px; box-sizing: border-box; transition: border-color var(--transition); }
.comment-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
/* Comment item */
.comment-item { display: flex; gap: .75rem; margin-bottom: 1.25rem; }
.comment-item--reply { margin-left: 2.25rem; margin-top: .75rem; margin-bottom: .75rem; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-avatar--sm { width: 28px; height: 28px; }
.comment-body { flex: 1; min-width: 0; }
.comment-header { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-bottom: .25rem; }
.comment-author { font-size: .875rem; font-weight: 700; }
.comment-time { font-size: .75rem; color: var(--text-muted); }
.comment-text { font-size: .875rem; margin: 0 0 .35rem; line-height: 1.55; word-break: break-word; }
.comment-actions { display: flex; align-items: center; gap: .75rem; }
.comment-reply-btn { background: none; border: none; font-size: .78rem; font-weight: 700; color: var(--primary); cursor: pointer; padding: 0; }
.comment-reply-btn:hover { text-decoration: underline; }
.comment-delete-form { display: inline; }
.comment-delete-btn { background: none; border: none; font-size: .78rem; color: #dc2626; cursor: pointer; padding: 0; }
.comment-delete-btn:hover { text-decoration: underline; }
.replies-list { margin-top: .75rem; border-left: 2px solid var(--primary-light); padding-left: .75rem; }
@media (max-width: 900px) {
  .foto-detail-layout { grid-template-columns: 1fr; min-height: auto; }
  .foto-detail-main { position: static; height: auto; min-height: unset; max-height: unset; }
  .foto-detail-img { max-width: 100%; max-height: unset; width: 100%; height: auto; object-fit: contain; }
  .foto-detail-comments { height: auto; overflow-y: visible; border-left: none; border-top: 1px solid var(--border); padding: 1.25rem; }
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10,10,10,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox__content { position: relative; display: flex; flex-direction: row; align-items: stretch; width: 92vw; max-width: 1100px; max-height: 88vh; overflow: hidden; border-radius: var(--radius-lg); background: #000; }
.lightbox__content img { flex: 1 1 0; min-width: 0; max-height: 88vh; object-fit: contain; display: block; transform-origin: center center; transition: transform .15s ease; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lightbox__caption { width: 280px; min-width: 260px; flex-shrink: 0; background: var(--white,#fff); color: var(--text,#1a1a1a); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; overflow-y: auto; text-align: left; border-left: 1px solid #eee; }
.lightbox__caption h4 { font-size: 1.05rem; font-weight: 800; margin: 0; color: var(--text,#1a1a1a); }
.lightbox__caption p  { font-size: .875rem; color: var(--text-muted,#666); margin: 0; line-height: 1.6; }
.lightbox__close { position: fixed; top: 1.25rem; right: 1.5rem; background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 2rem; border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 9001; }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 2rem; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 9001; }
.lightbox__prev { left: .5rem; }
.lightbox__next { right: .5rem; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--primary); }
@media (min-width: 641px) {
  /* Push prev/next inside the foto area, not overlapping the caption panel */
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: 290px; }
}
@media (max-width: 640px) {
  .lightbox__content { flex-direction: column; width: 98vw; max-height: 92vh; }
  .lightbox__content img { flex: none; width: 100%; max-height: 52vh; }
  .lightbox__caption { width: 100%; min-width: 0; border-left: none; border-top: 1px solid #eee; }
  .lightbox__next { right: .5rem; }
}
.lightbox__zoom-controls { position: fixed; top: 1.25rem; left: 1.5rem; display: flex; gap: .4rem; z-index: 9001; }
.lightbox__zoom-controls button { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: var(--radius-full); width: 40px; height: 40px; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .15s; }
.lightbox__zoom-controls button:hover { background: var(--primary); }
/* gallery items must be clickable */
.gallery-item { cursor: pointer; }
.lightbox__comment-link { display: inline-block; margin-top: auto; font-size: .85rem; color: #fff; text-decoration: none; background: var(--primary,#7c3aed); border-radius: var(--radius-full,9999px); padding: .5rem 1rem; text-align: center; transition: background .15s; }
.lightbox__comment-link:hover { background: var(--primary-dark,#5b21b6); }
.lightbox__stat-row { display: flex; gap: 1rem; font-size: .85rem; color: var(--text-muted); margin: .25rem 0; }
/* ── FOTO STATS BAR (detail page) ────────────────────────── */
.foto-stats { display: flex; align-items: center; gap: .5rem; margin: .75rem 0 1rem; flex-wrap: wrap; }
.foto-stat { font-size: .88rem; color: var(--text-muted); }
.foto-stat-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: .35rem .85rem;
  font-size: .85rem; cursor: pointer; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.foto-stat-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.foto-like-btn.liked { background: #fee2e2; border-color: #ef4444; color: #dc2626; }

/* ── SHOP ─────────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; font-size: .9rem; color: var(--text-muted); }
.sort-form select { padding: .35rem .75rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__link { display: block; color: inherit; text-decoration: none; }
.product-card__cart-form { padding: 0 .75rem .75rem; }
.product-card__image { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3.5rem; }
.product-badge { position: absolute; top: .6rem; left: .6rem; background: var(--error); color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .6rem; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .08em; }
.product-badge--stock { background: var(--text-muted); }
.product-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.product-card__cat { font-size: .74rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; }
.product-card__name { font-weight: 700; font-size: .95rem; color: var(--text); }
.product-card__price { margin-top: auto; }
.price { font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.price-sale { font-weight: 800; color: var(--error); font-size: 1.05rem; }
.price-original { text-decoration: line-through; color: var(--text-muted); font-size: .85rem; margin-left: .25rem; }

/* ── PRODUCT DETAIL ───────────────────────────────────────── */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 1.5rem; }
.product-gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.product-gallery__main img { width: 100%; max-height: 460px; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.product-gallery__thumbs .thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid var(--border); cursor: pointer; transition: border-color var(--transition), box-shadow var(--transition); }
.product-gallery__thumbs .thumb:hover { border-color: var(--primary); }
.product-gallery__thumbs .thumb--active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.product-info { display: flex; flex-direction: column; gap: 1rem; }
.product-info__name { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.product-info__price { display: flex; align-items: baseline; gap: .5rem; }
.product-info__sku { font-size: .85rem; color: var(--text-muted); }
.product-info__desc { color: var(--text-muted); line-height: 1.7; }
.product-info__cta { margin-top: 1rem; }
.product-info__share { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-muted); }
.product-badge--lg { position: absolute; top: 1rem; left: 1rem; font-size: .8rem; padding: .3rem .8rem; }
.no-image-placeholder { height: 360px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }

/* Variant selector */
.variant-selector { display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }
.variant-selector__group { display: flex; flex-direction: column; gap: .4rem; }
.variant-selector__label { font-size: .85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.variant-selector__label span { font-weight: 400; color: var(--text); }
.variant-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.variant-opt { padding: .4rem .9rem; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem; transition: .15s; background: var(--white); }
.variant-opt:hover { border-color: var(--primary); }
.variant-opt.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
.variant-opt.unavailable { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.variant-status { font-size: .9rem; padding: .4rem .75rem; border-radius: var(--radius-sm); }
.variant-status--ok { background: #dcfce7; color: #15803d; }
.variant-status--empty { background: #fee2e2; color: #991b1b; }

/* Cart variant label */
.cart-variant-name { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }

/* ── REVIEWS ──────────────────────────────────────────────── */
.review-list { display: flex; flex-direction: column; gap: 1.25rem; }
.review-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.review-item__header { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .5rem; }
.review-stars { font-size: 1rem; }
.review-date { font-size: .8rem; color: var(--text-muted); }
.review-content { margin: 0 0 .75rem; line-height: 1.65; }
.review-photos { display: flex; gap: .35rem; flex-wrap: wrap; }
.review-photos img { width: 68px; height: 68px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.star-picker { display: flex; gap: .1rem; }
.qty-btn { width: 2rem; height: 2rem; border: 2px solid var(--border); border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── KONTAK ───────────────────────────────────────────────── */
.kontak-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.kontak-info { display: flex; flex-direction: column; gap: 1.25rem; }
.kontak-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .5rem; }
.kontak-icon { font-size: 2rem; }
.kontak-card h3 { font-weight: 700; }
.kontak-form-wrap { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }

/* ── KONTAK REDESIGN ──────────────────────────────────────── */
.section--kontak-hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #e0f2fe 100%);
  padding: 3.5rem 0 4rem;
  flex: 1;
}
.kontak-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.kontak-hero__title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .75rem;
  color: var(--text);
}
.kontak-hero__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}
.kontak-channels {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.kontak-channel {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  width: fit-content;
}
.kontak-channel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kontak-channel--wa    { background: #25d366; color: #fff; }
.kontak-channel--email { background: var(--primary); color: #fff; }
.kontak-channel--fb    { background: #1877f2; color: #fff; }
.kontak-channel--ig    { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.kontak-channel--tw    { background: #000; color: #fff; }
.kontak-channel--yt    { background: #ff0000; color: #fff; }

.kontak-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem;
  box-shadow: 0 4px 32px rgba(124,58,237,.08), var(--shadow);
}
.kontak-form__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}
.kontak-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.kontak-success {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.kontak-success__icon { font-size: 3rem; }
.kontak-success h3 { font-size: 1.4rem; font-weight: 700; margin: 0; }
.kontak-success p { color: var(--text-muted); margin: 0; }

@media (max-width: 768px) {
  .kontak-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .kontak-hero__title { font-size: 1.75rem; }
}

/* ── SEARCH FORM ──────────────────────────────────────────── */
.search-form { display: flex; gap: .5rem; margin-top: 1.25rem; max-width: 480px; }
.search-form input { flex: 1; padding: .6rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-full); font-size: .95rem; }
.search-form input:focus { outline: none; border-color: var(--primary); }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination { margin-top: 2rem; }
.pagination ul { display: flex; gap: .3rem; list-style: none; justify-content: center; flex-wrap: wrap; }
.pagination li a, .pagination li.active a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.pagination li a:hover { border-color: var(--primary); color: var(--primary); }
.pagination li.active a { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination li.dots span { display: flex; align-items: center; padding: 0 .4rem; color: var(--text-muted); }

/* ── CTA BANNER ───────────────────────────────────────────── */
.section--cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.cta-box { text-align: center; color: #fff; }
.cta-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.cta-box p { opacity: .9; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-box .btn--primary { background: var(--accent); color: var(--text); }
.cta-box .btn--primary:hover { background: #d97706; }

/* ── PESANAN SAYA ─────────────────────────────────────────── */
.order-list { display: flex; flex-direction: column; gap: 1.5rem; }
.order-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.order-number { font-weight: 800; font-size: 1rem; color: var(--text); }
.order-date { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }
.order-status-badge { font-size: .78rem; font-weight: 700; padding: .25rem .75rem; border-radius: var(--radius-full); white-space: nowrap; }
.order-items { padding: .75rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.order-item { display: flex; align-items: baseline; gap: .75rem; font-size: .9rem; }
.order-item__name { flex: 1; font-weight: 600; }
.order-item__variant { font-weight: 400; color: var(--text-muted); font-size: .82rem; }
.order-item__qty { color: var(--text-muted); font-size: .85rem; white-space: nowrap; }
.order-item__price { white-space: nowrap; font-weight: 600; }
.order-card__foot { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; border-top: 1px solid var(--border); background: var(--surface-2); font-size: .9rem; flex-wrap: wrap; gap: .5rem; }
.order-shipping { color: var(--text-muted); font-size: .85rem; }
.order-total { font-weight: 700; }
.order-proof-upload { padding: .75rem 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.proof-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--primary); }
.proof-label input[type=file] { font-size: .82rem; color: var(--text-muted); }
.order-proof-done { padding: .6rem 1.25rem; font-size: .85rem; color: var(--success); border-top: 1px solid var(--border); }
.order-admin-note { padding: .6rem 1.25rem; font-size: .85rem; color: var(--text-muted); border-top: 1px solid var(--border); background: var(--accent-light); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--text); color: rgba(255,255,255,.8); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 1.25rem;
}
.footer-brand .logo-text { color: #fff; font-size: 1.3rem; }
.footer-brand p { margin-top: .75rem; font-size: .9rem; opacity: .7; max-width: 280px; }
.footer-links h4, .footer-social h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.social-icons { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background var(--transition); }
.social-icon:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem; text-align: center; font-size: .85rem; opacity: .5; }

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 99;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-bio { margin: 0 auto 2rem; }
  .hero-illustration { order: -1; }
  .hero-avatar { width: 180px; height: 180px; }
  .hero-blob { width: 220px; height: 220px; }
  .articles-layout, .shop-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .kontak-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-grid--featured { grid-template-columns: 1fr; }
  .article-card--hero { grid-column: auto; }
}

@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile nav drawer */
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 99;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: .25rem;
  }
  .site-nav ul li { width: 100%; }
  .site-nav a {
    display: block;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    width: 100%;
  }
  .site-nav a:hover, .site-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
  }
  /* hide separator items on mobile, show inline in nav list */
  .cart-nav-item { border-left: none; margin: 0; padding: 0; }
  .cart-nav-item .cart-link { display: block; padding: .75rem 1rem; font-size: .95rem; border-radius: var(--radius-sm); width: 100%; }
  .cart-nav-item .cart-link::before { content: '🛒 '; }
  .auth-nav-item { border-left: none; margin: 0; padding: 0; flex-direction: column; gap: .25rem; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--border); }
  .auth-nav-item .btn { width: 100%; justify-content: center; }
  .user-nav-item { border-left: none; margin: 0; padding: 0; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--border); }
  .user-nav-btn { width: 100%; justify-content: flex-start; padding: .75rem 1rem; }
  .user-nav-dropdown { position: static; box-shadow: none; border: none; background: var(--surface-2); border-radius: var(--radius-sm); margin-top: .25rem; }

  /* Hamburger toggle */
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero: reduce top padding on mobile */
  .hero { min-height: auto; overflow: hidden; }
  .hero-content { padding: 2.5rem 1.25rem 3rem; }
  .hero-illustration { margin-top: 1.5rem; }
  .hero-name { line-height: 1.15; }
}
