:root {
  --brand-primary: #0f6b99;
  --brand-primary-dark: #084866;
  --brand-accent: #d8b147;
  --brand-dark: #121212;
  --brand-text: #EBEBEB;
  --brand-muted: #A8A8A8;
  --brand-light: #0b1119;
  --brand-surface: #131b27;
  --brand-border: rgba(255, 255, 255, 0.08);
  --brand-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--brand-dark);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: "Oswald", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--brand-dark);
  color: var(--brand-text);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  padding-top: 72px;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brand-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-text);
  }

.section-lead {
  max-width: 640px;
  color: var(--brand-muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(18, 18, 18, 0.92);
  border-bottom: 1px solid rgba(216, 177, 71, 0.12);
}

.site-header .navbar {
  padding-top: 0.28rem;
  padding-bottom: 0.28rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 800;
  color: var(--brand-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.navbar-brand-domain {
  display: block;
  width: min(238px, 100%);
  height: auto;
}

.navbar-light .navbar-nav .nav-link,
.navbar-actions .nav-link {
  font-weight: 700;
  color: var(--brand-muted);
  margin-right: 1.25rem;
  white-space: nowrap;
  text-transform: uppercase;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-actions .nav-link.active,
.navbar-actions .nav-link:hover {
  color: var(--brand-text);
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.navbar-toggler {
  margin-left: auto;
  flex: 0 0 auto;
  border: 0;
  padding: 0.5rem 0.65rem;
  box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
  position: relative;
  display: block;
  width: 1.75rem;
  height: 1.25rem;
  background-image: none;
}

.navbar-light .navbar-toggler-icon::before,
.navbar-light .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(216, 177, 71, 0.95);
  transform-origin: center;
  transition: top 0.18s ease, transform 0.22s ease;
}

.navbar-light .navbar-toggler-icon::before {
  top: 4px;
}

.navbar-light .navbar-toggler-icon::after {
  top: 14px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 9px;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 9px;
  transform: rotate(-45deg);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-top-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

@media (max-width: 991.98px) {
  .site-header .container {
    position: relative;
    align-items: center;
  }

  .site-header .navbar {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }

  .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
  }

  .navbar-brand-mark {
    width: 54px;
    height: 54px;
  }

  .navbar-brand-domain {
    position: absolute;
    top: 24px;
    left: 50%;
    width: min(176px, calc(100vw - 132px));
    transform: translate(-50%, -50%);
  }

  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.45rem;
  }

  .nav-top-logo {
    display: none;
  }
}

@media (min-width: 1200px) {
  .navbar-brand-domain {
    transform: translateX(calc(140px + 1cm));
  }
}

.nav-link svg {
  vertical-align: middle;
  margin-right: 0.45rem;
}

.nav-cart-icon {
  display: inline-block;
  width: 27px;
  height: 27px;
  margin-right: 0.45rem;
  vertical-align: middle;
}

.cart-badge {
  display: inline-block;
  margin-left: 0.35rem;
  background: var(--brand-accent);
  color: #111;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.btn-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn-primary-theme {
  background: linear-gradient(135deg, var(--brand-accent), #f5d56c);
  color: #1b1b1b;
  box-shadow: 0 20px 40px -22px rgba(216, 177, 71, 0.65);
}

.btn-primary-theme:hover,
.btn-primary-theme:focus {
  background: linear-gradient(135deg, #f5d56c, var(--brand-accent));
  color: #1b1b1b;
  transform: translateY(-1px);
}

.btn-outline-theme {
  border: 1px solid rgba(216, 177, 71, 0.4);
  color: var(--brand-accent);
  background: transparent;
}

.btn-outline-theme:hover,
.btn-outline-theme:focus {
  border-color: var(--brand-accent);
  color: var(--brand-primary);
}

.hero {
  position: relative;
  overflow: visible;
  background: transparent;
  color: var(--brand-text);
  border-radius: 0;
  padding: clamp(2.5rem, 5vw, 4rem);
  margin-top: 0;
  box-shadow: none;
  border: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  z-index: 1;
}

.bg-light {
  background-color: rgba(9, 13, 20, 0.85) !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-left {
  flex: 1 1 560px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-feature-panel {
  width: 100%;
  margin-top: 3rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  margin: 1.2rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero p {
  margin-bottom: 1.5rem;
  color: rgba(235, 235, 235, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


.generator-list {
  margin-top: 1.5rem;
}

.dfk-feature-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-left: 0;
}

.dfk-feature-card {
  position: relative;
  max-width: 700px;
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 5vw, 4.75rem);
  border-radius: 18px;
  background: url("../images/bilder/boks2.png");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
  isolation: isolate;
}

.dfk-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(118% 102% at 50% 50%, rgba(18, 18, 18, 0) 24%, rgba(18, 18, 18, 0.78) 62%, #121212 92%),
    linear-gradient(to bottom, rgba(18, 18, 18, 0.24), rgba(18, 18, 18, 0.48));
}

.dfk-feature-list {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.dfk-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background-color 200ms ease;
}

.dfk-feature-badge {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--brand-accent);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
}

.dfk-feature-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .dfk-feature-row:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .dfk-feature-section {
    padding-left: 0;
  }

  .dfk-feature-card {
    max-width: 100%;
    min-height: 300px;
    padding: 64px 44px;
    border-radius: 16px;
  }

  .dfk-feature-list {
    gap: 12px;
  }

  .dfk-feature-row {
    min-height: 46px;
    padding: 10px;
  }

  .dfk-feature-text {
    font-size: 1.02rem;
  }
}

.generator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  margin-top: 1rem;
}

.generator-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(12, 18, 27, 0.6);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 177, 71, 0.04);
}

.generator-item .gi-icon {
  flex: 0 0 44px;
  height: 44px;
  background: rgba(216,177,71,0.12);
  color: var(--brand-text);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  border-radius: 8px;
}

.generator-item .gi-body {
  color: var(--brand-text);
}

.generator-item .gi-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-accent);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(196px, 1fr));
  gap: 2rem 1.7rem;
  max-width: min(437px, 100%);
  align-self: flex-start;
}

.hero-gallery > img {
  display: block;
  width: 100%;
  border-radius: 0;
  /* keep image inside a dark rounded container to avoid white aliasing */
  border: none;
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.6);
  background: rgba(12, 18, 27, 0.92);
  transform-origin: center;
}

.hero-gallery > img:nth-child(2) {
  transform: translateY(12px) rotate(4deg);
}

.hero-gallery > img:nth-child(3) {
  transform: translateY(-12px) rotate(-3deg);
}

.hero-gallery > img:nth-child(4) {
  transform: translateY(10px) rotate(2deg);
}

.product-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--brand-surface);
  border-radius: 24px;
  padding: 22px;
  border: 1px solid rgba(216, 177, 71, 0.06);
  box-shadow: 0 16px 44px -32px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 62px -30px rgba(216, 177, 71, 0.3);
}

.product-card__image {
  position: relative;
  border-radius: 20px;
  padding: 32px 24px;
  background: var(--card-bg, linear-gradient(140deg, rgba(15, 107, 153, 0.55), rgba(18, 18, 18, 0.95)));
  color: var(--brand-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-height: 170px;
  display: flex;
  align-items: flex-end;
}

.product-card__image span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.product-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-text);
  margin-bottom: 8px;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--brand-accent);
}

.product-card__meta small {
  font-weight: 500;
  color: var(--brand-muted);
}


.generator-visual {
  display: flex;
  justify-content: center;
}

.generator-visual img {
  max-width: 100%;
  border-radius: 24px;
  /* keep image inside a dark rounded container to avoid white aliasing */
  border: none;
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.6);
}

.about-hero-logo {
  width: 160px;
  height: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.prices-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0 0 18px;
}

.prices-controls .price-toggle {
  justify-self: start;
  margin: 0;
}

.prices-controls .prices-cta {
  justify-self: center;
  margin: 0;
}

.prices-cta {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

.prices-cta .btn-theme {
  justify-self: auto;
}

.prices-cta-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .prices-controls {
    display: block;
    margin: 0;
  }

  .prices-cta-desktop {
    display: none;
  }

  .prices-cta-mobile {
    display: flex;
    justify-content: center;
    margin: 18px 0 0;
  }
}

.price-card {
  background: #121212;
  border-radius: 24px;
  border: 1px solid rgba(216, 177, 71, 0.12);
  padding: 2.4rem 2rem;
  text-align: center;
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.6);
}

.price-card .price-image {
  display: block;
  width: 85%;
  margin: 0 auto 1.5rem;
  border-radius: 0;
  /* remove border to avoid white outline; keep dark background for contrast */
  border: none;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.55);
  background: #121212;
  transform: none;
}

.price-card h2 {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--brand-text);
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--brand-accent);
}

.price-card p {
  color: var(--brand-muted);
  margin: 0;
}

.text-highlight {
  color: var(--brand-text);
}

.cart-item {
  background: rgba(12, 18, 27, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(216, 177, 71, 0.12);
  padding: 22px;
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  box-shadow: 0 28px 56px -40px rgba(0, 0, 0, 0.65);
}

.cart-item-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cart-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.cart-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  /* create a dark, rounded container behind the image and clip its contents
     so any anti-aliased/transparent edges from the image aren't visible */
  background: rgba(12, 18, 27, 0.95);
  padding: 6px;
  border-radius: 0;
  overflow: hidden;
}

.cart-preview img {
  width: 150px;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Stretch/fill the card preview so the background/image fills the card format
   (cards are roughly 900x1260 -> aspect ratio ~5/7). We set a fixed height
   and use object-fit:cover so the image will fill and crop/bleed for printing. */
.cart-preview img {
  width: 150px;
  height: 210px; /* 150 * 1.4 (1260/900) */
  object-fit: contain;
  transform: none;
  transform-origin: center center;
}

.cart-preview-toggle {
  display: flex;
  gap: 10px;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-accent);
  cursor: pointer;
}

.link-btn.text-danger {
  color: #f87171;
}

.link-btn:hover,
.link-btn:focus {
  text-decoration: underline;
}

.cart-item-info {
  flex: 1;
  min-width: 220px;
}

.cart-item-info h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--brand-text);
}

.cart-item-foot {
  display: flex;
  justify-content: flex-end;
  font-size: 1.1rem;
  color: var(--brand-text);
}

.cart-qty-select {
  appearance: none;
  background: #121212;
  border: 1px solid #1f2937;
  color: var(--brand-text);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 180px;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cart-controls > label,
.cart-control-label {
  margin: 0;
  font-size: 12px;
  color: var(--brand-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-type-options {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cart-type-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #121212;
  font-size: 0.95rem;
  color: var(--brand-text);
  letter-spacing: normal;
  text-transform: none;
}

.cart-type-option input {
  margin: 0;
  accent-color: var(--brand-accent);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cart-item-actions .link-btn svg {
  margin-right: 6px;
  vertical-align: text-bottom;
}

@media (max-width: 768px) {
  .cart-item-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-preview img {
    width: 120px;
    height: 168px;
    object-fit: contain;
  }
}

.feature-card {
  background: #121212;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(216, 177, 71, 0.08);
  box-shadow: 0 28px 60px -40px rgba(0, 0, 0, 0.65);
}

#home-feature-section {
  background: #121212;
}

#home-feature-section .feature-card {
  background: #121212;
  overflow: hidden;
}

#home-feature-section .feature-card h3,
#home-feature-section .feature-card p {
  color: #fff;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brand-text);
}

.feature-card p {
  color: var(--brand-muted);
  margin: 0;
}

.generator-visual img {
  max-width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(216, 177, 71, 0.1);
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.6);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 107, 153, 0.32), rgba(18, 18, 18, 0.9));
  border: 1px solid rgba(216, 177, 71, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(15, 107, 153, 0.25), rgba(18, 18, 18, 0.9));
  border-radius: 24px;
  padding: clamp(2rem, 3vw, 3rem);
  border: 1px solid rgba(216, 177, 71, 0.08);
}

.newsletter-card form {
  display: grid;
  gap: 1rem;
  max-width: 480px;
}

.newsletter-card input[type="email"] {
  background: rgba(3, 6, 12, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(216, 177, 71, 0.16);
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  color: var(--brand-text);
}

.newsletter-card input[type="email"]:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(216, 177, 71, 0.12);
}

.site-footer {
  margin-top: 80px;
  background: var(--brand-dark);
  color: rgba(235, 235, 235, 0.65);
  padding: 64px 0 40px;
}

.site-footer h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: rgba(235, 235, 235, 0.65);
}

.site-footer a:hover {
  color: var(--brand-accent);
}

.site-footer .footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(216, 177, 71, 0.15);
  font-size: 0.9rem;
  color: rgba(235, 235, 235, 0.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  color: rgba(235, 235, 235, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a,
.footer-bottom-links .dfk-cookie-settings {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(235, 235, 235, 0.65);
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.footer-bottom-links a:hover,
.footer-bottom-links .dfk-cookie-settings:hover {
  color: var(--brand-accent);
}

@media (max-width: 575.98px) {
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    justify-content: flex-start;
  }
}

.page-hero {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: linear-gradient(120deg, rgba(15, 107, 153, 0.12), rgba(18, 18, 18, 0.85));
  border-radius: 28px;
  border: 1px solid rgba(216, 177, 71, 0.08);
  box-shadow: 0 28px 60px -40px rgba(0, 0, 0, 0.6);
}

.page-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-hero p {
  max-width: 540px;
  color: var(--brand-muted);
}

.terms-body {
  max-width: 900px;
  margin: 0 auto;
}

.terms-hero-copy {
  max-width: 640px;
}

.terms-hero-logo {
  width: clamp(72px, 10vw, 120px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.25));
}

.terms-list {
  counter-reset: terms;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
}

.terms-list > li {
  counter-increment: terms;
  position: relative;
  padding-left: 3.5rem;
}

.terms-list > li::before {
  content: counter(terms) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--brand-accent);
}

.terms-list h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: normal;
}

.terms-list p {
  margin-bottom: 0.75rem;
  color: var(--brand-text);
}

.terms-list p:last-child {
  margin-bottom: 0;
}

.terms-list ul {
  list-style: disc;
  margin: 1rem 0 0 1.5rem;
}

.terms-list ul li {
  margin-bottom: 0.5rem;
  color: var(--brand-text);
}

.terms-list ul li:last-child {
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: 0.95rem;
  color: var(--brand-muted);
}

.breadcrumbs a {
  color: var(--brand-accent);
}

.breadcrumbs span {
  color: var(--brand-text);
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(216, 177, 71, 0.16);
  padding: 0.55rem 1.1rem;
  background: rgba(7, 11, 18, 0.9);
  color: var(--brand-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: rgba(216, 177, 71, 0.12);
  color: var(--brand-text);
  border-color: rgba(216, 177, 71, 0.35);
}

.detail-hero {
  background: linear-gradient(135deg, rgba(8, 72, 102, 0.18), rgba(18, 18, 18, 0.95));
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(216, 177, 71, 0.1);
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.6);
}

.card-preview {
  background: var(--card-bg, linear-gradient(140deg, rgba(15, 107, 153, 0.8), rgba(18, 18, 18, 0.95)));
  border-radius: 24px;
  padding: 40px 32px;
  color: var(--brand-text);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-preview small {
  color: rgba(248, 250, 252, 0.68);
}

.price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-text);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  background: rgba(7, 11, 18, 0.8);
  padding: 0.8rem 1rem;
  border-radius: 14px;
  color: var(--brand-muted);
  border: 1px solid rgba(216, 177, 71, 0.08);
}

.info-list li span {
  font-weight: 600;
  color: var(--brand-text);
}

.quantity-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quantity-group input {
  width: 90px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  padding: 0.6rem;
}

.summary-card {
  border-radius: 24px;
  background: rgba(12, 18, 27, 0.92);
  border: 1px solid rgba(216, 177, 71, 0.12);
  padding: 1.8rem;
  box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.6);
}

.summary-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--brand-text);
}

.summary-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.summary-card li {
  display: flex;
  justify-content: space-between;
  color: var(--brand-muted);
}

.summary-card li strong {
  color: var(--brand-text);
}

.cart-table {
  width: 100%;
  border-spacing: 0;
}

.cart-table thead th {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--brand-muted);
  padding-bottom: 1rem;
}

.cart-table tbody td {
  padding: 1.1rem 0;
  border-top: 1px solid var(--brand-border);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product .thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(130deg, rgba(15, 107, 153, 0.8), rgba(18, 18, 18, 0.95));
  display: grid;
  place-items: center;
  color: var(--brand-text);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 177, 71, 0.16);
  color: var(--brand-accent);
  font-weight: 600;
}

.form-card {
  background: rgba(12, 18, 27, 0.92);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(216, 177, 71, 0.12);
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.65);
}

.form-card label {
  font-weight: 600;
  color: var(--brand-text);
}

.form-card .form-control,
.form-card .form-select {
  border-radius: 12px;
  border: 1px solid rgba(216, 177, 71, 0.14);
  padding: 0.8rem 1rem;
  background: rgba(3, 6, 12, 0.8);
  color: var(--brand-text);
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(216, 177, 71, 0.12);
}

.checkout-form-card .form-control,
.checkout-form-card .form-select {
  border-color: rgba(255, 255, 255, 0.7);
}

.checkout-form-card .form-control:focus,
.checkout-form-card .form-select:focus {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.contact-info {
  display: grid;
  gap: 1.2rem;
}

.contact-card {
  background: rgba(12, 18, 27, 0.92);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(216, 177, 71, 0.12);
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.62);
}

.contact-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.accordion-item {
  border: none;
  border-radius: 18px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.55);
}

.accordion-button {
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  background: rgba(12, 18, 27, 0.95);
  color: var(--brand-text);
}

.accordion-button:not(.collapsed) {
  color: var(--brand-accent);
  background: rgba(216, 177, 71, 0.12);
}

.accordion-body {
  background: rgba(7, 11, 18, 0.85);
  color: var(--brand-muted);
}

.auth-wrapper {
  min-height: calc(100vh - 240px);
  display: grid;
  place-items: center;
  padding: 80px 0;
}

.auth-card {
  width: min(440px, 94%);
  background: rgba(12, 18, 27, 0.92);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(216, 177, 71, 0.12);
  box-shadow: 0 32px 60px -36px rgba(0, 0, 0, 0.6);
}

.auth-card h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-card p {
  color: var(--brand-muted);
  margin-bottom: 1.5rem;
}

.auth-card .form-control {
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.empty-state {
  text-align: center;
  padding: 80px 0 40px;
}

.empty-state h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--brand-text);
}

.empty-state p {
  color: var(--brand-muted);
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .navbar-actions {
    margin-top: 1rem;
  }

  .hero {
    padding: 3rem 2.5rem;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    display: contents;
    max-width: 100%;
  }

  .hero-content {
    order: 1;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero-gallery {
    order: 2;
  }

  .hero-feature-panel {
    order: 3;
    width: 100%;
    margin-top: 0;
  }

  .hero-gallery {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    margin-top: 16px;
  }

  .hero-gallery {
    justify-items: center;
  }

  .hero-actions,
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .metric {
    text-align: center;
  }

  .site-footer {
    padding-top: 40px;
  }
}

@media (max-width: 576px) {
  .hero {
    border-radius: 24px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .product-card {
    border-radius: 18px;
    padding: 18px;
  }

  .detail-hero {
    border-radius: 22px;
  }

  .summary-card {
    border-radius: 18px;
  }
}
