/* RUGS USA - a concept page in OUR words and OUR palette (no brand assets): a product finder whose filter rail mirrors the
   conversation's own questions. The result cards are CSS pattern swatches, never product photos. Every rule is scoped to
   .mock-rugs or to this page's body tint. Pictures: Unsplash (royalty-free). */

/* THE SHOWCASE TINT (/discover/): the brand page's Showcase sections take this brand's colour, and its hero
   shows this picture under the navy - the concept page below keeps its own look. */
body[data-brand="rugs"] {
  margin: 0;
  background: var(--dc-ink);
  --dc-brand: #1F3A5F;
  --dc-brand-ink: #ffffff;
  --dc-brand-glow: #A9C7F0;
  --dc-hero-pic: url("https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=900&q=80");
}

.mock-rugs {
  --navy: #1F3A5F;
  --terra: #C8553D;
  --mustard: #E9B949;
  --cream: #FAF7F2;
  --ink: #22262B;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
}

.mock-rugs *,
.mock-rugs *::before,
.mock-rugs *::after { box-sizing: border-box; }

.mock-rugs h1,
.mock-rugs h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; margin: 0; }

.rugs-promo {
  margin: 0;
  padding: 7px 16px;
  text-align: center;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rugs-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e7e1d6;
}

.rugs-word { font-weight: 800; font-size: 1.45rem; letter-spacing: 0.04em; color: var(--navy); }

.rugs-nav { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; font-size: 0.92rem; }

.rugs-sale { color: var(--terra); }

.rugs-concept { margin: 0; padding: 8px 24px; font-size: 0.85rem; background: #f0e9dc; color: #574b3a; }

.rugs-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .rugs-hero { grid-template-columns: 1.1fr 1fr; }
}

.rugs-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 700;
}

.rugs-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.06; color: var(--navy); margin-bottom: 14px; }

.rugs-hero-copy > p { font-size: 1.1rem; margin: 0 0 18px; }

.rugs-chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }

.rugs-chip {
  flex: none;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #d8cfbf;
  background: #ffffff;
  font-weight: 600;
  color: var(--navy);
}

.rugs-chip::after { content: " \25BE"; color: var(--terra); }

.rugs-or { margin: 12px 0 18px; color: #6b6255; font-style: italic; }

.rugs-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.rugs-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid var(--terra);
  background: var(--terra);
  color: #ffffff;
  font: 700 0.98rem "Inter", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.rugs-btn-ghost { background: transparent; color: var(--terra); }

.mock-rugs a:focus-visible,
.rugs-btn:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }

.rugs-narrow-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: #ffffff;
  border-left: 6px solid var(--mustard);
}

.rugs-narrow-card b { display: block; font-size: 1.1rem; }

.rugs-narrow-card span { display: block; margin: 4px 0 12px; }

.rugs-hero-phone { display: flex; flex-direction: column; align-items: center; }

.rugs-caption { font-size: 0.88rem; color: #6b6255; margin: 10px 0 0; text-align: center; }

.rugs-rooms { max-width: 1180px; margin: 0 auto; padding: 12px 24px 36px; }

.rugs-rooms h2,
.rugs-results h2,
.rugs-how h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); }

.rugs-rooms > p { margin: 6px 0 18px; }

.rugs-room-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .rugs-room-grid { grid-template-columns: repeat(4, 1fr); }
}

.rugs-room {
  height: 160px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #cbbfa9;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.rugs-room::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 25, 40, 0.7));
}

.rugs-room span { position: relative; color: #ffffff; font-weight: 700; padding: 12px 14px; }

.rugs-room-living { background-image: url("https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=800&q=80"); }
.rugs-room-bedroom { background-image: url("https://images.unsplash.com/photo-1522771739844-6a9f6d5f14af?w=800&q=80"); }
.rugs-room-dining { background-image: url("https://images.unsplash.com/photo-1617806118233-18e1de247200?w=800&q=80"); }
.rugs-room-entry { background-image: url("https://images.unsplash.com/photo-1513694203232-719a280e022f?w=800&q=80"); }

.rugs-results { background: #ffffff; padding: 36px 24px; border-top: 1px solid #ebe4d8; border-bottom: 1px solid #ebe4d8; }

.rugs-results-head,
.rugs-result-grid,
.rugs-note { max-width: 1180px; margin-left: auto; margin-right: auto; }

.rugs-results-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.rugs-sort { font-size: 0.88rem; color: #6b6255; }

.rugs-result-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.rugs-result { display: flex; flex-direction: column; gap: 4px; }

.rugs-result b { font-size: 0.98rem; }

.rugs-result span:last-child { color: var(--terra); font-weight: 700; }

.rugs-swatch {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.35), 0 6px 16px rgba(34, 38, 43, 0.12);
}

.rugs-sw-ivory {
  background:
    repeating-linear-gradient(45deg, rgba(160, 140, 110, 0.35) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(160, 140, 110, 0.35) 0 2px, transparent 2px 22px),
    #f2ebdd;
}

.rugs-sw-harbor {
  background:
    radial-gradient(circle at 50% 50%, #e9b949 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, #8fb0cf 23% 26%, transparent 27%),
    repeating-radial-gradient(circle at 50% 50%, #2f5a87 0 14px, #3d6c9c 14px 28px);
}

.rugs-sw-clay {
  background:
    repeating-linear-gradient(0deg, #c8553d 0 18px, #e2a46e 18px 26px, #7a3b2a 26px 32px, #f1d9b5 32px 44px);
}

.rugs-sw-fog {
  background:
    radial-gradient(ellipse at 30% 30%, #b9bcc1 0 20%, transparent 21%),
    radial-gradient(ellipse at 70% 65%, #8d9299 0 18%, transparent 19%),
    linear-gradient(135deg, #d9dbde, #a9adb3);
}

.rugs-sw-jute {
  background:
    repeating-linear-gradient(90deg, rgba(120, 90, 50, 0.25) 0 3px, transparent 3px 7px),
    repeating-linear-gradient(0deg, rgba(120, 90, 50, 0.25) 0 3px, transparent 3px 7px),
    #d6b98c;
}

.rugs-sw-midnight {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 25% 30%, #c8553d 0 7%, transparent 8%),
    radial-gradient(circle at 70% 60%, #e9b949 0 6%, transparent 7%),
    radial-gradient(circle at 40% 80%, #8fb0cf 0 6%, transparent 7%),
    #1c2433;
}

.rugs-note { font-size: 0.85rem; color: #6b6255; margin-top: 16px; margin-bottom: 0; }

.rugs-how { max-width: 1180px; margin: 0 auto; padding: 40px 24px; }

.rugs-how ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 760px) {
  .rugs-how ol { grid-template-columns: repeat(3, 1fr); }
}

.rugs-how li {
  counter-increment: step;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border-top: 4px solid var(--navy);
}

.rugs-how li::before {
  content: counter(step);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  color: var(--mustard);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.rugs-how li b { display: block; font-size: 1.08rem; margin-bottom: 4px; color: var(--navy); }

.rugs-chat {
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 26px 24px;
  border-radius: 14px;
  background: var(--navy);
  color: #eaf0f7;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.rugs-chat > div { max-width: 46rem; }

.rugs-chat h2 { color: #ffffff; font-size: 1.8rem; margin-bottom: 6px; }

.rugs-chat p { margin: 0; }

.rugs-foot { background: #15283f; color: #d9e2ee; padding: 20px 24px; font-size: 0.88rem; }

.rugs-foot p { margin: 0; }
