body {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.container {
  max-width: 1200px;
}

/* Responsive Typography for Headings */
h1 {
  font-size: 2.5rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
  h1 {
    font-size: 2.2rem; /* Tablet */
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.8rem; /* Mobile */
  }
}

h2 {
  font-size: 2.2rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
  h2 {
    font-size: 2rem; /* Tablet */
  }
}

@media (max-width: 767px) {
  h2 {
    font-size: 1.5rem; /* Mobile */
  }
}

h3 {
  font-size: 1.8rem; /* Desktop */
}

@media (min-width: 768px) and (max-width: 1023px) {
  h3 {
    font-size: 1.6rem; /* Tablet */
  }
}

@media (max-width: 767px) {
  h3 {
    font-size: 1.25rem; /* Mobile */
  }
}

/* Ensure logo text also scales */
.header-logo-text {
  font-size: 1.8rem; /* Desktop */
}

@media (max-width: 767px) {
  .header-logo-text {
    font-size: 1.25rem; /* Mobile */
  }
}

/* Custom animations */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation Menu Toggle */
@media (max-width: 1100px) {
  #nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    flex-direction: column;
    align-items: flex-start;
  }
  #nav-menu.active {
    max-height: 500px; /* Adjust as needed */
  }
  #nav-menu .lg\:flex-grow {
    width: 100%;
  }
  #nav-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
  }
  #nav-menu a:last-child {
    border-bottom: none;
  }
  #nav-menu .lg\:ml-4 {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
  #nav-menu #cart-button {
    width: 100%;
  }
}

/* FAQ Accordion Icons */
.faq-icon.rotate {
  transform: rotate(180deg);
}

/* Ensure email word breaks */
.word-break-all {
  word-break: break-all;
}

/* Ensure buttons don't have underline */
button {
  text-decoration: none !important;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Specific styles for card heights and image fitting */
.grid > div > img {
  height: 192px; /* Fixed height for product images in related products */
  object-fit: cover;
}

/* Global styles for form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  outline: none;
}

/* Cart item quantity select */
.cart-item-quantity {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  font-size: 0.875rem;
}

/* Hide scrollbar for specific elements if needed, but not globally */
/* Example for mobile menu if it becomes too long */
#nav-menu {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#nav-menu::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Cookie banner specific styles */
#cookie-banner.show {
  transform: translateY(0);
}
/*
 * Styles for the .policyOrbitalShell container and its child elements.
 * These styles provide basic typography and spacing for common HTML elements
 * within the policy content area.
 */

.policyOrbitalShell {
  /* Top margin for spacing the policy content from preceding elements */
  /* Horizontal padding for content readability on larger screens */
}

.policyOrbitalShell h1 {
  /* Font size for the main heading, not excessively large as requested */
  font-size: clamp(20px, 4vw, 32px);
  /* Bold font weight */
  font-weight: 700;
  /* Spacing above the heading */
  margin-top: 2.5rem;
  /* Spacing below the heading */
  margin-bottom: 1.5rem;
  /* Line height for readability */
  line-height: 1.2;
}

.policyOrbitalShell h2 {
  /* Font size for sub-headings */
  font-size: clamp(20px, 4vw, 28px);
  /* Slightly less bold than h1 */
  font-weight: 600;
  /* Spacing above the heading */
  margin-top: 2rem;
  /* Spacing below the heading */
  margin-bottom: 1rem;
  /* Line height for readability */
  line-height: 1.25;
}

.policyOrbitalShell h3 {
  /* Font size for smaller sub-headings */
  font-size: clamp(20px, 4vw, 26px);
  /* Font weight */
  font-weight: 600;
  /* Spacing above the heading */
  margin-top: 1.8rem;
  /* Spacing below the heading */
  margin-bottom: 0.8rem;
  /* Line height for readability */
  line-height: 1.3;
}

.policyOrbitalShell h4 {
  /* Font size for even smaller sub-headings */
  font-size: clamp(20px, 4vw, 24px);
  /* Font weight */
  font-weight: 500;
  /* Spacing above the heading */
  margin-top: 1.5rem;
  /* Spacing below the heading */
  margin-bottom: 0.7rem;
  /* Line height for readability */
  line-height: 1.35;
}

.policyOrbitalShell h5 {
  /* Font size for the smallest headings */
  font-size: 1.1em;
  /* Font weight */
  font-weight: 500;
  /* Spacing above the heading */
  margin-top: 1.2rem;
  /* Spacing below the heading */
  margin-bottom: 0.6rem;
  /* Line height for readability */
  line-height: 1.4;
}

.policyOrbitalShell p {
  /* Default font size for paragraphs (inherits from body if not set elsewhere) */
  /* Spacing below each paragraph */
  margin-bottom: 1.5em;
  /* Line height for optimal paragraph readability */
  line-height: 1.6;
}

.policyOrbitalShell ul {
  /* Spacing above the unordered list */
  margin-top: 1em;
  /* Spacing below the unordered list */
  margin-bottom: 1em;
  /* Indentation for the list items */
  margin-left: 2.5em;
  /* Default bullet style */
  list-style-type: disc;
}

.policyOrbitalShell li {
  /* Spacing below each list item */
  margin-bottom: 0.7em;
  /* Line height for list item readability */
  line-height: 1.6;
}

@media (max-width: 575px) {
  #cart-items-container {
    .flex.items-center.space-x-4.border-b.border-gray-100.pb-4 {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 10px;
    }
  }

  #cart-summary {
    .flex.justify-between.items-center.mb-4 {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 10px;
    }
  }
}

.wr {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  main {
    flex: 1;
  }
}
