@font-face {
  font-family: Assistant;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/cdn/fonts/assistant/assistant_n4.9120912a469cad1cc292572851508ca49d12e768.woff2") format("woff2"),
       url("/cdn/fonts/assistant/assistant_n4.6e9875ce64e0fefcd3f4446b7ec9036b3ddd2985.woff") format("woff");
}

@font-face {
  font-family: Assistant;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/cdn/fonts/assistant/assistant_n7.bf44452348ec8b8efa3aa3068825305886b1c83c.woff2") format("woff2"),
       url("/cdn/fonts/assistant/assistant_n7.0c887fee83f6b3bda822f1150b912c72da0f7b64.woff") format("woff");
}

:root {
  --color-background: #ffffff;
  --color-foreground: #121212;
  --color-muted: #6b6b6b;
  --color-border: #e5e5e5;
  --color-sale: #e95144;
  --font-body: "Assistant", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--color-foreground); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-background);
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 72px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem 0;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-actions a {
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1.2rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  color: var(--color-foreground);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 2rem 1.25rem; align-items: stretch; }
  .main-nav li { border-bottom: 1px solid var(--color-border); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 0.9rem 0; }
}

/* Page banner */
.page-banner {
  background: #f5f3ef;
  text-align: center;
  padding: 3.5rem 1rem;
}

.page-banner h1 {
  font-size: 2.2rem;
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.page-banner p {
  margin: 0;
  color: var(--color-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-foreground); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.product-card a.card-link { display: block; }

.product-card .thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f7f7f7;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card a.card-link:hover .thumb img { transform: scale(1.04); }

.product-card .info { padding: 0.9rem 0 0; }

.product-card .name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.product-card .name a:hover { text-decoration: none; }

.product-card .price {
  font-size: 0.95rem;
  color: var(--color-foreground);
}

.product-card .price .compare {
  color: var(--color-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0 4rem;
}

@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; gap: 1.5rem; } }

.product-detail .gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-detail .title { font-size: 2rem; margin: 0 0 0.5rem; font-weight: 700; }

.product-detail .price-line { font-size: 1.4rem; margin: 0 0 1.25rem; }
.product-detail .price-line .compare { color: var(--color-muted); text-decoration: line-through; margin-left: 0.6rem; font-size: 1.05rem; }

.product-detail .desc { color: #333; margin-bottom: 1.5rem; }

.product-detail .field { margin-bottom: 1rem; }

.product-detail .field label { display: block; font-size: 0.9rem; margin-bottom: 0.35rem; font-weight: 600; }

.product-detail select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}

.btn {
  display: inline-block;
  background: var(--color-foreground);
  color: #fff;
  border: 1px solid var(--color-foreground);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0;
  text-align: center;
}

.btn:hover { opacity: 0.85; text-decoration: none; }

.btn--full { width: 100%; }

.btn--secondary {
  background: transparent;
  color: var(--color-foreground);
}

/* Sections on content pages */
.content-section { padding: 2.5rem 0 4rem; }
.content-section h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.content-section h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.content-section p { color: #333; margin: 0 0 1rem; max-width: 760px; }
.content-section ul { color: #333; max-width: 760px; }

.accordion details {
  border: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}

.accordion summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; float: right; font-weight: 400; }
.accordion details[open] summary::after { content: "–"; }

.accordion .answer { padding: 0 1.25rem 1.25rem; color: #444; }

table.size-chart {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
}

table.size-chart th, table.size-chart td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  text-align: left;
}

table.size-chart th { background: #f5f3ef; font-weight: 700; }

/* Forms */
.contact-form { max-width: 560px; }
.contact-form .field { margin-bottom: 1rem; }
.contact-form label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.form-note { display: none; margin-top: 1rem; padding: 1rem; background: #f1f6ef; border: 1px solid #cfdfc9; }
.form-note.show { display: block; }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 1rem 5rem; }
.empty-state h2 { font-size: 1.6rem; }
.empty-state p { color: var(--color-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}

@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; } }

.site-footer h4 { margin: 0 0 0.75rem; font-size: 1rem; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--color-muted); }
.site-footer a:hover { color: var(--color-foreground); }

.site-footer .bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 0 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Search */
.search-box { display: flex; gap: 0.75rem; max-width: 560px; margin: 2rem auto 0; }
.search-box input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--color-foreground);
  color: #fff;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  z-index: 100;
  transition: transform 0.35s ease;
  max-width: 90vw;
  text-align: center;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* Related */
.related { padding: 1rem 0 3rem; }
.related h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
