/* REIGN — hard minimal, high-contrast black/white */

:root {
  --black: #0a0a0a;
  --white: #f5f5f5;
  --gray: #8a8a8a;
  --line: #2a2a2a;
  --font: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

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

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.logo-word {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--white);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-select {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  padding: 6px 8px;
  font-size: 11px;
  letter-spacing: 1px;
  font-family: var(--font);
}

.cart-btn {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-btn:hover {
  background: var(--white);
  color: var(--black);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--white);
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* Hero */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.55) 40%, rgba(10,10,10,0.92) 100%),
    url(../images/lifestyle-couple.png) center 25% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 480px;
  margin: 0 auto 36px;
  color: var(--gray);
  font-size: 16px;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 18s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gray);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
main section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-head h2,
.about-text h2,
.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 1px;
}

.link-arrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--white);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-grid.full {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-image {
  aspect-ratio: 3 / 4;
  background: #151515;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #202020 0%, #0a0a0a 60%);
}

.product-image.tee-photo::after,
.product-image.product-photo::after {
  display: none;
}

.product-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.shorts-photo {
  background-image: url(../images/product-shorts.png);
  background-size: contain;
  background-color: #fff;
}
.hoodie-photo { background-image: url(../images/product-hoodie.png); }
.monotee-black-photo { background-image: url(../images/lifestyle-man.png); background-position: center 20%; }
.monotee-white-photo { background-image: url(../images/lifestyle-woman.png); background-position: center 20%; }

.model-black-orange { background-image: url(../images/model-black-orange.jpg); background-position: center 20%; }
.model-black-red { background-image: url(../images/model-black-red.jpg); background-position: center 20%; }
.model-black-pink { background-image: url(../images/model-black-pink.jpg); background-position: center 20%; }
.model-black-yellow { background-image: url(../images/model-black-yellow.jpg); background-position: center 20%; }
.model-black-green { background-image: url(../images/model-black-green.jpg); background-position: center 20%; }
.model-black-turquoise { background-image: url(../images/model-black-turquoise.jpg); background-position: center 20%; }

.model-white-orange { background-image: url(../images/model-white-orange.jpg); background-position: center 20%; }
.model-white-red { background-image: url(../images/model-white-red.jpg); background-position: center 20%; }
.model-white-pink { background-image: url(../images/model-white-pink.jpg); background-position: center 20%; }
.model-white-yellow { background-image: url(../images/model-white-yellow.jpg); background-position: center 20%; }
.model-white-green { background-image: url(../images/model-white-green.jpg); background-position: center 20%; }
.model-white-turquoise { background-image: url(../images/model-white-turquoise.jpg); background-position: center 20%; }

/* Sold out */
.product-card.sold-out .product-image {
  filter: saturate(1.3) contrast(1.05);
}

.product-card.sold-out .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 1;
  transition: background 0.25s;
}

.product-card.sold-out:hover .product-image::before {
  background: rgba(10, 10, 10, 0.6);
}

.product-card.sold-out h3,
.product-card.sold-out .price {
  color: var(--gray);
}

.product-card.sold-out .price {
  text-decoration: line-through;
  text-decoration-color: var(--line);
}

.sold-out-badge {
  position: absolute;
  top: 22px;
  left: -34px;
  width: 150px;
  transform: rotate(-45deg);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tee-photo {
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.tee-grid-1 { background-image: url(../images/tee-grid-1.png); }
.tee-grid-2 { background-image: url(../images/tee-grid-2.png); }
.tee-grid-3 { background-image: url(../images/tee-grid-3.png); }

.pos-0-0 { background-position: 0% 0%; }
.pos-1-0 { background-position: 50% 0%; }
.pos-2-0 { background-position: 100% 0%; }
.pos-0-1 { background-position: 0% 100%; }
.pos-1-1 { background-position: 50% 100%; }
.pos-2-1 { background-position: 100% 100%; }

.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-card .price {
  color: var(--gray);
  font-size: 14px;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.option-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.15s, transform 0.15s;
}

.color-swatch:hover {
  transform: scale(1.08);
}

.color-swatch.active {
  box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--white);
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.size-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.size-btn:hover {
  border-color: var(--white);
}

.size-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.size-selector.disabled .size-btn {
  color: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-top: 20px;
  color: var(--gray);
  max-width: 420px;
}

.about-image {
  aspect-ratio: 4 / 5;
  background: url(../images/lifestyle-gym.jpg) center / cover no-repeat;
  border: 1px solid var(--line);
}

/* CTA */
.cta {
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta p {
  color: var(--gray);
  margin: 16px 0 32px;
}

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font);
}

.signup-form input::placeholder { color: var(--gray); }

/* Shop page */
.shop-hero {
  text-align: center;
  padding: 60px 32px 40px;
  border-bottom: 1px solid var(--line);
}

.shop-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 2px;
}

.shop-hero p {
  color: var(--gray);
  margin-top: 12px;
}

/* Legal pages (Tokusho / Privacy) */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.7;
}

.legal-table th {
  width: 220px;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.legal-copy h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.legal-copy h2:first-of-type {
  margin-top: 0;
}

.legal-copy p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 14px;
}

@media (max-width: 560px) {
  .legal-table th { width: 130px; font-size: 12px; }
  .legal-table th, .legal-table td { padding: 14px 10px; }
}

.shop-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.filters h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 14px;
  text-align: left;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo-word {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray);
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  width: 100%;
  color: var(--line);
  font-size: 12px;
  text-align: center;
}

/* Add to cart */
.add-to-cart-btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  font-size: 12px;
}

.add-to-cart-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: transparent;
  color: var(--white);
}

.add-to-cart-btn.added {
  background: transparent;
  color: var(--white);
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  background: var(--black);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 201;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.cart-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty {
  color: var(--gray);
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}

.cart-item {
  display: flex;
  gap: 14px;
}

.cart-item-image {
  width: 72px;
  height: 90px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center 20%;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--gray);
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}

.cart-qty button {
  background: none;
  border: none;
  color: var(--white);
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 14px;
}

.cart-qty span {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
}

.cart-item-price {
  font-size: 13px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 16px;
}

.cart-checkout {
  width: 100%;
}

.cart-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--gray);
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.full { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: flex; align-items: center; gap: 20px; overflow-x: auto; white-space: nowrap; }
  .filters h3 { margin-bottom: 0; }
  .filter-list { flex-direction: row; gap: 20px; }
  .signup-form { flex-direction: column; }
}

@media (max-width: 560px) {
  .header-tools .currency-select { display: none; }
  .header-tools { gap: 8px; }
  .header-inner { padding: 16px 16px; gap: 12px; }
  #lang-select { padding: 6px 4px; font-size: 10px; }
  .cart-btn { padding: 8px 10px; font-size: 10px; }
  .product-grid,
  .product-grid.full { grid-template-columns: 1fr; }
}
