@import "tailwindcss";

:root {
  --brand: #155ee9;
  --navy: #071f4a;
  --sun: #ffb21d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #16213c;
  font-family: Arial, Helvetica, sans-serif;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  transition-property: color, background-color, border-color, opacity, transform, box-shadow;
  transition-duration: 180ms;
}

button:not(:disabled),
a {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(21, 94, 233, 0.25);
  outline-offset: 2px;
}

.scrollbar-none {
  scrollbar-width: none;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.input-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 800;
}

.checkout-input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.7rem;
  background: #fff;
  padding: 0.7rem 0.8rem;
  color: #17233d;
  font-size: 0.82rem;
  font-weight: 500;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms;
}

.checkout-input::placeholder {
  color: #a4afbf;
}

.checkout-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(21, 94, 233, 0.1);
}

.subcell {
  margin-top: 0.25rem;
  color: #94a3b8;
  font-size: 0.56rem;
}

.mini-select {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.42rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  outline: none;
}

.mini-select:focus {
  border-color: var(--brand);
}

@keyframes float-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.product-card {
  animation: float-in 450ms ease both;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 3.75rem;
  }
}
