:root {
  --primary: #2563eb;
  --secondary: #0f172a;
  --background-color: #f4f7fb;
  --surface-color: #ffffff;
  --surface-muted: #eef4fb;
  --surface-subtle: #f8fbff;
  --surface-strong: #d7e6fb;
  --text-color: #1f2937;
  --muted-text: #526173;
  --border-color: #d9e2ee;
  --hover-color: #edf4ff;
  --hero-gradient: linear-gradient(135deg, #eff5ff 0%, #d7e6fb 100%);
  --info-soft: linear-gradient(135deg, #f4f8ff 0%, #e3edff 100%);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background-color);
  font-size: 16px;
  min-height: 100vh;
  padding-top: 88px;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  font-family: "Roboto", sans-serif;
  color: var(--secondary);
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  background: var(--surface-color);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo i {
  color: var(--primary);
  font-size: 1.5rem;
}

.logo span::after {
  content: ".no";
  color: var(--primary);
}

.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}

.nav-separator {
  color: var(--secondary);
  font-size: 1.3rem;
}

.main-nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary);
}

.hero {
  padding: 4.5rem 0 3rem;
  background: var(--hero-gradient);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.showcase-card,
.notice-card,
.legal-shell {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(239, 245, 255, 0.96));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  max-width: 11ch;
}

.lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--muted-text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn,
.cookie-button,
.footer-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover,
.cookie-button:hover,
.footer-link-button:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary,
.cookie-button {
  background: var(--surface-color);
  border-color: var(--border-color);
  color: var(--secondary);
}

.btn-secondary:hover,
.cookie-button:hover {
  background: var(--hover-color);
  border-color: var(--primary);
  color: var(--secondary);
}

.cookie-button--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.cookie-button--primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

.panel-label {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-list,
.plain-list {
  padding-left: 1.25rem;
}

.status-list li + li,
.plain-list li + li {
  margin-top: 0.8rem;
}

.info-section,
.legal-section {
  padding: 4rem 0 5rem;
}

.catalog-section,
.product-detail-section {
  padding: 0 0 5rem;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-title--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.section-title h2,
.legal-shell h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-title p,
.card p,
.showcase-card p,
.notice-card p,
.legal-shell p,
.legal-shell li {
  color: var(--muted-text);
}

.details,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.filter-pill--active {
  background: var(--surface-strong);
  border-color: var(--surface-strong);
}

.catalog-note {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.95rem;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card--featured {
  grid-row: span 1;
}

.product-card__media {
  min-height: 220px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(135deg, #dceafe 0%, #f6faff 100%);
}

.product-card__media--compact {
  min-height: 160px;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.product-meta {
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-specs,
.product-summary__lead {
  color: var(--muted-text);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-tags span,
.product-badge,
.product-stock {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-tags span {
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  color: var(--secondary);
}

.product-badge {
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
}

.product-badge--muted {
  background: var(--surface-subtle);
  color: var(--secondary);
}

.product-stock {
  margin-left: auto;
}

.product-stock--live {
  background: rgba(21, 128, 61, 0.12);
  color: #166534;
}

.product-stock--hold {
  background: rgba(180, 83, 9, 0.12);
  color: #92400e;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.product-price-label {
  margin-bottom: 0.15rem;
  color: var(--muted-text);
  font-size: 0.85rem;
}

.product-price {
  margin: 0;
  color: var(--secondary);
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.product-page {
  background: linear-gradient(180deg, var(--background-color) 0%, #f8fbff 100%);
}

.product-hero {
  padding: 3rem 0 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 2rem;
}

.product-gallery,
.product-summary,
.detail-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.product-gallery,
.product-summary {
  padding: 1.5rem;
}

.product-gallery__main {
  min-height: 420px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #dceafe 0%, #f6faff 100%);
  border-radius: 16px;
}

.product-placeholder {
  flex: 1;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px dashed rgba(37, 99, 235, 0.35);
  border-radius: 16px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.product-placeholder--large {
  min-height: 360px;
  font-size: 1rem;
}

.product-placeholder--large i {
  font-size: 3rem;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product-summary__lead {
  margin-top: 0.75rem;
}

.product-price-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--surface-subtle);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-info-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-info-list p {
  margin: 0.25rem 0 0;
  color: var(--muted-text);
}

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

.detail-card {
  padding: 1.5rem;
}

.detail-card--wide {
  grid-column: 1 / -1;
}

.spec-list {
  display: grid;
  gap: 0.85rem;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.spec-list dt {
  color: var(--muted-text);
}

.spec-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.card,
.showcase-card,
.notice-card {
  padding: 2rem;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: var(--surface-muted);
  color: var(--primary);
  font-size: 1.2rem;
}

.card h3,
.showcase-card h3,
.notice-card h3,
.legal-shell h2,
.legal-shell h3 {
  margin-bottom: 0.75rem;
}

.notice-card {
  margin-top: 2rem;
  background: var(--info-soft);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem 2rem;
}

footer {
  margin-top: 2rem;
  background: var(--secondary);
  color: #d7e6fb;
}

footer h3 {
  color: white;
  margin-bottom: 0.75rem;
}

footer p,
footer a {
  color: #d7e6fb;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.7rem;
}

.footer-link-button {
  padding: 0;
  background: transparent;
  border: none;
  color: #d7e6fb;
  justify-content: flex-start;
}

.footer-link-button:hover {
  background: transparent;
  border: none;
  color: white;
  transform: none;
}

.footer-bottom {
  padding: 0 1.5rem 2rem;
}

.footer-bottom p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(215, 230, 251, 0.2);
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1100;
}

.cookie-banner__content {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.cookie-banner__content p,
.cookie-modal__intro {
  color: var(--muted-text);
  margin-bottom: 0;
}

.cookie-banner__actions,
.cookie-modal__footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.cookie-modal__dialog {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  margin: 5vh auto;
  background: var(--surface-color);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.cookie-modal__header,
.cookie-modal__body,
.cookie-modal__footer {
  padding: 1.5rem;
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-modal__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--surface-color);
  cursor: pointer;
  color: var(--secondary);
}

.cookie-modal__body {
  display: grid;
  gap: 1rem;
}

.cookie-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--surface-subtle);
}

.cookie-card--inactive {
  background: var(--surface-muted);
}

.cookie-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cookie-card p {
  margin: 0;
}

.cookie-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-badge--always {
  background: #dbeafe;
  color: #1d4ed8;
}

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
}

.legal-shell h1 {
  margin-bottom: 0.5rem;
}

.legal-shell h2 {
  margin-top: 2rem;
}

.legal-shell ul {
  padding-left: 1.25rem;
}

.legal-shell li + li {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  body {
    padding-top: 120px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-layout,
  .details,
  .showcase-grid,
  .footer-content,
  .product-grid,
  .product-layout,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-title--split,
  .catalog-toolbar,
  .product-card__footer,
  .spec-list div {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .showcase-card,
  .notice-card,
  .legal-shell {
    padding: 1.5rem;
  }

  h1 {
    max-width: none;
  }

  .cookie-banner__content,
  .cookie-card {
    flex-direction: column;
  }

  .product-gallery__main {
    min-height: 280px;
  }

  .product-placeholder--large {
    min-height: 220px;
  }
}
