
:root {
  --ink: #171715;
  --paper: #f8f7f4;
  --muted: #77766f;
  --line: #e5e2dc;
  --white: #ffffff;
  --accent: #d9ff63;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

button, input {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.announcement {
  padding: 8px 16px;
  text-align: center;
  color: white;
  background: var(--ink);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.site-header {
  min-height: 82px;
  padding: 14px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 13px;
  color: #45443f;
}

.main-nav a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cart-button {
  display: flex;
  align-items: right;
  gap: 20px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 6px 15px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

#cartCount {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.hero {
  min-height: 550px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 45px;
  padding: 70px 8%;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 23px;
  font-size: clamp(38px, 5.4vw, 69px);
  line-height: 1.05;
  letter-spacing: -3px;
}

h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-description {
  max-width: 410px;
  color: #65645e;
  font-size: 14px;
  line-height: 1.9;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: white;
  border-color: white;
}

.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 10px;
}

.hero-art {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  background: #e6e3dc;
}

.art-shape {
  position: absolute;
}

.shape-one {
  width: 58%;
  height: 70%;
  top: 12%;
  left: 13%;
  background: #171715;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 49% 100%, 0 67%);
}

.shape-two {
  width: 48%;
  height: 53%;
  right: 0;
  bottom: 0;
  background: var(--accent);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%, 0 38%);
}

.shape-three {
  width: 23%;
  height: 23%;
  right: 15%;
  top: 10%;
  background: white;
  transform: rotate(45deg);
}

.art-label {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  text-align: right;
}

.art-number {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 9px;
  letter-spacing: 1px;
}

.section {
  padding: 75px 8%;
}

.collections {
  background: white;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-heading h2,
.story h2,
.newsletter h2 {
  margin-bottom: 0;
  font-size: clamp(27px, 3.4vw, 41px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.section-heading > p {
  max-width: 260px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  border: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s;
}

.collection-card:hover {
  transform: translateY(-4px);
}

.fashion {
  color: white;
  background: linear-gradient(140deg, #37322f, #958579);
}

.physical {
  color: white;
  background: linear-gradient(145deg, #8b8d79, #353a31);
}

.digital {
  color: white;
  background: linear-gradient(140deg, #353b57, #969ac2);
}

.collection-number,
.collection-link {
  font-size: 10px;
  letter-spacing: 1px;
}

.collection-name {
  font-size: clamp(20px, 2.4vw, 29px);
  font-weight: 700;
}

.shop {
  background: var(--paper);
}

.shop-heading {
  align-items: center;
}

.search-box input {
  width: min(280px, 100%);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline-offset: 3px;
  background: white;
  font-size: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.filter {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.filter.active {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 35px 20px;
  border: 1px dashed #c9c5bc;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.product-card {
  min-width: 0;
  background: white;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 4.7;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9e7e1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image .product-placeholder {
  padding: 20px;
  color: #77766f;
  font-size: 12px;
  text-align: center;
}

.product-info {
  padding: 17px;
}

.product-category {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 7px 0;
  font-size: 15px;
}

.product-price {
  margin-bottom: 13px;
  font-size: 13px;
  font-weight: 700;
}

.add-button {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.add-button:hover {
  color: white;
  background: var(--ink);
}

.story {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  align-items: center;
  gap: 65px;
  background: white;
}

.story-mark {
  min-height: 240px;
  display: grid;
  place-items: center;
  background: #efeee9;
}

.story-mark img {
  width: min(170px, 60%);
  height: 170px;
  object-fit: contain;
}

.story-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
}

.newsletter {
  color: white;
  background: #1b1b19;
  text-align: center;
}

.newsletter .eyebrow {
  color: #c5c3b9;
}

.newsletter h2 {
  margin-bottom: 15px;
}

.newsletter > p:not(.eyebrow) {
  margin-bottom: 25px;
  color: #c5c3b9;
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 6%;
  background: white;
}

.site-footer > p,
.site-footer > span {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.footer-brand {
  font-size: 15px;
}

.cart-dialog {
  width: min(440px, calc(100% - 30px));
  max-height: 85vh;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cart-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-heading h2 {
  font-size: 25px;
}

.close-button {
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cart-line button {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cart-notice {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.full-button {
  width: 100%;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 12px 5%;
    gap: 12px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    z-index: 5;
    top: 105px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5% 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 55px 6%;
  }

  .hero-art {
    min-height: 290px;
  }

  .section {
    padding: 55px 6%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 180px;
  }

  .shop-heading {
    align-items: stretch;
  }

  .search-box input {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-info {
    padding: 12px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-mark {
    min-height: 200px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 22px 5%;
  }
}

@media (max-width: 390px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/* LIXIES DARK THEME */
:root {
  color-scheme: light;

  --ink: #171715;
  --paper: #f8f7f4;
  --muted: #77766f;
  --line: #e5e2dc;
  --white: #ffffff;
  --accent: #d9ff63;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --ink: #f0f5f1;
  --paper: #080B09;
  --muted: #a2b0a7;
  --line: #263D30;
  --white: #101612;
  --accent: #12B886;
}

/* Apply theme to existing storefront sections */
html[data-theme="dark"] .main-nav a,
html[data-theme="dark"] .hero-description {
  color: var(--muted);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .shop,
html[data-theme="dark"] .cart-dialog {
  background: var(--paper);
  color: var(--ink);
}

html[data-theme="dark"] .collections,
html[data-theme="dark"] .story,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .product-card {
  background: var(--white);
  color: var(--ink);
}

html[data-theme="dark"] .search-box input {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

html[data-theme="dark"] .product-image,
html[data-theme="dark"] .story-mark {
  background: #18231c;
}

html[data-theme="dark"] .newsletter {
  background: #020403;
}

html[data-theme="dark"] .filter.active,
html[data-theme="dark"] .button-dark,
html[data-theme="dark"] .add-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #07110b;
}
/* PREMIUM LIXIES THEME SWITCH */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.theme-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

html[data-theme="dark"] .theme-toggle {
  border-color: #315440;
  background: #101612;
  color: #e8f5ec;
}

html[data-theme="dark"] .theme-icon {
  background: #12B886;
  color: #07110b;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .theme-toggle {
    min-height: 36px;
    padding: 6px 10px;
    gap: 6px;
    font-size: 11px;
  }

  .theme-icon {
    width: 21px;
    height: 21px;
  }
}
