/* ============================================================
   RAW SILK — Visual System
   ------------------------------------------------------------
   Design rationale:
   1. The layout behaves like an editorial garment board rather
      than a centered marketplace template.
   2. Bone-white surfaces and graphite typography communicate
      premium wholesale credibility.
   3. Signal orange is reserved for actions, stock and totals,
      preserving a strong commercial hierarchy.
   4. Every interactive surface has native-app-like motion.
   ============================================================ */

:root {
  --loom-paper: #ecebe5;
  --loom-paper-deep: #d9d8d1;
  --loom-ink: #10110f;
  --loom-ink-soft: #32342f;
  --loom-signal: #ff5c22;
  --loom-line: rgba(16, 17, 15, 0.16);
  --loom-line-strong: rgba(16, 17, 15, 0.34);
  --loom-white: #f8f7f2;
  --loom-shadow: 0 24px 70px rgba(16, 17, 15, 0.18);
  --loom-radius-sm: 10px;
  --loom-radius-md: 20px;
  --loom-radius-lg: 34px;
  --loom-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --loom-header-height: 82px;
  --loom-page-x: clamp(18px, 4vw, 68px);
  --loom-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --loom-body: Inter, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --loom-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--loom-paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--loom-ink);
  background: var(--loom-paper);
  font-family: var(--loom-body);
  overflow-x: hidden;
}

body.loom-sheet-open {
  overflow: hidden;
}

button,
a,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

::selection {
  background: var(--loom-signal);
  color: var(--loom-white);
}

/* Background depth is subtle; it should feel tactile, never decorative. */
.loom-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.loom-atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(16, 17, 15, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 17, 15, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.loom-atmosphere__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  transform: rotate(2deg);
}

.loom-atmosphere__glow {
  position: absolute;
  top: 5%;
  right: -10%;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 92, 34, 0.12);
  filter: blur(120px);
}

/* ----------------------------- Header ----------------------------- */

.loom-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--loom-header-height);
  padding: 14px var(--loom-page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(236, 235, 229, 0.76);
  border-bottom: 1px solid var(--loom-line);
  backdrop-filter: blur(18px);
}

.loom-brand {
  width: max-content;
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-areas:
    "mark word"
    "mark meta";
  column-gap: 11px;
  align-items: center;
  transition: transform 240ms var(--loom-ease);
}

.loom-brand:hover {
  transform: translateY(-2px);
}

.loom-brand__mark {
  grid-area: mark;
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--loom-white);
  background: var(--loom-ink);
  font-family: var(--loom-mono);
  font-size: 13px;
}

.loom-brand__word {
  grid-area: word;
  font-family: var(--loom-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.loom-brand__meta {
  grid-area: meta;
  margin-top: 3px;
  color: var(--loom-ink-soft);
  font-family: var(--loom-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.loom-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-family: var(--loom-mono);
  font-size: 11px;
}

.loom-header__nav a {
  position: relative;
  padding: 10px 0;
}

.loom-header__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--loom-ease);
}

.loom-header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.loom-header__tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.loom-language,
.loom-cart-trigger {
  min-height: 42px;
  border: 1px solid var(--loom-line-strong);
  background: rgba(248, 247, 242, 0.64);
  cursor: pointer;
  transition:
    transform 220ms var(--loom-ease),
    background 220ms var(--loom-ease),
    color 220ms var(--loom-ease);
}

.loom-language:hover,
.loom-cart-trigger:hover {
  transform: translateY(-2px);
  background: var(--loom-white);
}

.loom-language {
  padding: 0 14px;
  font-family: var(--loom-mono);
  font-size: 11px;
}

.loom-language__inactive {
  opacity: 0.36;
}

.loom-language__divider {
  margin: 0 4px;
  opacity: 0.24;
}

.loom-cart-trigger {
  padding: 0 6px 0 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--loom-mono);
  font-size: 11px;
}

.loom-cart-trigger strong {
  min-width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--loom-white);
  background: var(--loom-ink);
  border-radius: 50%;
}

/* ----------------------------- Shared ----------------------------- */

.loom-kicker {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-family: var(--loom-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.loom-action {
  min-height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--loom-ink);
  cursor: pointer;
  font-family: var(--loom-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  transition:
    transform 240ms var(--loom-ease),
    box-shadow 240ms var(--loom-ease),
    background 240ms var(--loom-ease),
    color 240ms var(--loom-ease);
}

.loom-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 17, 15, 0.15);
}

.loom-action:active {
  transform: translateY(0) scale(0.985);
}

.loom-action--primary {
  color: var(--loom-white);
  background: var(--loom-ink);
}

.loom-action--primary:hover {
  background: var(--loom-signal);
  border-color: var(--loom-signal);
}

.loom-action--ghost {
  background: transparent;
}

/* ----------------------------- Hero ----------------------------- */

.loom-hero {
  position: relative;
  min-height: calc(100svh - var(--loom-header-height));
  padding: clamp(44px, 6vw, 92px) var(--loom-page-x) 42px;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.25fr) minmax(190px, 0.48fr);
  grid-template-rows: 1fr auto;
  gap: clamp(20px, 3vw, 46px);
  overflow: hidden;
}

.loom-hero__statement {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 3vh;
}

.loom-hero__statement h1 {
  margin: clamp(22px, 4vw, 58px) 0 28px;
  font-family: var(--loom-display);
  font-size: clamp(64px, 9vw, 158px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.74;
  text-transform: uppercase;
}

.loom-hero__statement h1 span,
.loom-hero__statement h1 em {
  display: block;
}

.loom-hero__statement h1 em {
  position: relative;
  left: clamp(26px, 6vw, 96px);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--loom-ink);
  font-style: normal;
}

.loom-hero__copy {
  max-width: 560px;
  margin: 0;
  color: var(--loom-ink-soft);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.7;
}

.loom-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.loom-hero__visual {
  position: relative;
  min-height: 680px;
  margin: 0;
  align-self: stretch;
  overflow: hidden;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 91%);
  background: var(--loom-ink);
}

.loom-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 54%, rgba(16, 17, 15, 0.7)),
    linear-gradient(90deg, rgba(255, 92, 34, 0.14), transparent 34%);
  pointer-events: none;
}

.loom-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.04);
  transition: transform 1.1s var(--loom-ease);
}

.loom-hero__visual:hover img {
  transform: scale(1.035);
}

.loom-hero__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 48px;
  left: 44px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: var(--loom-white);
  font-family: var(--loom-mono);
  font-size: 10px;
}

.loom-hero__visual figcaption strong {
  font-size: 18px;
}

.loom-hero__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
}

.loom-data-card {
  min-height: 145px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--loom-line-strong);
  background: rgba(248, 247, 242, 0.48);
  backdrop-filter: blur(10px);
  transition:
    transform 240ms var(--loom-ease),
    background 240ms var(--loom-ease);
}

.loom-data-card:hover {
  transform: translateX(-6px);
  background: var(--loom-white);
}

.loom-data-card--accent {
  color: var(--loom-white);
  background: var(--loom-signal);
  border-color: var(--loom-signal);
}

.loom-data-card span,
.loom-data-card small {
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-data-card strong {
  font-family: var(--loom-display);
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1;
}

.loom-hero__index {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--loom-line-strong);
  font-family: var(--loom-mono);
  font-size: 9px;
}


/* ----------------------------- Category Deck ----------------------------- */

/*
  This category deck is deliberately offset and modular. It gives the large
  catalog a clear visual hierarchy while preserving the editorial composition.
*/
.loom-category-deck {
  margin: 34px 0 18px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.loom-category-card {
  position: relative;
  grid-column: span 3;
  min-height: 148px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--loom-line-strong);
  background: rgba(248, 247, 242, 0.56);
  cursor: pointer;
  text-align: left;
  transition:
    transform 240ms var(--loom-ease),
    background 240ms var(--loom-ease),
    color 240ms var(--loom-ease),
    border-color 240ms var(--loom-ease);
}

.loom-category-card:nth-child(1),
.loom-category-card:nth-child(6) {
  grid-column: span 4;
}

.loom-category-card:nth-child(2),
.loom-category-card:nth-child(5) {
  grid-column: span 2;
}

.loom-category-card::after {
  content: attr(data-index);
  position: absolute;
  right: 10px;
  bottom: -18px;
  color: rgba(16, 17, 15, 0.055);
  font-family: var(--loom-display);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  transition: transform 300ms var(--loom-ease);
}

.loom-category-card:hover {
  transform: translateY(-5px);
  background: var(--loom-white);
}

.loom-category-card:hover::after {
  transform: translateY(-8px) rotate(-3deg);
}

.loom-category-card.is-active {
  color: var(--loom-white);
  background: var(--loom-ink);
  border-color: var(--loom-ink);
}

.loom-category-card.is-active::after {
  color: rgba(248, 247, 242, 0.08);
}

.loom-category-card__top,
.loom-category-card__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.loom-category-card__top {
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-category-card__bottom strong {
  max-width: 78%;
  font-family: var(--loom-display);
  font-size: clamp(20px, 2vw, 34px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.loom-category-card__bottom span {
  font-family: var(--loom-mono);
  font-size: 9px;
}

@media (max-width: 980px) {
  .loom-category-card,
  .loom-category-card:nth-child(1),
  .loom-category-card:nth-child(2),
  .loom-category-card:nth-child(5),
  .loom-category-card:nth-child(6) {
    grid-column: span 4;
  }
}

@media (max-width: 650px) {
  .loom-category-deck {
    display: flex;
    margin-inline: calc(var(--loom-page-x) * -1);
    padding-inline: var(--loom-page-x);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .loom-category-deck::-webkit-scrollbar {
    display: none;
  }

  .loom-category-card,
  .loom-category-card:nth-child(1),
  .loom-category-card:nth-child(2),
  .loom-category-card:nth-child(5),
  .loom-category-card:nth-child(6) {
    flex: 0 0 72vw;
    min-height: 138px;
    scroll-snap-align: start;
  }
}

/* ----------------------------- Catalog ----------------------------- */

.loom-catalog {
  padding: clamp(78px, 10vw, 160px) var(--loom-page-x);
}

.loom-section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--loom-line-strong);
}

.loom-section-heading h2,
.loom-operations__intro h2 {
  margin: 14px 0 0;
  font-family: var(--loom-display);
  font-size: clamp(52px, 8vw, 124px);
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.loom-section-heading__meta {
  display: grid;
  justify-items: end;
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-section-heading__meta span:first-child {
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
}

.loom-shelf-index {
  position: sticky;
  top: calc(var(--loom-header-height) + 8px);
  z-index: 20;
  margin: 22px 0 42px;
  padding: 8px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border: 1px solid var(--loom-line);
  background: rgba(236, 235, 229, 0.84);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.loom-shelf-index::-webkit-scrollbar {
  display: none;
}

.loom-filter {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--loom-mono);
  font-size: 10px;
  transition:
    background 220ms var(--loom-ease),
    color 220ms var(--loom-ease),
    transform 220ms var(--loom-ease);
}

.loom-filter:hover {
  transform: translateY(-2px);
  background: rgba(16, 17, 15, 0.07);
}

.loom-filter.is-active {
  color: var(--loom-white);
  background: var(--loom-ink);
}

.loom-product-flow {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(14px, 1.8vw, 28px);
}

.loom-product-card {
  grid-column: span 4;
  min-width: 0;
  border-top: 1px solid var(--loom-line-strong);
  transition:
    transform 280ms var(--loom-ease),
    opacity 280ms var(--loom-ease);
}

.loom-product-card:nth-child(5n + 1) {
  grid-column: span 7;
}

.loom-product-card:nth-child(5n + 2) {
  grid-column: span 5;
  margin-top: clamp(40px, 7vw, 110px);
}

.loom-product-card:nth-child(5n + 4) {
  grid-column: 3 / span 5;
}

.loom-product-card:nth-child(5n) {
  grid-column: span 4;
  margin-top: clamp(20px, 4vw, 62px);
}

.loom-product-card:hover {
  transform: translateY(-8px);
}

.loom-product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--loom-paper-deep);
}

.loom-product-card:nth-child(5n + 1) .loom-product-card__media {
  aspect-ratio: 16 / 11;
}

.loom-product-card__media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition:
    transform 720ms var(--loom-ease),
    filter 720ms var(--loom-ease);
}

.loom-product-card:hover .loom-product-card__media img {
  transform: scale(1.045);
  filter: saturate(0.95);
}

.loom-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  color: var(--loom-white);
  background: var(--loom-ink);
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-product-card__body {
  padding: 16px 0 0;
}

.loom-product-card__body > header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}

.loom-product-card__sku {
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-product-card h3 {
  margin: 0;
  font-family: var(--loom-display);
  font-size: clamp(24px, 2.3vw, 38px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.loom-product-card__description {
  min-height: 48px;
  margin: 13px 0;
  color: var(--loom-ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.loom-product-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.loom-product-card__facts span {
  padding: 7px 9px;
  border: 1px solid var(--loom-line);
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-product-card__body > footer {
  margin-top: 15px;
  padding-top: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--loom-line);
}

.loom-product-card__price {
  display: grid;
  gap: 4px;
}

.loom-product-card__price small {
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-product-card__price strong {
  font-family: var(--loom-display);
  font-size: 29px;
}

.loom-add-button {
  min-width: 96px;
  height: 48px;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--loom-ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--loom-mono);
  font-size: 9px;
  transition:
    color 220ms var(--loom-ease),
    background 220ms var(--loom-ease),
    transform 220ms var(--loom-ease);
}

.loom-add-button span:last-child {
  font-size: 20px;
}

.loom-add-button:hover {
  color: var(--loom-white);
  background: var(--loom-ink);
  transform: translateY(-2px);
}

.loom-add-button.is-added {
  color: var(--loom-white);
  background: var(--loom-signal);
  border-color: var(--loom-signal);
}

/* ----------------------------- Contact Console ----------------------------- */

.loom-operations {
  margin: 0 var(--loom-page-x);
  padding: clamp(44px, 6vw, 92px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 6vw, 100px);
  color: var(--loom-white);
  background: var(--loom-ink);
  border-radius: var(--loom-radius-lg);
}

.loom-operations__intro {
  align-self: start;
}

.loom-operations__intro h2 {
  color: var(--loom-white);
  font-size: clamp(52px, 7vw, 112px);
}

.loom-operations__intro > p:last-child {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(248, 247, 242, 0.66);
  line-height: 1.75;
}

.loom-channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.loom-channel-card {
  min-height: 160px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(248, 247, 242, 0.22);
  transition:
    transform 260ms var(--loom-ease),
    color 260ms var(--loom-ease),
    background 260ms var(--loom-ease);
}

.loom-channel-card--wide {
  grid-column: 1 / -1;
  min-height: 230px;
  color: var(--loom-ink);
  background: var(--loom-signal);
  border-color: var(--loom-signal);
}

.loom-channel-card:hover {
  transform: translateY(-6px);
  color: var(--loom-ink);
  background: var(--loom-white);
}

.loom-channel-card__number,
.loom-channel-card small {
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-channel-card div {
  display: grid;
  gap: 8px;
}

.loom-channel-card strong {
  font-family: var(--loom-display);
  font-size: clamp(23px, 2.6vw, 42px);
  letter-spacing: -0.04em;
}

.loom-channel-card__arrow {
  font-size: 26px;
}

.loom-policy-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(248, 247, 242, 0.22);
}

.loom-policy-board article {
  min-height: 95px;
  padding-top: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.loom-policy-board article + article {
  padding-left: 18px;
  border-left: 1px solid rgba(248, 247, 242, 0.22);
}

.loom-policy-board small {
  color: rgba(248, 247, 242, 0.5);
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-policy-board strong {
  font-family: var(--loom-mono);
  font-size: 10px;
}

/* ----------------------------- Location ----------------------------- */

.loom-location {
  padding: clamp(100px, 12vw, 190px) var(--loom-page-x);
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(24px, 5vw, 84px);
  align-items: stretch;
}

.loom-location__identity {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.loom-location__identity h2 {
  margin: 24px 0 auto;
  font-family: var(--loom-display);
  font-size: clamp(66px, 10vw, 160px);
  letter-spacing: -0.085em;
  line-height: 0.72;
}

.loom-location__address {
  max-width: 380px;
  margin: 46px 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--loom-line-strong);
}

.loom-location__address span {
  font-family: var(--loom-mono);
  font-size: 9px;
}

.loom-location__address p {
  margin: 11px 0 0;
  line-height: 1.7;
}

.loom-location__map {
  position: relative;
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 4%, 94% 0, 100% 91%, 5% 100%);
  background: var(--loom-paper-deep);
}

.loom-location__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(16, 17, 15, 0.16);
}

.loom-location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.loom-location__map figcaption {
  position: absolute;
  right: 8%;
  bottom: 8%;
  left: 8%;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--loom-white);
  background: rgba(16, 17, 15, 0.9);
  font-family: var(--loom-mono);
  font-size: 9px;
}

/* ----------------------------- Footer ----------------------------- */

.loom-footer {
  position: relative;
  margin: 0 var(--loom-page-x);
  padding: 30px 0 140px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: end;
  border-top: 1px solid var(--loom-line-strong);
}

.loom-footer__signature {
  display: flex;
  flex-wrap: wrap;
  gap: 0.08em;
  font-family: var(--loom-display);
  font-size: clamp(74px, 14vw, 220px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.66;
}

.loom-footer__signature span:last-child {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--loom-ink);
}

.loom-footer__details {
  max-width: 280px;
  font-family: var(--loom-mono);
  font-size: 9px;
  line-height: 1.6;
}

.loom-back-top {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--loom-ink);
  font-size: 22px;
  transition:
    transform 220ms var(--loom-ease),
    color 220ms var(--loom-ease),
    background 220ms var(--loom-ease);
}

.loom-back-top:hover {
  transform: translateY(-4px);
  color: var(--loom-white);
  background: var(--loom-ink);
}

/* ----------------------------- Cart Dock ----------------------------- */

.loom-cart-dock {
  position: fixed;
  z-index: 50;
  right: clamp(12px, 2vw, 30px);
  bottom: clamp(12px, 2vw, 30px);
  left: clamp(12px, 2vw, 30px);
  pointer-events: none;
}

.loom-cart-dock > button {
  width: min(100%, 650px);
  min-height: 72px;
  margin-left: auto;
  padding: 9px 9px 9px 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  color: var(--loom-white);
  background: rgba(16, 17, 15, 0.94);
  border: 1px solid rgba(248, 247, 242, 0.16);
  box-shadow: var(--loom-shadow);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  cursor: pointer;
  transition:
    transform 260ms var(--loom-ease),
    box-shadow 260ms var(--loom-ease);
}

.loom-cart-dock > button:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(16, 17, 15, 0.28);
}

.loom-cart-dock__label,
.loom-cart-dock__total {
  display: grid;
  justify-items: start;
  gap: 5px;
}

.loom-cart-dock small {
  color: rgba(248, 247, 242, 0.5);
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-cart-dock strong {
  font-family: var(--loom-mono);
  font-size: 12px;
}

.loom-cart-dock__open {
  height: 52px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  color: var(--loom-ink);
  background: var(--loom-signal);
  font-family: var(--loom-mono);
  font-size: 9px;
}

/* ----------------------------- Bottom Sheet ----------------------------- */

.loom-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.loom-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.loom-sheet__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(16, 17, 15, 0.48);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(5px);
  transition: opacity 360ms var(--loom-ease);
}

.loom-sheet.is-open .loom-sheet__backdrop {
  opacity: 1;
}

.loom-sheet__panel {
  position: absolute;
  right: clamp(10px, 2vw, 30px);
  bottom: clamp(10px, 2vw, 30px);
  width: min(720px, calc(100% - 20px));
  max-height: min(92svh, 900px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--loom-white);
  border: 1px solid var(--loom-line-strong);
  border-radius: var(--loom-radius-lg);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.28);
  transform: translateY(calc(100% + 50px));
  transition: transform 460ms var(--loom-ease);
}

.loom-sheet.is-open .loom-sheet__panel {
  transform: translateY(0);
}

.loom-sheet__header {
  position: relative;
  padding: 26px 28px 20px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--loom-line);
}

.loom-sheet__handle {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: rgba(16, 17, 15, 0.16);
  transform: translateX(-50%);
}

.loom-sheet__header h2 {
  margin: 9px 0 0;
  font-family: var(--loom-display);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.loom-sheet__close {
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--loom-line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  transition:
    transform 220ms var(--loom-ease),
    color 220ms var(--loom-ease),
    background 220ms var(--loom-ease);
}

.loom-sheet__close:hover {
  transform: rotate(8deg);
  color: var(--loom-white);
  background: var(--loom-ink);
}

.loom-cart-items {
  padding: 0 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.loom-cart-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
}

.loom-cart-empty div {
  display: grid;
  gap: 12px;
}

.loom-cart-empty strong {
  font-family: var(--loom-display);
  font-size: 36px;
}

.loom-cart-empty p {
  margin: 0;
  color: var(--loom-ink-soft);
}

.loom-cart-row {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  border-bottom: 1px solid var(--loom-line);
}

.loom-cart-row__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--loom-paper-deep);
}

.loom-cart-row__media img {
  height: 100%;
  object-fit: cover;
}

.loom-cart-row__main {
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 14px;
}

.loom-cart-row__title {
  display: grid;
  gap: 6px;
}

.loom-cart-row__title small {
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-cart-row__title strong {
  font-family: var(--loom-display);
  font-size: 22px;
}

.loom-cart-row__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.loom-quantity {
  display: inline-grid;
  grid-template-columns: 34px 38px 34px;
  min-height: 34px;
  border: 1px solid var(--loom-line-strong);
}

.loom-quantity button,
.loom-cart-row__remove {
  border: 0;
  background: transparent;
  cursor: pointer;
  transition:
    color 200ms var(--loom-ease),
    background 200ms var(--loom-ease);
}

.loom-quantity button:hover,
.loom-cart-row__remove:hover {
  color: var(--loom-white);
  background: var(--loom-ink);
}

.loom-quantity span {
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--loom-line);
  font-family: var(--loom-mono);
  font-size: 10px;
}

.loom-cart-row__remove {
  min-height: 34px;
  padding: 0 10px;
  color: rgba(16, 17, 15, 0.54);
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-cart-row__price {
  display: grid;
  justify-items: end;
  align-content: space-between;
  font-family: var(--loom-mono);
}

.loom-cart-row__price small {
  color: var(--loom-ink-soft);
  font-size: 8px;
}

.loom-sheet__footer {
  padding: 18px 28px 26px;
  border-top: 1px solid var(--loom-line);
  background: var(--loom-white);
}

.loom-order-note {
  display: grid;
  gap: 8px;
}

.loom-order-note span {
  font-family: var(--loom-mono);
  font-size: 8px;
}

.loom-order-note textarea {
  width: 100%;
  min-height: 68px;
  padding: 12px;
  resize: vertical;
  color: var(--loom-ink);
  background: transparent;
  border: 1px solid var(--loom-line-strong);
  outline: none;
  transition: border-color 200ms ease;
}

.loom-order-note textarea:focus {
  border-color: var(--loom-signal);
}

.loom-sheet__summary {
  margin: 17px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  font-family: var(--loom-mono);
}

.loom-sheet__summary span {
  font-size: 9px;
}

.loom-sheet__summary strong {
  font-family: var(--loom-display);
  font-size: 42px;
}

.loom-sheet__actions {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 9px;
}

.loom-sheet__status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--loom-ink-soft);
  font-size: 11px;
}

/* ----------------------------- Responsive ----------------------------- */

@media (max-width: 1080px) {
  .loom-header {
    grid-template-columns: 1fr auto;
  }

  .loom-header__nav {
    display: none;
  }

  .loom-hero {
    grid-template-columns: 1fr 0.62fr;
    grid-template-rows: auto auto auto;
  }

  .loom-hero__statement {
    grid-column: 1 / -1;
  }

  .loom-hero__visual {
    min-height: 620px;
  }

  .loom-hero__rail {
    align-self: stretch;
  }

  .loom-hero__index {
    grid-row: 3;
  }

  .loom-product-card,
  .loom-product-card:nth-child(5n + 1),
  .loom-product-card:nth-child(5n + 2),
  .loom-product-card:nth-child(5n + 4),
  .loom-product-card:nth-child(5n) {
    grid-column: span 6;
    margin-top: 0;
  }

  .loom-operations {
    grid-template-columns: 1fr;
  }

  .loom-location {
    grid-template-columns: 1fr;
  }

  .loom-location__identity h2 {
    margin-bottom: 32px;
  }

  .loom-footer {
    grid-template-columns: 1fr auto;
  }

  .loom-footer__signature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --loom-header-height: 70px;
  }

  .loom-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .loom-brand__meta,
  .loom-cart-trigger > span {
    display: none;
  }

  .loom-cart-trigger {
    padding-left: 6px;
  }

  .loom-hero {
    min-height: auto;
    padding-top: 38px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .loom-hero__statement {
    grid-column: 1;
  }

  .loom-hero__statement h1 {
    font-size: clamp(58px, 18vw, 98px);
  }

  .loom-hero__statement h1 em {
    left: 20px;
  }

  .loom-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .loom-hero__visual {
    min-height: 500px;
  }

  .loom-hero__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .loom-data-card {
    min-height: 132px;
    padding: 13px;
  }

  .loom-data-card strong {
    font-size: 26px;
  }

  .loom-hero__index {
    grid-row: auto;
    gap: 12px;
    overflow: hidden;
  }

  .loom-hero__index span:nth-child(2) {
    display: none;
  }

  .loom-section-heading {
    grid-template-columns: 1fr;
  }

  .loom-section-heading__meta {
    justify-items: start;
  }

  .loom-product-flow {
    grid-template-columns: 1fr;
  }

  .loom-product-card,
  .loom-product-card:nth-child(5n + 1),
  .loom-product-card:nth-child(5n + 2),
  .loom-product-card:nth-child(5n + 4),
  .loom-product-card:nth-child(5n) {
    grid-column: 1;
  }

  .loom-product-card__media,
  .loom-product-card:nth-child(5n + 1) .loom-product-card__media {
    aspect-ratio: 4 / 5;
  }

  .loom-operations {
    margin-inline: 10px;
    padding: 38px 18px;
    border-radius: 26px;
  }

  .loom-channel-grid {
    grid-template-columns: 1fr;
  }

  .loom-channel-card--wide {
    grid-column: 1;
  }

  .loom-policy-board {
    grid-template-columns: 1fr;
  }

  .loom-policy-board article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(248, 247, 242, 0.22);
  }

  .loom-location__map {
    min-height: 500px;
  }

  .loom-location__map figcaption {
    align-items: start;
    flex-direction: column;
  }

  .loom-footer {
    grid-template-columns: 1fr auto;
    padding-bottom: 120px;
  }

  .loom-footer__signature {
    font-size: 24vw;
  }

  .loom-cart-dock > button {
    min-height: 64px;
    grid-template-columns: 1fr auto;
  }

  .loom-cart-dock__label {
    display: none;
  }

  .loom-cart-dock__open {
    height: 46px;
  }

  .loom-sheet__panel {
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 94svh;
    border-radius: 26px 26px 0 0;
  }

  .loom-sheet__header,
  .loom-sheet__footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .loom-cart-items {
    padding-inline: 18px;
  }

  .loom-cart-row {
    grid-template-columns: 74px 1fr;
  }

  .loom-cart-row__price {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
  }

  .loom-sheet__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.loom-brand__mark img{width:100%;height:100%;object-fit:contain;background:#fff;padding:3px;}


/* ============================================================
   STARIC COMPACT PRODUCT CATALOG
   ------------------------------------------------------------
   The catalog contains more than one hundred products, so the
   original oversized editorial arrangement has been replaced by
   a compact commercial grid. Pagination limits each page to 12
   products, reducing scrolling and making categories easier to use.
   ============================================================ */

.loom-category-deck {
  display: none !important;
}

.loom-shelf-index {
  position: static;
  margin: 22px 0 28px;
  padding: 0 0 14px;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--loom-line-strong);
  background: transparent;
  backdrop-filter: none;
}

.loom-filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--loom-line);
  background: rgba(248, 247, 242, 0.58);
}

.loom-filter.is-active {
  border-color: var(--loom-ink);
}

.loom-product-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 22px 16px;
}

.loom-product-card,
.loom-product-card:nth-child(5n + 1),
.loom-product-card:nth-child(5n + 2),
.loom-product-card:nth-child(5n + 4),
.loom-product-card:nth-child(5n) {
  grid-column: auto;
  margin-top: 0;
  border: 1px solid var(--loom-line);
  background: rgba(248, 247, 242, 0.58);
}

.loom-product-card:hover {
  transform: translateY(-4px);
}

.loom-product-card__media,
.loom-product-card:nth-child(5n + 1) .loom-product-card__media {
  aspect-ratio: 4 / 4.7;
}

.loom-product-card__body {
  padding: 13px;
}

.loom-product-card__body > header {
  display: block;
}

.loom-product-card__sku {
  display: block;
  margin-bottom: 7px;
}

.loom-product-card h3 {
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.08;
}

.loom-product-card__description {
  min-height: 38px;
  margin: 9px 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px;
  line-height: 1.55;
}

.loom-product-card__facts {
  display: none;
}

.loom-product-card__body > footer {
  margin-top: 10px;
  padding-top: 10px;
}

.loom-product-card__price strong {
  font-size: 23px;
}

.loom-add-button {
  min-width: 76px;
  height: 40px;
}

.loom-pagination {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loom-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.loom-pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--loom-line-strong);
  background: rgba(248, 247, 242, 0.62);
  cursor: pointer;
  font-family: var(--loom-mono);
  font-size: 10px;
  transition:
    transform 200ms var(--loom-ease),
    color 200ms var(--loom-ease),
    background 200ms var(--loom-ease),
    opacity 200ms var(--loom-ease);
}

.loom-pagination button:hover:not(:disabled) {
  transform: translateY(-2px);
  color: var(--loom-white);
  background: var(--loom-ink);
}

.loom-pagination button.is-active {
  color: var(--loom-white);
  background: var(--loom-signal);
  border-color: var(--loom-signal);
}

.loom-pagination button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

@media (max-width: 1080px) {
  .loom-product-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .loom-product-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .loom-product-card__body {
    padding: 10px;
  }

  .loom-product-card h3 {
    font-size: 17px;
  }

  .loom-product-card__description {
    display: none;
  }

  .loom-add-button {
    min-width: 66px;
  }

  .loom-pagination {
    align-items: flex-start;
  }

  .loom-pagination__pages {
    max-width: calc(100vw - 150px);
  }
}

@media (max-width: 440px) {
  .loom-product-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loom-product-card__price small {
    display: none;
  }

  .loom-product-card__price strong {
    font-size: 19px;
  }

  .loom-add-button {
    min-width: 40px;
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .loom-add-button span:first-child {
    display: none;
  }
}


/* Registration number must remain inside its business-information card. */
.loom-data-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.loom-data-card [data-i18n="businessTypeValue"],
.loom-data-card [data-i18n="headOfficeValue"] {
  font-size: clamp(25px, 3vw, 48px);
}

.loom-data-card:nth-child(2) strong {
  font-family: var(--loom-mono);
  font-size: clamp(17px, 1.75vw, 29px);
  letter-spacing: -0.075em;
  line-height: 1.08;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .loom-hero__rail {
    grid-template-columns: 1fr;
  }

  .loom-data-card {
    min-height: 118px;
  }

  .loom-data-card:nth-child(2) strong {
    font-size: clamp(22px, 7vw, 31px);
    letter-spacing: -0.06em;
  }
}
