/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #F1ECE4; font-family: 'Courier New', Courier, monospace; color: #000; }

/* ── HEADER ── */
#site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  background: #F1ECE4; border-bottom: 1px solid rgba(0,0,0,0.12);
  display: flex; align-items: center; padding: 0 32px; height: 72px;
}
#logo-link { position: absolute; left: 50%; transform: translateX(-50%); line-height: 0; }
#lm-logo { width: 160px; display: block; }
.hdr-left { display: flex; align-items: center; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
#menu-btn {
  font-size: 11px; font-weight: 900; letter-spacing: 0.08em;
  cursor: pointer; user-select: none; display: flex; align-items: center; gap: 7px; color: #000;
  -webkit-text-stroke: 0.3px #000;
}
.hdr-text-btn {
  font-size: 11px; font-weight: 900; letter-spacing: 0.08em;
  cursor: pointer; user-select: none; color: #000; text-decoration: none;
  -webkit-text-stroke: 0.3px #000; background: none; border: none; font-family: inherit;
}
.hdr-text-btn:hover { opacity: 0.6; }
.menu-lines { display: inline-flex; flex-direction: column; gap: 3px; }
.menu-lines span { display: block; width: 14px; height: 1.5px; background: #000; }
.hdr-icon { cursor: pointer; display: flex; align-items: center; position: relative; color: #000; text-decoration: none; }
.hdr-icon svg { width: 19px; height: 19px; }
.hdr-icon:hover { opacity: 0.6; }
/* Phones: a centered logo collides with CONTACT, so sit it beside the menu icon */
@media (max-width: 600px) {
  #site-header { padding: 0 16px; }
  #logo-link { position: static; transform: none; margin-left: 14px; }
  #lm-logo { width: 112px; }
  .hdr-right { gap: 14px; }
  #menu-btn { font-size: 0; gap: 0; }
}
#cart-badge {
  position: absolute; top: -7px; right: -9px;
  background: #000; color: #F1ECE4;
  font-size: 8px; font-weight: 900; line-height: 1;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
#cart-badge.visible { opacity: 1; }

/* ── SIDEBARS ── */
#sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
#sidebar-overlay.open { opacity: 1; pointer-events: all; }
.sidebar-panel {
  position: fixed; top: 0; height: 100%; background: #F1ECE4;
  z-index: 200; display: flex; flex-direction: column; padding: 0 44px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); width: min(400px,88vw);
}
#lm-sidebar { left: 0; transform: translateX(-101%); }
#lm-sidebar.open { transform: translateX(0); }
#lm-contact-sidebar { right: 0; transform: translateX(101%); }
#lm-contact-sidebar.open { transform: translateX(0); }
.sidebar-top { display: flex; justify-content: space-between; align-items: center; padding: 32px 0 48px; }
.sidebar-lbl { font-size: 11px; font-weight: 900; letter-spacing: 0.08em; -webkit-text-stroke: 0.3px #000; }
.sidebar-close {
  font-size: 11px; font-weight: 900; letter-spacing: 0.08em; cursor: pointer;
  -webkit-text-stroke: 0.3px #000; font-family: 'Courier New', Courier, monospace;
  background: none; border: none; padding: 0; color: #000; outline: none;
}
.sidebar-divider { height: 1px; background: #000; opacity: 0.12; margin: 20px 0; }
#lm-sidebar-nav { display: flex; flex-direction: column; }
#lm-sidebar-nav a {
  display: block; font-size: clamp(22px,3vw,36px); font-weight: 900;
  line-height: 1.4; letter-spacing: 0.04em; color: #000; text-decoration: none;
  -webkit-text-stroke: 0.5px #000;
}
#lm-sidebar-nav a:hover { opacity: 0.6; }
.contact-email {
  font-size: clamp(14px,1.6vw,20px); font-weight: 900; letter-spacing: 0.04em;
  color: #000; text-decoration: none; line-height: 1.4; -webkit-text-stroke: 0.3px #000;
}
.contact-email:hover { opacity: 0.6; }
.policy-links { margin-top: auto; padding-bottom: 48px; display: flex; flex-direction: column; }
.policy-links a {
  font-size: 11px; font-weight: 900; letter-spacing: 0.06em; color: #000;
  text-decoration: none; opacity: 0.5; line-height: 2; -webkit-text-stroke: 0.2px #000;
}
.policy-links a:hover { opacity: 1; }

/* ── PAGE LAYOUT ── */
.page-header {
  padding: 52px 48px 30px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.page-title { font-size: clamp(28px,4vw,52px); font-weight: 900; letter-spacing: 0.12em; -webkit-text-stroke: 0.6px #000; }
.page-subtitle { font-size: 11px; font-weight: 900; letter-spacing: 0.1em; opacity: 0.45; margin-top: 8px; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.product-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid.col-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .product-grid.col-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 860px) { .product-grid, .product-grid.col-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .product-grid, .product-grid.col-2, .product-grid.col-4 { grid-template-columns: 1fr; } }

.product-card { background: #F1ECE4; cursor: pointer; overflow: hidden; }
.product-card:hover .product-img { transform: scale(1.04); }
.product-img-wrap { aspect-ratio: 3/4; overflow: hidden; background: #F1ECE4; }
.product-card.landscape .product-img-wrap { aspect-ratio: 16/10; }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.product-info { padding: 14px 20px 22px; }
.product-name { font-size: 10px; font-weight: 900; letter-spacing: 0.12em; line-height: 1.5; -webkit-text-stroke: 0.2px #000; }
.product-price { font-size: 10px; font-weight: 900; letter-spacing: 0.07em; margin-top: 5px; opacity: 0.6; }
.product-meta { font-size: 10px; font-weight: 400; letter-spacing: 0.06em; margin-top: 4px; opacity: 0.5; line-height: 1.6; }

/* ── PRODUCT MODAL ── */
#lm-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#lm-modal-overlay.open { opacity: 1; pointer-events: all; }
#lm-product-modal {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(900px, 100vw); background: #F1ECE4; z-index: 400;
  transform: translateX(100%); transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  display: flex; overflow: hidden;
}
#lm-product-modal.open { transform: translateX(0); }
.modal-close-btn {
  position: absolute; top: 22px; right: 26px;
  font-size: 10px; font-weight: 900; letter-spacing: 0.12em; cursor: pointer; z-index: 10;
  -webkit-text-stroke: 0.2px #000; background: none; border: none; padding: 0;
  font-family: 'Courier New', Courier, monospace; color: #000; outline: none;
}
.modal-images { width: 54%; flex-shrink: 0; position: relative; background: #F1ECE4; }
.carousel-main { position: absolute; inset: 0; overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-slide.blank { background: #F1ECE4; display: flex; align-items: center; justify-content: center; }
.carousel-slide.blank::after { content: 'IMAGE COMING SOON'; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; opacity: 0.35; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 100%;
  padding: 0 14px; display: flex; justify-content: space-between; pointer-events: none;
}
.carousel-btn {
  pointer-events: all; cursor: pointer; width: 34px; height: 34px;
  background: rgba(241,236,228,0.88); display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; user-select: none; -webkit-text-stroke: 0;
}
.carousel-btn:hover { background: #F1ECE4; }
.carousel-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel-dot { width: 5px; height: 5px; border-radius: 50%; background: #000; opacity: 0.2; cursor: pointer; transition: opacity 0.2s; }
.carousel-dot.active { opacity: 0.8; }
.modal-detail {
  flex: 1; padding: 56px 38px 38px; overflow-y: auto; display: flex; flex-direction: column;
}
.modal-name { font-size: clamp(16px,1.8vw,24px); font-weight: 900; letter-spacing: 0.1em; line-height: 1.3; -webkit-text-stroke: 0.4px #000; }
.modal-price { font-size: 14px; font-weight: 900; letter-spacing: 0.07em; margin-top: 14px; opacity: 0.65; }
.modal-desc { font-size: 11px; font-weight: 400; letter-spacing: 0.04em; line-height: 1.8; margin-top: 26px; opacity: 0.7; max-width: 340px; }
.modal-section-label { font-size: 9px; font-weight: 900; letter-spacing: 0.16em; margin-top: 32px; margin-bottom: 10px; opacity: 0.45; }
.size-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.size-btn {
  min-width: 44px; height: 38px; padding: 0 10px; border: 1px solid rgba(0,0,0,0.22);
  background: transparent; font-family: 'Courier New', Courier, monospace;
  font-size: 10px; font-weight: 900; letter-spacing: 0.06em; cursor: pointer; transition: all 0.18s;
  color: #000;
}
.size-btn:hover { border-color: #000; }
.size-btn.selected { background: #000; color: #F1ECE4; border-color: #000; }
.add-to-cart-btn {
  margin-top: 30px; padding: 15px 28px; background: #000; color: #F1ECE4;
  font-family: 'Courier New', Courier, monospace; font-size: 10px; font-weight: 900;
  letter-spacing: 0.16em; border: none; cursor: pointer; width: 100%; transition: opacity 0.2s;
}
.add-to-cart-btn:hover:not(:disabled) { opacity: 0.78; }
.add-to-cart-btn:disabled { opacity: 0.28; cursor: not-allowed; }
.modal-feedback { margin-top: 10px; font-size: 9px; font-weight: 900; letter-spacing: 0.14em; opacity: 0; transition: opacity 0.3s; text-align: center; }
.modal-feedback.show { opacity: 1; }
/* ── COLOUR SWATCHES (modal) ── */
.color-swatch-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.color-swatch {
  width: 22px; height: 22px; border-radius: 0; cursor: pointer;
  border: none; padding: 0; outline: 2px solid transparent; outline-offset: 3px;
  transition: outline-color 0.15s; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.color-swatch--light { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.28); }
.color-swatch:hover { outline-color: rgba(0,0,0,0.35); }
.color-swatch.selected { outline-color: #000; }
.color-selected-label {
  font-size: 9px; font-weight: 900; letter-spacing: 0.12em; margin-top: 6px;
  min-height: 13px; opacity: 0.55;
}

/* ── COLOUR DOTS (product card) ── */
.card-color-dots { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.card-color-dot {
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14); display: inline-block;
}
.card-color-dot--light { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.3); }

.modal-meta-row { font-size: 10px; font-weight: 900; letter-spacing: 0.08em; line-height: 1.9; opacity: 0.55; }
.modal-meta-row strong { opacity: 1; color: #000; }
.outline-btn {
  margin-top: 30px; padding: 15px 28px; background: transparent; color: #000;
  font-family: 'Courier New', Courier, monospace; font-size: 10px; font-weight: 900;
  letter-spacing: 0.16em; border: 1px solid #000; cursor: pointer; width: 100%; transition: all 0.2s;
}
.outline-btn:hover { background: #000; color: #F1ECE4; }
@media (max-width: 680px) {
  #lm-product-modal { flex-direction: column; top: auto; bottom: 0; height: 92vh; transform: translateY(100%); }
  #lm-product-modal.open { transform: translateY(0); }
  .modal-images { width: 100%; flex-shrink: 0; height: 44vh; position: relative; }
  .carousel-main { position: absolute; inset: 0; }
  .modal-detail { padding: 28px 24px; }
}

/* ── CART PAGE ── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 64px; padding: 52px 48px 80px; min-height: 60vh; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-empty { padding: 52px 48px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; opacity: 0.4; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
.cart-item-img { width: 80px; height: 100px; object-fit: cover; background: #F1ECE4; display: block; }
.cart-item-name { font-size: 10px; font-weight: 900; letter-spacing: 0.1em; line-height: 1.5; }
.cart-item-size { font-size: 9px; font-weight: 900; letter-spacing: 0.1em; opacity: 0.45; margin-top: 4px; }
.cart-item-price { font-size: 10px; font-weight: 900; letter-spacing: 0.07em; margin-top: 6px; opacity: 0.65; }
.cart-qty { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.qty-btn { background: none; border: 1px solid rgba(0,0,0,0.25); width: 26px; height: 26px; font-family: inherit; font-size: 14px; font-weight: 900; cursor: pointer; color: #000; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { border-color: #000; }
.qty-num { font-size: 11px; font-weight: 900; letter-spacing: 0.06em; min-width: 16px; text-align: center; }
.cart-remove { font-size: 9px; font-weight: 900; letter-spacing: 0.1em; opacity: 0.3; cursor: pointer; background: none; border: none; font-family: inherit; color: #000; }
.cart-remove:hover { opacity: 0.8; }
.order-summary { position: sticky; top: 96px; align-self: start; }
.summary-title { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; margin-bottom: 24px; }
.summary-line { display: flex; justify-content: space-between; font-size: 10px; font-weight: 900; letter-spacing: 0.07em; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.08); opacity: 0.7; }
.summary-line.total { opacity: 1; font-size: 12px; border-bottom: 2px solid #000; padding: 12px 0; }
.checkout-btn {
  margin-top: 24px; padding: 17px; background: #000; color: #F1ECE4;
  font-family: 'Courier New', Courier, monospace; font-size: 10px; font-weight: 900;
  letter-spacing: 0.18em; border: none; cursor: pointer; width: 100%; transition: opacity 0.2s;
}
.checkout-btn:hover { opacity: 0.8; }
.checkout-demo-notice {
  margin-top: 16px; padding: 18px; border: 1px solid rgba(0,0,0,0.15);
  font-size: 10px; font-weight: 900; letter-spacing: 0.06em; line-height: 1.8;
  display: none; opacity: 0.7;
}
.checkout-demo-notice.visible { display: block; }

/* ── ACCOUNT PAGE ── */
.account-layout { display: flex; justify-content: center; padding: 72px 48px 80px; }
.account-box { width: 100%; max-width: 440px; }
.account-tabs { display: flex; border-bottom: 1px solid rgba(0,0,0,0.15); margin-bottom: 44px; }
.account-tab {
  flex: 1; padding: 0 0 14px; font-size: 10px; font-weight: 900; letter-spacing: 0.12em;
  cursor: pointer; background: none; border: none; font-family: inherit; color: #000;
  opacity: 0.35; border-bottom: 2px solid transparent; transition: all 0.2s;
  margin-bottom: -1px;
}
.account-tab.active { opacity: 1; border-bottom-color: #000; }
.account-form { display: flex; flex-direction: column; gap: 18px; }
.account-form input {
  width: 100%; padding: 14px 0; border: none; border-bottom: 1px solid rgba(0,0,0,0.25);
  background: transparent; font-family: 'Courier New', Courier, monospace; font-size: 11px;
  font-weight: 900; letter-spacing: 0.06em; color: #000; outline: none; transition: border-color 0.2s;
}
.account-form input::placeholder { opacity: 0.35; font-weight: 400; }
.account-form input:focus { border-bottom-color: #000; }
.account-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-submit {
  margin-top: 14px; padding: 16px; background: #000; color: #F1ECE4;
  font-family: 'Courier New', Courier, monospace; font-size: 10px; font-weight: 900;
  letter-spacing: 0.18em; border: none; cursor: pointer; transition: opacity 0.2s;
}
.account-submit:hover { opacity: 0.78; }
.account-message { margin-top: 20px; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; line-height: 1.8; display: none; }
.account-message.visible { display: block; }
.account-note { font-size: 10px; font-weight: 400; letter-spacing: 0.04em; opacity: 0.5; margin-top: 20px; line-height: 1.8; }

/* ── EXHIBITION CARD ── */
.exhibition-card .product-img-wrap { aspect-ratio: 16/9; }
.exhibition-tag { display: inline-block; font-size: 8px; font-weight: 900; letter-spacing: 0.15em; background: #000; color: #F1ECE4; padding: 3px 8px; margin-bottom: 8px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.1); padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 900; letter-spacing: 0.08em; opacity: 0.4;
}
@media (max-width: 600px) { .site-footer { flex-direction: column; gap: 10px; text-align: center; } }
