:root {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f1ed;
  background: #06070c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, #10121b 0%, #05060b 55%, #020205 100%);
  color: #f4f1ed;
}

body.orders-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 10% 0%, #0f111b, #06070c 60%);
}

.orders-shell {
  width: min(1200px, 100%);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.orders-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.orders-header h1 {
  margin: 0.2rem 0;
  font-family: "Playfair Display", serif;
}

.orders-header button {
  border: none;
  border-radius: 14px;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(120deg, #c08457, #f0b27a);
  color: #2d1406;
  font-weight: 600;
  cursor: pointer;
}

.orders-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
}

.order-card {
  background: rgba(10, 11, 18, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(192, 132, 87, 0.25);
  padding: 1.4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.status-new {
  background: rgba(93, 173, 255, 0.15);
  color: #9cc9ff;
}

.status-progress {
  background: rgba(255, 184, 64, 0.18);
  color: #ffd089;
}

.status-done {
  background: rgba(116, 228, 154, 0.15);
  color: #a5f1c4;
}

.order-customer {
  margin: 1rem 0;
}

.order-items {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-items li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.order-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.order-footer select {
  border-radius: 12px;
  border: 1px solid rgba(192, 132, 87, 0.35);
  background: rgba(12, 13, 20, 0.85);
  color: #f4f1ed;
  padding: 0.4rem 0.9rem;
}

.hero {
  position: relative;
  min-height: 320px;
  background: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=2000&q=70")
      center/cover,
    linear-gradient(120deg, #12131d, #1f0d05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 7, 11, 0.85), rgba(33, 20, 10, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 840px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.85rem;
  color: #f5d7bd;
}

.hero h1 {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-family: "Playfair Display", "Space Grotesk", serif;
  color: #fefaf6;
}

.hero p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #e8e0d7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  background: rgba(192, 132, 87, 0.28);
  color: #fdf6ed;
}

.mobile-cart-bar {
  display: none;
  position: sticky;
  top: 0;
  background: rgba(10, 11, 18, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem;
  border-bottom: 1px solid rgba(192, 132, 87, 0.3);
  align-items: center;
  justify-content: space-between;
  z-index: 15;
  color: #f6e4d4;
}

.mobile-cart-bar button {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(120deg, #c08457, #f0b27a);
  color: #2d1406;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 960px) {
  .mobile-cart-bar {
    display: flex;
  }
}

.mobile-cart-bar.has-items {
  border-bottom-color: rgba(240, 178, 122, 0.6);
}

/* kategori-nav borttagen */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(320px, 1fr);
  gap: 2rem;
  padding: clamp(1rem, 5vw, 4rem);
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

details.menu-section {
  background: rgba(10, 11, 18, 0.85);
  border-radius: 32px;
  border: 1px solid rgba(192, 132, 87, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

details.menu-section + details.menu-section {
  margin-top: 1.5rem;
}

.menu-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: linear-gradient(120deg, rgba(9, 11, 18, 0.95), rgba(44, 27, 19, 0.8));
  border-bottom: 1px solid rgba(192, 132, 87, 0.25);
}

.menu-summary h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
}

.menu-summary span {
  color: #f5d7bd;
  font-size: 0.9rem;
}

.menu-body {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(8, 9, 15, 0.92), rgba(20, 12, 8, 0.92));
}


.menu-body .section-desc {
  margin: 0 0 1.5rem;
  color: #e8dccf;
}

.menu-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.menu-card {
  background: rgba(13, 14, 20, 0.85);
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid rgba(192, 132, 87, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.menu-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: "Playfair Display", serif;
}

.menu-card p {
  margin: 0;
  color: #d7dadf;
  font-size: 0.95rem;
}

.price-row {
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #f5d7bd;
}

.menu-card select {
  border-radius: 12px;
  border: 1px solid rgba(192, 132, 87, 0.4);
  background: rgba(12, 13, 20, 0.85);
  color: #f8f5f0;
  padding: 0.55rem 2.6rem 0.55rem 0.9rem;
  appearance: none;
  position: relative;
}

.menu-card .select-wrapper {
  position: relative;
}

.menu-card .select-wrapper::after {
  content: "›";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: #f0b27a;
  pointer-events: none;
  font-size: 1rem;
}

.menu-card button {
  border: none;
  border-radius: 14px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #c08457, #f0b27a);
  color: #2d1406;
}

.order-panel {
  background: rgba(9, 10, 16, 0.92);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(192, 132, 87, 0.3);
  position: sticky;
  top: 120px;
  height: fit-content;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.order-panel h2 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
  color: #f6e4d4;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.cart-item span {
  display: block;
}

.cart-item small {
  color: #94a3b8;
}

.cart-item button[data-action] {
  background: rgba(192, 132, 87, 0.2);
  border: 1px solid rgba(192, 132, 87, 0.5);
  color: #f4f1ed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-item div:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-empty {
  color: #b5bbc8;
  margin: 1rem 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
  color: #f5d7bd;
}

.checkout {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: linear-gradient(120deg, #c08457, #f0b27a);
  color: #2d1406;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.checkout-note {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.install-pill {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 18px;
  background: rgba(12, 13, 20, 0.8);
  border: 1px solid rgba(192, 132, 87, 0.35);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pill-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #f5d7bd;
}

.pill-copy {
  margin: 0.2rem 0 0;
  color: #e8e0d7;
  font-size: 0.95rem;
}

.pill-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pill-actions button {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  background: linear-gradient(120deg, #c08457, #f0b27a);
  color: #2d1406;
  font-weight: 600;
  cursor: pointer;
}

.pill-actions small {
  color: #cbd2d9;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  padding: clamp(1rem, 5vw, 4rem);
}

.info-grid h3 {
  margin-bottom: 0.4rem;
  font-family: "Playfair Display", serif;
  color: #f5d7bd;
}

.info-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ded6cb;
}

.payment-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.payment-pills span {
  border: 1px solid rgba(192, 132, 87, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(192, 132, 87, 0.15);
  color: #f6e4d4;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 8, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  background: rgba(12, 13, 20, 0.95);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(192, 132, 87, 0.3);
  width: min(480px, 95vw);
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.checkout-form {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.checkout-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cbd2d9;
}

.checkout-form input {
  border-radius: 14px;
  border: 1px solid rgba(192, 132, 87, 0.35);
  background: rgba(10, 11, 18, 0.9);
  color: #f4f1ed;
  padding: 0.6rem 0.9rem;
}

.modal-content h4 {
  margin: 1rem 0 0.5rem;
  font-family: "Playfair Display", serif;
}

.payment-preview {
  margin: 1rem 0;
  border-radius: 18px;
  border: 1px dashed rgba(192, 132, 87, 0.4);
  padding: 1rem;
  background: rgba(9, 10, 16, 0.8);
}

.payment-details {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: #e8e0d7;
}

.checkout.confirm {
  margin-top: 0.5rem;
}

.payment-preview.success {
  border-style: solid;
  border-color: rgba(116, 228, 154, 0.5);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.payment-options {
  display: flex;
  gap: 0.8rem;
  margin: 1rem 0;
}

.payment-options button {
  flex: 1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  padding: 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.payment-options button.active {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 4px;
}

.icon-swish {
  background: linear-gradient(135deg, #5ac0ff, #be9ffc);
}

.icon-klarna {
  background: linear-gradient(135deg, #f7c1d9, #f08bb5);
}

.icon-card {
  background: linear-gradient(135deg, #c08457, #f0b27a);
}

.payment-message {
  margin: 0 0 0.5rem;
  color: #f5d7bd;
}

.muted {
  color: #cbd2d9;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .order-panel {
    position: static;
  }
}
