/* ============================================================
   All Collections page (/shop/collections, collections.blade.php), 2026-10-16.

   Hero (title + an icon illustration + a hand-written line); one row of
   collection cards per group (photo, round icon, title, text, coloured
   button); a featured collection banner. Everything sits under .acol-page.
   ============================================================ */

.acol-page {
  --acol-ink: #0f1a3d;
  --acol-text: #475569;
  --acol-muted: #6b7a90;
  --acol-blue: #2563eb;
  --acol-line: #e3e9f6;
  --acol-shadow: 0 1px 2px rgba(15, 26, 61, .04), 0 8px 22px rgba(15, 26, 61, .06);
  padding: 26px 0 56px;
  background: #fff;
  color: var(--acol-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.acol-page *, .acol-page *::before, .acol-page *::after { box-sizing: border-box; }
.acol-page h1, .acol-page h2, .acol-page p { margin: 0; }
.acol-page a { text-decoration: none; }

.acol-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid #d6e0fb;
  border-radius: 8px;
  background: rgba(255, 255, 255, .85);
  color: var(--acol-blue);
  font-size: 12px;
  font-weight: 600;
}
.acol-kicker i { font-size: 11px; }

/* The button takes its card's colour (--fg), else blue. */
.acol-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--fg, var(--acol-blue));
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 16px -8px var(--fg, var(--acol-blue));
  transition: transform .15s ease, filter .15s ease;
}
.acol-btn i { font-size: 12px; transition: transform .15s ease; }
.acol-btn:hover { filter: brightness(.94); transform: translateY(-1px); }
.acol-btn:hover i { transform: translateX(3px); }

/* ---- hero ---- */
.acol-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  min-height: 210px;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid #e0e6fb;
  border-radius: 20px;
  background: linear-gradient(110deg, #eef3ff 0%, #f2f0ff 55%, #e8ebff 100%);
}
.acol-hero-copy { position: relative; z-index: 2; padding: 30px 34px; }
.acol-hero h1 {
  margin: 14px 0 10px;
  color: var(--acol-ink);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.acol-grad {
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.acol-hero p { max-width: 470px; color: var(--acol-text); font-size: 15.5px; line-height: 1.6; }

/* the illustration: icon tiles, a dashed arrow, sparkles and a hand-written line */
.acol-hero-art { position: relative; align-self: stretch; min-height: 210px; }
.acol-art-tile {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 30px -12px rgba(37, 56, 140, .35);
}
.acol-art-tile.is-cart {
  left: 34%;
  top: 50%;
  width: 124px;
  height: 124px;
  border-radius: 30px;
  background: linear-gradient(145deg, #6b95ff 0%, #3b5bdb 100%);
  color: #fff;
  font-size: 54px;
  transform: translate(-50%, -50%) rotate(-6deg);
  box-shadow: 0 26px 40px -14px rgba(59, 91, 219, .6);
}
.acol-art-tile.is-bag { left: 6%; top: 16%; width: 62px; height: 62px; color: #8b5cf6; font-size: 26px; transform: rotate(7deg); }
.acol-art-tile.is-box { left: 47%; bottom: 10%; width: 58px; height: 58px; background: #e3e9ff; color: #5b7cfa; font-size: 24px; transform: rotate(-4deg); }
.acol-art-tile.is-tag { left: 14%; bottom: 12%; width: 46px; height: 46px; border-radius: 14px; color: #ec4899; font-size: 18px; transform: rotate(-10deg); }
.acol-art-arrow { position: absolute; left: 1%; top: 42%; width: 74px; color: #7aa2ff; }
.acol-art-spark { position: absolute; color: #8b9cff; line-height: 1; }
.acol-art-spark.is-1 { left: 50%; top: 14%; font-size: 16px; }
.acol-art-spark.is-2 { left: 24%; top: 10%; font-size: 9px; color: #b9c3ff; }
.acol-art-spark.is-3 { left: 58%; top: 70%; font-size: 10px; color: #b9c3ff; }
.acol-art-script {
  position: absolute;
  right: 5%;
  top: 50%;
  max-width: 220px;
  color: #3743c7;
  font-family: 'Caveat', cursive;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%) rotate(-8deg);
}
.acol-art-script svg { display: block; width: 86%; height: 16px; margin: 4px 0 0 auto; color: #3743c7; }

/* ---- a group of cards ---- */
.acol-section { margin-bottom: 30px; }
.acol-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.acol-section-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--acol-ink);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.acol-bar { flex: 0 0 auto; width: 30px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #2563eb, #7c3aed); }
/* Five across, as the design (a row with fewer keeps the same card size). */
.acol-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

.acol-card {
  --fg: #2563eb; --soft: #e8f0ff; --tint: #f4f8ff; --line: #e1e9fb;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--tint) 100%);
  box-shadow: var(--acol-shadow);
  color: var(--acol-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.acol-card:hover { transform: translateY(-4px); border-color: var(--soft); box-shadow: 0 18px 36px -14px rgba(15, 26, 61, .22); }
.acol-card.is-green  { --fg: #16a34a; --soft: #d8f3e2; --tint: #f2fbf5; --line: #dcf1e4; }
.acol-card.is-purple { --fg: #6d28d9; --soft: #e9e1ff; --tint: #f7f4ff; --line: #e8e1fb; }
.acol-card.is-pink   { --fg: #e11d74; --soft: #fddcea; --tint: #fff5f9; --line: #fbe0ec; }
.acol-card.is-orange { --fg: #f59e0b; --soft: #ffe9c4; --tint: #fffaf0; --line: #fbe8c8; }
.acol-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.acol-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.acol-card:hover .acol-card-media img { transform: scale(1.05); }
.acol-card-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--acol-ink);
  font-size: 11.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 26, 61, .12);
}
.acol-card-ic {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: -30px 0 0 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--soft);
  color: var(--fg);
  font-size: 22px;
  box-shadow: 0 8px 18px -6px rgba(15, 26, 61, .25);
}
.acol-card-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 10px 18px 18px; }
.acol-card-title {
  overflow: hidden;
  color: var(--acol-ink);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acol-card-text {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--acol-text);
  font-size: 13.5px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.acol-card .acol-btn { margin-top: 14px; }

/* ---- featured collection ---- */
.acol-featured {
  position: relative;
  min-height: 240px;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid #e0e6fb;
  border-radius: 20px;
  background: linear-gradient(110deg, #eef3ff 0%, #f4f6ff 100%);
}
.acol-featured-img { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; height: 100%; object-fit: cover; }
.acol-featured.has-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* solid up to 38%, where the photo starts, so its edge never shows */
  background: linear-gradient(90deg, #eef3ff 0%, #eff3ff 38%, rgba(239, 243, 255, .9) 47%, rgba(239, 243, 255, .4) 62%, rgba(239, 243, 255, 0) 78%);
}
.acol-featured.no-img::after {
  content: "\f005";
  position: absolute;
  right: 7%;
  top: 50%;
  color: rgba(37, 99, 235, .08);
  font-family: 'Font Awesome 6 Free';
  font-size: 160px;
  font-weight: 400;
  transform: translateY(-50%);
}
.acol-featured-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 560px;
  min-height: 240px;
  padding: 30px 34px;
}
.acol-featured h2 {
  margin: 12px 0 8px;
  color: var(--acol-ink);
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.acol-featured p { color: var(--acol-text); font-size: 15px; line-height: 1.55; }
.acol-featured-meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 16px 0 20px; padding: 0; list-style: none; }
.acol-featured-meta li { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; color: #334155; font-size: 13px; font-weight: 500; }
.acol-featured-meta li:first-child { padding-left: 0; }
.acol-featured-meta li + li { border-left: 1px solid #cdd6ea; }
.acol-featured-meta i { color: var(--acol-blue); }

.acol-none { padding: 40px 0; color: var(--acol-muted); text-align: center; }

/* ---- responsive ---- */
@media (max-width: 1399px) {
  .acol-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  .acol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acol-hero h1 { font-size: 38px; }
  .acol-art-script { font-size: 32px; right: 3%; max-width: 170px; }
}
@media (max-width: 991px) {
  .acol-hero { grid-template-columns: minmax(0, 1fr); }
  .acol-hero-art { display: none; }
}
@media (max-width: 767px) {
  .acol-page { padding-top: 16px; }
  .acol-hero-copy { padding: 22px 20px; }
  .acol-hero h1 { font-size: 30px; }
  .acol-section-head h2 { font-size: 20px; }
  /* Phones: a swipeable row instead of one tall card under another. */
  .acol-grid {
    display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
  }
  .acol-grid::-webkit-scrollbar { display: none; }
  .acol-card { flex: 0 0 78%; scroll-snap-align: start; }
  .acol-featured, .acol-featured-copy { min-height: 0; }
  .acol-featured-img { position: relative; display: block; width: 100%; height: 170px; }
  .acol-featured.has-img::before { display: none; }
  .acol-featured-copy { max-width: none; padding: 20px; }
  .acol-featured h2 { font-size: 26px; }
  .acol-featured-meta { gap: 8px 16px; }
  .acol-featured-meta li { padding: 0; }
  .acol-featured-meta li + li { border-left: 0; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .acol-card { flex-basis: 46%; }
}
