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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #f5f5f5;
  line-height: 1.6;
}

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

/* ── Navbar ── */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #2a2a35;
  position: sticky; top: 0; z-index: 100;
}
.nav-content {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 100px; width: auto; filter: invert(1); }
nav { display: flex; align-items: center; }
nav a { color: #000000; text-decoration: none; margin-left: 24px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s; }
nav a:hover { color: #555555; }
.cart-link { background: transparent; color: #000000 !important; border: 1px solid #3a3a45; padding: 8px 16px; border-radius: 6px; }

/* ── Hamburger menu (mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000000;
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .logo img { height: 56px; }
  .nav-toggle { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 1px solid #2a2a35;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease;
  }
  nav.nav-open {
    max-height: 80vh;
    overflow-y: auto;
    visibility: visible;
  }
  nav a {
    margin-left: 0;
    padding: 16px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eeeeee;
  }
  .cart-link {
    margin: 14px 20px;
    text-align: center;
    border-radius: 6px;
  }
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: #f5f0e8;
  color: #2a1f1a;
  padding: 12px 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
  border-bottom: 1px solid #e8ddd0;
}

/* ── Hero ── */
.hero {
  background: #000000;
  padding: 120px 0 100px;
  text-align: center;
  border-bottom: 1px solid #2a2a35;
}
.hero-season {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
}
.hero p {
  font-size: 1rem;
  margin-bottom: 36px;
  color: #888;
  line-height: 1.8;
}
.btn-hero {
  display: inline-block; padding: 14px 32px;
  border: 1px solid #f5f5f5; border-radius: 2px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #f5f5f5; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-hero:hover { background: #f5f5f5; color: #0a0a0e; }

/* ── Why Section ── */
.why-section {
  padding: 80px 0;
  border-bottom: 1px solid #2a2a35;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #000000;
}
.intro-text {
  font-size: 1rem;
  color: #888;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.why-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.why-block {
  background: #111117;
  padding: 24px;
  border-radius: 4px;
  border: 1px solid #2a2a35;
}
.why-block h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f0f0f0;
  margin-bottom: 12px;
}
.why-block p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

/* ── Capsule Section ── */
.capsule-section {
  padding: 60px 0 80px;
  border-bottom: 1px solid #2a2a35;
}
.capsule-header {
  text-align: center;
}
.capsule-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #000000;
}
.capsule-header p {
  font-size: 1rem;
  color: #888;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 12px 24px; border: none; border-radius: 4px;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: transform .2s, opacity .2s;
}
.btn-primary { background: #f5f5f5; color: #0f0f14; font-weight: 600; }
.btn:hover { transform: translateY(-2px); opacity: .9; }

/* ── Category sections ── */
.category-section { margin-top: 64px; scroll-margin-top: 140px; }
.category-title {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a35;
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  padding-bottom: 80px;
}
.product-card {
  background: #111117;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s;
  border: 1px solid #2a2a35;
}
.product-card:hover { transform: translateY(-4px); }

.product-image-wrap { position: relative; }
.product-image-wrap img { width: 100%; height: 340px; object-fit: cover; display: block; }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #e8ddd0;
  color: #2a1f1a;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 600;
}

.product-info { padding: 20px; }

.product-sku {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}
.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: #f0f0f0;
}
.product-description {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 12px;
  line-height: 1.7;
}
.product-specs {
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  line-height: 1.8;
}
.product-reassurance {
  font-size: 0.7rem;
  color: #666;
  letter-spacing: 0.03em;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #2a2a35;
  line-height: 1.6;
}
.price {
  color: #f0f0f0;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.product-info .btn { width: 100%; text-align: center; }

/* ── Cart ── */
.cart-page { padding: 48px 0; min-height: 70vh; }
.cart-page h1 {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 32px;
}
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto auto auto;
  gap: 16px; align-items: center; padding: 20px;
  background: #f5f0e8; border-radius: 4px; margin-bottom: 12px;
  border: 1px solid #f5f0e8; color: #1a1a1a;
}
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 2px; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; }
.cart-item-actions button {
  width: 32px; height: 32px; border: 1px solid #2a2a35; background: transparent;
  color: #1a1a1a; border-radius: 2px; cursor: pointer; font-size: 1rem;
}
.cart-item-subtotal { font-weight: 500; min-width: 80px; text-align: right; color: #1a1a1a; }
.remove-btn { background: none; border: none; color: #666; cursor: pointer; font-size: 1rem; transition: color .2s; }
.remove-btn:hover { color: #ef4444; }

.cart-summary {
  margin-top: 24px; padding: 24px; background: #f5f0e8;
  border-radius: 4px; text-align: right; border: 1px solid #f5f0e8; color: #1a1a1a;
}
.cart-summary h2 { margin-bottom: 16px; font-size: 1.2rem; font-weight: 500; }
.cart-summary .btn { background: #f5f5f5; color: #0f0f14; font-weight: 600; }

.empty-cart { text-align: center; padding: 60px; color: #555; font-size: 0.85rem; letter-spacing: 0.05em; }
.empty-cart a { color: #888; }

/* ── Product detail page ── */
.product-page { padding: 40px 0 80px; }

.product-back {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color .2s;
}
.product-back:hover { color: #f0f0f0; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  background: #111117;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  padding: 40px;
}

.product-detail-info { padding-top: 8px; }
.product-detail-info .product-sku { margin-bottom: 12px; }
.product-detail-info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-detail-price {
  font-size: 1.4rem;
  font-weight: 500;
  color: #f0f0f0;
  margin-bottom: 28px;
}
.price-tax { font-size: 0.7rem; font-weight: 400; color: #666; text-transform: uppercase; letter-spacing: 0.05em; }

.product-detail-info .product-description {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
}
.product-detail-info .product-specs {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #888;
  line-height: 1.8;
}
.product-detail-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid #2a2a35; }
.product-detail-section h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}

.product-detail-actions .btn { padding: 16px 32px; font-size: 0.8rem; width: 100%; }

/* ── Product gallery / carousel ── */
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-thumb {
  padding: 0;
  border: 1px solid #2a2a35;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumb img { width: 100%; height: 80px; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.active { opacity: 1; border-color: #f0f0f0; }

.gallery-main {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f0e8;
}
.gallery-main img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}
.gallery-main .product-badge { top: 16px; left: 16px; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 14, 0.6);
  color: #f0f0f0;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.gallery-arrow:hover { background: rgba(10, 10, 14, 0.85); }
.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }

/* ── Size selector ── */
.size-block { margin-bottom: 24px; }
.size-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}
.size-select {
  width: 100%;
  padding: 14px 16px;
  background: #0a0a0e;
  border: 1px solid #2a2a35;
  border-radius: 4px;
  color: #f0f0f0;
  font-size: 0.9rem;
  cursor: pointer;
}
.size-select:focus { outline: none; border-color: #f0f0f0; }
.size-select-error { border-color: #ef4444; }
.size-fixed { color: #f0f0f0; font-size: 0.9rem; }

.delivery-info {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2a2a35;
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.tech-pack-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  border-bottom: 1px solid #2a2a35;
  transition: color .2s;
}
.tech-pack-link:hover { color: #f0f0f0; }

.cart-item-size { font-size: 0.75rem; color: #888; margin: 2px 0; }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; }
  .gallery-thumb { flex: 0 0 64px; }
  .gallery-thumb img { height: 64px; }
  .gallery-main img { height: 420px; }
}

/* ── Pages Content ── */
.page-content {
  padding: 60px 0 80px;
  min-height: calc(100vh - 200px);
}
.page-section {
  max-width: 800px;
  margin: 0 auto;
}
.page-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  color: #1a1a1a;
}
.page-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #333333;
}
.page-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 12px;
  color: #333333;
}
.page-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #888;
}
.page-text p {
  margin-bottom: 16px;
}
.page-text ul {
  margin-left: 20px;
  margin-bottom: 16px;
}
.page-text li {
  margin-bottom: 8px;
}
.contact-info {
  background: #111117;
  padding: 24px;
  border-radius: 4px;
  border: 1px solid #2a2a35;
  margin-top: 32px;
}
.contact-info a {
  color: #f0f0f0;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color .2s;
}
.contact-info a:hover {
  color: #e8ddd0;
}

/* ── FAQ Section ── */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid #2a2a35;
}
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #f0f0f0;
}
.faq-items {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 24px;
  background: #111117;
  border-radius: 4px;
  border: 1px solid #2a2a35;
  overflow: hidden;
}
.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-question:hover {
  background: #1a1a20;
}
.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #f0f0f0;
}
.faq-toggle {
  font-size: 1.2rem;
  color: #666;
  transition: transform .2s;
}
.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 500px;
}

/* ── Footer ── */
footer {
  background: #0a0a0e; padding: 40px 0; text-align: center;
  border-top: 1px solid #2a2a35; margin-top: 40px;
}
.footer-brand {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #f5f5f5;
  margin-bottom: 8px;
  font-weight: 700;
}
.footer-copy { font-size: 0.7rem; color: #444; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover {
  color: #f5f5f5;
}
.footer-email p {
  font-size: 0.75rem;
  color: #666;
}
.footer-email a {
  color: #f5f5f5;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color .2s;
}
.footer-email a:hover {
  color: #e8ddd0;
}

/* ── Toast ── */
#jlm-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #f5f5f5;
  color: #0f0f14;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  z-index: 9999;
}
#jlm-toast.jlm-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 2.5rem; }
  .cart-item { grid-template-columns: 70px 1fr; grid-template-rows: auto auto; }
  .cart-item img { width: 70px; height: 70px; }
  .product-grid { grid-template-columns: 1fr; }
}
