:root {
  --primary: #d4af37;
  --primary-fg: #004d2e;
  --foreground: #ffffff;
  --muted: rgba(255, 255, 255, 0.8);
  --border: rgba(255, 255, 255, 0.25);
  --glass: rgba(0, 12, 18, 0.55);
  --glass-soft: rgba(0, 6, 14, 0.32);
  --font-display: "Rajdhani", sans-serif;
  --font-body: "IBM Plex Mono", monospace;
  --font-accent: "Oswald", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@keyframes prestige-gradient-bg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.prestige-gradient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
    120deg,
    #004d2e,
    #031e42,
    #5b21b6,
    #002818,
    #004d2e
  );
  background-size: 400% 400%;
  background-position: 0% 50%;
  animation: prestige-gradient-bg 14s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
  .prestige-gradient-backdrop {
    animation: none;
    background-position: 40% 50%;
  }
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
  background: transparent;
}

.app-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: 100vh;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.text-accent-label {
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.text-muted {
  color: var(--muted);
}

.text-primary {
  color: var(--primary);
}

a {
  color: inherit;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1024px) {
  .container {
    max-width: 1280px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.site-logo img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.site-logo-text strong {
  font-family: var(--font-display);
  font-size: 1.125rem;
  display: block;
  line-height: 1.2;
}

.site-logo-text span {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
}

.nav-mobile-wrap {
  position: relative;
}

@media (min-width: 1024px) {
  .nav-mobile-wrap {
    display: none;
  }
}

#nav-drawer-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#nav-drawer-toggle:checked ~ .nav-mobile-panel {
  display: flex;
}

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  gap: 0.5rem;
}

.nav-mobile-panel a {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

main.page-main {
  padding-top: 5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.card-glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: var(--foreground);
  font-family: var(--font-body);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.contact-flash-dialog {
  border: none;
  padding: 0;
  margin: auto;
  max-width: min(26rem, 92vw);
  background: transparent;
  color: var(--foreground);
  z-index: 10001;
}

.contact-flash-dialog::backdrop {
  background: rgba(0, 8, 18, 0.72);
  backdrop-filter: blur(6px);
}

.contact-flash-dialog__inner {
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.contact-flash-dialog--success .contact-flash-dialog__inner {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.contact-flash-dialog--error .contact-flash-dialog__inner {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(239, 68, 68, 0.1);
}

.contact-flash-dialog__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.contact-flash-dialog__msg {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-flash-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.hero {
  padding: 4rem 0 3rem;
}

.section {
  padding: 3rem 0;
}

.section-soft {
  background: var(--glass-soft);
  backdrop-filter: blur(8px);
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.img-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.catalogue-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

.catalogue-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary);
  margin-right: 0.35rem;
}

.grid-overlay {
  position: relative;
}

.grid-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.catalogue-toolbar {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
}

.catalogue-toolbar-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.catalogue-field-grow {
  flex: 1;
  min-width: 200px;
  margin: 0;
}

.catalogue-field-sm {
  margin: 0;
  min-width: 10rem;
}

.catalogue-filter-btn {
  margin-bottom: 0;
}

.catalogue-pop-card {
  padding: 1rem 1.25rem;
}

.compare-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  cursor: pointer;
  opacity: 0.95;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  max-width: 52rem;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 1.25rem 1.5rem;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: middle;
}

.compare-table th {
  background: rgba(0, 0, 0, 0.25);
}

.review-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.review-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child {
  border-bottom: none;
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

.badge-designer-layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 960px) {
  .badge-designer-layout {
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    align-items: start;
  }
}

.badge-canvas-wrap {
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.06) 0% 25%, transparent 0% 50%) 50% / 16px 16px;
  border-radius: 10px;
  padding: 0.75rem;
  display: inline-block;
  max-width: 100%;
}

.badge-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  cursor: crosshair;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.badge-controls-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
}

.shop-feature-grid {
  margin-top: 1.5rem;
}

.shop-feature-card {
  padding: 1.25rem 1.35rem;
}

.shop-bullet-list {
  margin: 0.75rem 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.shop-price-card {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  max-width: 28rem;
}

.shop-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.shop-product-card {
  padding: 1rem;
}

.knife-example-card {
  padding: 0;
  overflow: hidden;
}

.knife-example-visual {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #141a22;
}

.knife-example-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.25s ease;
}

.knife-example-photo--chef {
  filter: brightness(1.48) contrast(1.06);
}

.knife-example-photo--pocket {
  filter: brightness(1.12) contrast(1.03);
}

.knife-example-photo--sashimi {
  filter: brightness(1.38) contrast(1.07);
}

.knife-example-photo--outdoor {
  filter: brightness(1.22) contrast(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .knife-example-photo {
    transition: none;
  }
}

.knife-example-body {
  padding: 1rem 1.15rem 1.2rem;
}
