@import url("/css/reset.css");
@import url("/css/old.main.css");
@import url("/css/legacy-tailwind-and-translating-block-library.css");

* {
  font-family: var(--font-family), sans-serif, Arial, Helvetica;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

img,
video {
  height: auto;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 100%;

  @media (min-width: 640px) {
    max-width: 640px;
  }

  @media (min-width: 768px) {
    max-width: 768px;
  }

  @media (min-width: 1024px) {
    max-width: 1024px;
  }

  @media (min-width: 1280px) {
    max-width: 1280px;
  }

  @media (min-width: 1536px) {
    max-width: 1536px;
  }
}

.radio-label {
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.radio-input {
  appearance: none; /* Hide the default radio button */
  -webkit-appearance: none;
  -moz-appearance: none;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0; /* Make the actual radio input invisible */
}

.radio-image {
  display: inline-block;
  width: 2rem; /* Equivalent to w-8 */
  height: 2rem; /* Equivalent to h-8 */
  border-radius: 50%;
  border: none;
}

.radio-input:checked + .radio-image {
  border: 2px solid var(--primary); /* Example of checked state styling */
}

.radio-input:disabled + .radio-image {
  opacity: 0.6; /* Styling for disabled/ out of stock */
  cursor: not-allowed;
}

.radio-design-input:checked + .radio-design {
  border: 4px solid var(--secondary); /* Example of checked state styling */
}

.radio-design {
  width: 8rem;
  height: 9rem;
  border-radius: 10%;
  font-size: 0.8rem;
}

.radio-design-input:checked + .radio-design {
  border: 2px solid var(--primary); /* Checked state styling for design */
}

.radio-tamanho:checked + .radio-tamanho-image {
  border: 4px solid var(--primary); /* Checked state styling for design */
}

.radio-tamanho-input {
  width: 9rem;
  height: 9rem;
  border-radius: 10%;
  font-size: 0.8rem;
}
.radio-tamanho-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 5rem;
  background-color: var(--secondary);
  border-radius: 10%;
  font-size: 1rem;
  color: var(--base-100);
}

#aviso-cookies {
  left: 0;
}

/* LOADING SPINNER */
#loading-screen {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background-color: #fff;
}

.loading-spinner {
  background-color: #000;
  width: 24px;
  height: 24px;
  scale: 4;
}
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  opacity: 0.5 !important;
  display: flex;
}
.htmx-request.htmx-indicator {
  opacity: 0.5 !important;
  display: flex;
}
.mdhidden {
  @media (min-width: 768px) {
    display: none;
  }
}

.button-container {
  position: relative;
  background-color: white;
}

/* Fixed at the bottom on page load */
#comprarButton.fixed-bottom {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  max-width: 95%;
}

/* Normal position when in view */
#comprarButton {
  position: relative;
}

#comprarButton:disabled {
  background: lightgray;
  color: black;
  cursor: not-allowed; /* Optional: indicates the button is disabled */
}

.js-show-on-scroll {
  overflow: hidden;
}

/* EVENTS TABLE*/
/* Base styles for the table */
.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px; /* Compact font size */
}

/* Header styling */
.events-table thead th {
  background-color: #f8f9fa; /* Light background for header */
  color: #333;
  padding: 8px 12px;
  font-weight: bold;
  text-align: left;
  border-bottom: 2px solid #ddd;
}

/* Body styling */
.events-table tbody td {
  padding: 6px 10px; /* Compact padding */
  border-bottom: 1px solid #eee;
  color: #555;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Row hover effect */
.events-table tbody tr:hover {
  background-color: #e3f2fd; /* Light highlight on hover */
}

/* Optional: Adjust for better readability on hover */
.events-table tbody tr:hover td {
  color: #000; /* Darker text color on hover */
}

/* Overflow handling */
.events-table {
  overflow-x: auto; /* Ensure horizontal scrolling for large data */
}

.post-43320 div {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.post-43320 div div .prose {
  display: contents;
}
.post-43320 div div .prose .wp-block-image figure,
.post-43320 div div .prose .wp-block-image figure a img,
.post-43320 div div .prose .wp-block-image figure a {
  width: 100%;
}

/* NATAL */
:root {
  --globe-width: 12px;
  --globe-height: 28px;
  --globe-spacing: 40px;
  --globe-spread: 3px;
  --light-off-opacity: 0.4;
}

body {
  background: #fff;
}

.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}

.lightrope li {
  position: relative;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  list-style: none;
  margin: calc(var(--globe-spacing) / 2) 0;
  padding: 0;
  display: inline-block;
  width: var(--globe-width);
  height: var(--globe-height);
  border-radius: 50%;
  background: rgba(0, 247, 165, 1);
  box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(0, 247, 165, 1);
  animation-name: flash-1;
  animation-duration: 2s;
}

.lightrope li:nth-child(2n+1) {
  background: rgba(0, 255, 255, 1);
  box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(0, 255, 255, 0.5);
  animation-name: flash-2;
  animation-duration: 0.4s;
}

.lightrope li:nth-child(4n+2) {
  background: rgba(247, 0, 148, 1);
  box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(247, 0, 148, 1);
  animation-name: flash-3;
  animation-duration: 1.1s;
}

.lightrope li:nth-child(odd) {
  animation-duration: 1.8s;
}

.lightrope li:nth-child(3n+1) {
  animation-duration: 1.4s;
}

.lightrope li:before {
  content: "";
  position: absolute;
  background: #222;
  width: calc(var(--globe-width) - 2px);
  height: calc(var(--globe-height) / 3);
  border-radius: 3px;
  top: calc(0px - (var(--globe-height) / 6));
  left: 1px;
}

.lightrope li:after {
  content: "";
  position: absolute;
  top: calc(0px - var(--globe-height) / 2);
  left: calc(var(--globe-width) - 3px);
  width: calc(var(--globe-spacing) + 12px);
  height: calc(var(--globe-height) / 3 * 2);
  border-bottom: solid #222 2px;
  border-radius: 50%;
}

.lightrope li:last-child:after {
  content: none;
}

.lightrope li:first-child {
  margin-left: calc(-1 * var(--globe-spacing));
}

@keyframes flash-1 {
  0%, 100% {
    background: rgba(0, 247, 165, 1);
    box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(0, 247, 165, 1);
  }
  50% {
    background: rgba(0, 247, 165, var(--light-off-opacity));
    box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(0, 247, 165, 0.2);
  }
}

@keyframes flash-2 {
  0%, 100% {
    background: rgba(0, 255, 255, 1);
    box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(0, 255, 255, 1);
  }
  50% {
    background: rgba(0, 255, 255, var(--light-off-opacity));
    box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(0, 255, 255, 0.2);
  }
}

@keyframes flash-3 {
  0%, 100% {
    background: rgba(247, 0, 148, 1);
    box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(247, 0, 148, 1);
  }
  50% {
    background: rgba(247, 0, 148, var(--light-off-opacity));
    box-shadow: 0px calc(var(--globe-height) / 6) calc(var(--globe-width) * 2) var(--globe-spread) rgba(247, 0, 148, 0.2);
  }
}
/* padding necessário quando usar o luzes natal */
/* .aviso-topo { */
/*   padding-top: 2.6rem */
/* } */
.lightrope li {
  margin-right: 1.5rem
}
/* END NATAL */
