
:root {
  --primary: #e33434;
  --primary-dark: #c92222;
  --primary-light: #fff0ef;
  --dark: #292b30;
  --text: #34343a;
  --muted: #85858d;
  --cream: #fffaf6;
  --white: #ffffff;
  --border: #eee8e3;
  --green: #26965a;
  --green-light: #eaf7ef;
  --yellow: #f2b544;
  --shadow: 0 10px 35px rgba(48, 35, 29, .07);
  --radius: 17px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1280px, calc(100% - 64px));
  margin: auto;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(227, 52, 52, .25);
  outline-offset: 3px;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.15), transparent 28%),
    linear-gradient(120deg, #ec4540 0%, #dc292d 55%, #c91f27 100%);
}

.navbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .5px;
}

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
}

.brand small {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  opacity: .8;
  margin-top: 3px;
}

.cashier-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.13);
  border-radius: 50px;
  transition: .25s;
}

.cashier-link:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-content {
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: center;
  gap: 65px;
  padding: 55px 0 48px;
}

.hero-text {
  max-width: 850px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffe3c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 23px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 17px;
}

.hero-tagline {
  color: #ffe1d2;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-description {
  max-width: 680px;
  color: rgba(255,255,255,.83);
  font-size: 14px;
  line-height: 1.9;
}

.hero-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border-radius: 50px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.info-icon {
  color: #ffe0bd;
  font-size: 18px;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-frame {
  width: 240px;
  height: 240px;
  padding: 13px;
  border-radius: 34px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 25px 60px rgba(90,0,0,.2);
  overflow: hidden;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 23px;
  background: white;
}

.logo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  background: white;
  color: var(--primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.logo-placeholder small {
  font-size: 10px;
  letter-spacing: 2px;
}

.logo-fallback .logo-placeholder {
  display: flex;
}

.logo-fallback img {
  display: none;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* MAIN CUSTOMER */

.main-container {
  padding-top: 55px;
  padding-bottom: 90px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 27px;
}

.section-label {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 9px;
}

.section-heading h2,
.menu-heading h2 {
  font-family: "Outfit", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.menu-count {
  padding: 11px 17px;
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
}

.category-wrapper {
  margin-bottom: 35px;
}

.category-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-button {
  padding: 12px 23px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: white;
  color: #65656c;
  font-size: 12px;
  font-weight: 800;
  transition: .25s;
}

.category-button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.category-button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(227,52,52,.2);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  align-items: start;
  gap: 30px;
}

.menu-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
}

.menu-heading h2 {
  font-size: 25px;
}

.menu-subtitle {
  font-size: 11px;
  color: var(--muted);
}

.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.produk {
  min-width: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .3s;
}

.produk:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #f1c4c1;
}

.foto {
  height: 205px;
  background: #f7ece6;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.produk:hover .foto img {
  transform: scale(1.06);
}

.food-emoji {
  display: none;
  font-size: 65px;
  position: absolute;
}

.produk-content {
  padding: 19px;
}

.produk-category {
  display: inline-block;
  padding: 6px 11px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 9px;
  font-weight: 800;
  margin-bottom: 11px;
}

.produk-content h3 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.produk-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  min-height: 42px;
}

.produk-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.harga {
  color: var(--primary);
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.tambah-menu {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  transition: .25s;
}

.tambah-menu span {
  font-size: 19px;
  line-height: 12px;
}

.tambah-menu:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.empty-menu {
  padding: 60px 20px;
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.empty-menu[hidden] {
  display: none;
}

.empty-menu span {
  font-size: 45px;
}

.empty-menu h3 {
  margin: 12px 0 5px;
  color: var(--dark);
}

.empty-menu p {
  color: var(--muted);
  font-size: 13px;
}

/* CART */

.cart-section {
  position: sticky;
  top: 20px;
}

.cart-card {
  padding: 25px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.cart-header h2 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  font-size: 24px;
}

.cart-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 13px;
  font-size: 20px;
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.form-group label span {
  color: var(--muted);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  background: #fffdfb;
  border: 1px solid #e8e5e1;
  border-radius: 10px;
  outline: none;
  color: var(--text);
  font-size: 12px;
  transition: .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227,52,52,.09);
  background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0afb1;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.cart-items-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 13px;
}

.cart-items-heading h3 {
  color: var(--dark);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
}

.cart-items-heading span {
  font-size: 10px;
  color: var(--muted);
  background: var(--cream);
  padding: 7px 11px;
  border-radius: 30px;
}

.cart-items {
  border-top: 1px solid var(--border);
}

.cart-empty {
  text-align: center;
  padding: 27px 10px;
}

.empty-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.cart-empty p {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.cart-empty small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.cart-item-details strong {
  color: var(--dark);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.cart-item-price {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.quantity-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: white;
  color: var(--primary);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
  transition: .2s;
}

.quantity-control button:hover {
  background: var(--primary);
  color: white;
}

.quantity-control span {
  font-size: 12px;
  font-weight: 800;
  min-width: 12px;
  text-align: center;
}

.cart-summary {
  margin-top: 19px;
  padding: 16px;
  background: #fff7f3;
  border-radius: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 13px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  border-top: 1px dashed #e5d4ce;
  gap: 8px;
}

.summary-total span {
  font-size: 12px;
  color: var(--dark);
  font-weight: 800;
}

.summary-total strong {
  color: var(--primary);
  font-family: "Outfit", sans-serif;
  font-size: 23px;
}

.bayar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 19px;
  margin-top: 18px;
  border: none;
  border-radius: 11px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: .25s;
}

.bayar span:last-child {
  font-size: 20px;
}

.bayar:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(227,52,52,.2);
}

.bayar:disabled {
  background: #dedede;
  color: #929292;
  cursor: not-allowed;
}

.bayar.loading {
  opacity: .7;
  cursor: wait;
}

.cart-note {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 13px;
}

.sukses {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 13px;
  background: var(--green-light);
  border: 1px solid #d1ebd7;
  border-radius: 10px;
  color: #267541;
  font-size: 11px;
  font-weight: 800;
}

.sukses > span {
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ccebd3;
  border-radius: 50%;
}

.error-message {
  color: #c53d3d;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 10px;
}

.cart-decoration {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  margin-top: 15px;
  background: #fff0ed;
  border: 1px solid #f8e1dd;
  border-radius: 13px;
}

.cart-decoration > span {
  font-size: 27px;
}

.cart-decoration strong {
  display: block;
  color: var(--dark);
  font-size: 12px;
}

.cart-decoration small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 4px;
}

/* CUSTOMER FOOTER */

.footer {
  background: #292b30;
  color: white;
  padding: 35px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer h3 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.footer p {
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  color: rgba(255,255,255,.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* KASIR LAYOUT */

.kasir-page {
  background: #f7f7f8;
  min-height: 100vh;
}

.kasir-layout {
  min-height: 100vh;
}

.kasir-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  padding: 28px 20px;
  background: #292b30;
  color: white;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.kasir-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 5px 28px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.kasir-brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
}

.kasir-brand strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
}

.kasir-brand span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.sidebar-label {
  margin: 32px 9px 13px;
  color: rgba(255,255,255,.4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.kasir-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kasir-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  color: rgba(255,255,255,.67);
  text-decoration: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.kasir-nav a:hover,
.kasir-nav a.nav-active {
  color: white;
  background: var(--primary);
}

.kasir-nav a span {
  width: 22px;
  text-align: center;
  font-size: 18px;
}

.sidebar-bottom {
  margin-top: auto;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 5px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.admin-avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: #e33434;
  color: white;
  border-radius: 50%;
  font-weight: 800;
}

.admin-profile strong {
  display: block;
  font-size: 11px;
}

.admin-profile div:nth-child(2) span {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: 10px;
  margin-top: 4px;
}

.online-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  background: #36c779;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(54,199,121,.12);
}

/* KASIR MAIN */

.kasir-main {
  margin-left: 250px;
  padding: 34px 42px;
  min-height: 100vh;
  max-width: 1800px;
}

.kasir-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.kasir-topbar h1 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  font-size: 30px;
  font-weight: 800;
}

.kasir-topbar p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}

.back-customer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  color: var(--primary);
  text-decoration: none;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  transition: .2s;
}

.back-customer:hover {
  background: var(--primary);
  color: white;
}

.kasir-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 27px 32px;
  margin-bottom: 25px;
  background: linear-gradient(115deg, #eb4240, #cb2028);
  color: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(210,40,40,.12);
}

.kasir-welcome > div:first-child > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255,255,255,.75);
}

.kasir-welcome h2 {
  margin-top: 9px;
  font-family: "Outfit", sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.kasir-welcome p {
  margin-top: 7px;
  color: rgba(255,255,255,.8);
  font-size: 12px;
}

.welcome-decoration {
  width: 85px;
  height: 85px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  font-size: 42px;
  flex-shrink: 0;
}

/* KASIR STATISTICS */

.kasir-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}

.stat-card {
  min-width: 0;
  padding: 20px;
  background: white;
  border: 1px solid #eeeef0;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(30,30,40,.025);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.stat-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.stat-icon-red {
  background: #fff0ef;
  color: var(--primary);
}

.stat-icon-green {
  background: #eaf7ef;
  color: #26965a;
}

.stat-icon-yellow {
  background: #fff6e6;
  color: #d39a2b;
}

.stat-card > strong {
  display: block;
  margin-top: 14px;
  color: var(--dark);
  font-family: "Outfit", sans-serif;
  font-size: 31px;
  font-weight: 800;
}

.stat-card > strong.stat-money {
  font-size: clamp(16px, 1.5vw, 23px);
  overflow-wrap: anywhere;
}

.stat-card > small {
  display: block;
  margin-top: 6px;
  color: #a0a0a7;
  font-size: 10px;
}

/* ORDER MANAGEMENT */

.kasir-orders {
  padding: 25px;
  background: white;
  border: 1px solid #eeeef0;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(30,30,40,.025);
}

.orders-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.orders-heading h2 {
  font-family: "Outfit", sans-serif;
  color: var(--dark);
  font-size: 23px;
  font-weight: 800;
}

.orders-heading p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #26965a;
  background: #eaf7ef;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.live-indicator span {
  width: 7px;
  height: 7px;
  background: #2cb66a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(44,182,106,.12);
}

.order-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.filter-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid #e9e9ec;
  border-radius: 9px;
  background: white;
  color: #777780;
  font-size: 10px;
  font-weight: 800;
  transition: .2s;
}

.filter-btn span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 20px;
  background: #f2f2f4;
  color: inherit;
  font-size: 9px;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-btn.active span {
  background: rgba(255,255,255,.2);
  color: white;
}

.filter-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.order-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 240px;
  padding: 11px 13px;
  background: #fafafa;
  border: 1px solid #e9e9ec;
  border-radius: 9px;
  color: var(--muted);
}

.order-search > span {
  font-size: 19px;
}

.order-search input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 11px;
}

.order-search input::placeholder {
  color: #aab0b5;
}

.kasir-alert {
  display: none;
  padding: 13px 15px;
  margin-bottom: 18px;
  background: #fff0ed;
  border: 1px solid #f1d0ca;
  border-radius: 9px;
  color: #b43d32;
  font-size: 11px;
  line-height: 1.6;
}

/* ORDER LOADING & EMPTY */

.order-loading {
  padding: 55px 15px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  margin: 0 auto 13px;
  border: 3px solid #eee;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: kasirSpin .8s linear infinite;
}

@keyframes kasirSpin {
  to {
    transform: rotate(360deg);
  }
}

.order-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 55px 15px;
  text-align: center;
}

.order-empty-icon {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  background: #fff0ef;
  border-radius: 50%;
  font-size: 32px;
  margin-bottom: 15px;
}

.order-empty h3 {
  color: var(--dark);
  font-family: "Outfit", sans-serif;
  font-size: 19px;
}

.order-empty p {
  max-width: 320px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* ORDER CARDS */

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.order-card {
  min-width: 0;
  padding: 19px;
  background: #fff;
  border: 1px solid #eeeef0;
  border-radius: 14px;
  transition: .25s;
}

.order-card:hover {
  border-color: #f0b7b3;
  box-shadow: 0 8px 25px rgba(30,30,40,.06);
  transform: translateY(-2px);
}

.order-completed {
  background: #fcfdfc;
  border-color: #e2eee4;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.order-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.order-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 17px;
}

.order-identity-info {
  min-width: 0;
}

.order-identity-info h3 {
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-identity-info span {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.order-status {
  padding: 7px 9px;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.status-new {
  color: var(--primary);
  background: #fff0ef;
}

.status-done {
  color: #26965a;
  background: #eaf7ef;
}

.order-time {
  margin: 14px 0;
  color: #92929a;
  font-size: 10px;
}

.order-items {
  border-top: 1px solid #f0f0f0;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}

.order-item-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.order-item-info strong {
  color: var(--dark);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.order-item-info small {
  color: var(--muted);
  font-size: 9px;
}

.order-item-subtotal {
  flex-shrink: 0;
  color: #55555c;
  font-size: 10px;
  font-weight: 800;
}

.order-no-items {
  padding: 15px 0;
  color: var(--muted);
  font-size: 11px;
}

.order-note {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  padding: 12px;
  background: #fff7e9;
  border-radius: 9px;
  color: #8e6c35;
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.order-note > span {
  flex-shrink: 0;
  font-size: 15px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding: 15px 0;
  border-top: 1px dashed #e9e9e9;
  border-bottom: 1px solid #eee;
}

.order-total > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.order-total strong {
  color: var(--primary);
  font-family: "Outfit", sans-serif;
  font-size: 21px;
  overflow-wrap: anywhere;
}

.order-actions {
  margin-top: 13px;
}

.btn-selesai {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 13px;
  background: var(--primary);
  border: none;
  border-radius: 9px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  transition: .2s;
}

.btn-selesai:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-selesai:disabled {
  opacity: .6;
  cursor: wait;
}

.completed-message {
  padding: 11px;
  text-align: center;
  background: var(--green-light);
  color: #398052;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

/* KASIR FOOTER */

.kasir-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 2px 8px;
  color: #9999a0;
  font-size: 9px;
  letter-spacing: .7px;
  font-weight: 700;
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
  }

  .kasir-main {
    padding: 28px;
  }

  .kasir-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 30px;
  }

  .logo-frame {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 800px) {
  .content-layout {
    grid-template-columns: 1fr;
  }

  .cart-section {
    position: static;
  }

  .hero-content {
    grid-template-columns: 1fr 180px;
    gap: 20px;
  }

  .logo-frame {
    width: 165px;
    height: 165px;
  }

  .kasir-sidebar {
    width: 205px;
  }

  .kasir-main {
    margin-left: 205px;
    padding: 25px 20px;
  }

  .kasir-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }

  .navbar {
    height: 72px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .cashier-link {
    padding: 10px 13px;
    font-size: 10px;
  }

  .hero-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 25px;
    padding: 35px 0;
  }

  .hero-logo {
    width: 100%;
    justify-content: flex-start;
  }

  .logo-frame {
    width: 100px;
    height: 100px;
    border-radius: 19px;
    padding: 6px;
  }

  .logo-frame img,
  .logo-placeholder {
    border-radius: 13px;
  }

  .logo-placeholder {
    font-size: 13px;
  }

  .logo-placeholder small {
    font-size: 6px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hero-tagline {
    font-size: 14px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-info {
    gap: 8px;
  }

  .info-item {
    font-size: 10px;
    padding: 9px 12px;
  }

  .hero-bottom {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .main-container {
    padding-top: 35px;
    padding-bottom: 55px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading p {
    font-size: 11px;
  }

  .menu-count {
    font-size: 8px;
    padding: 8px 10px;
  }

  .category-wrapper {
    overflow-x: auto;
    margin-bottom: 28px;
    scrollbar-width: none;
  }

  .category-wrapper::-webkit-scrollbar {
    display: none;
  }

  .category-list {
    width: max-content;
    flex-wrap: nowrap;
  }

  .category-button {
    padding: 11px 17px;
    font-size: 11px;
  }

  .menu {
    gap: 12px;
  }

  .foto {
    height: 145px;
  }

  .produk-content {
    padding: 12px;
  }

  .produk-content h3 {
    font-size: 14px;
  }

  .produk-description {
    font-size: 10px;
    min-height: 48px;
  }

  .produk-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 13px;
  }

  .harga {
    font-size: 17px;
  }

  .tambah-menu {
    justify-content: center;
    padding: 10px;
  }

  .cart-card {
    padding: 19px;
  }

  .footer-content {
    align-items: flex-start;
  }

  .footer-right {
    font-size: 7px;
  }

  /* KASIR MOBILE */

  .kasir-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 13px 17px;
  }

  .kasir-brand {
    padding: 0 0 12px;
  }

  .kasir-brand img {
    width: 36px;
    height: 36px;
  }

  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }

  .kasir-nav {
    flex-direction: row;
    margin-top: 12px;
  }

  .kasir-nav a {
    padding: 10px 12px;
    font-size: 10px;
  }

  .kasir-main {
    margin-left: 0;
    padding: 24px 16px;
  }

  .kasir-topbar h1 {
    font-size: 25px;
  }

  .kasir-topbar p {
    font-size: 11px;
  }

  .kasir-welcome {
    padding: 22px 19px;
  }

  .kasir-welcome h2 {
    font-size: 19px;
  }

  .kasir-welcome p {
    font-size: 10px;
    line-height: 1.6;
  }

  .welcome-decoration {
    width: 58px;
    height: 58px;
    font-size: 27px;
  }

  .kasir-stats {
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-top {
    font-size: 9px;
  }

  .stat-card > strong {
    font-size: 25px;
  }

  .stat-card > strong.stat-money {
    font-size: 15px;
  }

  .stat-card > small {
    font-size: 8px;
    line-height: 1.5;
  }

  .kasir-orders {
    padding: 17px;
  }

  .orders-heading h2 {
    font-size: 20px;
  }

  .orders-heading p {
    font-size: 10px;
  }

  .order-toolbar {
    align-items: stretch;
  }

  .filter-list {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    justify-content: center;
    padding: 9px 7px;
    font-size: 9px;
  }

  .order-search {
    width: 100%;
  }

  .order-grid {
    grid-template-columns: 1fr;
  }

  .order-card {
    padding: 15px;
  }

  .kasir-footer {
    font-size: 7px;
  }
}

@media (max-width: 380px) {
  .menu {
    grid-template-columns: 1fr;
  }

  .foto {
    height: 190px;
  }

  .produk-bottom {
    flex-direction: row;
    align-items: center;
  }

  .hero h1 {
    font-size: 33px;
  }

  .cashier-link {
    padding: 9px 10px;
  }
}
