/* Layout Fix: Ensure footer sticks to bottom */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: black;
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background-color: #121212;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  padding: 0px 10px;
}

.logo img {
  height: 80px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00d1ff;
}

.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #121212;
  color: #ccc;
}

footer a {
  color: #00d1ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


.circle {
  --circle-size: 40px;
  position: fixed;
  height: var(--circle-size);
  width: var(--circle-size);
  border: 1px solid white;
  border-radius: 100%;
  top: calc(var(--circle-size) / 2 * -1);
  left: calc(var(--circle-size) / 2 * -1);
  pointer-events: none;
  z-index: 99999;
}


.blackout-overlay {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}

.blackout-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}


/* HTML: <div class="loader"></div> */
.loader {
  width: 75px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-color: #006020 #0000;
  animation: l16 1s infinite linear;
  margin: auto;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
}

.loader::before {
  border-color: #2b0071 #0000;
  animation: inherit;
  animation-duration: .5s;
  animation-direction: reverse;
}

.loader::after {
  margin: 8px;
  border-color: #800000 #0000;
}

@keyframes l16 {
  100% {
    transform: rotate(1turn)
  }
}

.loader-container {
  width: fit-content;
  top: 0;
  bottom: 0;
  z-index: 10000;
  right: 0;
  left: 0;
  color: white;
  /* z-index: 10000; */
  position: fixed;
  margin: auto;
  height: fit-content;
  pointer-events: none;
}

/* PRODUCT CONTAINER*/
.product-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.top-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-gallery img {
  max-width: 50%;
  border-radius: 10px;
}

.product-title {
  font-size: 28px;
  font-weight: bold;
}

.price {
  font-size: 22px;
  color: #e91e63;
}
.price-discount {
  font-size: 22px;
  color: #91e91e;
}
.price-academic {
  font-size: 22px;
  color: #e91e63;
}
.price-academic-discount {
  font-size: 22px;
  color: #91e91e;
}
.price-industrial {
  font-size: 22px;
  color: #e91e63;
}
.price-industrial-discount {
  font-size: 22px;
  color: #91e91e;
}

.description {
  font-size: 16px;
  margin-bottom: 10px;
}

.btn {
  padding: 12px;
  background-color: #00d1ff;
  color: black;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.btn:hover {
  background-color: #0088a7;;
}

/* Responsive */
@media (min-width: 768px) {
  .top-section {
    flex-direction: row;
  }

  .product-gallery,
  .product-info {
    flex: 1;
  }

  .btn {
    width: auto;
  }
}

/* Scrollable details */
.details-section {
  margin-top: 40px;
}

.details-section a{
  color: #00d1ff;
}

.details-section h2 {
  font-size: 22px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.details-box {
  margin-bottom: 30px;
}

.details-box table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.details-box th,
.details-box td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}
