/* General styling for the body */
:root {
  --secondary-color: #c50000;
  --primary-color: #2e3192;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  width: 100%;
  margin-inline: auto;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}

/* ---------------------MOVING INFO------------------ */
.announcement-bar {
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 500;
}

.announcement-bar span {
  display: inline-block;
  animation: marquee 40s linear infinite; /* Adjust this to change the speed */
}
.bottom-nav {
  display: none;
}
@keyframes marquee {
  0% {
    transform: translateX(100%); /* Start from off-screen to the right */
  }
  100% {
    transform: translateX(-100%); /* Move completely off-screen to the left */
  }
}
@media (max-width: 750px) {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999999;
  }

  .bottom-nav a {
    text-decoration: none;
    color: #333;
    text-align: center;
    font-size: 14px;
  }

  .bottom-nav a i {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
  }

  .bottom-nav a span {
    font-size: 12px;
  }
}
.close-btn {
  background: var(--primary-color);
  padding: 1rem;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
}

.more-link {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  margin: 1rem 0;
}

.more-link:hover {
  text-decoration: underline;
}

.price-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.regular-price-container {
  width: max-content;
  position: relative;
}
.regular-price-container .regular-price {
  font-size: 16px;
  color: #999;
}
.regular-price::before {
  content: "";
  background: #000;
  height: 1px;
  display: block;
  width: 100%;
  position: absolute;
  transform: rotate(-10deg);
  margin-top: 7px;
}
.sale-price {
  font-size: 1.1rem;
  color: black;
  font-weight: bold;
  margin-left: 0.5rem;
}

.primary-button {
  background-color: var(--primary-color);
  border: 0px solid var(--primary-color);
  color: #fff;
  padding: 12px;
  font-size: 16px;
}

.secondary-button {
  background-color: var(--secondary-color);
  border: 0px solid var(--secondary-color);
  color: #fff;
  padding: 12px;
  font-size: 16px;
}

/* .woocommerce-checkout button[name="apply_coupon"] {
  background-color: var(--secondary-color);
  border: 0px solid var(--secondary-color);
  color: #fff;
  padding: 12px;
  font-size: 16px;
} */

.woocommerce-table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

.woocommerce-table th,
.woocommerce-table td {
  border: 1px solid #ccc;
  padding: 10px 15px;
  text-align: left;
}

.woocommerce-table th {
  background-color: #f4f4f4;
}

.woocommerce-table td li {
  padding-top: 5px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltip-text {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 5px;

  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the element */
  left: 50%;
  transform: translateX(-50%);

  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#checkout-spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.7); /* translucent white */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-spinner {
  border: 6px solid #ccc;
  border-top: 6px solid #333;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.flex-left {
  align-self: flex-start;
}

.flex-center {
  align-self: center;
}

.flex-right {
  align-self: flex-end;
}
