@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100%;
}

html,
body,
main {
  overflow-x: clip;
}

html {
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background-color: #ffffff;
  font-family: "Inter", system-ui, sans-serif;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
p,
span,
a,
li,
button,
label {
  word-break: break-word;
}

@media (max-width: 640px) {
  h1,
  h2,
  h3,
  h4,
  p,
  .break-all-mobile {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.btn-primary {
  background-color: #d23420;
  color: #ffffff;
  border-radius: 9999px;
  transition: transform 0.2s, opacity 0.2s;
}

a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
a.btn-primary:focus,
button.btn-primary {
  color: #ffffff !important;
}

.btn-primary:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

body.page-sticky-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-sticky-footer main {
  flex: 1 0 auto;
}

.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease;
}

.faq-item.open .faq-content {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 1rem;
}

.faq-item.open .faq-icon svg {
  transform: rotate(180deg);
}

.variant-btn-active,
.set-btn-active {
  border-color: #000 !important;
  background-color: #000 !important;
  color: white !important;
}

.bg-soft-orange {
  background-color: #ff990f;
}

.ba-slider {
  position: relative;
  touch-action: none;
  user-select: none;
}

.ba-slider .ba-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-right: 4px solid #fff;
  pointer-events: none;
}

.ba-before-wrap .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  z-index: 10;
}

.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-rtl 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-card {
  flex-shrink: 0;
  width: 200px;
}

@media (min-width: 768px) {
  .marquee-card {
    width: 320px;
  }
}

.variant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .variant-tabs {
    flex-direction: column;
  }

  .variant-tabs button {
    width: 100%;
    max-width: 100%;
  }
}

.pro-banner-img-mobile {
  display: block;
  aspect-ratio: 4 / 3;
}

.pro-banner-inner {
  display: none;
}

.pro-banner-text {
  background-color: #111827;
}

@media (min-width: 768px) {
  .pro-banner-img-mobile {
    display: none;
  }

  .pro-banner-inner {
    display: block;
    aspect-ratio: 3 / 1;
    min-height: 280px;
  }

  .pro-banner-img-desktop {
    display: block;
  }

  .pro-banner-text {
    position: absolute;
    inset: 0;
    width: 55%;
    max-width: 42rem;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
  }
}

.hero-section .hero-content h1,
.hero-section .hero-content > p {
  color: #ffffff;
}

@media (max-width: 767px) {
  .hero-section .hero-content {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 1.5rem;
    border-radius: 0;
  }
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}

.site-header-logo {
  display: block;
  line-height: 0;
}

.site-header-logo img {
  height: 2rem;
  width: auto;
  max-width: 100%;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
  background: #fff;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 0.9fr 1.4fr;
    gap: 2.5rem;
  }
}

.footer-col {
  min-width: 0;
}

.footer-col b {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.footer-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  margin-bottom: 1rem;
}

.footer-contact-text,
.footer-disclaimer p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.footer-disclaimer p {
  font-size: 0.75rem;
}

.footer-contact-text a {
  color: #d23420;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: none;
}

.footer-links a:hover {
  color: #d23420;
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

.ad-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 0.25rem;
}

.legal-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.legal-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111827;
}

.legal-page p {
  margin-bottom: 1rem;
  line-height: 1.65;
  color: #374151;
}

.legal-page a {
  color: #d23420;
  word-break: break-all;
}

.legal-content {
  word-break: break-word;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
}

.order-modal.is-open {
  display: flex;
}

.order-modal-box {
  width: 100%;
  max-width: 24rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.order-modal-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.order-modal-box label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.order-modal-box input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.order-modal-actions {
  display: flex;
  gap: 0.5rem;
}

.order-modal-actions button {
  flex: 1;
  padding: 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  cursor: pointer;
}

.order-modal-close {
  background: #f3f4f6;
  color: #374151;
  border: none;
}

.order-modal-submit {
  background: #d23420;
  color: #fff;
  border: none;
}

.intro-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .intro-block h2 {
    font-size: 2rem;
  }
}
