/* ==========================================================
   v3-design.css — IamVector design system layer
   Sits alongside Bootstrap without overriding global styles.
   Uses --iav-* custom properties to avoid collisions.
   ========================================================== */

/* ---- Design tokens ---- */
:root {
  --iav-brand-deep:  #0c6e6e;
  --iav-brand-deep2: #0a6061;
  --iav-brand:       #14a3a3;
  --iav-brand-ink:   #0d7a7a;
  --iav-brand-soft:  #e6f4f4;
  --iav-brand-soft2: #d2ecec;

  --iav-ink:       #15252b;
  --iav-text:      #44555f;
  --iav-muted:     #8794a0;
  --iav-faint:     #aab4bd;
  --iav-line:      #e7ecef;
  --iav-line-soft: #eef2f4;
  --iav-bg:        #ffffff;
  --iav-bg-soft:   #f3f7f8;
  --iav-icon-ink:  #1f2b33;

  --iav-radius:    12px;
  --iav-radius-sm: 9px;
  --iav-radius-lg: 18px;

  --iav-shadow-sm: 0 1px 2px rgba(20,40,50,.05), 0 1px 3px rgba(20,40,50,.04);
  --iav-shadow-md: 0 6px 18px rgba(20,50,60,.08);
  --iav-shadow-lg: 0 18px 50px rgba(12,60,70,.18);
}

/* ---- Layout helpers ---- */
.v3-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  box-sizing: border-box;
}

.v3-section {
  padding: 56px 0;
}

.v3-section--soft {
  background: var(--iav-bg-soft);
}

/* ---- Tool page intro block ---- */
.se-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.se-intro h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--iav-ink);
  line-height: 1.1;
  margin: 0 0 14px;
}

.se-intro h1 span {
  color: var(--iav-brand);
}

.se-intro p {
  font-size: 16px;
  color: var(--iav-text);
  line-height: 1.6;
  margin: 0;
}

/* ---- Feature cards (3-up grid) ---- */
.se-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.se-feat {
  text-align: center;
  padding: 8px 12px;
}

.se-feat__ic {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--iav-brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.se-feat__ic svg {
  width: 26px;
  height: 26px;
}

.se-feat__name {
  font-weight: 700;
  font-size: 17px;
  color: var(--iav-ink);
  margin-bottom: 8px;
}

.se-feat p {
  font-size: 14px;
  color: var(--iav-text);
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

/* ---- Other tools cards ---- */
.v3-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.v3-htool {
  border: 1px solid var(--iav-line);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  background: #fff;
  transition: transform .16s, box-shadow .16s, border-color .14s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.v3-htool:hover {
  transform: translateY(-3px);
  box-shadow: var(--iav-shadow-md);
  border-color: var(--iav-brand-soft2);
  text-decoration: none;
  color: inherit;
}

.v3-htool.is-current {
  border-color: var(--iav-brand);
  box-shadow: 0 0 0 1px var(--iav-brand) inset;
  cursor: default;
  pointer-events: none;
}

.v3-htool.is-current:hover {
  transform: none;
}

.v3-htool__ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--iav-brand-soft);
  color: var(--iav-brand-ink);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.v3-htool__ic svg {
  width: 26px;
  height: 26px;
}

.v3-htool__name {
  font-weight: 700;
  font-size: 17px;
  color: var(--iav-ink);
  margin-bottom: 6px;
}

.v3-htool p {
  font-size: 14px;
  color: var(--iav-text);
  line-height: 1.5;
  margin: 0;
}

/* ---- Section heading (centered) ---- */
.v3-sec-head {
  text-align: center;
  margin-bottom: 8px;
}

.v3-sec-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--iav-ink);
  margin: 0 0 6px;
}

.v3-sec-head p {
  font-size: 15px;
  color: var(--iav-muted);
  margin: 0;
}

/* ---- FAQ accordion ---- */
.v3-faq-list {
  max-width: 860px;
  margin: 28px auto 0;
}

.v3-faqitem {
  border: 1px solid var(--iav-line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.v3-faqitem.is-open {
  border-color: var(--iav-brand-soft2);
  box-shadow: var(--iav-shadow-sm);
}

.v3-faqq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--iav-ink);
  cursor: pointer;
  font-family: inherit;
}

.v3-faqq:hover {
  color: var(--iav-brand-ink);
}

.v3-faqq .pm-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--iav-brand);
  transition: transform .2s;
}

.v3-faqitem.is-open .pm-icon {
  transform: rotate(45deg);
}

.v3-faqa {
  max-height: 0;
  overflow: hidden;
  transition: max-height .26s ease;
}

.v3-faqa__inner {
  padding: 0 20px 18px;
  color: var(--iav-text);
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid var(--iav-line-soft);
  padding-top: 14px;
}

/* ---- QR Generator ---- */
.qr-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.qr-form {
  background: #fff;
  border: 1px solid var(--iav-line);
  border-radius: 20px;
  padding: 34px 36px;
  box-shadow: var(--iav-shadow-sm);
}

.qr-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.qr-step__n {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--iav-brand-soft);
  color: var(--iav-brand-ink);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.qr-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--iav-ink);
  margin: 0;
}

.qr-label {
  display: block;
  font-weight: 700;
  color: var(--iav-ink);
  font-size: 13.5px;
  margin-bottom: 9px;
}

.qr-opt {
  color: var(--iav-muted);
  font-weight: 600;
}

.qr-input {
  width: 100%;
  border: 1px solid var(--iav-line);
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 14.5px;
  color: var(--iav-ink);
  transition: border-color .14s, box-shadow .14s;
  background: #fff;
  font-family: inherit;
}

.qr-input:focus {
  outline: 0;
  border-color: var(--iav-brand);
  box-shadow: 0 0 0 3px var(--iav-brand-soft);
}

.qr-divider {
  border: 0;
  border-top: 1px solid var(--iav-line-soft);
  margin: 26px 0;
}

.qr-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.qr-colfield label {
  display: block;
  font-weight: 700;
  color: var(--iav-ink);
  font-size: 13.5px;
  margin-bottom: 10px;
}

.qr-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 34px;
  /* prevent label children from stretching beyond swatch height */
  align-content: center;
}

/* ensure both button and label swatches are identical in size */
.qr-sw,
label.qr-sw {
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
}

.qr-sw {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 2px solid rgba(0,0,0,.10);
  cursor: pointer;
  transition: transform .12s;
  position: relative;
  padding: 0;
  flex-shrink: 0;
}

.qr-sw:hover {
  transform: scale(1.1);
}

.qr-sw.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--iav-brand);
  border-color: transparent;
}

.qr-sw--pick {
  overflow: hidden;
  cursor: pointer;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.qr-sw--pick svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  color: #fff;
  /* dark halo keeps icon readable on both light and dark swatch colors */
  filter: drop-shadow(0 0 1px rgba(0,0,0,1)) drop-shadow(0 0 2px rgba(0,0,0,0.8));
  pointer-events: none;
  z-index: 1;
}

.qr-sw--pick input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
}

.qr-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.qr-logo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--iav-line);
  background: var(--iav-bg-soft);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--iav-ink);
  cursor: pointer;
  transition: .14s;
  white-space: nowrap;
  font-family: inherit;
}

.qr-logo-btn:hover {
  border-color: var(--iav-brand);
  color: var(--iav-brand-ink);
  background: var(--iav-brand-soft);
}

.qr-logo-btn svg {
  width: 16px;
  height: 16px;
}

.qr-file-name {
  font-size: 13px;
  color: var(--iav-muted);
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-hint {
  font-size: 12.5px;
  color: var(--iav-faint);
  font-weight: 600;
  margin-top: 9px;
}

.qr-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

/* QR preview panel */
.qr-preview {
  background: var(--iav-bg-soft);
  border: 1px solid var(--iav-line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--iav-shadow-sm);
}

.qr-preview__bar {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--iav-muted);
}

.qr-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f8a5b;
  box-shadow: 0 0 0 3px rgba(31,138,91,.18);
  flex-shrink: 0;
}

.qr-preview__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 22px 0;
  min-height: 260px;
}

.qr-preview__img {
  max-width: 220px;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--iav-shadow-md);
  display: block;
}

.qr-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--iav-faint);
}

.qr-placeholder-inner svg {
  width: 140px;
  height: 140px;
  opacity: .35;
  margin-bottom: 12px;
}

.qr-placeholder-inner span {
  font-size: 13px;
  font-weight: 600;
  color: var(--iav-faint);
}

.qr-preview__note {
  font-size: 13px;
  color: var(--iav-muted);
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
}

.qr-dl {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* Download buttons */
.qr-dl-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .14s;
  font-family: inherit;
}

.qr-dl-btn svg {
  width: 16px;
  height: 16px;
}

.qr-dl-btn--dark {
  background: var(--iav-brand-deep);
  color: #fff;
  border-color: var(--iav-brand-deep);
}

.qr-dl-btn--dark:hover {
  background: var(--iav-brand-deep2);
}

.qr-dl-btn--brand {
  background: var(--iav-brand);
  color: #fff;
  border-color: var(--iav-brand);
}

.qr-dl-btn--brand:hover {
  background: var(--iav-brand-ink);
}

.qr-dl-btn--outline {
  background: #fff;
  color: var(--iav-brand-ink);
  border-color: var(--iav-line);
}

.qr-dl-btn--outline:hover {
  border-color: var(--iav-brand);
  background: var(--iav-brand-soft);
}

.qr-dl-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none !important;
}

/* SVG warning */
.qr-svg-warn {
  display: none;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #92400e;
  font-weight: 600;
  margin-top: 12px;
  width: 100%;
}

.qr-svg-warn.show {
  display: flex;
}

.qr-svg-warn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #d97706;
}

/* Reset button */
.qr-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--iav-line);
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--iav-muted);
  cursor: pointer;
  transition: .14s;
  font-family: inherit;
}

.qr-reset-btn:hover {
  border-color: var(--iav-brand-soft2);
  color: var(--iav-text);
  background: var(--iav-bg-soft);
}

.qr-reset-btn svg {
  width: 15px;
  height: 15px;
}

/* URL validation error */
.qr-url-error {
  font-size: 13px;
  color: #dc2626;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

.qr-url-error.show {
  display: block;
}

/* ── Occasions Hub ── */
.occ-hero {
  position: relative;
  background: linear-gradient(135deg, var(--iav-brand-deep), var(--iav-brand-ink));
  overflow: hidden;
  color: #fff;
  padding: 52px 0 44px;
}

.occ-hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .1;
  pointer-events: none;
}

.occ-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin: 14px 0 16px;
  line-height: 1.1;
}

.occ-hero > .v3-wrap > p {
  font-size: 17px;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 28px;
}

.occ-hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.occ-hero__stat {
  display: flex;
  flex-direction: column;
}

.occ-hero__stat b {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.occ-hero__stat span {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-top: 3px;
  font-weight: 600;
}

.occ-bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.occ-bc a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}

.occ-bc a:hover { color: #fff; }
.occ-bc .sep    { color: rgba(255,255,255,.4); }
.occ-bc .cur    { color: rgba(255,255,255,.88); }

/* Featured cards */
.occ-feature {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.occ-fcard {
  border-radius: 20px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.occ-fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
  color: #fff;
  text-decoration: none;
}

.occ-fcard__glyph {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 54px;
  height: 54px;
  opacity: .28;
}

.occ-fcard__count {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  width: fit-content;
}

.occ-fcard__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  margin-bottom: 6px;
}

.occ-fcard__name {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

.occ-fcard__cta {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  display: flex;
  align-items: center;
  gap: 5px;
}

.occ-fcard__cta svg {
  width: 14px;
  height: 14px;
}

/* Month filter bar */
.occ-monthbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 32px 0 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--iav-line);
  border-radius: 14px;
  box-shadow: var(--iav-shadow-sm);
}

.occ-monthbar button {
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--iav-text);
  background: transparent;
  cursor: pointer;
  transition: .14s;
  font-family: inherit;
  white-space: nowrap;
}

.occ-monthbar button:hover {
  background: var(--iav-brand-soft);
  color: var(--iav-brand-ink);
}

.occ-monthbar button.is-active {
  background: var(--iav-brand-soft);
  color: var(--iav-brand-ink);
  border-color: var(--iav-brand-soft2);
  font-weight: 700;
}

/* Occasion group */
.occ-group {
  margin-top: 44px;
}

.occ-group h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--iav-ink);
  margin: 0 0 4px;
}

.occ-group > p {
  font-size: 14px;
  color: var(--iav-muted);
  margin: 0 0 16px;
}

/* Occasion card grid */
.occ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.occ-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--iav-line);
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}

.occ-card:hover {
  border-color: var(--iav-brand-soft2);
  box-shadow: var(--iav-shadow-sm);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.occ-card__ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.occ-card__ic svg {
  width: 21px;
  height: 21px;
}

.occ-card__name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--iav-ink);
  line-height: 1.2;
  margin-bottom: 3px;
}

.occ-card__date {
  font-size: 11.5px;
  color: var(--iav-muted);
  font-weight: 600;
}

/* ── Occasion Detail ── */
.occd-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 48px 0 44px;
}

.occd-hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
}

.occd-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 14px;
  line-height: 1.1;
}

.occd-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 0 20px;
}

.occd-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.occd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.occd-chip svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Countdown box */
.occ-countdown {
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  text-align: center;
  flex-shrink: 0;
}

.occ-cd-unit b {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.occ-cd-unit span {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Occasion page description */
.occ-page-desc { font-size: 16px; color: var(--iav-text); line-height: 1.7; max-width: 860px; margin: 0 0 28px; }

/* Style filter tab bar */
.occ-style-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 2px solid var(--iav-line-soft); padding-bottom: 0; }
.occ-style-tab {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 600; color: var(--iav-muted);
  padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -2px;
  border-radius: 0; transition: color .14s, border-color .14s;
  white-space: nowrap;
}
.occ-style-tab:hover { color: var(--iav-ink); }
.occ-style-tab.is-active { color: var(--iav-brand-ink); border-bottom-color: var(--iav-brand); font-weight: 700; }
.occ-style-tab__count { font-size: 12px; font-weight: 600; color: var(--iav-muted); background: var(--iav-bg-soft); border-radius: 20px; padding: 1px 7px; }
.occ-style-tab.is-active .occ-style-tab__count { background: var(--iav-brand-soft); color: var(--iav-brand-ink); }

/* Bundle CTA */
.occ-bundle {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--iav-brand-soft);
  border: 1px solid var(--iav-brand-soft2);
  border-radius: 18px;
  padding: 22px 26px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.occ-bundle__ic {
  width: 50px;
  height: 50px;
  background: var(--iav-brand);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.occ-bundle__ic svg { width: 24px; height: 24px; }

.occ-bundle__body { flex: 1; min-width: 0; }

.occ-bundle__body h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--iav-ink);
  margin: 0 0 4px;
}

.occ-bundle__body p {
  font-size: 14px;
  color: var(--iav-text);
  margin: 0;
  line-height: 1.5;
}

.occ-bundle__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--iav-brand-deep);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .14s;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.occ-bundle__btn:hover {
  background: var(--iav-brand-deep2);
  color: #fff;
  text-decoration: none;
}

.occ-bundle__btn svg { width: 16px; height: 16px; }

/* Related occasions */
.occ-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.relocc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--iav-line);
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color .14s, transform .14s;
}

.relocc:hover {
  border-color: var(--iav-brand-soft2);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.relocc__ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.relocc__ic svg { width: 19px; height: 19px; }

.relocc b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--iav-ink);
}

.relocc span {
  font-size: 12px;
  color: var(--iav-muted);
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .qr-shell {
    grid-template-columns: 1fr;
  }

  .qr-form {
    padding: 28px 24px;
  }

  .se-feats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .se-feat {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }

  .se-feat__ic {
    margin: 0;
    flex-shrink: 0;
  }

  .se-feat p {
    margin: 0;
    max-width: none;
  }

  .v3-tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .v3-wrap {
    padding: 0 16px;
  }

  .v3-section {
    padding: 40px 0;
  }

  .se-intro h1 {
    font-size: 28px;
  }

  .qr-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .v3-tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .occ-feature       { grid-template-columns: repeat(2, 1fr); }
  .occ-grid          { grid-template-columns: repeat(3, 1fr); }
  .occ-related-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .occ-hero h1, .occd-hero h1 { font-size: 30px; }
  .occ-hero > .v3-wrap > p    { font-size: 15px; }
  .occd-hero p                 { font-size: 15px; }
  .occd-hero__grid             { grid-template-columns: 1fr; }
  .occ-countdown               { display: none; }
  .occ-feature                 { grid-template-columns: repeat(2, 1fr); }
  .occ-grid                    { grid-template-columns: repeat(2, 1fr); }
  .occ-related-grid            { grid-template-columns: repeat(2, 1fr); }
  .occ-bundle                  { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .occ-feature  { grid-template-columns: 1fr; }
  .occ-grid     { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   HOMEPAGE V3 + ICONS LANDING V2
   ══════════════════════════════════════════ */

/* ── Hero ── */
.v3-hero {
  background: radial-gradient(120% 130% at 86% -12%, var(--iav-brand-soft) 0%, #f4fafa 40%, #ffffff 72%);
  border-bottom: 1px solid var(--iav-line-soft);
  overflow: hidden;
  position: relative;
}
.v3-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 110px;
}
.v3-hero__copy { min-width: 0; }
.v3-hero h1 {
  font-size: 60px;
  font-weight: 800;
  color: var(--iav-brand-deep);
  line-height: 1.04;
  margin: 0 0 6px;
  font-family: 'Paytone One', 'Montserrat', sans-serif;
  letter-spacing: -.01em;
}
.v3-hero h1 span { color: var(--iav-brand); }
.v3-hero__lede { font-size: 17px; color: var(--iav-text); margin: 18px 0 22px; max-width: 540px; line-height: 1.6; }

.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--iav-line); border-radius: 30px;
  padding: 6px 15px 6px 6px; font-weight: 700; font-size: 13px;
  color: var(--iav-brand-ink); box-shadow: var(--iav-shadow-sm); margin-bottom: 18px;
}
.v2-eyebrow i { display: grid; place-items: center; width: 24px; height: 24px; background: var(--iav-brand-soft); border-radius: 50%; font-style: normal; }
.v2-eyebrow svg { width: 14px; height: 14px; color: var(--iav-brand-ink); }

.v3-big-search {
  display: flex; align-items: center; background: #fff;
  border: 1.5px solid var(--iav-line); border-radius: 14px;
  padding: 6px 6px 6px 18px; box-shadow: var(--iav-shadow-md);
  max-width: 540px; gap: 10px;
}
.v3-big-search input { flex: 1; border: 0; outline: 0; font-size: 15px; color: var(--iav-ink); background: transparent; font-family: inherit; }
.v3-big-search input::placeholder { color: var(--iav-faint); }
.v3-search-btn {
  background: var(--iav-brand-deep); color: #fff; border: 0; border-radius: 10px;
  padding: 10px 20px; font-weight: 700; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; gap: 7px; font-family: inherit; white-space: nowrap; transition: background .14s;
}
.v3-search-btn:hover { background: var(--iav-brand-deep2, #0a6061); }
.v3-search-btn svg { width: 15px; height: 15px; }

.v3-hero-trending { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.v3-hero-trending span { color: var(--iav-muted); font-weight: 600; }
.v3-hero-trending a { color: var(--iav-brand-ink); font-weight: 700; text-decoration: none; background: var(--iav-brand-soft); border-radius: 20px; padding: 3px 10px; font-size: 12.5px; }
.v3-hero-trending a:hover { background: var(--iav-brand-soft2); }

.v2-herobtns { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.hbtn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 13px 22px; font-weight: 700; font-size: 14.5px; cursor: pointer; font-family: inherit; text-decoration: none; transition: .14s; border: 1.5px solid transparent; }
.hbtn svg { width: 16px; height: 16px; }
.hbtn--primary { background: var(--iav-brand-deep); color: #fff !important; border-color: var(--iav-brand-deep); }
.hbtn--primary:hover { background: var(--iav-brand-deep2, #0a6061); color: #fff !important; }
.hbtn--ghost { background: #fff; color: var(--iav-ink) !important; border-color: var(--iav-line); }
.hbtn--ghost:hover { border-color: var(--iav-brand-soft2); }

.v2-formats { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.v2-fmt { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--iav-line); border-radius: 10px; padding: 7px 12px; font-weight: 700; font-size: 12.5px; color: var(--iav-ink); }
.v2-fmt svg { width: 13px; height: 13px; color: var(--iav-brand-ink); }
.v2-fmt--muted { color: var(--iav-muted); border-color: var(--iav-line-soft); }

/* Popular panel: Icon of the Day card + auto-scrolling strip */
.home-popular-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; }

.home-iotd-card { background: linear-gradient(135deg, var(--iav-brand-deep) 0%, var(--iav-brand) 100%); border-radius: 18px; padding: 20px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none; color: #fff; overflow: hidden; transition: opacity .14s; }
.home-iotd-card:hover { opacity: .92; }
.home-iotd-card__badge { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; display: block; margin-bottom: 6px; }
.home-iotd-card__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.home-iotd-card__cat { font-size: 12px; opacity: .65; margin-top: 4px; text-transform: capitalize; }
.home-iotd-card__icon { width: 58px; height: 58px; flex-shrink: 0; background: rgba(255,255,255,.18); border-radius: 14px; display: grid; place-items: center; padding: 11px; }
.home-iotd-card__icon img { width: 36px; height: 36px; filter: brightness(0) invert(1); }

.home-icon-strip { background: #fff; border: 1px solid var(--iav-line); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(12,40,50,.07); width: 100%; min-width: 0; }
.home-icon-strip__hd { display: flex; align-items: center; gap: 6px; padding: 10px 14px 8px; font-size: 11.5px; font-weight: 700; color: var(--iav-muted); border-bottom: 1px solid var(--iav-line-soft); }
.home-icon-strip__hd svg { width: 12px; height: 12px; color: var(--iav-brand); }
.home-icon-strip__runner { overflow: hidden; padding: 10px 0; width: 100%; }
.home-icon-strip__track { display: flex; gap: 8px; width: max-content; animation: icon-strip 22s linear infinite; padding: 0 8px; }
.home-icon-strip__track:hover { animation-play-state: paused; }
@keyframes icon-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.home-icon-strip__tile { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--iav-bg-soft); border: 1px solid var(--iav-line-soft); display: grid; place-items: center; }
.home-icon-strip__tile img { width: 28px; height: 28px; }
.home-icon-strip__ft { display: flex; gap: 14px; padding: 8px 14px 12px; font-size: 11.5px; font-weight: 700; color: var(--iav-muted); border-top: 1px solid var(--iav-line-soft); }
.home-icon-strip__ft span { display: flex; align-items: center; gap: 4px; }
.home-icon-strip__ft svg { width: 12px; height: 12px; }
/* Keep v3-tile for broken-SVG handler reference */
.v3-tile { display: none; }

/* Season strip */
.v3-season { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1px solid var(--iav-line); border-left: 4px solid var(--iav-brand); border-radius: 14px; padding: 12px 18px; background: #fff; cursor: pointer; transition: box-shadow .14s; box-shadow: var(--iav-shadow-sm); font-family: inherit; text-decoration: none; color: inherit; }
.v3-season:hover { box-shadow: var(--iav-shadow-md); color: inherit; text-decoration: none; }
.v3-season__ic { width: 38px; height: 38px; border-radius: 10px; background: var(--iav-brand-soft); color: var(--iav-brand-ink); display: grid; place-items: center; flex-shrink: 0; }
.v3-season__ic svg { width: 20px; height: 20px; }
.v3-season__txt { flex: 1; font-size: 14px; font-weight: 600; color: var(--iav-ink); min-width: 0; }
.v3-season__txt b { font-weight: 800; }
.v3-season__cd { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--iav-brand-ink); white-space: nowrap; }
.v3-season__cd svg { width: 14px; height: 14px; }
.v3-season__cta { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--iav-brand-ink); white-space: nowrap; }
.v3-season__cta svg { width: 14px; height: 14px; }
/* Today variant of the season strip */
.v3-season--today { background: #f0fbf6; border-color: #b6ebd4; border-left-color: #1f8a4c; animation: today-pulse 2.4s ease-in-out infinite; }
@keyframes today-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(31,138,76,.12); } 50% { box-shadow: 0 0 0 6px rgba(31,138,76,.0); } }
.v3-season__today-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; color: #1f8a4c; background: #d4f5e4; border-radius: 20px; padding: 4px 12px; white-space: nowrap; letter-spacing: .02em; }

/* Countdown today state */
.occ-countdown--today { align-items: center; justify-content: center; min-width: 180px; }
.occ-today-msg { text-align: center; color: #fff; }
.occ-today-msg span { font-size: 38px; display: block; margin-bottom: 6px; }
.occ-today-msg b { font-size: 20px; font-weight: 800; line-height: 1.25; display: block; }

/* Spotlight */
.v3-spot { margin-top: -60px; position: relative; z-index: 5; display: flex; flex-direction: column; gap: 16px; }

/* Homepage trending leaderboard */
.home-trending { padding-top: 52px; }
.home-trending__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-trend-card {
  --trend-accent: var(--iav-brand);
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  padding: 22px; border: 1px solid var(--iav-line); border-radius: 20px;
  background: #fff; box-shadow: var(--iav-shadow-sm);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.home-trend-card:hover { transform: translateY(-3px); box-shadow: var(--iav-shadow-md); border-color: var(--iav-brand-soft2); }
.home-trend-card__head { display: flex; align-items: center; gap: 10px; }
.home-trend-card__metric { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--trend-accent) 13%, #fff); color: var(--trend-accent); }
.home-trend-card__metric svg { width: 18px; height: 18px; }
.home-trend-card__label { color: var(--iav-muted); font-size: 12px; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.home-trend-card__growth { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 20px; background: #e7f6ec; color: #218f50; font-size: 12px; font-weight: 800; }
.home-trend-card__growth svg { width: 14px; height: 14px; }
.home-trend-card__hero { display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.home-trend-card__hero:hover { color: inherit; text-decoration: none; }
.home-trend-card__tile { width: 82px; height: 82px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; background: color-mix(in srgb, var(--trend-accent) 12%, #fff); }
.home-trend-card__tile img { width: 46px; height: 46px; object-fit: contain; }
.home-trend-card__name { display: block; color: var(--iav-ink); font-family: 'Paytone One', 'Montserrat', sans-serif; font-size: 20px; font-weight: 400; line-height: 1.2; }
.home-trend-card__meta { display: block; margin-top: 5px; color: var(--iav-muted); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-trend-card__stat { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.home-trend-card__stat strong { color: var(--iav-ink); font-family: 'Paytone One', 'Montserrat', sans-serif; font-size: 28px; font-weight: 400; line-height: 1; }
.home-trend-card__stat span { color: var(--iav-muted); font-size: 13px; font-weight: 600; }
.home-trend-card__actions { display: flex; gap: 10px; margin-top: auto; }
.home-trend-btn { min-height: 46px; border: 1px solid var(--iav-line); border-radius: 12px; background: #fff; color: var(--iav-text); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .14s, border-color .14s, color .14s; }
.home-trend-btn svg { width: 18px; height: 18px; }
.home-trend-btn--primary { flex: 1; padding: 0 16px; border-color: var(--trend-accent); background: var(--trend-accent); color: #fff; }
.home-trend-btn--primary:hover { filter: brightness(.94); }
.home-trend-btn--icon { width: 48px; flex-shrink: 0; }
.home-trend-btn--icon:hover { border-color: var(--iav-brand-soft2); background: var(--iav-bg-soft); }
.home-trend-card--feature { border-color: transparent; background: linear-gradient(145deg, #117f80, #086a6c); color: #fff; }
.home-trend-card--feature:hover { border-color: transparent; }
.home-trend-card--feature .home-trend-card__metric { background: rgba(255,255,255,.2); color: #fff; }
.home-trend-card--feature .home-trend-card__label { color: rgba(255,255,255,.78); }
.home-trend-card--feature .home-trend-card__growth { background: rgba(255,255,255,.2); color: #fff; }
.home-trend-card--feature .home-trend-card__tile { background: rgba(255,255,255,.18); }
.home-trend-card--feature .home-trend-card__tile img { filter: brightness(0) invert(1); }
.home-trend-card--feature .home-trend-card__name,
.home-trend-card--feature .home-trend-card__stat strong { color: #fff; }
.home-trend-card--feature .home-trend-card__meta,
.home-trend-card--feature .home-trend-card__stat span { color: rgba(255,255,255,.8); }
.home-trend-card--feature .home-trend-btn--primary { border-color: #fff; background: #fff; color: #087071; }
.home-trend-card--feature .home-trend-btn--icon { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff; }
.home-trending-rail { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 13px 16px; border: 1px solid var(--iav-line); border-radius: 16px; background: var(--iav-bg-soft); overflow: hidden; }
.home-trending-rail__label { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; color: var(--iav-ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.home-trending-rail__label svg { width: 16px; height: 16px; color: #e8740c; }
.home-trending-rail__track { display: flex; gap: 10px; min-width: 0; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: thin; }
.home-trending-chip { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; padding: 6px 13px 6px 7px; border: 1px solid var(--iav-line); border-radius: 30px; background: #fff; color: inherit; text-decoration: none; transition: transform .14s, border-color .14s, background .14s; }
.home-trending-chip:hover { transform: translateY(-1px); border-color: var(--iav-brand); background: var(--iav-brand-soft); color: inherit; text-decoration: none; }
.home-trending-chip__icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--iav-brand-soft); overflow: hidden; }
.home-trending-chip__icon img { width: 17px; height: 17px; object-fit: contain; }
.home-trending-chip strong { color: var(--iav-ink); font-size: 13px; font-weight: 700; }
.home-trending-chip > span:last-child { color: var(--iav-muted); font-size: 12px; font-weight: 700; }

/* Shared section */
.v2-sec { padding: 60px 0; }
.v2-sec--soft { background: var(--iav-bg-soft); }
.v2-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.v2-sechead h2 { font-size: 24px; font-weight: 800; color: var(--iav-ink); margin: 0 0 4px; }
.v2-sechead p { font-size: 14px; color: var(--iav-muted); margin: 0; }
.v2-sechead--center { flex-direction: column; align-items: center; text-align: center; }
.v3-linkbtn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--iav-brand-ink); text-decoration: none; white-space: nowrap; }
.v3-linkbtn:hover { color: var(--iav-brand-deep); text-decoration: none; }
.v3-linkbtn svg { width: 15px; height: 15px; }

/* Category pills */
.v2-catpreview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v2-catpill { display: flex; align-items: center; gap: 13px; border: 1px solid var(--iav-line); background: #fff; border-radius: 14px; padding: 14px 16px; cursor: pointer; text-decoration: none; color: inherit; transition: transform .14s, box-shadow .14s, border-color .14s; }
.v2-catpill:hover { transform: translateY(-2px); box-shadow: var(--iav-shadow-md); border-color: var(--iav-brand-soft2); color: inherit; text-decoration: none; }
.v2-catpill__ic { width: 42px; height: 42px; border-radius: 10px; background: var(--iav-brand-soft); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.v2-catpill__ic img { width: 22px; height: 22px; }
.v2-catpill__name { font-weight: 700; font-size: 14px; color: var(--iav-ink); display: block; }
.v2-catpill__count { font-size: 12px; color: var(--iav-muted); font-weight: 600; }

/* Style row */
.v3-stylerow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v3-stylecard { border: 0; border-radius: 16px; padding: 20px 20px 16px; text-align: left; cursor: pointer; transition: transform .16s, box-shadow .16s; text-decoration: none; display: flex; flex-direction: column; }
.v3-stylecard:hover { transform: translateY(-3px); box-shadow: var(--iav-shadow-md); text-decoration: none; }
.v3-stylecard__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.v3-stylecard__name { font-weight: 800; font-size: 16px; }
.v3-stylecard__count { font-size: 13px; font-weight: 700; opacity: .8; }
.v3-stylecard__glyphs { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; margin-bottom: 16px; }
.v3-stylecard__glyphs span { width: 44px; height: 44px; background: rgba(255,255,255,.65); border-radius: 10px; display: grid; place-items: center; }
.v3-stylecard__glyphs span svg { width: 20px; height: 20px; }
.v3-stylecard__explore { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.v3-stylecard__explore svg { width: 13px; height: 13px; }

/* Pack cards */
.v3-packgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.v3-packcard { border: 1px solid var(--iav-line); border-radius: 16px; padding: 18px; background: #fff; display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; transition: box-shadow .14s, border-color .14s; }
.v3-packcard:hover { box-shadow: var(--iav-shadow-md); border-color: var(--iav-brand-soft2); color: inherit; text-decoration: none; }
.v3-packcard__cover { width: 52px; height: 52px; border-radius: 12px; background: var(--iav-brand-soft); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.v3-packcard__cover img { width: 28px; height: 28px; }
.v3-packcard__name { font-weight: 700; font-size: 14px; color: var(--iav-ink); margin-bottom: 3px; }
.v3-packcard__meta { font-size: 12.5px; color: var(--iav-muted); font-weight: 600; }

/* Tools grid */
.home-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.htool { border: 1px solid var(--iav-line); border-radius: 16px; padding: 28px 24px; text-align: center; background: #fff; cursor: pointer; transition: transform .16s, box-shadow .16s, border-color .14s; text-decoration: none; display: block; color: inherit; }
.htool:hover { transform: translateY(-3px); box-shadow: var(--iav-shadow-md); border-color: var(--iav-brand-soft2); color: inherit; text-decoration: none; }
.htool__ic { width: 52px; height: 52px; background: var(--iav-brand-soft); border-radius: 14px; display: grid; place-items: center; margin: 0 auto 14px; color: var(--iav-brand-ink); }
.htool__ic svg { width: 26px; height: 26px; }
.htool__name { font-weight: 800; font-size: 17px; color: var(--iav-ink); margin-bottom: 6px; }
.htool p { font-size: 14px; color: var(--iav-text); margin: 0; line-height: 1.5; }

/* Figma band */
.figma-band { background: var(--iav-bg-soft); padding: 64px 0; border-top: 1px solid var(--iav-line-soft); border-bottom: 1px solid var(--iav-line-soft); }
.figma-band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.figma-band__copy h2 { font-size: 26px; font-weight: 800; color: var(--iav-ink); margin: 0 0 12px; }
.figma-band__copy p { font-size: 15px; color: var(--iav-text); line-height: 1.6; margin: 0 0 24px; max-width: 420px; }
.figma-band__art { display: flex; justify-content: center; }
.figma-card { background: var(--iav-ink); border-radius: 20px; padding: 20px; width: 280px; color: #fff; }
.figma-card__hd { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.figma-card__hd svg { width: 16px; height: 16px; }
.figma-card__search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 9px; padding: 10px 14px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.figma-card__search svg { width: 14px; height: 14px; }
.figma-card__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.figma-card__grid span { aspect-ratio: 1; background: rgba(255,255,255,.08); border-radius: 9px; display: grid; place-items: center; }
.figma-card__grid span svg { width: 20px; height: 20px; }

/* Blog cards */
.home-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blogcard { border: 1px solid var(--iav-line); border-radius: 16px; overflow: hidden; background: #fff; transition: transform .16s, box-shadow .16s; text-decoration: none; color: inherit; display: block; }
.blogcard:hover { transform: translateY(-3px); box-shadow: var(--iav-shadow-md); color: inherit; text-decoration: none; }
.blogcard__cover { height: 120px; display: flex; align-items: center; justify-content: center; }
.blogcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.blogcard__cover svg { width: 40px; height: 40px; opacity: .5; }
.blogcard__body { padding: 16px 18px; }
.blogcard__body h3 { font-size: 14.5px; font-weight: 700; color: var(--iav-ink); margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blogcard__meta { font-size: 12.5px; color: var(--iav-muted); font-weight: 600; }

/* Closing CTA */
.v2-cta { background: linear-gradient(135deg, var(--iav-brand-deep), var(--iav-brand-ink)); color: #fff; padding: 62px 0; }
.v2-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.v2-cta__copy h2 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.15; }
.v2-cta__copy p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.6; margin: 0 0 24px; max-width: 420px; }
.v2-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cbtn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 13px 22px; font-weight: 700; font-size: 14.5px; cursor: pointer; font-family: inherit; text-decoration: none; transition: .14s; border: 1.5px solid transparent; }
.cbtn svg { width: 16px; height: 16px; }
.cbtn--white { background: #fff; color: var(--iav-brand-deep) !important; }
.cbtn--white:hover { opacity: .9; }
.cbtn--ghost-w { background: rgba(255,255,255,.14); color: #fff !important; border-color: rgba(255,255,255,.3); }
.cbtn--ghost-w:hover { background: rgba(255,255,255,.22); }
.v2-cta__art { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.home-footer-spacer { height: 92px; background: #fff; }
.v2-collchip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 20px; margin-bottom: 18px; }
.v2-collchip svg { width: 14px; height: 14px; }
.v2-collgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 220px; }
.v2-collgrid span { aspect-ratio: 1; background: rgba(255,255,255,.1); border-radius: 12px; display: grid; place-items: center; color: #fff; }
.v2-collgrid span svg { width: 22px; height: 22px; }

/* ── Icons Landing V2 ── */
.iv2-console {
  background: linear-gradient(160deg, var(--iav-brand-ink) 0%, var(--iav-brand) 100%);
  color: #fff;
  padding: 56px 0 52px;
}
.iv2-console__head h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.06;
  font-family: 'Paytone One', 'Montserrat', sans-serif;
}
.iv2-console__head p {
  font-size: 16px;
  color: rgba(255,255,255,.86);
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}
.iv2-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 10px 10px 10px 20px;
  box-shadow: 0 20px 56px rgba(12,60,70,.3);
  /* no max-width — full container width */
}
.iv2-search svg.iv2-lead { width: 18px; height: 18px; color: var(--iav-muted); flex-shrink: 0; }
.iv2-search input { flex: 1; border: 0; outline: 0; font-size: 15px; color: var(--iav-ink); background: transparent; font-family: inherit; min-width: 0; }
.iv2-search input::placeholder { color: var(--iav-faint); }
.iv2-search__fmt { display: flex; gap: 3px; flex-shrink: 0; border-left: 1px solid var(--iav-line); padding-left: 10px; margin-left: 4px; }
.iv2-search__fmt button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--iav-muted);
  cursor: pointer;
  font-family: inherit;
  transition: .12s;
}
.iv2-search__fmt button.is-on {
  background: var(--iav-brand-soft);
  border-color: var(--iav-brand-soft2);
  color: var(--iav-brand-ink);
}
.iv2-search__go {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--iav-brand-ink);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background .14s;
  text-decoration: none;
}
.iv2-search__go:hover { background: var(--iav-brand-deep); color: #fff; text-decoration: none; }
.iv2-search__go svg { width: 15px; height: 15px; }

/* Console footer: single row, trending left + tools right */
.iv2-consolefoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
  /* no max-width — spans full container */
}
.iv2-trendrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.72);
}
.iv2-trendrow span { font-weight: 700; color: rgba(255,255,255,.9); }
.iv2-trendrow a {
  color: rgba(255,255,255,.88);
  font-weight: 600;
  text-decoration: none;
  transition: color .12s;
  font-size: 13px;
}
.iv2-trendrow a:hover { color: #fff; text-decoration: underline; }
.iv2-tools-row { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.iv2-tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  color: #fff;
  border-radius: 30px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  transition: background .14s;
  text-decoration: none;
  white-space: nowrap;
}
.iv2-tool:hover { background: rgba(255,255,255,.26); color: #fff; text-decoration: none; }
.iv2-tool svg { width: 14px; height: 14px; }

.iv2-sec { padding: 56px 0; }
.iv2-sec--soft { background: var(--iav-bg-soft); }
.iv2-sechead { margin-bottom: 26px; }
.iv2-sechead h2 { font-size: 22px; font-weight: 800; color: var(--iav-ink); margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.iv2-sechead p { font-size: 14px; color: var(--iav-muted); margin: 0; }
.hotpill { display: inline-flex; align-items: center; gap: 5px; background: #fff1eb; color: #c2410c; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 3px 10px; }
.hotpill svg { width: 12px; height: 12px; }

.iv2-trend { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.iv2-trend__cell {
  background: #fff;
  border: 1px solid var(--iav-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .14s, box-shadow .14s, transform .12s;
  padding: 18px 8px 12px;
  font-family: inherit;
  min-height: 90px;
}
.iv2-trend__cell:hover { border-color: var(--iav-brand-soft2); box-shadow: var(--iav-shadow-md); transform: translateY(-2px); }
.iv2-trend__cell img { width: 38px; height: 38px; }
.iv2-trend__name { font-size: 11px; font-weight: 600; color: var(--iav-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }

.iv2-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.iv2-style { border-radius: var(--iav-radius-lg); padding: 20px 20px 16px; cursor: pointer; border: 0; transition: transform .16s, box-shadow .16s; text-decoration: none; display: flex; flex-direction: column; color: inherit; }
.iv2-style:hover { transform: translateY(-3px); box-shadow: var(--iav-shadow-md); color: inherit; text-decoration: none; }
.iv2-style__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.iv2-style__name { font-weight: 800; font-size: 16px; }
.iv2-style__count { font-size: 13px; font-weight: 700; opacity: .8; }
.iv2-style__grid { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; margin-bottom: 16px; }
.iv2-style__cell { width: 40px; height: 40px; flex-shrink: 0; background: rgba(255,255,255,.65); border-radius: 10px; display: grid; place-items: center; }
.iv2-style__cell svg { width: 20px; height: 20px; }
.iv2-style__cta { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.iv2-style__cta svg { width: 13px; height: 13px; }

/* Homepage: compact single-row layout — all 6 style cards side by side */
.iv2-styles--row { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.iv2-styles--row .iv2-style { padding: 14px 14px 12px; }
.iv2-styles--row .iv2-style__name { font-size: 14px; }
.iv2-styles--row .iv2-style__count { font-size: 11px; }
.iv2-styles--row .iv2-style__grid { gap: 5px; margin-bottom: 0; }
.iv2-styles--row .iv2-style__cell { width: 32px; height: 32px; border-radius: 8px; }
.iv2-styles--row .iv2-style__cell svg { width: 16px; height: 16px; }

.iv2-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.iv2-catchip { display: flex; align-items: center; gap: 12px; border: 1px solid var(--iav-line); background: #fff; border-radius: 13px; padding: 12px 14px; text-decoration: none; color: inherit; transition: border-color .14s, box-shadow .14s; }
.iv2-catchip:hover { border-color: var(--iav-brand-soft2); box-shadow: var(--iav-shadow-sm); color: inherit; text-decoration: none; }
.iv2-catchip__ic { width: 38px; height: 38px; background: var(--iav-brand-soft); border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.iv2-catchip__ic img { width: 20px; height: 20px; }
.iv2-catchip__body { flex: 1; min-width: 0; }
.iv2-catchip__name { font-weight: 700; font-size: 13.5px; color: var(--iav-ink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv2-catchip__count { font-size: 12px; color: var(--iav-muted); font-weight: 600; }
.iv2-catchip__arr { width: 14px; height: 14px; color: var(--iav-faint); flex-shrink: 0; }
.iv2-center { text-align: center; margin-top: 24px; }

.iv2-occ { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.iv2-occcard { border: 1px solid var(--iav-line); border-radius: 16px; padding: 18px 14px; background: #fff; text-align: center; transition: transform .16s, box-shadow .16s, border-color .14s; text-decoration: none; color: inherit; display: block; }
.iv2-occcard:hover { transform: translateY(-3px); box-shadow: var(--iav-shadow-md); border-color: var(--iav-brand-soft2); color: inherit; text-decoration: none; }
.iv2-occcard__art { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 10px; }
.iv2-occcard__art svg { width: 24px; height: 24px; }
.iv2-occcard__name { font-weight: 700; font-size: 13px; color: var(--iav-ink); margin-bottom: 3px; }
.iv2-occcard__count { font-size: 12px; color: var(--iav-muted); font-weight: 600; }

.iv2-packgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.iv2-faq { max-width: 860px; }

/* Responsive for homepage + icons landing */
@media (max-width: 1024px) {
  .v3-stylerow  { grid-template-columns: repeat(2, 1fr); }
  .iv2-trend    { grid-template-columns: repeat(5, 1fr); }
  .iv2-occ      { grid-template-columns: repeat(3, 1fr); }
  .iv2-styles   { grid-template-columns: 1fr 1fr; }
  .iv2-styles--row { grid-template-columns: repeat(3, 1fr); }
  .iv2-packgrid { grid-template-columns: 1fr 1fr; }
  .v3-hero h1   { font-size: 50px; }
}
@media (max-width: 860px) {
  .v3-hero__grid    { grid-template-columns: 1fr; padding: 44px 0 64px; }
  .v3-hero h1       { font-size: 48px; }
  .home-popular-panel { display: none; }
  .v3-spot          { margin-top: 0; }
  .home-trending__grid { grid-template-columns: 1fr; }
  .v2-catpreview    { grid-template-columns: 1fr 1fr; }
  .v3-stylerow      { grid-template-columns: repeat(2, 1fr); }
  .home-tools       { grid-template-columns: 1fr 1fr; }
  .home-blog        { grid-template-columns: 1fr 1fr; }
  .figma-band__grid { grid-template-columns: 1fr; }
  .figma-band__art  { display: none; }
  .v2-cta__grid     { grid-template-columns: 1fr; }
  .v2-cta__art      { display: none; }
  .v3-packgrid      { grid-template-columns: 1fr 1fr; }
  .iv2-cats         { grid-template-columns: 1fr 1fr; }
  .iv2-occ          { grid-template-columns: repeat(3, 1fr); }
  .iv2-styles       { grid-template-columns: 1fr 1fr; }
  .iv2-styles--row  { grid-template-columns: repeat(2, 1fr); }
  .iv2-packgrid     { grid-template-columns: 1fr 1fr; }
  .iv2-trend        { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .v3-hero h1           { font-size: 36px; }
  .iv2-console__head h1 { font-size: 30px; }
  .home-trending { padding-top: 40px; }
  .home-trending-rail { align-items: flex-start; flex-direction: column; gap: 10px; }
  .home-footer-spacer { height: 56px; }
  .home-tools           { grid-template-columns: 1fr; }
  .home-blog            { grid-template-columns: 1fr; }
  .v3-packgrid          { grid-template-columns: 1fr; }
  .iv2-trend            { grid-template-columns: repeat(4, 1fr); }
  .iv2-occ              { grid-template-columns: repeat(2, 1fr); }
  .iv2-cats             { grid-template-columns: 1fr; }
  .v2-catpreview        { grid-template-columns: 1fr; }
  .iv2-search           { flex-wrap: wrap; }
  .iv2-search__fmt      { display: none; }
  .v3-stylerow          { grid-template-columns: 1fr 1fr; }
  .iv2-packgrid         { grid-template-columns: 1fr; }
}
