/* ================================================================
   CRAZY ALPACA SHOP - shared site language, calmer catalogue motion
================================================================ */
.shop-page {
  --shop-purple: #8a13ad;
  --shop-pink: #ff6cae;
  --shop-coral: #ea653b;
  --shop-teal: #25aab2;
  --shop-yellow: #ffd55e;
  --shop-ink: #49303d;
  background: #fffaf5;
  color: var(--shop-ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.shop-page main {
  overflow-x: clip;
}

/* Never reintroduce the old paint swipe beneath the hero copy. */
.shop-page .shop-hero::after,
.shop-page .shop-hero__inner::after,
.shop-page .shop-hero__copy::after,
.shop-page .shop-hero__intro::after {
  display: none !important;
  content: none !important;
}

.shop-gradient-text {
  background: linear-gradient(
    100deg,
    var(--shop-teal) 0%,
    var(--shop-pink) 24%,
    var(--shop-purple) 48%,
    var(--shop-coral) 72%,
    var(--shop-yellow) 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shopGradientText 14s ease-in-out infinite alternate;
}

.shop-gradient-text--inline {
  font-weight: 900;
}

@keyframes shopGradientText {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes shopPillPhase {
  0%, 100% { background-position: var(--shop-phase-start, 0%) 50%; }
  50% { background-position: var(--shop-phase-end, 100%) 50%; }
}

@keyframes shopTinyFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -2px; }
}

@keyframes shopStickerFloat {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-2px); }
}

/* HERO */
.shop-hero {
  position: relative;
  padding: clamp(54px, 7vw, 92px) 24px clamp(52px, 6vw, 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,213,94,.28) 0 74px, transparent 75px),
    radial-gradient(circle at 90% 16%, rgba(255,154,203,.20) 0 110px, transparent 111px),
    linear-gradient(135deg, #fff8e8 0%, #fff5fb 50%, #f0fbfa 100%);
}

.shop-hero__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
}

.shop-hero__copy {
  min-width: 0;
}

.shop-eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--shop-ink);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
}

.shop-eyebrow > span:nth-child(1) { translate: 0 1px; }
.shop-eyebrow > span:nth-child(2) { translate: 0 -2px; }
.shop-eyebrow > span:nth-child(3) { translate: 0 1px; }

.shop-hero h1,
.shop-section-heading h2,
.shop-card h3,
.shop-callout h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.shop-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--purple-dark, #7d0aa0);
  font-size: clamp(4rem, 7.4vw, 7.6rem);
  line-height: .87;
  letter-spacing: -.055em;
}

.shop-hero h1 > span {
  display: block;
  margin-top: 7px;
}

.shop-hero__intro {
  position: relative;
  max-width: 700px;
  margin: 26px 0 0;
  padding: 2px 0 2px 24px;
  border: 0;
  color: rgba(73,48,61,.86);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.shop-hero__intro::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--shop-pink), var(--shop-yellow), var(--shop-teal), var(--shop-purple));
  background-size: 100% 240%;
  content: "";
  animation: shopGradientLine 12s ease-in-out infinite alternate;
}

@keyframes shopGradientLine {
  from { background-position: 50% 0%; }
  to { background-position: 50% 100%; }
}

.shop-hero__art {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.shop-hero__art::before {
  position: absolute;
  inset: 24px 10px 14px;
  border-radius: 48% 52% 46% 54% / 54% 44% 56% 46%;
  background: rgba(255,255,255,.64);
  box-shadow: 12px 14px 0 rgba(37,170,178,.10), -8px -7px 0 rgba(255,154,203,.10);
  content: "";
  transform: rotate(.7deg);
}

.shop-hero__art img {
  position: relative;
  z-index: 3;
  width: clamp(150px, 16vw, 215px);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(96,29,94,.12));
  transform: rotate(-1.2deg);
}

.shop-hero__blob,
.shop-hero__spark,
.shop-hero__sticker {
  position: absolute;
  pointer-events: none;
}

.shop-hero__blob { border-radius: 50%; opacity: .75; }
.shop-hero__blob--yellow { width: 150px; height: 150px; left: 3%; bottom: 4%; background: rgba(255,213,94,.46); }
.shop-hero__blob--pink { width: 132px; height: 132px; right: 3%; top: 6%; background: rgba(255,154,203,.34); }
.shop-hero__blob--teal { width: 110px; height: 110px; right: 10%; bottom: 7%; background: rgba(37,170,178,.23); }
.shop-hero__spark { z-index: 4; font-weight: 900; }
.shop-hero__spark--one { left: 8%; top: 15%; color: var(--shop-coral); font-size: 1.8rem; transform: rotate(-10deg); }
.shop-hero__spark--two { right: 7%; top: 44%; color: var(--shop-purple); font-size: 2.2rem; transform: rotate(8deg); }

.shop-hero__sticker {
  z-index: 5;
  right: 5%;
  top: 5%;
  padding: 9px 13px;
  border-radius: 13px 10px 14px 9px;
  background: linear-gradient(120deg, #ffd55e, #ff9acb);
  box-shadow: 5px 6px 0 rgba(96,29,94,.10);
  color: var(--shop-ink);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .08em;
  animation: shopStickerFloat 7.8s ease-in-out infinite;
}

/* CATALOGUE */
.shop-catalogue {
  padding: 52px 24px 88px;
  background:
    radial-gradient(circle at 6% 12%, rgba(255,154,203,.12), transparent 12rem),
    radial-gradient(circle at 92% 76%, rgba(37,170,178,.09), transparent 14rem),
    #fffaf6;
}

.shop-catalogue__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.shop-facts {
  margin: -18px auto 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.shop-pill,
.shop-card__preview-type {
  background-image: linear-gradient(110deg, #f4abd2 0%, #ffd978 28%, #9ee0dc 56%, #b99ae2 78%, #f18a6e 100%);
  background-size: 380% 100%;
  color: #fff;
  box-shadow: 4px 5px 0 rgba(96,29,94,.09);
  font-weight: 900;
  animation: shopPillPhase var(--shop-pill-duration, 13s) ease-in-out infinite;
}

.shop-pill {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 18px 14px 19px 13px;
  font-size: .78rem;
  letter-spacing: .01em;
}

.shop-pill strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.shop-pill--1 { --shop-phase-start: 0%; --shop-phase-end: 24%; --shop-pill-duration: 15s; transform: rotate(-1.3deg); }
.shop-pill--2 { --shop-phase-start: 24%; --shop-phase-end: 48%; --shop-pill-duration: 17s; transform: rotate(.8deg); }
.shop-pill--3 { --shop-phase-start: 48%; --shop-phase-end: 72%; --shop-pill-duration: 16s; transform: rotate(-.7deg); }
.shop-pill--4 { --shop-phase-start: 72%; --shop-phase-end: 100%; --shop-pill-duration: 18s; transform: rotate(1.1deg); }

.shop-section-heading {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.shop-eyebrow--small {
  margin: 0 auto 12px;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(255,154,203,.32), rgba(255,213,94,.34), rgba(37,170,178,.24));
  box-shadow: 4px 5px 0 rgba(96,29,94,.06);
}

.shop-section-heading h2 {
  margin: 0;
  color: var(--purple-dark, #7d0aa0);
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.shop-section-heading > p:last-child {
  max-width: 650px;
  margin: 16px auto 0;
  color: rgba(73,48,61,.74);
  line-height: 1.6;
}

.shop-controls {
  width: min(850px, 100%);
  margin: 30px auto 0;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: end;
  gap: 15px;
  border-radius: 26px 21px 28px 22px;
  background: rgba(255,255,255,.85);
  box-shadow: 8px 9px 0 rgba(37,170,178,.08), 0 18px 40px rgba(96,29,94,.06);
}

.shop-search,
.shop-sort {
  display: grid;
  gap: 7px;
}

.shop-search > span,
.shop-sort > span {
  color: var(--shop-ink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.shop-search input,
.shop-sort select {
  width: 100%;
  min-height: 50px;
  padding: 11px 15px;
  border: 1.5px solid rgba(138,19,173,.14);
  border-radius: 16px 13px 17px 14px;
  outline: 0;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
}

.shop-search input:focus,
.shop-sort select:focus {
  border-color: rgba(138,19,173,.52);
  box-shadow: 0 0 0 4px rgba(138,19,173,.08);
}

.shop-results-meta {
  margin: 22px auto 0;
  text-align: center;
}

.shop-results-meta p {
  margin: 0;
  color: rgba(73,48,61,.65);
  font-size: .86rem;
  font-weight: 800;
}

.shop-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.shop-card {
  min-width: 0;
}

.shop-card__surface {
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  border-radius: 29px 23px 31px 24px;
  background:
    linear-gradient(#fffdfb, #fffdfb) padding-box,
    linear-gradient(var(--shop-card-angle, 120deg), var(--shop-pink), var(--shop-yellow), var(--shop-teal), var(--shop-purple)) border-box;
  box-shadow:
    8px 9px 0 var(--shop-card-shadow, rgba(255,154,203,.22)),
    0 18px 38px rgba(96,29,94,.07);
}

.shop-card--1 { --shop-card-angle: 115deg; --shop-card-shadow: rgba(255,154,203,.24); }
.shop-card--2 { --shop-card-angle: 150deg; --shop-card-shadow: rgba(255,213,94,.28); }
.shop-card--3 { --shop-card-angle: 95deg; --shop-card-shadow: rgba(37,170,178,.20); }
.shop-card--4 { --shop-card-angle: 135deg; --shop-card-shadow: rgba(184,151,225,.23); }

.shop-card__image-link {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  background: #f8f3f7;
}

.shop-card__image-link::before {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 50%;
  width: 72px;
  height: 18px;
  background: rgba(255,229,145,.72);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
}

.shop-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .32s ease;
}

.shop-card__image-link:hover .shop-card__image,
.shop-card__image-link:focus-visible .shop-card__image {
  transform: scale(1.025);
}

.shop-card__preview-type {
  --shop-phase-start: 12%;
  --shop-phase-end: 42%;
  --shop-pill-duration: 16s;
  position: absolute;
  z-index: 4;
  right: 13px;
  bottom: 13px;
  max-width: calc(100% - 26px);
  padding: 7px 11px;
  overflow: hidden;
  border-radius: 999px;
  font-size: .64rem;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.shop-card--2 .shop-card__preview-type { --shop-phase-start: 36%; --shop-phase-end: 62%; }
.shop-card--3 .shop-card__preview-type { --shop-phase-start: 58%; --shop-phase-end: 86%; }
.shop-card--4 .shop-card__preview-type { --shop-phase-start: 72%; --shop-phase-end: 100%; }

.shop-card__body {
  flex: 1;
  padding: 22px 21px 21px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.shop-card h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--purple-dark, #7d0aa0);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-action {
  width: min(220px, 100%);
  min-height: 52px;
  margin: 18px auto 0;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(73,48,61,.72);
  border-radius: 18px 14px 20px 15px;
  background-image: linear-gradient(110deg, #8a13ad 0%, #d146b7 22%, #ef6d8d 44%, #f6a25f 64%, #43b7bb 84%, #8a13ad 100%);
  background-size: 300% 100%;
  box-shadow: 7px 8px 0 rgba(255,213,94,.24), 0 12px 25px rgba(96,29,94,.11);
  color: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-align: center;
  text-decoration: none;
  animation: shopActionGradient 14s ease-in-out infinite alternate;
  transition: transform .16s ease, box-shadow .16s ease;
}

@keyframes shopActionGradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.shop-action:hover,
.shop-action:focus-visible {
  color: #fff;
  transform: translateY(-2px) rotate(-.4deg);
  box-shadow: 8px 10px 0 rgba(37,170,178,.20), 0 14px 28px rgba(96,29,94,.14);
}

.shop-action:active {
  transform: translateY(1px) scale(.985);
}

.shop-card__body .shop-action {
  margin-top: auto;
  padding-top: 11px;
}

.shop-loading-card {
  min-height: 470px;
  border-radius: 29px 23px 31px 24px;
  background: linear-gradient(110deg, rgba(255,255,255,.68) 8%, rgba(255,225,241,.76) 18%, rgba(255,255,255,.68) 33%);
  background-size: 220% 100%;
  box-shadow: 8px 9px 0 rgba(255,154,203,.12);
  animation: shopLoading 1.5s linear infinite;
}

@keyframes shopLoading {
  to { background-position-x: -220%; }
}

.shop-empty,
.shop-error {
  grid-column: 1 / -1;
  max-width: 650px;
  margin: 20px auto 0;
  padding: 26px;
  border-radius: 25px 20px 27px 21px;
  background: rgba(255,255,255,.80);
  box-shadow: 7px 8px 0 rgba(255,154,203,.12);
  text-align: center;
}

.shop-empty strong,
.shop-error strong {
  color: var(--purple-dark, #7d0aa0);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.shop-empty p,
.shop-error p {
  margin: 8px 0 0;
}

.shop-load-more-wrap {
  display: flex;
  justify-content: center;
}

.shop-load-more {
  border: 0;
  cursor: pointer;
}

/* CALLOUT */
.shop-callout {
  padding: 72px 24px;
  background: linear-gradient(125deg, #7f0da5 0%, #b923b5 42%, #e2539f 70%, #ee795f 100%);
  color: #fff;
}

.shop-callout__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.shop-callout h2 {
  margin: 7px 0 12px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: .95;
}

.shop-callout p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}

.shop-eyebrow--light {
  color: #fff;
}

.shop-action--light {
  margin: 0;
  border-color: rgba(255,255,255,.72);
  box-shadow: 7px 8px 0 rgba(255,213,94,.28);
}

/* Exact site footer/nav remain owned by style.css. */
.shop-page .site-nav a[aria-current="page"] {
  color: var(--purple-dark, #7d0aa0);
}

@media (max-width: 900px) {
  .shop-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .shop-hero__copy {
    text-align: center;
  }

  .shop-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .shop-hero__intro {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .shop-hero__art {
    width: min(480px, 100%);
    min-height: 270px;
    margin: 0 auto;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-callout__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shop-callout p {
    margin-left: auto;
    margin-right: auto;
  }

  .shop-action--light {
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .shop-hero {
    padding: 44px 18px 50px;
  }

  .shop-hero h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .shop-hero__intro {
    padding-left: 18px;
  }

  .shop-catalogue {
    padding: 42px 18px 64px;
  }

  .shop-facts {
    margin-top: -8px;
    margin-bottom: 42px;
  }

  .shop-controls {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .shop-card__surface {
    width: 100%;
  }

  .shop-card__body {
    padding: 20px 18px 19px;
  }

  .shop-callout {
    padding: 58px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-gradient-text,
  .shop-hero__intro::before,
  .shop-hero__sticker,
  .shop-pill,
  .shop-card__preview-type,
  .shop-action,
  .shop-loading-card {
    animation: none !important;
  }

  .shop-card__image,
  .shop-action {
    transition: none !important;
  }
}
\n\n/* =========================================================
   FINAL SHOP POLISH - animated words/pills, proper tape, static card borders
========================================================= */

/* Catalogue and callout accent words use the same living text gradient. */
.shop-section-heading h2 .shop-gradient-text,
.shop-callout h2 .shop-gradient-text {
  display: inline-block;
  padding: 0 .025em .04em;
  margin: 0 -.025em -.04em;
}

/* The dark callout needs the brighter half of the brand palette for contrast. */
.shop-callout h2 .shop-gradient-text {
  background-image: linear-gradient(100deg, #ffd55e 0%, #ff9acb 28%, #fff4d5 48%, #72d9d7 72%, #ffd55e 100%);
  background-size: 260% 100%;
}

/* All pill-like Shop labels visibly cycle rather than sitting on a static wash. */
.shop-eyebrow--small,
.shop-eyebrow--light,
.shop-hero__sticker {
  background-image: linear-gradient(110deg, #f4abd2 0%, #ffd978 26%, #9ee0dc 52%, #b99ae2 76%, #f18a6e 100%);
  background-size: 360% 100%;
  animation: shopPillPhase var(--shop-pill-duration, 15s) ease-in-out infinite, shopTinyFloat 8s ease-in-out infinite;
}
.shop-eyebrow--small {
  --shop-phase-start: 8%;
  --shop-phase-end: 38%;
  --shop-pill-duration: 16s;
}
.shop-eyebrow--light {
  --shop-phase-start: 44%;
  --shop-phase-end: 78%;
  --shop-pill-duration: 18s;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 14px 11px 15px 10px;
  color: #4b3040;
  box-shadow: 4px 5px 0 rgba(255,255,255,.11);
}
.shop-hero__sticker {
  --shop-phase-start: 66%;
  --shop-phase-end: 96%;
  --shop-pill-duration: 17s;
}

/* Product borders stay deliberately static. Tape belongs to the paper card,
   not inside the clipped image viewport. */
.shop-card__surface {
  position: relative;
  overflow: visible;
  border-color: rgba(73,48,61,.24);
  background: #fffdfb;
}
.shop-card__surface::before {
  position: absolute;
  z-index: 8;
  top: -11px;
  left: 50%;
  width: 76px;
  height: 20px;
  border-radius: 2px;
  background: rgba(255,226,128,.72);
  box-shadow: 0 2px 3px rgba(73,48,61,.05);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
}
.shop-card__image-link {
  border-radius: 27px 21px 0 0;
}
.shop-card__image-link::before {
  content: none !important;
  display: none !important;
}
.shop-card__body {
  border-radius: 0 0 29px 23px;
}

@media (prefers-reduced-motion: reduce) {
  .shop-eyebrow--small,
  .shop-eyebrow--light,
  .shop-hero__sticker {
    animation: none !important;
    background-position: 50% 50% !important;
  }
}

/* 2026-08-19 Decision clarity */
.shop-redbubble-note {
  margin: 8px 0 0;
  color: #5d4e62;
  font-size: .88rem;
  line-height: 1.5;
}
.shop-redbubble-note strong { color: #3f2d46; }
.shop-card__body h3 a {
  color: inherit;
  text-decoration: none;
}
.shop-card__body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shop-card__body h3 a:focus-visible {
  outline: 3px solid #1f7276;
  outline-offset: 4px;
  border-radius: 4px;
}
.shop-card__handoff {
  margin: 0 0 12px;
  color: #6e5e72;
  font-size: .78rem;
  line-height: 1.4;
}

/* Motion System - Shop remains discovery-led, but catalogue controls and cards
   stay stable until the visitor interacts with them. */
.shop-page .shop-pill,
.shop-page .shop-hero__spark,
.shop-page .shop-catalogue .shop-gradient-text,
.shop-page .shop-card,
.shop-page .product-card {
  animation: none !important;
}
.shop-page .shop-hero__sticker {
  animation-duration: 15s !important;
}
.shop-page .shop-action {
  animation: none !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  .shop-page .shop-hero__sticker { animation: none !important; }
}

/* ================================================================
   CATEGORY ARROW BROWSER - keeps the original Shop design and places
   the existing catalogue content inside the requested < content > frame.
================================================================ */
.shop-browser {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: start;
  gap: 16px;
  margin-top: 30px;
}
.shop-browser__content { min-width: 0; }
.shop-category-arrow {
  position: sticky;
  top: 118px;
  display: grid;
  width: 64px;
  height: 96px;
  place-items: center;
  border: 2px solid rgba(45,36,72,.18);
  border-radius: 24px 20px 26px 22px;
  color: #fff;
  background: #8a13ad;
  box-shadow: 7px 8px 0 rgba(45,36,72,.10);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.shop-category-arrow:hover,
.shop-category-arrow:focus-visible {
  transform: translateY(-3px) rotate(-1deg);
  background: #65108a;
}
.shop-category-arrow--next:hover,
.shop-category-arrow--next:focus-visible { transform: translateY(-3px) rotate(1deg); }
.shop-category-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 5px 20px;
  align-items: end;
  margin-bottom: 22px;
  padding: 18px 20px 20px;
  border: 2px solid rgba(138,19,173,.10);
  border-radius: 24px 20px 26px 22px;
  background: rgba(255,255,255,.72);
  box-shadow: 5px 6px 0 rgba(45,36,72,.06);
}
.shop-category-kicker {
  grid-column: 1/-1;
  color: #25aab2;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.shop-category-heading h3 {
  margin: 0;
  color: #65108a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem,4vw,4.2rem);
  line-height: .95;
}
.shop-category-heading p {
  grid-column: 1;
  max-width: 680px;
  margin: 8px 0 0;
}
.shop-category-heading strong {
  grid-column: 2;
  grid-row: 2/4;
  align-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f7d964;
  font-size: .8rem;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .shop-browser { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-browser__content { grid-column: 1/-1; grid-row: 2; }
  .shop-category-arrow { position: static; width: 100%; height: 52px; font-size: 2.6rem; border-radius: 16px; }
  .shop-category-arrow--prev { grid-column: 1; }
  .shop-category-arrow--next { grid-column: 2; }
  .shop-category-heading { grid-template-columns: 1fr; }
  .shop-category-heading p,
  .shop-category-heading strong { grid-column: 1; grid-row: auto; }
  .shop-category-heading strong { justify-self: start; }
}


/* ================================================================
   20 AUG 2026 - COMPACT CATEGORY SIDEBAR + THREE-DESIGN CAROUSEL
   Keeps Elly's existing visual language while making the catalogue
   feel curated instead of like a long searchable product wall.
================================================================ */
.shop-find-eyebrow {
  margin: 26px 0 12px;
}
.shop-browser--sidebar {
  display: grid !important;
  grid-template-columns: minmax(190px, .28fr) minmax(0, 1fr) !important;
  gap: clamp(20px, 3vw, 34px) !important;
  align-items: start !important;
  margin-top: 0 !important;
}
.shop-category-panel {
  position: sticky;
  top: 108px;
  padding: 18px;
  border: 2px solid rgba(45,36,72,.12);
  border-radius: 24px 20px 26px 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 7px 8px 0 rgba(45,36,72,.07);
}
.shop-category-panel .shop-category-kicker {
  display: block;
  margin-bottom: 12px;
}
.shop-category-list {
  display: grid;
  gap: 5px;
}
.shop-category-choice {
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #5d4960;
  font: inherit;
  font-size: .84rem;
  line-height: 1.22;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.shop-category-choice:hover,
.shop-category-choice:focus-visible {
  background: #fff3f8;
  color: #79009b;
  transform: translateX(2px);
  outline: 2px solid rgba(37,170,178,.28);
  outline-offset: 2px;
}
.shop-category-choice.is-active,
.shop-category-choice[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(110deg,#8a13ad,#e65ca8);
  box-shadow: 3px 4px 0 rgba(246,191,71,.42);
}
.shop-carousel {
  min-width: 0;
}
.shop-category-heading--compact {
  grid-template-columns: minmax(0,1fr) auto !important;
  margin: 0 0 14px !important;
  padding: 0 4px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.shop-category-heading--compact h2 {
  margin: 0;
  color: #65108a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: .98;
}
.shop-category-heading--compact p {
  max-width: 64ch;
  margin: 7px 0 0 !important;
  color: #6e5e72;
  font-size: .88rem;
}
.shop-category-heading--compact strong {
  align-self: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f7d964;
  font-size: .75rem;
  white-space: nowrap;
}
.shop-carousel__viewport {
  position: relative;
  min-width: 0;
}
.shop-grid--carousel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: clamp(12px, 1.6vw, 20px) !important;
  min-height: 0 !important;
}
.shop-card--compact {
  min-width: 0;
}
.shop-card__surface--compact {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(45,36,72,.11);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  color: inherit;
  text-decoration: none;
  box-shadow: 6px 7px 0 rgba(234,85,170,.09);
  transition: transform .17s ease, box-shadow .17s ease;
}
.shop-card__surface--compact:hover,
.shop-card__surface--compact:focus-visible {
  transform: translateY(-4px);
  box-shadow: 7px 10px 0 rgba(234,85,170,.13);
  outline: 2px solid rgba(37,170,178,.28);
  outline-offset: 3px;
}
.shop-card__image-frame {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff8fb;
}
.shop-card--compact .shop-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-card__body--compact {
  padding: 12px 13px 14px !important;
}
.shop-card__body--compact h3 {
  margin: 0 !important;
  color: #65108a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.35vw, 1.25rem) !important;
  line-height: 1.02;
}
.shop-card__handoff-compact {
  display: inline-block;
  margin-top: 8px;
  color: #159eaa;
  font-size: .72rem;
  font-weight: 900;
}
.shop-carousel__arrow {
  position: absolute;
  z-index: 4;
  top: clamp(95px, 11.5vw, 150px);
  display: grid;
  width: 46px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 18px;
  color: #fff;
  background: rgba(121,0,155,.92);
  box-shadow: 4px 5px 0 rgba(45,36,72,.13);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .16s ease, background .16s ease;
}
.shop-carousel__arrow--prev { left: -13px; }
.shop-carousel__arrow--next { right: -13px; }
.shop-carousel__arrow:hover,
.shop-carousel__arrow:focus-visible {
  background: #25aab2;
  transform: translateY(-50%) scale(1.05);
}
.shop-carousel__arrow:disabled {
  display: none;
}
.shop-results-meta--compact {
  margin-top: 14px;
}
.shop-results-meta--compact #shop-results-count {
  font-size: .78rem;
  font-weight: 900;
}
.shop-results-meta--compact .shop-redbubble-note {
  font-size: .76rem;
}
@media (max-width: 900px) {
  .shop-browser--sidebar {
    grid-template-columns: 1fr !important;
  }
  .shop-category-panel {
    position: static;
  }
  .shop-category-list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .shop-category-choice {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .shop-grid--carousel {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
  .shop-grid--carousel > .shop-card:nth-child(3) {
    display: none;
  }
  .shop-carousel__arrow {
    top: clamp(82px, 22vw, 120px);
    width: 42px;
    height: 52px;
    font-size: 2.45rem;
  }
  .shop-carousel__arrow--prev { left: -8px; }
  .shop-carousel__arrow--next { right: -8px; }
  .shop-category-heading--compact {
    grid-template-columns: 1fr !important;
  }
  .shop-category-heading--compact strong {
    justify-self: start;
  }
}
@media (max-width: 430px) {
  .shop-grid--carousel {
    grid-template-columns: 1fr !important;
  }
  .shop-grid--carousel > .shop-card:nth-child(n+2) {
    display: none;
  }
  .shop-carousel__arrow {
    top: min(46vw, 170px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card__surface--compact,
  .shop-category-choice,
  .shop-carousel__arrow {
    transition: none !important;
  }
}


/* =========================================================
   MOBILE SHOP BROWSER FIX - compact categories + contained product artwork
========================================================= */
.shop-browser--sidebar,
.shop-carousel,
.shop-carousel__viewport,
.shop-grid--carousel,
.shop-card--compact,
.shop-card__surface--compact,
.shop-card__image-frame {
  min-width: 0 !important;
  max-width: 100% !important;
}
.shop-card--compact .shop-card__image {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
@media (max-width: 700px) {
  body.shop-page { overflow-x: hidden; }
  .shop-category-panel {
    width: 100%;
    max-width: 100%;
    padding: 14px !important;
    border-radius: 20px !important;
    overflow: hidden;
  }
  .shop-category-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .shop-category-choice {
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px 8px !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: .72rem !important;
    line-height: 1.18 !important;
  }
  .shop-category-choice:first-child {
    grid-column: 1 / -1;
  }
  .shop-category-heading--compact {
    padding-inline: 2px !important;
  }
  .shop-category-heading--compact h2 {
    font-size: clamp(1.55rem, 7.4vw, 2.2rem) !important;
    overflow-wrap: anywhere;
  }
  .shop-category-heading--compact p {
    display: none;
  }
  .shop-carousel__viewport {
    width: 100%;
    overflow: visible;
  }
  .shop-card__image-frame {
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    max-height: 320px;
    display: grid;
    place-items: center;
    overflow: hidden !important;
    background: linear-gradient(145deg,#fff,#fff7fb) !important;
  }
  .shop-card--compact .shop-card__image {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }
  .shop-carousel__arrow {
    top: min(42vw, 145px) !important;
    width: 42px !important;
    height: 50px !important;
  }
}
@media (max-width: 430px) {
  .shop-browser--sidebar { gap: 17px !important; }
  .shop-find-eyebrow { margin-bottom: 10px !important; }
  .shop-category-panel { padding: 12px !important; }
  .shop-category-panel .shop-category-kicker { margin-bottom: 9px !important; }
  .shop-category-choice { font-size: .68rem !important; padding: 8px 6px !important; }
  .shop-grid--carousel {
    width: min(100%, 330px) !important;
    margin-inline: auto !important;
  }
  .shop-grid--carousel > .shop-card {
    display: block !important;
    width: 100% !important;
  }
  .shop-grid--carousel > .shop-card:nth-child(n+2) { display: none !important; }
  .shop-card__image-frame { max-height: 300px; }
  .shop-carousel__arrow { top: 145px !important; }
  .shop-carousel__arrow--prev { left: -6px !important; }
  .shop-carousel__arrow--next { right: -6px !important; }
  .shop-card__body--compact { padding: 10px 12px 12px !important; }
  .shop-card__body--compact h3 { font-size: 1.08rem !important; }
}
