@font-face {
  font-family: 'Aptos';
  src: url('../../Aptos-Display.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
:root {
  --FLIblue: rgb(24, 62, 109);
  --FLIgrey: rgb(216, 225, 232);
  --FLIhead: rgb(240, 244, 248);
  --FLIgreen: rgb(141,198,63);
  --background-select: linear-gradient(to left, #34495e 3rem, #2c3e50 3rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Aptos', sans-serif;
}


.main-et1a {
    margin-bottom: 0 !important;
}

html, body {
    height: 100%;
    background-color: white;
}

body {

    display: flex;
    flex-direction: column;
}


/* General Layout */
.navBackground {
  background-color: white;
}


@media(min-height: 1600px) {
    .navBackground {
        margin-bottom: 10vh;
    }
}

.navigation {
  padding: 10px 5%;
  margin: 0 auto;
  max-width: calc(1600px + 10%);
  background-color: white;
  font-family: 'Aptos', sans-serif;
  background: inherit;
  padding-top: 0;
  padding-bottom: 0;
}

.banner img {
    height: 250px;
    width: 100%;;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  gap: 5px;
  font-size: 1.2rem;
  color: #666;
}

.breadcrumbs ol li:not(:last-child)::after {
  content: "/";
  margin-left: 5px;
  color: #ccc;
}

.breadcrumbs a {
  color: var(--FLIblue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.patent {
    color: var(--FLIblue);
    margin-left: 5vw;
}

.navigation h1 {
  font-size: 2.8rem;
  color: var(--FLIblue);
  margin: 0;
  font-weight: 700;
  font-family: Aptos;
}

.nav-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  margin-right: 80px;
}

.nav-subtitle a {
    color: blue;
    text-decoration: underline;
}

@media(max-width:1200px) {
    .nav-subtitle{display: none;
}
}

#noCards {
  font-family: 'Aptos';
  font-size: 36px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  color: lightgray;
  letter-spacing: 0.05em;
}

.content1 {
  display: flex;
  flex-wrap: nowrap;
  flex: 1;
  min-height: 730px;
  max-height: 760px;
  padding-top: 10px;
  padding-right: 20px;
  background-color: white;
  border-radius: 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  max-width: calc(1600px + 10%);
  margin: 0 auto;
  background: white;
}

@media(max-width:1200px) {
  .content1 {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
    background: whitesmoke;
  }
}

/*  Right column — 3D model */
.modelContainer {
  display: block;
  justify-content: center;
  margin-left: 2vw;
  border: solid 2px var(--FLIhead);
  border-radius: 12px;
  max-height: 550px;
  width: 1150px;
}

model-viewer {
  background: linear-gradient(180deg, #ffffff, #f3f6fb);
  width: 1150px;
  height: 550px;
  
  cursor: default;
  border: 2px solid var(--FLIblue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  border-radius: 8px;
}

.viewDetails {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-top: 6px;
  text-align: center;
  text-decoration: underline;
  color: blue;
}


.frameLabel {
  font-size: 1.2rem;
  color: var(--FLIblue);
  margin-bottom: 10px;
  font-family: Aptos;
}

.frameDescription {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

.technicalDetails {
  list-style: none;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  padding-top: 0;
}

.technicalDetails li {
  list-style: none;
}
/* Right column — Actions */
.actionContainer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* Keep aligned right */
  justify-content: center;
  flex: 0 0 80px;          /* Reserve space */
  margin-left: auto;
  gap: 30px;                /* Big vertical gap */
  padding-right: 20px;
  height: 100%;
}

@media(max-width: 1300px) {
    .actionContainer {
        margin-top: 10px;
    }
}
@media(max-width: 1200px) {
    .actionContainer {
        margin-top: 40px;
    }
}

@media(max-width:460px) {
  .actionContainer {
    display: none;
  }
}

.buttonWrapper {
 background-color: white;
 padding: 0;
 margin: 0;
 margin-bottom: 0px;
 padding-bottom: 30px;
}

.buttonBox {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: var(--FLIhead);
    justify-content: center;
    font-family: 'Aptos';
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.buttonBox h1 {
    margin: 0;
    font-size: 50px;
    font-weight: bold;
    padding: 10px;
}

.buttonBox {
    justify-content: center;
    display: flex;
}

.pages {
    display: none;
}

.pages.active {
    display: block;
}

.pages {
    padding: 30px;
    font-family: 'Aptos', sans-serif;
    border: 2px solid var(--FLIblue);
    margin-left: 0vw;
    min-width: 600px;
    min-height: 650px;
    max-height: 680px;
    background: #ffffff;
    border-radius: 8px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff, #f3f6fb);
}

.pages {
    overflow-y: auto;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--FLIblue) transparent;
}

.pages::-webkit-scrollbar {
    width: 10px;
}

.pages::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0; /* THIS is your top/bottom spacing */
}

.pages::-webkit-scrollbar-thumb {
    background: #2f6fed;
    border-radius: 10px;
}

.pages::-webkit-scrollbar-thumb:hover {
    background: #1e4fd1;
}


/* Title */

.pageTitle {
    margin: 0 0 20px 0;
    font-size: 42px;
    color: var(--FLIblue);
}

/* Labels */

.pages p {
    font-size: 18px;
    padding: 10px 0 5px 0;
    color: #555;
    margin: 0;
}

/* Inputs + Selects */

.pages select,
.pages input {
    width: 100%;
    padding: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 16px;
    background: #f8f9fb;
    transition: 0.2s ease;
    margin-bottom: 20px;
}

.pages select:focus,
.pages input:focus {
    outline: none;
    border-color: var(--FLIblue);
    background: #ffffff;
}

.pageExtra {
    background: #f5f7fb;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.pageExtraText {
    font-weight: 600;
    color: var(--FLIblue);
    margin-bottom: 10px;
}

/* Image area */
.pageImg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.pageImg img {
  width: 200px;
  height: 200px;
  object-fit: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.pageImg img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  filter: brightness(1.05);
}

.pageImg img {
    border: 2px solid none;
    cursor: pointer;
    transition: 0.25;
}

.pageImg img.active {
    border: 10px solid var(--FLIblue);
}


.priceBar {
  color: var(--FLIblue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-top: 16px;
  background: linear-gradient(180deg, #ffffff, var(--FLIgrey));
  border: 2px solid var(--FLIblue);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0, 90, 180, 0.18);
  color: white;
  font-family: system-ui, sans-serif;
}

#totalPrice, .priceBar h2 {
  font-weight: 400;
  color: var(--FLIblue);
  font-size: 34px;
  margin-right: 0px;
}

.priceBar ul, li {
    color: black;
}

.breakdown {
    margin-left: 380px;
}

.priceBtn {
    display: flex;
    margin-top: 10px;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.priceBtn a {
    color: var(--FLIblue);
    font-family: 'Aptos', Sans-Serif;
    width: 220px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: center;
}

.priceBtn a:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  transform: scale(1.02);
  font-weight: bolder;
}

.btn {
  width: 220px;
  height: auto;
  background: var(--FLIblue);
  color: white;
  font-weight: bold;
  border: 0px solid var(--FLIblue);
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 0px;
  transition: all 0.2s ease;
  padding: 5px;
  overflow: hidden;
  margin: 0;
  line-height: normal;
  min-width: 0 !important;
  text-align: center;
  justify-content: center;
}

.btn:hover {
  /*background: linear-gradient(to bottom, #f0f8ff, #ddeeff);*/
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  font-weight: bolder;
}


.priceBar {
    overflow-y: auto;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--FLIblue) transparent;
}

.priceBar::-webkit-scrollbar {
    width: 10px;
}

.priceBar::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0; /* THIS is your top/bottom spacing */
}

.priceBar::-webkit-scrollbar-thumb {
    background: #2f6fed;
    border-radius: 10px;
}

.priceBar::-webkit-scrollbar-thumb:hover {
    background: #1e4fd1;
}
