
@font-face {
  font-family: "Doran";
  src: url("Doran.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --night: #071426;
  --deep: #0d2340;
  --blue: #245181;
  --sky: #81b9ed;
  --ice: #dceeff;
  --white: #f5f9ff;
  --muted: #a6bed8;
  --glass: rgba(255,255,255,.07);
  --border: rgba(190,220,255,.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(ellipse at 15% 5%, rgba(36,81,129,.35), transparent 40%),
    radial-gradient(ellipse at 85% 45%, rgba(49,103,160,.2), transparent 45%),
    linear-gradient(145deg, var(--night), var(--deep));
  font-family: "Doran", "Vazirmatn", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  z-index: -1;
  background-image:
    radial-gradient(2px 2px at 10% 20%, white 50%, transparent 60%),
    radial-gradient(1px 1px at 30% 70%, white 50%, transparent 60%),
    radial-gradient(2px 2px at 80% 15%, white 50%, transparent 60%),
    radial-gradient(1px 1px at 65% 45%, white 50%, transparent 60%),
    radial-gradient(2px 2px at 90% 85%, white 50%, transparent 60%),
    radial-gradient(1px 1px at 20% 90%, white 50%, transparent 60%);
  background-size: 350px 350px;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 23px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--white);
}

.logo span {
  color: var(--sky);
}

.header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.small-btn {
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--white);
  padding: 9px 14px;
  border-radius: 30px;
  font-size: 13px;
}

.small-btn:hover {
  background: rgba(129,185,237,.18);
}

.hero {
  text-align: center;
  padding: 65px 15px 45px;
}

.moon {
  width: 57px;
  height: 57px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 17px #83bfff);
  animation: float 4s ease-in-out infinite;
}

.moon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 9vw, 76px);
  letter-spacing: 5px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--sky);
}

.hero-subtitle {
  color: var(--muted);
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero-line {
  width: 75px;
  height: 2px;
  background: var(--sky);
  margin: 25px auto 0;
  border-radius: 5px;
  box-shadow: 0 0 12px var(--sky);
}

.welcome {
  color: var(--ice);
  text-align: center;
  font-size: 15px;
  margin: 0 auto 30px;
}

.category-area {
  margin: 15px 0 40px;
}

.category-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 23px;
  margin-bottom: 20px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.category-btn {
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 11px 20px;
  transition: .25s;
}

.category-btn.active,
.category-btn:hover {
  color: white;
  background: linear-gradient(135deg, #245181, #397ab5);
  border-color: var(--sky);
  box-shadow: 0 5px 20px rgba(65,139,205,.2);
}

.menu-section {
  margin: 55px 0;
  scroll-margin-top: 20px;
}

.menu-section[hidden] {
  display: none;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 24px;
  font-weight: 600;
}

.section-heading span {
  height: 1px;
  flex: 1;
  background: linear-gradient(to left, var(--sky), transparent);
}

.section-heading small {
  color: var(--sky);
  font-family: "Playfair Display", serif;
  font-size: 13px;
}

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

.product-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: .25s;
  backdrop-filter: blur(12px);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,185,237,.5);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.product-visual {
  height: 135px;
  display: grid;
  place-items: center;
  font-size: 55px;
  background:
    radial-gradient(circle at 50% 65%, rgba(129,185,237,.2), transparent 60%),
    linear-gradient(135deg, rgba(36,81,129,.45), rgba(255,255,255,.025));
  border-bottom: 1px solid var(--border);
}

.product-info {
  padding: 14px;
}

.product-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.product-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  min-height: 39px;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.price {
  color: var(--ice);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.add-btn {
  background: #245181;
  border: 1px solid rgba(129,185,237,.4);
  color: white;
  border-radius: 22px;
  padding: 8px 13px;
  font-size: 12px;
}

.add-btn:hover {
  background: #397ab5;
}

.cart-panel {
  margin: 45px 0;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--border);
}

.cart-panel h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.cart-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 10px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
}

.cart-item-name {
  flex: 1;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.quantity-controls button {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--blue);
  color: white;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-weight: 700;
  color: var(--ice);
}

.checkout {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.checkout label {
  color: var(--muted);
  font-size: 13px;
}

.checkout input {
  width: 100%;
  background: rgba(255,255,255,.08);
  color: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px;
  outline: none;
}

.checkout input:focus {
  border-color: var(--sky);
}

.checkout input::placeholder {
  color: #8fa8c3;
}

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

.payment-option {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: var(--glass);
  border-radius: 12px;
  padding: 11px;
  color: var(--ice);
  font-size: 13px;
}

.payment-option input {
  width: auto;
  accent-color: var(--sky);
}

.checkout-btn {
  border: 0;
  border-radius: 12px;
  padding: 14px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #245181, #397ab5);
  box-shadow: 0 6px 20px rgba(36,81,129,.3);
}

.checkout-btn:hover {
  filter: brightness(1.15);
}

.notice {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}

.message {
  display: none;
  margin-top: 15px;
  padding: 14px;
  border: 1px solid rgba(129,185,237,.4);
  background: rgba(129,185,237,.1);
  color: var(--ice);
  border-radius: 12px;
  font-size: 13px;
  line-height: 2;
}

footer {
  text-align: center;
  padding: 35px 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 2.2;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  color: var(--sky);
  letter-spacing: 3px;
  font-size: 20px;
  margin-bottom: 8px;
}

@media (max-width: 520px) {
  .product-grid {
    gap: 11px;
  }

  .product-visual {
    height: 110px;
    font-size: 43px;
  }

  .product-info {
    padding: 11px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-info p {
    font-size: 11px;
  }

  .add-btn {
    padding: 7px 10px;
  }

  .category-btn {
    padding: 9px 13px;
    font-size: 12px;
  }

  .hero {
    padding-top: 48px;
  }
}
