* {
  padding: 0;
  margin: 0;
  user-select: none;
  box-sizing: border-box;
  font-weight: normal;
  font-family: "main", Helvetica, sans-serif, Arial;
}

@font-face {
  font-family: 'main';
  font-weight: normal;
  src: url('MaisonNeue-Book.woff2') format('woff2');
  ascent-override: 90%;
}

@font-face {
  font-family: 'main';
  font-weight: bold;
  src: url('MaisonNeueExtended-Bold.woff') format('woff');
  ascent-override: 90%;
}

/* @font-face { */
/*   font-family: 'main'; */
/*   font-style: normal; */
/*   font-weight: normal; */
/*   src: url('Univers.woff') format('woff'); */
/* } */

body.no-scroll {
  overflow: hidden;
}

address {
  text-transform: none;
  font-style: normal;
}

grid {
    padding: 0rem 1rem;
    user-select: none;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
    height: 100dvh;
    position: fixed;
    inset: 0;
span {
        border: 1px solid #ffffff24;
        background-color: rgb(255 0 0 / 11%);
    }
}

grid[data-visible="false"] {
  display: none;
}

.link {
  gap: 0.5rem;
  display: flex;
  align-items: center;
  padding: 0.3rem 0.5rem;
  transition: background 250ms cubic-bezier(.4,0,.2,1);
}

@media (hover: hover) {
.link:hover {
    background: #f8f8f8;
}
}


html, body {
  line-height: 1.3;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: initial;
  font-weight: normal;
  font-size: 0.9rem;
  -webkit-text-size-adjust: none;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol {
  list-style: none;
}

.img.loaded {
  opacity: 100;
}

.img {
  opacity: 0;
  -webkit-transition: opacity 360ms cubic-bezier(.4, 0, .2, 1);
  -moz-transition: opacity 360ms cubic-bezier(.4, 0, .2, 1);
  -o-transition: opacity 360ms cubic-bezier(.4, 0, .2, 1);
  transition: opacity 360ms cubic-bezier(.4, 0, .2, 1);
  -webkit-transition-delay: 250ms;
  -moz-transition-delay: 250ms;
  -o-transition-delay: 250ms;
  transition-delay: 250ms;
}

.logo-box svg {
  fill: white;
}

.vsj-logo svg {
 fill: black;
}

.vsj-logo:hover svg {
  fill:#cc0707;
}

h1, h2, h3 {
  font-weight: normal;
  font-size: 0.9rem;
}

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

/* a:hover { */
/*   color:#cc0707; */
/* } */

[data-strike=true] {
  text-decoration: line-through;
}

[data-unavailable=true] {
  opacity: 0.3;
}

.burger {
  display: flex;
  flex-direction: column;
  height: 1rem;
  width: 1.5rem;
  gap: 0.4rem;
}

.burger > span {
  width: 100%;
  height: 1px;
  background: black;
}

.new {
  position: absolute;
  padding: 0.3rem 0.5rem;
}

.flex-h {
  display: flex;
  gap: 0.5rem;
}

.flex-v {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}


ul {
  list-style: none;
}

.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  color: rgb(0 0 0 / 40%);
  transition: all 0.2s ease;
}

@media (hover: hover) {
  .tag:hover {
    color: rgb(0 0 0 / 100%);
  }
}

nav {
  pointer-events: none;
  align-items: baseline;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  grid-template-columns: repeat(4, 1fr);
  z-index: 999;
}

nav * {
  pointer-events: all;
}

  header {
    color: gray;
    display: grid;
    gap: 0.5rem;
  }

.images::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers (Chrome, Safari) */
}


[data-scroller] {
  overflow: hidden;
}

.images {
  display: grid;
  gap: 0.5rem; /* Space between items */
  /* overflow-x: auto; */
  grid-auto-flow: column; /* Arrange items in a single row */
  grid-template-rows: 1fr; /* Maintain one row */
  grid-auto-columns: min-content; /* Allow items to take their natural width */
  scroll-snap-type: x mandatory; /* Optional: smooth snap behavior */

  -ms-overflow-style: none; /* Hide scrollbar in Internet Explorer and Edge */
  scrollbar-width: none; /* Hide scrollbar in Firefox */

  scroll-behavior: smooth;

  will-change: transform;
  /* transition: transform 360ms cubic-bezier(.4, 0, .2, 1); */
}

.images img {
  user-select: none;
  pointer-events: none;
}

.images [data-role="img-container"] {
  height: 42vh; /* Ensure images scale appropriately */
  object-fit: cover; /* Prevent distortion */
  scroll-snap-align: start; /* Optional: snap to start of each image */
}

@media screen and (min-width: 800px) {
header {
  padding: 1rem 1rem;
  grid-template-columns: repeat(4, 1fr);
}
  .info h3 {
    font-size: 0.85rem;
  }
  [media="screen and (max-width:800px)"] {
      display: none;
  }
  [media="screen and (min-width:800px)"] {
      display: initial;
  }
  .p-line {
    display: flex;
    gap: 0.5rem;
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 5rem;
    column-gap: 0.5rem;
  }
  main {
    padding: 8rem 1rem;
  }
footer {
  color: gray;
  fill: gray;
  padding: 5rem 6rem;
}

}

img, video {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* :root { */
  /* --radius: 0.3rem; */ 
/* } */

header {
  min-height: 4rem;
  align-items: center;
  padding: 8rem 1rem 0rem 1rem;
}

[data-scroller] {
  border-radius: calc(var(--radius) + 0.1rem);
}

[data-role="img-container"] {
  border-radius: var(--radius);
}

.images {
  cursor: pointer;
}

.img-container {
  border-radius: var(--radius);
}

@media screen and (max-width: 800px) {
  header {
    grid-template-columns: repeat(1, 1fr);
    padding: 8rem 1rem 0rem 1rem;
    gap: 0;
  }

  .images [data-role="img-container"] {
    height: 430px;
    object-fit: cover;
    scroll-snap-align: start;
  }

  [media="screen and (max-width:800px)"] {
      display: initial;
  }
  [media="screen and (min-width:800px)"] {
      display: none;
  }
  .card #sizes {
    display: none;
  } 

  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 5rem;
    column-gap: 1rem;
    padding-bottom: 5rem;
  }

  main {
    padding: 8rem 1rem;
  }

  footer {
    color: gray;
    fill: gray;
    padding: 5rem 1rem;
  }
}

.brick {
  line-height: normal;
  text-transform: capitalize;
  white-space: nowrap;
  cursor: pointer;
  width: fit-content;
  padding: 0.3rem;
  background:#f8f8f8;
}

button {
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  border: none;
  color: black;
}

.card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card #img-container {
  background: rgb(243, 245, 245);
}

.card:hover #sizes {
  opacity: 1;
}

.card:hover #colors {
  opacity: 1;
}

.card #sizes {
  opacity: 0;
} 

.card #colors {
  opacity: 0;
} 


