@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2");
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter-bold.woff2");
  font-weight: 700;
}
@font-face {
  font-family: Bebas;
  src: url("/assets/bebas.woff2");
}
* {
  box-sizing: border-box;
}
:root {
  --red: #da3731;
  --navy: #1f2a44;
  --blue: #2a6ba8;
  --pale: #f3f7fe;
  --line: #d9e3f0;
}
body {
  margin: 0;
  color: var(--navy);
  background: white;
  font:
    17px/1.5 Inter,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: white;
  min-height: 48px;
  padding: 10px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}
button:hover,
.button:hover {
  background: #334462;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--pale);
}
.red {
  background: var(--red);
  border-color: var(--red);
}
.red:hover {
  background: #be2a24;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Bebas, sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(56px, 6vw, 96px);
}
h2 {
  font-size: 48px;
}
h3 {
  font-size: 22px;
  line-height: 1.3;
}
p {
  max-width: 65ch;
}
small,
.muted {
  color: #536682;
}
.preview {
  background: #e8effb;
  padding: 8px 24px;
  text-align: center;
  font-size: 14px;
}
header {
  max-width: 1440px;
  margin: auto;
  padding: 25px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 26px;
  text-decoration: none;
}
.brand img {
  width: 100px;
  height: 54px;
}
.brand span {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  font-size: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav a {
  text-decoration: none;
  font-size: 16px;
}
.cart-button {
  background: white;
  color: var(--navy);
  border-color: var(--line);
  font-size: 16px;
}
.cart-button span {
  border-radius: 50%;
  background: var(--navy);
  color: white;
  min-width: 25px;
  font-size: 13px;
  padding: 2px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 440px;
  max-width: 1440px;
  margin: auto;
  background: var(--navy);
  color: white;
}
.hero-copy {
  padding: 60px 13%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  margin-bottom: 20px;
  position: relative;
}
.hero p {
  font-size: 18px;
  max-width: 34ch;
  margin-bottom: 28px;
  position: relative;
}
.hero .button {
  background: white;
  color: var(--navy);
  border: 0;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 440px;
}
.hero-year {
  font: 220px/1 Bebas;
  position: absolute;
  bottom: -30px;
  right: 0;
  color: #2b3b5a;
  pointer-events: none;
}
.benefits {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.benefits svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.collection,
.information,
.admin,
.order-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 0;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}
.section-title h2 {
  margin-bottom: 10px;
}
.section-title p {
  margin: 0;
}
.tabs {
  display: flex;
  gap: 8px;
}
.tabs button {
  font-size: 15px;
  min-height: 42px;
  padding: 8px 16px;
}
.tabs button:not(.selected) {
  background: white;
  color: var(--navy);
  border-color: var(--line);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-image {
  background: var(--pale);
  height: 360px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  mix-blend-mode: multiply;
}
.product-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: white;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 14px;
}
.product-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 21px;
}
.product-title h3 {
  margin-bottom: 4px;
}
.product-title strong {
  white-space: nowrap;
  font-size: 20px;
}
.product p {
  font-size: 15px;
  color: #536682;
  margin-bottom: 15px;
}
.product-controls {
  display: flex;
  gap: 10px;
}
.product-controls select {
  width: 100%;
  min-width: 0;
}
.product-controls button {
  white-space: nowrap;
  font-size: 16px;
}
.information {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps h3 {
  font-size: 18px;
}
.steps p {
  font-size: 16px;
}
.step-number {
  font-family: Bebas;
  font-size: 40px;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
footer {
  background: var(--pale);
  padding: 40px max(5%, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 14px;
}
footer img {
  width: 85px;
}
footer p {
  margin: 5px 0;
}
dialog {
  width: min(620px, calc(100% - 24px));
  border: 0;
  border-radius: 6px;
  padding: 28px;
  color: var(--navy);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #10182088;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dialog-top h2 {
  font-size: 36px;
  margin: 0;
}
.icon {
  background: white;
  color: var(--navy);
  border: 0;
  font-size: 30px;
  padding: 0 12px;
}
.cart-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 15px;
  align-items: center;
}
.cart-item img {
  width: 60px;
  height: 75px;
  object-fit: contain;
  background: var(--pale);
}
.cart-item p {
  margin: 0;
  font-size: 14px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.quantity button {
  min-height: 32px;
  padding: 2px 10px;
  background: white;
  color: var(--navy);
  border-color: var(--line);
}
.total {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
  font-size: 22px;
}
.wide {
  width: 100%;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #8fa4c0;
  background: white;
  color: var(--navy);
  border-radius: 4px;
  min-height: 48px;
  padding: 10px 12px;
}
label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 6px;
}
label small {
  font-weight: 400;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.check input {
  width: 20px;
  min-height: 20px;
  margin: 3px 0;
  flex-shrink: 0;
}
.notice {
  background: var(--pale);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  font-size: 16px;
  margin: 24px 0;
}
.error {
  color: #7e1512;
  background: #fef3f2;
  padding: 12px;
  border-radius: 4px;
  margin: 16px 0;
}
.login {
  max-width: 430px;
  margin: 70px auto 120px;
  padding: 0 20px;
}
.login h1 {
  font-size: 56px;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.metric {
  background: var(--pale);
  padding: 22px;
}
.metric strong {
  display: block;
  font-family: Bebas;
  font-size: 44px;
}
.toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
}
.toolbar input {
  max-width: 430px;
}
.toolbar select {
  max-width: 240px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
th {
  font-weight: 700;
  background: var(--pale);
}
td,
th {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td button {
  font-size: 14px;
  min-height: 36px;
  padding: 5px 12px;
}
.badge {
  display: inline-block;
  background: #e8effb;
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 13px;
}
.badge.paid,
.badge.completed {
  background: #e4f3e9;
  color: #215837;
}
.badge.pending {
  background: #fff0dc;
  color: #775020;
}
.admin-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.edit-product {
  border: 1px solid var(--line);
  padding: 24px;
}
.empty {
  padding: 60px 20px;
  text-align: center;
  background: var(--pale);
}
.order-page {
  max-width: 800px;
}
.order-page h1 {
  font-size: 64px;
}
.order-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.history {
  padding-left: 20px;
  font-size: 14px;
}
.history li {
  margin: 12px 0;
}
.order-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
}
.detail-card {
  background: var(--pale);
  padding: 24px;
}
.detail-card p {
  margin: 6px 0;
}
.admin-panel {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--navy);
  color: white;
  border-radius: 4px;
  z-index: 5;
  display: none;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px white;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1350px) {
  .benefits,
  .collection,
  .information,
  .admin,
  .order-page {
    margin-left: 5%;
    margin-right: 5%;
  }
}
@media (max-width: 800px) {
  header {
    padding: 20px 5%;
  }
  nav {
    gap: 12px;
  }
  nav a {
    display: none;
  }
  .brand {
    gap: 14px;
  }
  .brand span {
    padding-left: 14px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding: 35px 10%;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero img {
    min-height: 390px;
  }
  .benefits {
    gap: 15px;
    font-size: 13px;
  }
  .product-grid {
    gap: 16px;
  }
  .product-image {
    height: 260px;
  }
  .product-title {
    display: block;
  }
  .product-controls {
    flex-direction: column;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .information {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .admin-products {
    grid-template-columns: 1fr;
  }
  .order-detail {
    grid-template-columns: 1fr;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 639px) {
  body {
    font-size: 16px;
  }
  .brand span {
    display: none;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    padding: 40px 6%;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero img {
    height: 260px;
    min-height: 0;
  }
  .hero p {
    max-width: 40ch;
  }
  .hero .button {
    width: 100%;
  }
  .hero-year {
    font-size: 200px;
  }
  .benefits {
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .benefits span {
    font-size: 13px;
  }
  .benefits span:last-child {
    display: none;
  }
  .collection,
  .information,
  .admin,
  .order-page {
    padding: 36px 0;
  }
  h2 {
    font-size: 40px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 360px;
  }
  .product-title {
    display: flex;
  }
  .product-controls {
    flex-direction: row;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 16px;
  }
  .steps article p {
    grid-column: 2;
  }
  .step-number {
    grid-row: 1/3;
  }
  .steps h3 {
    margin-bottom: 5px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar input,
  .toolbar select {
    max-width: none;
  }
  .admin-head {
    flex-wrap: wrap;
  }
  .order-page h1 {
    font-size: 48px;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tabs button {
    flex: 1;
  }
  footer {
    padding: 30px 5%;
    gap: 20px;
  }
  footer div {
    width: calc(100% - 110px);
  }
  dialog {
    padding: 20px;
  }
  .cart-item {
    grid-template-columns: 45px 1fr auto;
    gap: 10px;
  }
  .cart-item img {
    width: 45px;
  }
  .quantity {
    gap: 10px;
  }
}
.button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-year {
  z-index: 0;
}
.hero-copy h1,
.hero-copy p,
.hero-copy .button {
  z-index: 1;
}
.hero-copy .button {
  position: relative;
}
.order-heading {
  margin-top: 30px;
}
.photo-credit {
  font-size: 12px;
  color: #536682;
  margin: 8px auto 0;
  padding: 0 5%;
  max-width: 1440px;
}
.admin-head {
  align-items: flex-start;
}
.admin-head h1 {
  margin-bottom: 24px;
}

.catalog-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
}
.catalog-controls input {
  flex: 1;
}
.catalog-controls select {
  max-width: 200px;
}
.catalog-controls span {
  white-space: nowrap;
  font-size: 15px;
}
.section-title {
  flex-wrap: wrap;
}
.section-title .tabs {
  flex-wrap: wrap;
  justify-content: flex-start;
}
.product-title {
  align-items: flex-start;
}
.product-title h3 {
  font-size: 19px;
  max-width: 22ch;
}
.product-title strong {
  font-size: 18px;
}
.product-image {
  height: 330px;
}
#load-more {
  margin-top: 30px;
}
.product-grid {
  row-gap: 40px;
}
.history {
  overflow-wrap: anywhere;
}
@media (max-width: 639px) {
  .catalog-controls {
    flex-wrap: wrap;
  }
  .catalog-controls input {
    flex-basis: 100%;
  }
  .catalog-controls select {
    flex: 1;
  }
  .catalog-controls span {
    width: auto;
  }
  .product-image {
    height: 350px;
  }
  .section-title .tabs button {
    flex: 0 1 auto;
  }
  .product-title h3 {
    max-width: 22ch;
  }
  .product-controls {
    flex-direction: column;
  }
}
