/* Theme 3: "link alternatif" landing (site_type alt). Product-detail structure, light. */
body.alt-site { --a: #f1641e; --a2: #b6410c; --ink: #1d1d1f; --muted: #5f6368; --line: #e4e1dc; --bg: #faf8f5; --card: #fff; --soft: #f3efe9;
  background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; padding-bottom: 0; }
body.alt-p-teal { --a: #0e9384; --a2: #0a6b60; }
body.alt-p-indigo { --a: #4f46e5; --a2: #3730a3; }
body.alt-p-forest { --a: #2f8f46; --a2: #1e6531; }
body.alt-p-plum { --a: #a23b9b; --a2: #74246f; }
body.alt-p-ochre { --a: #c98400; --a2: #8f5e00; }
body.alt-site a { color: var(--a2); }
.alt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.alt-narrow { max-width: 860px; }

/* header */
.alt-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.alt-topline { background: var(--ink); color: #fff; font-size: 13px; }
.alt-topline .alt-wrap { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.alt-header-main { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.alt-header-center .alt-header-main { justify-content: center; }
.alt-header-center .alt-logo-link { order: 0; flex-basis: 100%; justify-content: center; padding-top: 10px; }
.alt-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink) !important; font-weight: 800; }
.alt-logo { border-radius: 10px; }
.alt-host { font-size: 15px; letter-spacing: .01em; }
.alt-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.alt-header-center .alt-nav { flex: 0 1 auto; }
.alt-nav a { color: var(--ink) !important; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.alt-nav a:hover, .alt-nav a[aria-current] { background: var(--soft); }
.alt-header-cta { display: flex; gap: 8px; }
.alt-btn-sm { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--a); color: #fff !important; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.alt-btn-ghost { background: transparent; color: var(--ink) !important; border: 2px solid var(--ink); }
.alt-menu-toggle, .alt-menu-btn { display: none; }

/* breadcrumb */
.alt-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 6px; margin: 0; font-size: 14px; color: var(--muted); }
.alt-crumbs a { color: var(--muted) !important; }
.alt-crumbs li + li::before { margin-right: 6px; color: #9aa0a6; }
.alt-crumbs-chevron li + li::before { content: "\203A"; }
.alt-crumbs-slash li + li::before { content: "/"; }
.alt-crumbs-arrow li + li::before { content: "\2192"; }
.alt-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* listing: gallery + access box */
.alt-listing { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; padding-top: 10px; padding-bottom: 28px; align-items: start; }
.alt-listing-gallery-right .alt-gallery { order: 2; }
.alt-listing-gallery-top { grid-template-columns: 1fr; max-width: 900px; }
.alt-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; position: sticky; top: 84px; }
.alt-listing-gallery-top .alt-gallery { position: static; grid-template-columns: 1fr; }
.alt-listing-gallery-top .alt-thumbs { flex-direction: row; order: 2; }
.alt-slide-input { position: absolute; opacity: 0; pointer-events: none; }
.alt-thumbs { display: flex; flex-direction: column; gap: 10px; }
.alt-thumb { width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); display: grid; place-items: center; overflow: hidden; cursor: pointer; font-size: 26px; color: var(--a); }
.alt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.alt-stage { position: relative; border-radius: 18px; overflow: hidden; background: var(--soft); aspect-ratio: 1200 / 630; }
.alt-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .25s; }
.alt-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
#altSlide0:checked ~ .alt-stage .alt-slide-0, #altSlide1:checked ~ .alt-stage .alt-slide-1,
#altSlide2:checked ~ .alt-stage .alt-slide-2, #altSlide3:checked ~ .alt-stage .alt-slide-3 { opacity: 1; z-index: 1; }
#altSlide0:checked ~ .alt-thumbs .alt-thumb-0, #altSlide1:checked ~ .alt-thumbs .alt-thumb-1,
#altSlide2:checked ~ .alt-thumbs .alt-thumb-2, #altSlide3:checked ~ .alt-thumbs .alt-thumb-3 { border-color: var(--ink); }
.alt-tile { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px;
  background: linear-gradient(135deg, var(--a), var(--a2)); color: #fff; }
.alt-tile i { font-size: 56px; }
.alt-tile strong { font-size: 26px; }
.alt-tile span { max-width: 420px; opacity: .92; }

.alt-buybox { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.alt-badge { display: inline-flex; gap: 6px; align-items: center; background: var(--soft); color: var(--a2); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.alt-title { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 800; margin: 12px 0 8px; }
.alt-brandline { color: var(--muted); margin: 0 0 10px; }
.alt-brandlink { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.alt-brandline-bottom { text-align: center; padding: 18px 0 28px; font-size: 15px; }
.alt-meta { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.alt-dot { color: #1e9e4a; font-size: 9px; vertical-align: middle; }
.alt-lead { font-size: 16px; margin-bottom: 16px; }
.alt-options { display: grid; gap: 12px; margin-bottom: 14px; }
.alt-options-label { font-weight: 700; font-size: 14px; }
.alt-cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; border-radius: 999px; font-size: 22px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.alt-cta-main { background: var(--a); color: #fff !important; }
.alt-cta-alt { background: var(--ink); color: #fff !important; }
.alt-cta-link { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 2px dashed var(--line); border-radius: 999px; font-weight: 700; text-decoration: none; }
.alt-note { font-size: 14px; color: var(--muted); }
.alt-age { display: inline-block; background: #c62828; color: #fff; font-weight: 800; font-size: 12px; padding: 2px 7px; border-radius: 6px; margin-right: 4px; }
.alt-h3 { font-size: 16px; font-weight: 800; margin: 8px 0; }
.alt-highlights ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.alt-highlights li { display: flex; gap: 10px; align-items: center; }
.alt-highlights i { color: var(--a); font-size: 18px; }

/* blocks */
.alt-block { padding: 26px 0; border-top: 1px solid var(--line); }
.alt-h2 { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.alt-panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.alt-panel summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.alt-panel p, .alt-panel ol, .alt-panel ul { margin: 10px 0 0; }
.alt-steps li, .alt-list li { margin-bottom: 6px; }
.alt-seller { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.alt-seller-mark { width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--soft); display: grid; place-items: center; overflow: hidden; font-size: 30px; color: var(--a); }
.alt-seller-mark img { width: 100%; height: 100%; object-fit: cover; }
.alt-seller-name { font-weight: 800; font-size: 18px; }
.alt-seller p { margin: 4px 0 8px; color: var(--muted); }
.alt-seller-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; }
.alt-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.alt-card { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--ink) !important; transition: box-shadow .2s, transform .2s; }
.alt-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.alt-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--a); display: grid; place-items: center; font-size: 22px; }
.alt-card span:last-child { color: var(--muted); font-size: 14px; }
.alt-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alt-chip { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none; font-size: 14px; }
.alt-chip:hover { border-color: var(--ink); }

/* inner pages (legal, articles) keep Bootstrap markup */
body.alt-site .main .section { background: transparent; }

/* footer */
.alt-footer { background: #1d1d1f; color: #d6d6d6; padding: 36px 0 24px; margin-top: 10px; }
.alt-footer a { color: #fff !important; }
.alt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.alt-footer-title { color: #fff; font-weight: 800; margin-bottom: 10px; }
.alt-footer-links { display: grid; gap: 6px; }
.alt-footer-bottom { border-top: 1px solid #3a3a3c; margin-top: 24px; padding-top: 14px; font-size: 13px; }
.alt-age-line { font-size: 14px; }
.alt-dock { display: none; }

/* blinking Daftar / Login */
@keyframes alt-cta-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--a); filter: brightness(1); } 50% { transform: scale(1.05); box-shadow: 0 0 18px 3px var(--a); filter: brightness(1.2); } }
body.alt-site [data-cta] { animation: alt-cta-pulse 1.4s ease-in-out infinite; will-change: transform; }
body.alt-site [data-cta="login"] { animation-delay: .7s; }
@media (prefers-reduced-motion: reduce) { body.alt-site [data-cta] { animation-duration: 2.8s; } }

@media (max-width: 900px) {
  .alt-listing { grid-template-columns: 1fr; gap: 18px; }
  .alt-listing-gallery-right .alt-gallery { order: 0; }
  .alt-gallery { position: static; grid-template-columns: 1fr; }
  .alt-thumbs { flex-direction: row; order: 2; }
  .alt-thumb { width: 60px; height: 60px; }
  .alt-footer-grid { grid-template-columns: 1fr; }
  .alt-header-cta { display: none; }
  .alt-menu-btn { display: block; margin-left: auto; font-size: 28px; cursor: pointer; }
  .alt-header-center .alt-logo-link { flex-basis: auto; justify-content: flex-start; padding-top: 0; }
  .alt-header-center .alt-header-main { justify-content: space-between; }
  .alt-nav { display: none; flex-basis: 100%; flex-direction: column; padding-bottom: 10px; }
  .alt-menu-toggle:checked ~ .alt-nav { display: flex; }
  .alt-buybox { padding: 18px; }
  .alt-cta { min-height: 58px; font-size: 21px; }
  body.alt-site { padding-bottom: 84px; }
  .alt-dock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .alt-dock a { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; font-weight: 900; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
  .alt-dock-main { background: var(--a); color: #fff !important; }
  .alt-dock-ghost { background: var(--ink); color: #fff !important; }
}
