:root{
  --blue:#1f4dff;
  --blue-2:#173ee4;
  --navy:#1a2452;
  --cream:#f7f3ee;
  --soft:#fffdf9;
  --yellow:#f2ee3d;
  --line:#d7d9e1;
  --muted:#667085;
  --shadow:0 18px 55px rgba(26,36,82,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',sans-serif;background:var(--cream);color:var(--navy)}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
img{max-width:100%;display:block}
.hidden{display:none!important}
.container{width:min(1180px,calc(100vw - 40px));margin:0 auto}
.topline{background:var(--blue);color:#fff;text-align:center;padding:12px 16px;font-size:14px;font-weight:700}
.topline span{padding:0 14px}
.site-header{background:rgba(250,247,242,.92);backdrop-filter:blur(10px);border-bottom:1px solid #e5e1d7;position:sticky;top:0;z-index:10}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:24px}
.brand img{height:62px;width:auto}
.nav-links{display:flex;gap:36px;font-weight:700}
.nav-links a{position:relative}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-8px;width:0;height:2px;background:var(--blue);transition:.2s}
.nav-links a:hover::after{width:100%}
.cart-button{border:1.6px solid #cad2e4;background:#fbfaf8;border-radius:999px;padding:14px 22px;font-weight:800;color:var(--navy);display:flex;align-items:center;gap:12px;cursor:pointer}
.cart-button span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;font-size:14px}
.hero{display:grid;grid-template-columns:1.02fr .98fr;gap:32px;align-items:center;padding:74px 0 58px}
.eyebrow,.section-label{font-size:15px;letter-spacing:.22em;font-weight:800;color:var(--navy)}
.hero h1,.catalog-section h2,.how-section h2,.faq-section h2{font-family:'Baloo 2',sans-serif;line-height:.94;letter-spacing:-.04em;margin:18px 0 16px;color:var(--navy)}
.hero h1{font-size:clamp(60px,8vw,104px)}
.hero h1 span,.catalog-section h2 span,.how-section h2 span,.faq-section h2 span{color:var(--blue)}
.hero p{font-size:24px;line-height:1.65;color:#67738f;margin:0 0 28px;max-width:570px;font-weight:700}
.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;background:var(--blue);color:#fff;border:0;border-radius:18px;padding:18px 28px;font-weight:800;box-shadow:0 10px 24px rgba(31,77,255,.18);cursor:pointer}
.primary-btn b{font-size:20px}
.under-note{margin-top:16px;font-size:21px;color:#687487;font-style:italic}
.hero-art{position:relative;display:flex;justify-content:center;align-items:center;min-height:540px}
.mood-tag{position:absolute;top:28px;left:24px;background:#e7ef57;border:2px solid var(--navy);border-radius:14px;padding:14px 28px;font-weight:800;font-size:28px;transform:rotate(-7deg);box-shadow:6px 6px 0 rgba(0,0,0,.08)}
.polaroid{position:relative;background:#f8f6f1;padding:24px 24px 48px;border:2px solid #6d7392;border-radius:22px;box-shadow:14px 16px 0 #d5d6df;transform:rotate(5deg);width:min(520px,100%)}
.polaroid img{border-radius:16px;width:100%;aspect-ratio:1/1;object-fit:cover}
.polaroid-label{position:absolute;left:34px;bottom:12px;font-size:18px;letter-spacing:.22em;font-weight:800;color:var(--navy)}
.drama-sticker{position:absolute;right:0;bottom:6px;background:var(--blue);color:#fff;border:2px solid var(--navy);border-radius:999px;padding:24px 34px;font-family:'Baloo 2',sans-serif;font-size:28px;font-weight:800;line-height:1;transform:rotate(-7deg);box-shadow:var(--shadow)}
.spark{position:absolute;color:var(--blue);font-size:58px;font-weight:900}
.spark-1{left:6px;bottom:34px}
.ticker{background:var(--blue);color:#fff;overflow:hidden;white-space:nowrap;padding:16px 0;margin-top:8px}
.ticker-track{display:inline-block;padding-left:100%;animation:scroll 22s linear infinite;font-weight:900;letter-spacing:.08em}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.catalog-section,.how-section,.faq-section{padding:86px 0}
.section-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:28px}
.catalog-section h2,.how-section h2,.faq-section h2{font-size:clamp(44px,6vw,70px)}
.section-head p{margin:0;color:#6d7692;font-size:20px;font-weight:700}
.bubble-stamp{width:162px;height:162px;border-radius:50%;border:2px solid var(--blue);display:grid;place-items:center;text-align:center;color:var(--blue);transform:rotate(8deg);background:rgba(255,255,255,.55)}
.bubble-stamp strong{font-size:54px;line-height:1;font-family:'Baloo 2',sans-serif}
.bubble-stamp span{font-size:15px;font-weight:800;line-height:1.25}
.tool-row{display:flex;gap:14px;margin-bottom:18px}
.tool-row input,.tool-row select{background:#fff;border:1.5px solid #dbdfeb;border-radius:18px;padding:16px 18px;color:var(--navy)}
.tool-row input{flex:1}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.chip{border:1.5px solid #d4d9e6;border-radius:999px;padding:12px 18px;background:#fff;font-weight:800;color:#53607f;cursor:pointer}
.chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.found-row{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px;color:#67738f;font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.product-card{background:#fff;border:1.5px solid #e1e4ef;border-radius:26px;padding:22px;display:flex;flex-direction:column;gap:16px;box-shadow:0 6px 25px rgba(31,77,255,.04)}
.product-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.icon-box{width:56px;height:56px;border-radius:20px;background:#eef2ff;color:var(--blue);display:grid;place-items:center;font-weight:900;font-size:24px;font-family:'Baloo 2',sans-serif}
.category-badge{background:#eff3ff;color:var(--blue);padding:9px 12px;border-radius:999px;font-size:12px;font-weight:800}
.product-card h3{margin:0;font-size:22px}
.product-card p{margin:0;color:#6d7692;line-height:1.6;min-height:52px}
.card-bottom{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:auto}
.price-box small{display:block;color:#6d7692;margin-bottom:4px}
.price-box strong{font-size:20px}
.secondary-btn{border:0;background:var(--navy);color:#fff;border-radius:16px;padding:14px 16px;font-weight:800;cursor:pointer}
.how-section{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center}
.steps{display:grid;gap:16px;margin-top:18px}
.steps article{background:#fff;border:1.5px solid #e1e4ef;border-radius:24px;padding:22px 24px;box-shadow:0 6px 18px rgba(26,36,82,.04)}
.steps b{font-family:'Baloo 2',sans-serif;color:var(--blue);font-size:38px;display:block;margin-bottom:4px}
.steps h3{margin:0 0 6px;font-size:22px}
.steps p{margin:0;color:#6d7692;line-height:1.65}
.cat-card{background:#fff;border:2px solid var(--navy);border-radius:30px;padding:18px;box-shadow:14px 14px 0 rgba(23,62,228,.12);transform:rotate(-3deg)}
.cat-card.blue{background:transparent;border:0;box-shadow:none;padding:0;transform:none}
.cat-card img{border-radius:26px;width:min(470px,100%)}
.faq-list{display:grid;gap:14px;margin-top:24px}
.faq-list details{background:#fff;border:1.5px solid #dfe3ed;border-radius:22px;padding:20px 22px}
.faq-list summary{cursor:pointer;font-weight:800;font-size:18px}
.faq-list p{margin:14px 0 0;color:#6d7692;line-height:1.7}
.site-footer{background:var(--blue);color:#fff;padding:54px 0 24px;margin-top:30px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:26px;align-items:start}
.footer-logo{height:52px;width:auto;filter:brightness(1.2)}
.site-footer h4{margin:0 0 12px;font-size:14px;letter-spacing:.18em}
.site-footer a,.site-footer p{display:block;color:#edf1ff;margin:8px 0;line-height:1.6}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:22px;padding-top:18px;color:#e3e7ff}
.overlay{position:fixed;inset:0;background:rgba(11,18,44,.4);z-index:20}
.cart-drawer{position:fixed;top:0;right:0;width:min(420px,92vw);height:100vh;background:#fff;padding:24px;z-index:21;display:flex;flex-direction:column;box-shadow:-16px 0 50px rgba(0,0,0,.12)}
.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.drawer-head h3{margin:0;font-size:28px;font-family:'Baloo 2',sans-serif}
.icon-btn{border:0;background:#edf2ff;color:var(--navy);width:40px;height:40px;border-radius:12px;cursor:pointer;font-size:18px}
.cart-items{display:grid;gap:12px;overflow:auto;padding-right:4px;flex:1}
.cart-row{display:flex;justify-content:space-between;gap:12px;background:#f8f9ff;border:1px solid #e1e6ff;border-radius:18px;padding:14px}.cart-row b{display:block}.cart-row small{color:#6d7692}.remove-btn{margin-top:8px;border:0;background:none;color:#e54760;font-weight:700;cursor:pointer;padding:0}
.cart-total{display:flex;justify-content:space-between;align-items:center;padding:16px 0 12px;font-weight:800;font-size:20px}
.primary-btn.full{width:100%}
.drawer-note{font-size:13px;color:#6d7692}
.modal{position:fixed;inset:0;background:rgba(11,18,44,.4);display:grid;place-items:center;padding:24px;z-index:22}
.modal-card{position:relative;width:min(680px,96vw);background:#fff;border-radius:28px;padding:28px;border:1.5px solid #e2e6ef;box-shadow:var(--shadow)}
.modal-close{position:absolute;right:18px;top:18px}
.modal-card h3{font-size:14px;letter-spacing:.18em;color:var(--blue);margin:0 0 8px}
.modal-card h2{font-family:'Baloo 2',sans-serif;font-size:48px;line-height:.95;margin:0 0 6px}
.modal-card p{color:#6d7692;line-height:1.7}
.package-list{display:grid;gap:12px;margin-top:18px}
.package-item{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1.5px solid #e2e6ef;border-radius:18px;padding:16px}
.package-item strong{display:block;font-size:18px}
.package-item small{color:#6d7692}
.package-item button{border:0;background:var(--blue);color:#fff;border-radius:14px;padding:12px 14px;font-weight:800;cursor:pointer}
@media (max-width:1000px){
  .hero,.how-section,.footer-grid{grid-template-columns:1fr}
  .hero{padding-top:48px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-copy{text-align:left}
  .hero-art{min-height:auto}
  .drama-sticker{position:static;margin-top:14px}
  .mood-tag{font-size:22px}
}
@media (max-width:720px){
  .nav-wrap{flex-wrap:wrap;justify-content:center}
  .nav-links{order:3;width:100%;justify-content:center;gap:22px;flex-wrap:wrap}
  .brand img{height:54px}
  .hero h1{font-size:clamp(44px,16vw,72px)}
  .hero p{font-size:18px}
  .product-grid{grid-template-columns:1fr}
  .tool-row,.section-head,.found-row{flex-direction:column;align-items:stretch}
  .bubble-stamp{width:140px;height:140px}
  .mood-tag{left:0;top:-16px;padding:12px 20px;font-size:18px}
  .drama-sticker{font-size:22px;padding:18px 26px}
  .polaroid{padding:18px 18px 42px}
}

/* Admin panel - same naboo playful theme */
.admin-entry{border:2px solid #fff;border-radius:999px;background:transparent;color:#fff;padding:12px 20px;font-weight:800;cursor:pointer;margin-top:20px}
.admin-screen{position:fixed;inset:0;z-index:100;background:rgba(15,18,42,.67);padding:24px;overflow:auto;display:flex;align-items:flex-start;justify-content:center}
.admin-shell{background:var(--cream);color:var(--navy);width:min(1000px,100%);border-radius:28px;padding:25px;margin:24px auto;box-shadow:0 22px 80px #1113}
.admin-head{display:flex;justify-content:space-between;align-items:center}.admin-head h2{font:800 38px 'Baloo 2',sans-serif;margin:0}.admin-head span{color:var(--blue)}
.admin-status{background:#e9efff;color:#1a2452;padding:12px 16px;border-radius:13px;margin:15px 0;font-size:14px}
.admin-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.admin-toolbar .primary-btn{padding:12px 20px}
.admin-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.6fr);gap:18px}
#adminList{display:flex;flex-direction:column;gap:9px;max-height:65vh;overflow:auto}
.admin-list-item{text-align:left;border:1px solid #dbe2f9;border-radius:15px;background:white;padding:15px;color:var(--navy);cursor:pointer}
.admin-list-item small{display:block;color:#657091;margin-top:5px}
#adminEditor{background:#fff;border-radius:21px;padding:20px}.admin-blank{color:#657091}
.admin-form{display:flex;flex-direction:column;gap:14px}.admin-form label{display:flex;flex-direction:column;gap:7px;font-weight:700}
.admin-form input:not([type="checkbox"]),.admin-form select,.admin-form textarea{width:100%;min-width:0;border-radius:12px;border:1px solid #d4dbee;padding:12px;background:#fff;color:#1a2452;font:inherit}
.admin-form textarea{resize:vertical}.admin-checkbox{flex-direction:row!important;align-items:center}.admin-form .primary-btn{width:fit-content}
.delete-button{border:1px solid #f1bcc4;background:#fff1f4;color:#b12943;padding:12px;border-radius:12px;cursor:pointer}
@media(max-width:700px){.admin-grid{grid-template-columns:1fr}.admin-shell{padding:16px}.admin-screen{padding:8px}}

/* Kecilkan stempel jumlah aplikasi agar tidak mengambil fokus katalog */
.bubble-stamp{width:94px;height:94px;flex:none;transform:rotate(6deg);padding:8px}
.bubble-stamp strong{font-size:34px;line-height:.95}
.bubble-stamp span{font-size:10px;line-height:1.1}
@media(max-width:720px){.bubble-stamp{width:82px;height:82px}.bubble-stamp strong{font-size:27px}.bubble-stamp span{font-size:9px}}
.title-ink{color:var(--navy)!important}
.content-headline{font:800 24px 'Baloo 2',sans-serif;margin:6px 0 14px}
.content-editor-card{background:#fff;border:1px solid #e0e5f3;border-radius:18px;padding:20px;max-width:740px}
.content-editor-card .admin-form textarea{min-height:86px}
.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.admin-tabs button{border:1px solid #d5def8;border-radius:15px;background:white;color:var(--navy);padding:12px 16px;font-weight:800;cursor:pointer}
.admin-tabs button.active{background:var(--blue);color:#fff}
.content-groups{display:grid;gap:16px}
.content-editor-card small{color:#5f6c87}

.icon-box{overflow:hidden;flex-shrink:0}.icon-box img{width:100%;height:100%;object-fit:contain;display:block}.product-image-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:12px;border:1px solid #d4dbee;border-radius:12px}.product-image-tools input[type=range]{width:210px}.product-image-tools label{font-size:13px}.product-image-tools #productImagePreview{min-width:100px;min-height:85px;display:grid;place-items:center;background:#f4f6ff;border-radius:12px;padding:5px}

/* App logos: built-in brand icons, while admin-uploaded photos still take precedence. */
.icon-box { position: relative; isolation: isolate; }
.icon-box .logo-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.icon-box img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.icon-box.brand-logo { background: #fff; border: 1px solid #e3e8f4; }
.icon-box.brand-logo img { padding: 7px; }
.icon-box.custom-logo img { padding: 0; }

/* Catalog logo sizing fix */
.icon-box{box-sizing:border-box;width:56px;height:56px;min-width:56px;min-height:56px;max-width:56px;max-height:56px;flex:0 0 56px;overflow:hidden;position:relative;display:grid;place-items:center;border-radius:18px}
.icon-box.brand-logo img,.icon-box.custom-logo img{box-sizing:border-box;display:block;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;padding:9px;transform-origin:center center}
.icon-box.custom-logo img{padding:0}
.icon-box .logo-fallback{inset:0;position:absolute;display:grid;place-items:center}


/* Mobile layout overhaul: keep the original desktop presentation unchanged. */
@media (max-width: 720px) {
  html, body { max-width:100%; }
  body { overflow-x:clip; }
  .container { width:calc(100% - 32px); max-width:100%; }
  .topline { padding:9px 12px; font-size:11px; line-height:1.45; }
  .topline span { padding:0 4px; }
  .site-header { position:sticky; top:0; }
  .nav-wrap {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    justify-content:stretch;
    gap:10px 12px;
    padding:10px 0 12px;
  }
  .brand { min-width:0; }
  .brand img { max-width:125px; height:42px; width:auto; object-fit:contain; }
  .cart-button {
    grid-column:2; grid-row:1;
    padding:8px 12px;
    gap:7px;
    font-size:12px;
    white-space:nowrap;
  }
  .cart-button span { width:25px; height:25px; font-size:12px; }
  .nav-links {
    grid-column:1 / -1; grid-row:2;
    order:initial;
    width:100%;
    gap:8px 17px;
    justify-content:center;
    flex-wrap:wrap;
    font-size:12px;
    line-height:1.4;
  }
  .hero {
    grid-template-columns:minmax(0,1fr);
    padding:35px 0 38px;
    gap:30px;
    min-width:0;
  }
  .hero-copy { min-width:0; overflow-wrap:anywhere; }
  .eyebrow, .section-label { font-size:11px; letter-spacing:.13em; }
  .hero h1 { font-size:clamp(36px,10.8vw,53px); line-height:1.02; margin:15px 0 14px; }
  .hero p { font-size:16px; line-height:1.55; margin-bottom:21px; }
  .hero .primary-btn { padding:13px 18px; border-radius:14px; gap:12px; font-size:14px; }
  .under-note { margin-top:12px; font-size:15px; }
  .hero-art {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
    min-height:0;
    padding:25px 12px 10px;
  }
  .hero-art .polaroid {
    flex:none;
    width:min(300px,calc(100% - 26px));
    max-width:100%;
    padding:12px 12px 34px;
    border-radius:17px;
    transform:rotate(2deg);
    box-shadow:7px 9px 0 #d5d6df;
  }
  .hero-art .polaroid img { aspect-ratio:1/1; border-radius:12px; }
  .polaroid-label { left:16px; bottom:10px; font-size:12px; letter-spacing:.13em; }
  .hero-art .mood-tag {
    z-index:2;
    top:3px; left:0;
    padding:8px 12px;
    border-radius:10px;
    font-size:14px;
    transform:rotate(-6deg);
  }
  .hero-art .drama-sticker {
    position:relative;
    align-self:flex-end;
    right:auto; bottom:auto;
    max-width:100%;
    margin:16px 4px 0 0;
    padding:12px 18px;
    font-size:18px;
    transform:rotate(-3deg);
  }
  .spark-1 { left:0; bottom:36px; font-size:32px; }
  .ticker { padding:11px 0; }
  .ticker-track { font-size:12px; }
  .catalog-section, .how-section, .faq-section { padding:48px 0; }
  .section-head {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:12px;
    margin-bottom:22px;
  }
  .section-head > div:first-child { min-width:0; }
  .catalog-section h2,.how-section h2,.faq-section h2 {
    font-size:clamp(33px,9vw,47px);
    line-height:1.05;
    overflow-wrap:anywhere;
  }
  .section-head p { font-size:14px; line-height:1.55; }
  .bubble-stamp { width:67px; height:67px; padding:5px; align-self:start; }
  .bubble-stamp strong { font-size:22px; }
  .bubble-stamp span { font-size:8px; }
  .tool-row { flex-direction:column; gap:10px; }
  .tool-row input,.tool-row select {
    display:block;
    width:100%;
    min-width:0;
    font-size:16px;
    padding:12px 14px;
    border-radius:13px;
  }
  .chips { gap:7px; }
  .chip { padding:9px 12px; font-size:12px; }
  .found-row { flex-direction:row; align-items:flex-start; gap:7px; font-size:12px; line-height:1.4; }
  .found-row > span:last-child { text-align:right; }
  .product-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .product-card { min-width:0; padding:16px; border-radius:20px; gap:11px; }
  .product-top { align-items:center; }
  .icon-box { flex:0 0 52px; width:52px; height:52px; min-width:52px; min-height:52px; max-width:52px; max-height:52px; border-radius:16px; }
  .category-badge { max-width:calc(100% - 66px); padding:7px 10px; font-size:11px; text-align:right; line-height:1.25; }
  .product-card h3 { font-size:20px; overflow-wrap:anywhere; }
  .product-card p { font-size:14px; line-height:1.5; min-height:0; overflow-wrap:anywhere; }
  .card-bottom { min-width:0; gap:10px; align-items:center; flex-wrap:wrap; }
  .price-box { min-width:0; }
  .price-box small { font-size:12px; }
  .price-box strong { font-size:18px; }
  .card-bottom .secondary-btn { padding:11px 14px; font-size:13px; border-radius:13px; }
  .how-section { grid-template-columns:minmax(0,1fr); gap:25px; }
  .steps article { padding:17px; border-radius:17px; }
  .steps b { font-size:31px; }
  .steps h3 { font-size:19px; }
  .steps p { font-size:14px; }
  .how-art { width:100%; max-width:340px; margin:0 auto; }
  .cat-card img { margin:0 auto; }
  .faq-list details { padding:16px; border-radius:17px; }
  .faq-list summary { font-size:15px; }
  .faq-list p { font-size:14px; }
  .site-footer { padding:38px 0 22px; }
  .footer-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .site-footer p,.site-footer a { overflow-wrap:anywhere; }
  .footer-logo { max-width:180px; height:auto; max-height:52px; object-fit:contain; }
  .cart-drawer { width:min(420px,100%); height:100vh; height:100dvh; padding:16px; }
  .modal {
    display:flex; align-items:flex-start; justify-content:center;
    overflow-y:auto; padding:16px;
  }
  .modal-card {
    width:100%; min-width:0; max-width:560px;
    max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px);
    overflow-y:auto; margin:auto 0;
    padding:24px 16px 18px; border-radius:19px;
  }
  .modal-card h2 { font-size:clamp(29px,8vw,40px); padding-right:29px; line-height:1.08; overflow-wrap:anywhere; }
  .package-item { min-width:0; padding:12px; gap:9px; flex-wrap:wrap; }
  .package-item > div { min-width:0; flex:1 1 130px; overflow-wrap:anywhere; }
  .package-item strong { font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
  .package-item button { font-size:12px; padding:10px; border-radius:11px; }
  .admin-screen { padding:7px; }
  .admin-shell { width:100%; min-width:0; margin:10px auto; border-radius:17px; padding:13px; }
  .admin-head h2 { font-size:28px; }
  .admin-toolbar { gap:8px; }
  .admin-toolbar button { flex:1 1 auto; min-width:0; font-size:12px; padding:10px 11px; }
  .admin-grid { grid-template-columns:minmax(0,1fr); }
  #adminEditor { min-width:0; padding:14px; }
  .product-image-tools { min-width:0; gap:12px; }
  .product-image-tools label { min-width:0; width:100%; }
  .product-image-tools input[type=range] { max-width:100%; width:100%; }
  .content-editor-card { max-width:100%; padding:14px; }
}
@media (max-width: 360px) {
  .container { width:calc(100% - 24px); }
  .nav-links { gap:6px 11px; font-size:11px; }
  .hero h1 { font-size:clamp(34px,10.4vw,40px); }
  .section-head { gap:6px; }
  .bubble-stamp { width:56px; height:56px; }
  .bubble-stamp strong { font-size:18px; }
  .bubble-stamp span { font-size:7px; }
  .found-row { flex-direction:column; gap:2px; }
  .found-row > span:last-child { text-align:left; }
  .card-bottom { flex-direction:column; align-items:stretch; }
  .card-bottom .secondary-btn { width:100%; }
  .package-item { flex-direction:column; align-items:stretch; }
  .package-item button { width:100%; }
}


/* Naboo's catalog: friendly loading state while Supabase is fetching products. */
.catalog-status[hidden] { display:none!important; }
.catalog-status { width:100%; margin:15px 0 25px; }
.catalog-notice {
  box-sizing:border-box;
  min-height:245px;
  width:100%;
  padding:34px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:linear-gradient(135deg,#fff,#edf3ff 78%,#f6f2ff);
  border:1.5px solid #dbe4ff;
  border-radius:26px;
  text-align:center;
  color:var(--navy);
}
.catalog-notice h3 {
  margin:4px 0 0;
  font:800 clamp(21px,3vw,27px)/1.25 'Baloo 2',sans-serif;
  color:var(--blue);
}
.catalog-notice p { margin:0; font-size:14px; line-height:1.55; color:#697795; }
.catalog-loading-art {
  position:relative;
  width:65px;
  height:65px;
  border:3px solid #ccd8ff;
  background:#fff;
  border-radius:22px;
  display:grid;
  place-items:center;
  transform:rotate(-8deg);
  box-shadow:5px 7px 0 rgba(31,77,255,.08);
  animation:naboo-loader-bob 1.5s ease-in-out infinite;
}
.catalog-loading-heart { font:800 42px/1 'Baloo 2',sans-serif; color:var(--blue); }
.catalog-loading-spark { position:absolute; top:-16px; right:-14px; font-size:25px; color:#ffb73a; animation:naboo-spark-twinkle 1.2s ease-in-out infinite alternate; }
.catalog-loading-dot { position:absolute; bottom:-5px; left:-9px; width:15px; height:15px; border-radius:50%; background:#a9b5ff; }
.catalog-loading-track { height:7px; width:min(205px,74%); overflow:hidden; border-radius:99px; background:#dce5ff; margin-top:9px; }
.catalog-loading-track span { display:block; width:34%; height:100%; border-radius:99px; background:var(--blue); animation:naboo-loading-slide 1.5s ease-in-out infinite; }
.catalog-error-icon { font:800 40px 'Baloo 2',sans-serif; color:var(--blue); }
.catalog-retry { margin-top:8px; padding:12px 20px; font-size:14px; border-radius:13px; box-shadow:none; }
.catalog-empty { min-height:155px; padding:22px; }
.catalog-empty > span { font-size:35px; color:var(--blue); }
@keyframes naboo-loader-bob { 0%,100%{transform:translateY(0) rotate(-8deg)} 50%{transform:translateY(-7px) rotate(1deg)} }
@keyframes naboo-spark-twinkle { from{opacity:.4;transform:scale(.85)} to{opacity:1;transform:scale(1.15)} }
@keyframes naboo-loading-slide { 0%{transform:translateX(-105%)} 50%{transform:translateX(145%)} 100%{transform:translateX(325%)} }
@media(max-width:720px) {
  .catalog-status { margin:12px 0 20px; }
  .catalog-notice { min-height:225px; padding:26px 14px; border-radius:19px; }
  .catalog-notice h3 { font-size:22px; }
  .catalog-notice p { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) {
  .catalog-loading-art,.catalog-loading-spark,.catalog-loading-track span { animation:none!important; }
  .catalog-loading-track span { transform:translateX(85%); }
}


/* Sold count and automatic top-three "Paling Laku" labels. */
.product-logo-sales {
  display:flex;flex-direction:column;align-items:center;
  flex:0 0 auto;min-width:74px;gap:7px;
}
.product-sold-count {
  display:block;white-space:nowrap;text-align:center;
  font-size:11px;line-height:1.3;font-weight:600;color:#6b7792;
}
.product-sold-count strong { font-weight:800;color:var(--navy);font-variant-numeric:tabular-nums; }
.product-badges {display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:0;max-width:70%;}
.product-badges .category-badge {max-width:100%;text-align:center;overflow-wrap:anywhere;}
.product-bestseller-badge {
  display:inline-block;max-width:100%;
  border:1px solid #f8d675;
  border-radius:999px;
  background:#fff1b4;
  color:#875418;
  padding:8px 12px;
  font-size:11px;font-weight:900;line-height:1.2;text-align:center;
  white-space:nowrap;
}
@media(max-width:720px) {
  .product-logo-sales { min-width:70px;gap:6px; }
  .product-sold-count {font-size:11px;}
  .product-badges {max-width:calc(100% - 78px);gap:6px;}
  .product-bestseller-badge {font-size:10px;padding:7px 9px;}
}
@media(max-width:360px) {
  .product-top {gap:7px;}
  .product-badges .category-badge {font-size:10px;padding:7px 8px;}
}


/* Naboo v8: device-local wishlist, floating WhatsApp support, admin checkout analytics */
.catalog-quick-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 17px;}
.wishlist-filter-btn {
  display:inline-flex;align-items:center;gap:9px;border:1.5px solid #d8dff0;border-radius:999px;
  padding:10px 15px;color:var(--navy);background:#fff;cursor:pointer;font-weight:800;font-size:13px;
}
.wishlist-filter-btn span {font-size:19px;color:#e24378;line-height:1;}
.wishlist-filter-btn strong {min-width:23px;height:23px;display:grid;place-items:center;
  background:#edf1ff;border-radius:99px;color:var(--blue);font-size:11px;}
.wishlist-filter-btn.active {background:#ffeaf1;border-color:#ffc0d4;color:#a3245b;}
.wishlist-filter-btn.active strong {background:#fff;color:#a3245b;}
.wishlist-hint {color:#7b8297;font-size:12px;}
.product-title-row {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.product-title-row h3 {min-width:0;overflow-wrap:anywhere;padding-top:5px;}
.wishlist-toggle {
  flex:0 0 40px;width:40px;height:40px;border:1.5px solid #e4e7f2;border-radius:14px;
  background:#f9faff;color:#e54379;display:grid;place-items:center;cursor:pointer;
  font-size:29px;line-height:1;transition:background .16s ease,transform .16s ease;
}
.wishlist-toggle:hover {transform:scale(1.05);background:#ffe9f1;}
.wishlist-toggle.is-saved {background:#ffe3ed;border-color:#ffd0df;color:#d6326d;}
.wishlist-toggle:focus-visible,.wishlist-filter-btn:focus-visible,.wa-support-floating:focus-visible {
  outline:3px solid #ffd04b;outline-offset:3px;
}
.wa-support-floating {
  position:fixed;right:22px;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:19;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:13px 18px;border:2px solid #fff;border-radius:999px;background:#19aa61;
  color:#fff;box-shadow:0 11px 27px rgba(0,0,0,.18);font-size:14px;font-weight:900;
  cursor:pointer;transition:transform .16s ease,background .16s ease;
}
.wa-support-floating:hover {background:#138f51;transform:translateY(-2px);}
.wa-support-floating svg {flex:none;display:block;width:25px;height:25px;}
/* Stats shown only inside the authenticated administration modal. */
.stats-dashboard {width:100%;min-width:0;}
.stats-header {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;}
.stats-header h3 {font:800 30px/1.1 'Baloo 2',sans-serif;margin:0 0 6px;}
.stats-header p,.stats-panel p {color:#697795;font-size:13px;line-height:1.55;margin:0;}
.stats-header .secondary-btn {font-size:13px;padding:11px 15px;}
.stats-period {display:flex;flex-wrap:wrap;gap:8px;margin:17px 0;}
.stats-period button {
  border:1px solid #d5dcf0;background:white;color:#43516c;border-radius:999px;
  font-size:13px;font-weight:800;padding:10px 16px;cursor:pointer;
}
.stats-period button.active {background:var(--blue);border-color:var(--blue);color:#fff;}
.stats-loading,.stats-error {border:1px solid #dce4f5;background:#fff;border-radius:17px;padding:22px;color:#60708a;line-height:1.6;}
.stats-error strong {display:block;color:#ae2444;margin-bottom:8px;}
.stats-error p {margin:0 0 10px;color:#4e5b78;}
.stats-error small {color:#838da0;overflow-wrap:anywhere;}
.stats-cards {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.stats-cards article {background:#fff;border:1px solid #e0e5f4;padding:17px;border-radius:19px;min-width:0;}
.stats-cards article span {display:block;color:#67738f;font-size:12px;font-weight:700;line-height:1.4;}
.stats-cards article strong {display:block;color:var(--blue);font:800 29px/1.15 'Baloo 2',sans-serif;margin-top:8px;font-variant-numeric:tabular-nums;}
.stats-panels {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:13px;}
.stats-panel {min-width:0;border:1px solid #e0e5f4;background:#fff;padding:19px;border-radius:21px;}
.stats-panel h4 {font:800 21px/1.2 'Baloo 2',sans-serif;margin:0 0 5px;color:var(--navy);}
.stats-bars {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;
  height:176px;margin-top:20px;min-width:0;}
.stats-bar-column {min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;}
.stats-bar-space {flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;min-height:0;}
.stats-bar-fill {width:100%;max-width:23px;background:linear-gradient(180deg,#7194ff,#1f4dff);
  min-height:3px;border-radius:6px 6px 2px 2px;}
.stats-bar-fill.is-zero {background:#e4e9f6;min-height:2px;}
.stats-bar-column small {font-size:9px;color:#6a7494;height:14px;}
.stats-top-list {display:grid;gap:9px;margin-top:19px;}
.stats-top-product {display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f6;}
.stats-top-product:last-child {border-bottom:0;}
.stats-rank {flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;
  border-radius:9px;background:#e9efff;color:var(--blue);font-weight:900;}
.stats-top-name {flex:1;min-width:0;overflow-wrap:anywhere;}
.stats-top-name strong {font-size:13px;color:var(--navy);display:block;}
.stats-top-name small {font-size:11px;color:#6d7591;display:block;margin-top:3px;}
.stats-top-value {font-weight:800;color:var(--blue);font-size:12px;white-space:nowrap;}
.stats-no-data {font-size:13px;color:#7c8599;line-height:1.5;}
.stats-footnote {font-size:12px;line-height:1.6;color:#697795;margin:14px 2px 0;}
@media(max-width:800px) {
  .stats-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .stats-panels {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:720px) {
  .catalog-quick-actions {gap:8px 12px;}
  .wishlist-hint {font-size:11px;}
  .wishlist-toggle {width:39px;height:39px;flex-basis:39px;border-radius:13px;}
  .wa-support-floating {right:15px;bottom:calc(15px + env(safe-area-inset-bottom,0px));
    width:56px;height:56px;padding:0;border-radius:50%;}
  .wa-support-floating span {display:none;}
  .wa-support-floating svg {width:29px;height:29px;}
  .stats-panel {padding:14px;}
  .stats-header h3 {font-size:26px;}
  .stats-cards article {padding:14px;}
  .stats-cards article strong {font-size:26px;}
}
@media(max-width:360px) {
  .wa-support-floating {right:10px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:52px;height:52px;}
  .wishlist-hint {flex-basis:100%;}
  .stats-cards {gap:8px;}
  .stats-cards article strong {font-size:23px;}
}
@media(prefers-reduced-motion:reduce) {
  .wishlist-toggle,.wa-support-floating {transition:none!important;}
}
