/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg0: #1a1410;
  --bg1: #2a211c;
  --bg2: #3a2f28;
  --ink: #f6efe6;
  --muted: #cbbba8;
  --accent: #c6a15b;
  --accent-2: #8d6b3a;
  --line: rgba(246, 239, 230, 0.12);
  --card: rgba(255, 248, 238, 0.04);
  --danger: #d9796b;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(198, 161, 91, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(141, 107, 58, 0.2), transparent 50%),
    linear-gradient(160deg, var(--bg0), var(--bg1) 45%, #120e0c);
  font-family: var(--font-body);
}

/* Hide document while catalog silently refills to the saved scroll offset. */
html.jm-scroll-pending body {
  opacity: 0;
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  align-content: center;
  grid-gap: 1.25rem;
  gap: 1.25rem;
  padding: 2rem 0 4rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  font-weight: 600;
  max-width: 10ch;
}

.hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.search-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.search-row input {
  flex: 1 1 240px;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  outline: none;
}

.search-row input:focus {
  border-color: rgba(198, 161, 91, 0.55);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
}

.catalog-toolbar select,
.catalog-sort {
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  outline: none;
  min-width: 11rem;
  color-scheme: dark;
}

.catalog-toolbar select:focus,
.catalog-sort:focus {
  border-color: rgba(198, 161, 91, 0.55);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
}

.catalog-toolbar select option,
.catalog-sort option {
  background-color: #2a211c;
  color: #f6efe6;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.catalog-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.catalog-filter.has-value .catalog-sort {
  padding-right: 2.4rem;
}

.catalog-filter-clear {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.catalog-filter-clear:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a120a;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.section {
  padding: 2rem 0 4rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.35rem;
}

.section .lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 161, 91, 0.35);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(198, 161, 91, 0.18), transparent 55%),
    #241c17;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 0.9rem 1rem 1.1rem;
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.price {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

.product {
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  padding: 1.5rem 0 3rem;
}

.product-swipe {
  touch-action: pan-y;
}

@media (pointer: fine) {
  .product-swipe {
    touch-action: auto;
  }
}

.offer-intercept {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(198, 161, 91, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(141, 107, 58, 0.2), transparent 50%),
    linear-gradient(160deg, var(--bg0), var(--bg1) 45%, #120e0c);
}

.product-back {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-back button {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.product-back button:hover {
  color: var(--accent);
}

@media (min-width: 860px) {
  .product {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .product-back {
    grid-column: 1 / -1;
  }
}

.product-media {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  min-height: 360px;
  color: var(--muted);
}

.product-media-main {
  position: relative;
  min-height: 360px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(198, 161, 91, 0.25), transparent 45%),
    #241c17;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-media-main img,
.product-media-main video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  transition: transform 0.35s ease;
  transform-origin: center center;
}

@media (pointer: fine) {
  .product-media-main:hover img,
  .product-media-main:hover video {
    transform: scale(1.28);
  }
}

.product-media-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.35rem 0.2rem 0.55rem;
}

.product-media-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #241c17;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.product-media-thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-media-thumb-play {
  position: absolute;
  inset: auto 4px 4px auto;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(18, 14, 12, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.product-media-thumb-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #f4e7d4;
}

.product-media-thumb.is-active {
  border-color: rgba(198, 161, 91, 0.85);
  box-shadow: 0 0 0 1px rgba(198, 161, 91, 0.35);
}

@media (pointer: fine) {
  .product-media-thumb:hover {
    transform: scale(1.55);
    z-index: 2;
    border-color: rgba(198, 161, 91, 0.7);
    box-shadow: var(--shadow);
  }

  .product-media-thumb:hover img {
    transform: scale(1.05);
  }
}

.product-info h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.specs {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  margin: 1rem 0;
  color: var(--muted);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.barcode-picker {
  margin: 1rem 0 0.25rem;
}

.barcode-picker-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.barcode-list {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  max-height: 280px;
  overflow: auto;
  padding-right: 0.15rem;
}

.barcode-option {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.barcode-option:hover:not(:disabled) {
  border-color: rgba(198, 161, 91, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.barcode-option.is-active {
  border-color: var(--accent);
  background: rgba(198, 161, 91, 0.12);
}

.barcode-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.barcode-code {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.barcode-meta {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.size-option {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 4.5rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.size-option:hover:not(:disabled) {
  border-color: rgba(198, 161, 91, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.size-option.is-active {
  border-color: var(--accent);
  background: rgba(198, 161, 91, 0.12);
}

.size-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.size-code {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.stones-block {
  margin: 1rem 0 0.25rem;
}

.stones-table {
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.stones-head,
.stones-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 0.9fr 0.55fr 0.7fr;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  align-items: baseline;
}

.stones-head {
  color: var(--muted);
  font-size: 0.8rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--line);
}

.stones-row {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.product-description {
  color: var(--muted);
  margin: 1rem 0 0;
  word-break: break-word;
}

.checkout-box {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.checkout-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.muted {
  color: var(--muted);
}

.error {
  color: var(--danger);
}

.seller-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.legal-doc h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.legal-doc h2 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.legal-list {
  padding-left: 1.2rem;
  line-height: 1.8;
}

.legal-pre {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.seller-acq-list {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.seller-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.seller-stats > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.seller-stats strong {
  font-size: 1.35rem;
  color: var(--accent);
}

.seller-search {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
}

.seller-search input {
  flex: 1 1;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.seller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.seller-row:last-child {
  border-bottom: 0;
}

.seller-row-media {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #241c17;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.75rem;
}

.seller-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-upload {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.catalog-upload-drop {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  transition: border-color 180ms ease, background 180ms ease;
}

.catalog-upload-drop.is-drag {
  border-color: var(--accent, #c4a484);
  background: rgba(255, 255, 255, 0.05);
}

.catalog-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.catalog-upload-drop-body {
  display: grid;
  grid-gap: 0.2rem;
  gap: 0.2rem;
  min-width: 0;
}

.catalog-upload-drop-body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.catalog-upload-status {
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}



