/* ============================================================
   Rika Bakery — Website Publik
   Tema: pink hangat + krem
   ============================================================ */

:root {
    --pink:        #d94f7e;
    --pink-dark:   #b83a63;
    --pink-soft:   #fbe9f0;
    --cream:       #faf3ec;
    --cream-deep:  #f3e6d8;
    --ink:         #3d2c33;
    --muted:       #8a747c;
    --white:       #ffffff;
    --line:        #eee0d4;
    --shadow:      0 8px 30px rgba(184, 58, 99, 0.08);
    --radius:      16px;
    --font-body:   'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ink);
}
.brand-mark { font-size: 1.4rem; }
.brand-mark img { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; display: block; }
.brand-name { white-space: nowrap; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.site-nav a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
    transition: color .2s;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).active { color: var(--pink); }
.site-nav a:not(.btn).active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--pink);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s, box-shadow .2s, background .2s;
    font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 6px 18px rgba(217, 79, 126, 0.28);
}
.btn-primary:hover { background: var(--pink-dark); }
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }
.btn-wa {
    background: #25d366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover { background: #1ebe5b; }

/* ---------- Hero (full-bleed, text overlay kiri, subjek kanan) ---------- */
.hero {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #b83a63; /* fallback saat gambar belum termuat */
    padding: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(120, 32, 60, 0.52) 0%,
        rgba(120, 32, 60, 0.28) 38%,
        rgba(120, 32, 60, 0.08) 60%,
        rgba(120, 32, 60, 0) 74%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 84vh;
    padding: 48px 20px;
}
.hero-content {
    max-width: 600px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffd7e4;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 16px;
}
.hero-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: #ffd7e4;
    border-radius: 2px;
}
.hero-content h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    line-height: 1.08;
    margin-bottom: 18px;
    text-shadow: 0 2px 24px rgba(120, 32, 60, 0.35);
    max-width: 15ch;
}
.hero-content h1 em { color: #ffd7e4; font-style: normal; }
.hero-content p {
    font-size: 1.14rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 470px;
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 15px 30px; font-size: 0.98rem; }
.hero-actions .btn-primary {
    background: #fff;
    color: var(--pink-dark);
    box-shadow: 0 8px 26px rgba(120, 32, 60, 0.30);
}
.hero-actions .btn-primary:hover { background: #ffd7e4; color: var(--pink-dark); }
.hero-actions .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}
.hero-actions .btn-outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow {
    color: var(--pink);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Category chips ---------- */
.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.cat-chip {
    padding: 9px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink);
    transition: all .2s;
}
.cat-chip:hover, .cat-chip.active {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}

/* ---------- Product grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(184, 58, 99, 0.14);
}
.product-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--cream-deep);
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--pink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}
.product-badge.baru { background: #c98a3d; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.product-cat { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.product-price {
    font-weight: 700;
    color: var(--pink-dark);
    font-size: 1.05rem;
    margin-top: auto;
}
.product-link {
    margin-top: 14px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--pink);
}
.product-link:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.testi-stars { color: #f0a428; letter-spacing: 2px; }
.testi-quote { color: var(--ink); font-size: 0.98rem; }
.testi-meta { margin-top: auto; }
.testi-meta .name { font-weight: 700; }
.testi-meta .role { font-size: 0.82rem; color: var(--muted); }

/* ---------- About teaser ---------- */
.about-teaser {
    background: var(--pink-soft);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
    overflow: hidden;
}
.about-teaser img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow);
}
.about-teaser h2 { margin-bottom: 14px; }
.about-teaser p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Halaman Tentang (rich text dari editor) ---------- */
.about-cover {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}
.about-page-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}
.about-content,
.post-content {
    color: var(--ink-soft, #5c4a52);
    font-size: 1.02rem;
    line-height: 1.85;
}
.about-content p,
.post-content p { margin-bottom: 1.1em; }
.about-content h2,
.post-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.8em 0 0.6em;
}
.about-content h3,
.post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.8em 0 0.6em;
}
.about-content h4,
.post-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.6em 0 0.5em;
}
.about-content strong,
.post-content strong { color: var(--pink-dark); font-weight: 700; }
.about-content blockquote,
.post-content blockquote {
    margin: 1.4em 0;
    padding: 12px 20px;
    border-left: 4px solid var(--pink);
    background: var(--pink-soft);
    border-radius: 0 12px 12px 0;
    color: var(--ink);
    font-style: italic;
}
.about-content ul,
.about-content ol,
.post-content ul,
.post-content ol { margin: 0.8em 0 1.2em; padding-left: 24px; }
.about-content li,
.post-content li { margin-bottom: 0.4em; }
.about-content a,
.post-content a { color: var(--pink-dark); text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff;
    text-align: center;
    padding: 56px 20px;
    border-radius: 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { opacity: 0.92; margin-bottom: 24px; }

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(184,58,99,.14); }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-deep); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.blog-date { font-size: 0.78rem; color: var(--muted); }

/* ---------- Product detail ---------- */
.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.pd-image img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; }
.pd-cat { color: var(--pink); font-weight: 600; font-size: 0.9rem; }
.pd-title { font-size: 2rem; margin: 8px 0 6px; }
.pd-price { font-size: 1.5rem; font-weight: 700; color: var(--pink-dark); margin-bottom: 18px; }
.pd-desc { color: var(--muted); margin-bottom: 24px; white-space: pre-line; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Outlets ---------- */
.outlet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.outlet-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.outlet-card h3 { margin-bottom: 8px; }
.outlet-card .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.outlet-card .hours { color: var(--pink-dark); font-weight: 600; font-size: 0.9rem; margin-top: 8px; }
.outlet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.outlet-actions .btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; font-size: 0.85rem; }
.outlet-map { margin-top: 40px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.outlet-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}
.contact-info .item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}
.contact-info .ic {
    width: 44px; height: 44px;
    flex: none;
    border-radius: 12px;
    background: var(--pink-soft);
    color: var(--pink-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.contact-info .label { font-weight: 700; }
.contact-info .val { color: var(--muted); font-size: 0.95rem; }

.form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fffdfb;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.alert {
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 0.92rem;
}
.alert-success { background: #e8f7ee; color: #146c43; border: 1px solid #bfe8cf; }
.alert-error { background: #fdeaea; color: #a12626; border: 1px solid #f3c2c2; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 22px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.faq-q .plus { font-size: 1.4rem; color: var(--pink); transition: transform .2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
    background: #2f2226;
    color: #e8dcd4;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 36px;
    padding: 56px 20px 40px;
}
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--pink); }
.footer-desc { font-size: 0.9rem; color: #cbb7ae; margin-top: 12px; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark img { filter: brightness(0) invert(1); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    color: #e8dcd4;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }

/* Footer link list */
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbb7ae; transition: color .15s, padding-left .15s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }

/* Footer contact (icon + text) */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    color: #cbb7ae;
}
.fc-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: var(--pink);
    display: flex; align-items: center; justify-content: center;
    margin-top: -2px;
}
.fc-text { line-height: 1.5; }
.footer-contact a { color: #cbb7ae; transition: color .15s; }
.footer-contact a:hover { color: #fff; }

/* Footer hours */
.footer-hours {
    font-size: 0.92rem;
    color: #cbb7ae;
    margin-bottom: 18px;
    line-height: 1.6;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    font-size: 0.85rem;
    color: #cbb7ae;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #cbb7ae; }
.footer-legal a:hover { color: #fff; }

/* ---------- Pagination ---------- */
.pagination-wrap { margin-top: 36px; }
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}
.pagination .page-item a,
.pagination .page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.pagination .page-item a:hover { border-color: var(--pink); color: var(--pink); }
.pagination .page-item.active a,
.pagination .page-item.active span {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}
.pagination .page-item.disabled a,
.pagination .page-item.disabled span { opacity: 0.4; pointer-events: none; }

/* ---------- Floating WA ---------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 58px; height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Breadcrumb / page head ---------- */
.page-head {
    background: linear-gradient(135deg, #fbe9f0, #faf3ec);
    padding: 48px 0;
    text-align: center;
}
.page-head h1 { font-size: 2.1rem; margin-bottom: 6px; }
.page-head p { color: var(--muted); }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}
.empty-state .big { font-size: 3rem; margin-bottom: 12px; }

/* ---------- Stats band (statistik beranda) ---------- */
.stats-band {
    background: linear-gradient(160deg, #f9e2ea, #f4d3dd);
    border-radius: 24px;
    padding: 48px 32px 44px;
    text-align: center;
}
.stats-heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    color: var(--ink);
    margin-bottom: 8px;
}
.stats-sub { color: var(--pink-dark); max-width: 560px; margin: 0 auto; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}
.stat-label { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Social media (3 baris) ---------- */
.social-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
}
.social-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
}
.social-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.social-icon--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.social-icon--tt { background: #111; }
.social-icon--fb { background: #1877f2; }
.social-text { display: flex; flex-direction: column; line-height: 1.35; flex: 1 1 auto; min-width: 0; }
.social-text strong { color: var(--ink); font-size: 1rem; }
.social-text span { color: var(--muted); font-size: 0.85rem; }
.social-cta { flex: 0 0 auto; padding: 8px 20px; font-size: 0.85rem; }

/* ---------- Tag artikel ---------- */
.tag-chip {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--pink-dark);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: background .15s, color .15s;
}
.tag-chip:hover { background: var(--pink); color: #fff; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .pd-grid, .about-teaser, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .outlet-grid { grid-template-columns: 1fr; }
    .about-teaser { padding: 28px; }
    .about-teaser img { height: 220px; }
    .stats-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 20px;
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav a:not(.btn) { padding: 12px 0; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 78vh; }
    .hero-inner { min-height: 78vh; padding: 36px 20px; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-content p { font-size: 1.02rem; }
    .section { padding: 48px 0; }
    .cta-band { padding: 40px 18px; }
}

/* ============================================================
   Halaman Detail Produk (PDP) + Keranjang
   ============================================================ */

.hidden { display: none !important; }

/* ---------- Cart icon di header ---------- */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--ink);
    transition: background .2s, color .2s;
}
.cart-link:hover { background: var(--pink-soft); color: var(--pink); }
.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--pink);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ---------- PDP breadcrumb ---------- */
.pdp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.pdp-breadcrumb a { color: var(--muted); }
.pdp-breadcrumb a:hover { color: var(--pink); }
.pdp-breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ---------- Breadcrumb umum (halaman list & artikel) ---------- */
.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 12px;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--pink); }
.crumb .current { color: var(--ink); font-weight: 600; }

/* ---------- PDP grid ---------- */
.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

/* ---------- Galeri ---------- */
.pdp-gallery { position: sticky; top: 88px; }
.pdp-main {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    aspect-ratio: 1 / 1;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-badge-corner {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--pink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.pdp-badge-corner.baru { background: #c98a3d; }

.pdp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.pdp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color .2s;
    box-shadow: var(--shadow);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active { border-color: var(--pink); }

/* ---------- Info ---------- */
.pdp-title {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin-bottom: 6px;
    line-height: 1.15;
}
.pdp-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 18px;
}
.pdp-desc { color: var(--muted); line-height: 1.75; margin-bottom: 18px; }

.pdp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pdp-tag {
    background: var(--cream-deep);
    color: #7a5a3a;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.pdp-block {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.pdp-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

/* Size selector (varian ukuran) */
.pdp-size { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-size-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #fff;
    color: var(--pink);
    border: 1.5px solid var(--pink);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
}
.pdp-size-pill:hover { background: #fdeef3; }
.pdp-size-pill.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.pdp-size-pill .v-name { font-size: 0.92rem; font-weight: 600; }
.pdp-size-pill .v-price { font-size: 0.74rem; font-weight: 500; opacity: 0.85; }

/* Add-ons */
.pdp-addons { display: flex; flex-direction: column; gap: 10px; }
.pdp-addon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.pdp-addon:hover { border-color: var(--pink); }
.pdp-addon input { display: none; }
.pdp-addon-checkbox {
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 6px;
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.pdp-addon input:checked ~ .pdp-addon-checkbox {
    background: var(--pink);
    border-color: var(--pink);
}
.pdp-addon input:checked ~ .pdp-addon-checkbox::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.pdp-addon input:checked ~ .pdp-addon-name { color: var(--ink); font-weight: 600; }
.pdp-addon-name { flex: 1; font-size: 0.95rem; }
.pdp-addon-price { font-weight: 600; color: var(--muted); }

/* Quantity + subtotal */
.pdp-qty-block { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.pdp-qty-block .pdp-label { width: 100%; margin-bottom: 0; }
.pdp-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.pdp-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    font-size: 1.3rem;
    color: var(--ink);
    cursor: pointer;
    transition: background .15s, opacity .15s;
}
.pdp-qty-btn:hover { background: var(--pink-soft); }
.pdp-qty-btn.disabled { opacity: 0.3; cursor: default; }
.pdp-qty-val {
    min-width: 44px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
}
.pdp-subtotal {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
}
.pdp-subtotal-label { font-size: 0.8rem; color: var(--muted); }
.pdp-subtotal-val { font-size: 1.4rem; font-weight: 700; color: var(--pink-dark); }

/* Actions */
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.pdp-actions .btn { width: 100%; padding: 15px 20px; font-size: 0.95rem; letter-spacing: 0.3px; }
.pdp-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

/* Button variants */
.btn-outline-dark {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-outline-dark:hover { border-color: var(--pink); color: var(--pink); }
.btn-solid-dark {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 6px 18px rgba(217, 79, 126, 0.28);
}
.btn-solid-dark:hover { background: var(--pink-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost { background: var(--pink-soft); color: var(--pink-dark); border: none; }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all .25s;
    z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Halaman Keranjang ---------- */
.cart-wrap { max-width: 780px; margin: 0 auto; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}
.cart-item-img {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
    flex: none;
    background: var(--cream-deep);
}
.cart-item-img.ph { display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.cart-item-size { font-size: 0.82rem; color: var(--muted); }
.cart-item-addons { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.cart-item-addons span { font-size: 0.8rem; color: var(--muted); }
.cart-item-line { font-weight: 600; color: var(--pink-dark); margin-top: 8px; font-size: 0.92rem; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item-total { font-weight: 700; font-size: 1rem; }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; }
.cart-remove:hover { color: #a12626; }

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.cart-qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--ink);
}
.cart-qty-btn:hover { background: var(--pink-soft); }
.cart-qty span { min-width: 30px; text-align: center; font-weight: 600; font-size: 0.92rem; }

.cart-summary {
    max-width: 780px;
    margin: 26px auto 0;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.cart-total-val { font-size: 1.5rem; font-weight: 700; color: var(--pink-dark); }
.cart-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.cart-summary .btn + .btn { margin-top: 10px; }

/* ---------- Responsive PDP & cart ---------- */
@media (max-width: 900px) {
    .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
    .pdp-gallery { position: static; }
    .pdp-actions { grid-template-columns: 1fr; }
    .pdp-subtotal { margin-left: 0; text-align: left; }
}
@media (max-width: 640px) {
    .cart-item { flex-wrap: wrap; }
    .cart-item-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}
