:root{--bg:#f5f8ff;--ink:#11213b;--muted:#687995;--blue:#1769e8;--blue2:#59a1ff;--line:#e3eaf5;--card:rgba(255,255,255,.88);--shadow:0 24px 70px rgba(32,78,142,.10)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}.ambient{position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);pointer-events:none}.ambient-one{width:540px;height:540px;top:-230px;right:-130px;background:radial-gradient(circle,#d4e7ff 0,rgba(212,231,255,0) 70%)}.ambient-two{width:440px;height:440px;top:550px;left:-300px;background:radial-gradient(circle,#e3efff 0,transparent 70%)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{height:82px;max-width:1200px;margin:auto;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(218,229,245,.8)}.brand{display:flex;align-items:center;gap:11px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:white;font-weight:900;font-size:22px;background:linear-gradient(135deg,#0f58cb,#59a8ff);box-shadow:0 7px 20px #2377e83a}.brand b{display:block;font-size:13px;letter-spacing:1.8px}.brand small{display:block;margin-top:3px;font-size:10px;letter-spacing:3px;color:#7c8ca5}.topbar nav{display:flex;align-items:center;gap:25px;font-size:13px;color:#5e6e87}.topbar nav>a:hover{color:var(--blue)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:1px solid transparent;border-radius:12px;padding:12px 17px;font-size:13px;font-weight:700;transition:.2s transform,.2s box-shadow,.2s background}.btn:hover{transform:translateY(-2px)}.btn-primary{color:white;background:linear-gradient(135deg,#1766e5,#388cff);box-shadow:0 10px 22px #1769e82a}.btn-primary:hover{box-shadow:0 14px 27px #1769e83c}.btn-ghost{background:#fff;color:#344967;border-color:#e1e9f5}.hero{max-width:1148px;margin:0 auto;padding:91px 24px 88px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:70px;min-height:480px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#6680a3;font-weight:800}.eyebrow i,.live-dot,.footer-status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2ac48d;margin-right:8px;box-shadow:0 0 0 4px #2ac48d18}.hero h1{font-size:clamp(42px,5vw,68px);line-height:1.08;letter-spacing:-3px;margin:22px 0 20px;font-weight:850}.hero h1 em,.section h2 em{font-style:normal;color:var(--blue)}.hero-copy>p{max-width:500px;line-height:1.8;color:var(--muted);font-size:15px}.hero-actions{display:flex;gap:12px;margin-top:28px}.trust-row{display:flex;flex-wrap:wrap;gap:17px;margin-top:32px;color:#71819a;font-size:11px}.hero-panel{position:relative;border:1px solid #dbe8fa;border-radius:26px;background:linear-gradient(150deg,rgba(255,255,255,.96),rgba(237,246,255,.9));box-shadow:var(--shadow);padding:27px;min-height:295px;overflow:visible}.panel-head{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#7588a4}.panel-live{float:right;color:#1eaf7b;font-size:9px}.panel-number{margin:40px 0 20px;font-size:58px;letter-spacing:-3px;font-weight:850;color:#183e78}.panel-number span{font-size:12px;letter-spacing:0;color:#91a2bb;font-weight:500}.panel-line{height:1px;background:linear-gradient(90deg,#a9cfff,transparent)}.panel-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.panel-bottom small{display:block;font-size:9px;color:#8a9bb3;letter-spacing:1.3px}.panel-bottom strong{display:block;font-size:22px;margin-top:7px}.qr-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#e1efff;color:#1769e8;font-size:29px}.floating-chip{position:absolute;right:-17px;bottom:35px;background:white;border:1px solid #e0eaf8;border-radius:12px;padding:13px 15px;font-size:11px;font-weight:700;box-shadow:0 12px 35px #183e781a}.section{max-width:1148px;margin:0 auto;padding:35px 24px 80px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:27px}.section h2{font-size:32px;letter-spacing:-1.1px;margin:10px 0 0}.filters{display:flex;gap:10px}.filters input,.filters select,.field input,.field textarea,.field select{background:white;border:1px solid #dce6f3;border-radius:11px;padding:12px 14px;outline:none;color:var(--ink);min-width:0}.filters input:focus,.field input:focus,.field textarea:focus{border-color:#78aaff;box-shadow:0 0 0 3px #1769e814}.filters input{width:210px}.filters select{max-width:180px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{border:1px solid #e2eaf5;border-radius:18px;background:var(--card);overflow:hidden;box-shadow:0 8px 26px #183e7805;transition:.22s transform,.22s box-shadow}.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px #183e7812}.product-image{height:155px;background:linear-gradient(135deg,#eaf3ff,#dbeaff);display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.product-icon{font-size:38px;color:#367bd9;font-weight:800}.product-body{padding:20px}.product-category{font-size:9px;text-transform:uppercase;letter-spacing:1.4px;font-weight:800;color:#7791b3}.product-body h3{font-size:17px;margin:9px 0}.product-body p{font-size:12px;line-height:1.65;color:var(--muted);min-height:40px}.product-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.price{font-size:16px;font-weight:850;color:#145ecf}.price small{display:block;color:#8a9bb3;font-size:9px;font-weight:500;margin-bottom:4px}.product-foot .btn{padding:10px 12px;font-size:11px}.muted{font-size:12px;color:var(--muted)}.loading-card{padding:30px;color:var(--muted);border:1px dashed #cfddf0;border-radius:15px;grid-column:1/-1}.orders-list{display:grid;gap:12px}.order-card,.admin-card{border:1px solid var(--line);background:white;border-radius:15px;padding:18px}.order-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.order-code{font-weight:800}.order-meta{color:var(--muted);font-size:11px;margin-top:5px}.status{display:inline-flex;border-radius:99px;padding:6px 10px;background:#edf4ff;color:#1d67c9;font-size:10px;font-weight:800}.status.PAID,.status.COMPLETED{background:#e7faf2;color:#14825c}.status.REJECTED,.status.CANCELLED{background:#fff0f0;color:#c64b4b}.status.PAYMENT_REVIEW,.status.UNDER_REVIEW{background:#fff7df;color:#986b00}.order-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:12px}.admin-section{background:#edf4ff;border:1px solid #dbe8fa;border-radius:22px;margin-bottom:50px;padding:28px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stat-card{background:white;border:1px solid var(--line);padding:17px;border-radius:14px}.stat-card small{display:block;color:var(--muted);font-size:10px}.stat-card strong{display:block;font-size:24px;margin-top:8px}.admin-tabs{display:flex;gap:8px;margin:20px 0}.tab{padding:10px 14px;border:1px solid #dbe6f5;background:white;border-radius:10px;color:#61738e;font-size:12px}.tab.active{background:#1769e8;color:white;border-color:#1769e8}.admin-table-wrap{overflow:auto;background:white;border-radius:14px;border:1px solid var(--line)}table{width:100%;border-collapse:collapse;min-width:650px}th,td{text-align:left;padding:13px;border-bottom:1px solid #edf1f7;font-size:11px}th{color:#7a8ba5;background:#f8faff;font-size:9px;text-transform:uppercase;letter-spacing:1px}td .btn{padding:8px 10px;font-size:10px}.admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;background:white;padding:18px;border-radius:14px;border:1px solid var(--line)}.admin-form h3{grid-column:1/-1;margin:0}.admin-form .wide{grid-column:1/-1}.field{display:grid;gap:7px;margin:12px 0}.field label{font-size:11px;color:#657893;font-weight:700}.field input,.field textarea,.field select{width:100%}.field textarea{min-height:90px;resize:vertical}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:#0b1d38a6;backdrop-filter:blur(5px)}.modal-card{position:relative;width:min(100%,480px);max-height:90vh;overflow:auto;background:white;border-radius:20px;padding:28px;box-shadow:0 25px 80px #06162c55;animation:pop .18s ease}.modal-close{position:absolute;right:14px;top:12px;border:0;background:#f0f4fa;border-radius:50%;width:30px;height:30px;font-size:20px;color:#64758d}.modal-card h2{margin:0 30px 8px 0;font-size:24px}.modal-card>div>p,.modal-card p{font-size:12px;line-height:1.7;color:var(--muted)}.modal-card form .btn{width:100%;margin-top:10px}.switch-auth{font-size:12px;text-align:center;margin-top:15px;color:var(--muted)}.text-btn{border:0;background:none;color:var(--blue);font-weight:800}.payment-box{border:1px solid #dce8f8;border-radius:15px;background:#f8fbff;padding:16px;margin:16px 0}.payment-box img{display:block;max-width:220px;max-height:220px;object-fit:contain;margin:12px auto;border-radius:8px}.payment-total{font-size:24px;font-weight:900;color:#145ecf}.notice{border-radius:11px;padding:12px 14px;background:#fff8e6;color:#8a650c;font-size:11px;line-height:1.6}.toast-area{position:fixed;z-index:20;right:18px;bottom:18px;display:grid;gap:8px}.toast{max-width:min(360px,calc(100vw - 36px));padding:13px 16px;border-radius:12px;background:#132744;color:white;box-shadow:0 10px 30px #11213b33;font-size:12px;animation:pop .2s ease}.toast.error{background:#a83143}.toast.success{background:#127754}footer{border-top:1px solid #e0e9f5;max-width:1200px;margin:auto;padding:25px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}footer p{font-size:10px;color:#8291a8}.footer-brand .brand-mark{width:34px;height:34px;font-size:18px;border-radius:11px}.footer-brand b{font-size:10px}.footer-brand small{font-size:8px}.footer-status{font-size:9px;letter-spacing:1.2px;color:#72839c}.footer-status i{width:6px;height:6px}@keyframes pop{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:800px){.topbar{height:72px;padding:0 16px}.topbar nav{gap:9px}.topbar nav>a{display:none}.topbar .btn{padding:10px 11px;font-size:11px}.brand-mark{width:36px;height:36px}.hero{grid-template-columns:1fr;gap:35px;padding:65px 22px}.hero-panel{max-width:500px;width:100%;margin:auto}.hero h1{letter-spacing:-2px}.section{padding:25px 18px 55px}.section-heading{align-items:flex-start;flex-direction:column}.filters{width:100%}.filters input{flex:1;width:0}.filters select{max-width:45%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-image{height:125px}.product-body{padding:14px}.product-body h3{font-size:14px}.product-body p{font-size:11px}.product-foot{align-items:flex-start;flex-direction:column}.product-foot .btn{width:100%}.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-section{margin:0 12px 35px;padding:18px}.admin-form{grid-template-columns:1fr}.admin-form .wide,.admin-form h3{grid-column:auto}footer{padding:22px 18px;flex-wrap:wrap}footer p{order:3;width:100%;margin:0}}@media(max-width:420px){.product-grid{grid-template-columns:1fr}.product-image{height:150px}.hero h1{font-size:43px}.trust-row{gap:10px}.topbar nav{gap:6px}.topbar .btn{padding:9px}.brand{gap:7px}.brand b{font-size:11px}.brand small{font-size:8px;letter-spacing:2px}.modal-card{padding:23px 18px}.order-top,.order-bottom{align-items:flex-start;flex-direction:column}}

/* Google authentication additions */
.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 12px;color:var(--muted,#7b8497);font-size:.82rem}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:rgba(120,140,170,.25);flex:1}.google-auth-button{display:flex;justify-content:center;min-height:42px}.auth-hint{text-align:center;font-size:.78rem;margin-top:8px}

/* RESPONSIVE PATCH - preserve original FALLSTOREE design */
@media (max-width: 800px) {
  .topbar {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }

  .topbar nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .topbar nav > a[href="/catalog"] {
    display: inline-flex;
  }

  .topbar nav > [hidden] {
    display: none !important;
  }

  .hero,
  .hero-copy,
  .hero-panel,
  .section,
  .product-grid,
  .product-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-panel {
    width: 100%;
  }

  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .filters input {
    flex: 1 1 160px;
    min-width: 0;
    width: 100%;
  }

  .filters select {
    flex: 1 1 120px;
    min-width: 0;
    max-width: 100%;
  }

  .admin-table-wrap {
    max-width: 100%;
    overflow-x: auto;
  }

  img,
  video,
  canvas {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding: 12px;
  }

  .topbar nav {
    gap: 7px;
  }

  .topbar nav .btn {
    max-width: 100%;
    padding: 9px 10px;
    white-space: normal;
  }

  .hero {
    padding: 48px 16px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 43px);
    overflow-wrap: anywhere;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions > * {
    flex: 1 1 135px;
    min-width: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-image {
    height: 120px;
  }

  .product-body {
    min-width: 0;
    padding: 10px;
  }

  .product-body h3,
  .product-body p {
    overflow-wrap: anywhere;
  }

  .product-foot {
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section {
    margin-right: 8px;
    margin-left: 8px;
    padding: 14px;
  }

  .modal-card {
    width: calc(100% - 24px);
    max-width: 100%;
    margin: 12px;
  }
}

/* FALLSTOREE RESPONSIVE FIX */
html {
  max-width: 100%;
  overflow-x: clip;
  scroll-padding-top: 20px;
}

body {
  width: 100%;
  min-width: 0;
}

main,
section,
header,
footer,
nav,
.product-card,
.product-body,
.hero-copy {
  min-width: 0;
}

.product-card,
.order-card,
.admin-card,
.stat-card {
  overflow-wrap: anywhere;
}

.product-foot > * {
  min-width: 0;
  max-width: 100%;
}

.product-foot .btn {
  white-space: normal;
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

@media (max-width: 480px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar nav {
    width: 100%;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-heading {
    gap: 16px;
  }

  .filters {
    width: 100%;
  }

  .filters input,
  .filters select {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-image {
    height: 165px;
  }

  .product-body {
    padding: 16px;
  }

  .product-foot {
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-tabs {
    flex-wrap: wrap;
  }

  footer {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .floating-chip {
    right: 8px;
    max-width: calc(100% - 16px);
  }
}

@media (min-width: 481px) and (max-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FIX: Pastikan routing hidden berfungsi */
[hidden] {
  display: none !important;
}
