/* Concept C — Modern Creator Commerce   (namespace: cc-)
   Pastel colour panels, sticker details, a phone-and-files product deck, a checkout-style offer. Cairo only. */
@font-face { font-family: "Cairo"; src: url("../../assets/fonts/cairo-arabic.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; src: url("../../assets/fonts/cairo-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cairo"; src: url("../../assets/fonts/cairo-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.cc {
  /* customisable tokens */
  --cc-ink: #17151f;
  --cc-pink: #d6246e;          /* creator accent + primary action */
  --cc-pink-press: #a81a55;
  --cc-butter: #ffe46b;
  --cc-lilac: #e8e2ff;
  --cc-mint: #d3f2e3;
  --cc-sky: #d6e6ff;
  --cc-muted: #55526a;
  --cc-line: #e2ddf0;
  --cc-font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --cc-pad: 18px;

  margin: 0;
  background: #fff;
  color: var(--cc-ink);
  font-family: var(--cc-font);
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
}
.cc *, .cc *::before, .cc *::after { box-sizing: border-box; }
.cc a { color: inherit; }
.cc button { font-family: inherit; }
.cc :focus-visible { outline: 3px solid var(--cc-pink); outline-offset: 3px; border-radius: 8px; }
.cc-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--cc-pad); }
.cc-num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.cc-skip { position: absolute; inset-inline-start: 12px; top: -90px; background: var(--cc-ink); color: #fff !important; padding: 10px 18px; z-index: 100; border-radius: 10px; }
.cc-skip:focus { top: 10px; }
.cc-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.cc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 28px; border: 2px solid var(--cc-ink); border-radius: 999px; background: var(--cc-pink); color: #fff !important; font-weight: 800; font-size: 1.1rem; line-height: 1.3; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s; box-shadow: 0 4px 0 var(--cc-ink); }
.cc-btn:hover { background: #e2307a; transform: translateY(-1px); box-shadow: 0 5px 0 var(--cc-ink); }
.cc-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--cc-ink); background: var(--cc-pink-press); }
.cc-btn--ghost { background: #fff; color: var(--cc-ink) !important; }
.cc-btn--ghost:hover { background: var(--cc-butter); }
.cc-btn--ink { background: var(--cc-ink); box-shadow: 0 4px 0 var(--cc-pink); border-color: var(--cc-ink); }
.cc-btn--ink:hover { background: #2a2736; }
.cc-btn--block { width: 100%; }
.cc-btn--sm { min-height: 42px; padding: 4px 18px; font-size: .95rem; box-shadow: 0 3px 0 var(--cc-ink); }
.cc-btn--xl { min-height: 64px; font-size: 1.25rem; }
.cc-link { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--cc-pink); }
.cc-cta { display: flex; flex-direction: column; gap: 14px; align-items: stretch; margin-top: 28px; }

/* pill header */
.cc-top { padding-block: 14px; }
.cc-top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 2px solid var(--cc-ink); border-radius: 999px; padding: 6px 8px 6px 8px; padding-inline-start: 8px; }
.cc-me { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.25; }
.cc-av { width: 42px; height: 42px; border-radius: 50%; background: var(--cc-butter); border: 2px solid var(--cc-ink); display: grid; place-items: center; font-weight: 900; flex: none; }
.cc-me b { display: block; font-size: 1rem; }
.cc-me small { display: block; color: var(--cc-muted); font-size: .78rem; font-weight: 600; }

/* hero */
.cc-hero-wrap { background: var(--cc-lilac); border-radius: 0 0 36px 36px; }
.cc-hero { padding-block: 18px 52px; }
.cc-hero__grid { display: grid; gap: 40px; align-items: center; }
.cc-by { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--cc-ink); border-radius: 999px; padding: 2px 14px 2px 4px; padding-inline-start: 4px; font-weight: 700; font-size: .92rem; line-height: 1.6; margin-bottom: 18px; }
.cc-by .cc-av { width: 28px; height: 28px; font-size: .8rem; }
.cc-h1 { margin: 0; font-weight: 900; font-size: clamp(2.05rem, 8.2vw, 3.7rem); line-height: 1.27; text-wrap: balance; }
.cc-lead { margin: 16px 0 0; color: var(--cc-muted); font-size: clamp(1.05rem, 3.2vw, 1.2rem); max-width: 31em; line-height: 1.9; }
.cc-stickers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cc-sticker { display: inline-block; padding: 2px 16px; border: 2px solid var(--cc-ink); border-radius: 12px; font-weight: 800; font-size: .92rem; line-height: 1.8; transform: rotate(var(--r, 0deg)); background: var(--bg, #fff); }

/* product deck (replaceable: [data-cv-field=product_media]) */
.cc-deck { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 1 / 1.04; }
.cc-card { position: absolute; border: 2px solid var(--cc-ink); border-radius: 18px; box-shadow: 0 6px 0 var(--cc-ink); transition: transform .9s cubic-bezier(.2, .9, .2, 1.1), opacity .5s; }
.cv-js:not(.cv-ready) .cc-card { transform: translate(var(--fx, 0), 0) rotate(0) scale(.82) !important; opacity: 0; }
.cc-card--pdf { left: 0; top: 6%; width: 44%; aspect-ratio: 3 / 4.1; background: var(--cc-butter); padding: 8% 7%; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-9deg); --fx: 70%; z-index: 1; }
.cc-card--pdf small { font-weight: 800; font-size: clamp(.5rem, 1.7vw, .75rem); line-height: 1.4; }
.cc-card--pdf strong { font-size: clamp(1.05rem, 4.4vw, 1.9rem); font-weight: 900; line-height: 1.2; }
.cc-card--pdf em { font-style: normal; font-weight: 700; font-size: clamp(.5rem, 1.6vw, .72rem); }
.cc-card--pdf i { width: 34%; aspect-ratio: 1; background: var(--cc-pink); border: 2px solid var(--cc-ink); border-radius: 50%; display: block; }
.cc-card--tpl { right: 0; top: 0; width: 38%; background: var(--cc-mint); padding: 6%; display: grid; gap: 6px; transform: rotate(8deg); --fx: -70%; z-index: 1; }
.cc-card--tpl b { font-size: clamp(.5rem, 1.7vw, .75rem); line-height: 1.4; font-weight: 800; }
.cc-phone { position: absolute; left: 57%; bottom: 0; width: 40%; aspect-ratio: 9 / 13.6; translate: -50% 0; background: #fff; border: 3px solid var(--cc-ink); border-radius: 26px; box-shadow: 0 8px 0 var(--cc-ink); padding: 5% 6%; display: grid; gap: 7px; align-content: start; z-index: 3; transition: transform .8s cubic-bezier(.2,.9,.2,1.1), opacity .5s; }
.cv-js:not(.cv-ready) .cc-phone { transform: translateY(40px); opacity: 0; }
.cc-phone__t { font-weight: 900; font-size: clamp(.6rem, 2vw, .9rem); line-height: 1.4; }
.cc-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.cc-days i { aspect-ratio: 1; border-radius: 50%; background: var(--cc-line); }
.cc-days i.on { background: var(--cc-pink); }
.cc-task { display: flex; align-items: center; gap: 5px; background: var(--bg, var(--cc-lilac)); border-radius: 8px; padding: 4px 6px; }
.cc-task::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--cc-ink); flex: none; }
.cc-task.done::before { background: var(--cc-ink); }
.cc-ln { display: block; height: 5px; width: var(--w, 100%); background: rgba(23,21,31,.22); border-radius: 3px; }
.cc-prog { height: 8px; border: 2px solid var(--cc-ink); border-radius: 99px; background: #fff; overflow: hidden; }
.cc-prog i { display: block; height: 100%; width: 66%; background: var(--cc-pink); }
.cc-badge { position: absolute; z-index: 4; right: 2%; bottom: 20%; background: var(--cc-pink); color: #fff; border: 2px solid var(--cc-ink); border-radius: 12px; padding: 0 12px; font-weight: 800; font-size: .85rem; line-height: 1.9; transform: rotate(-6deg); box-shadow: 0 3px 0 var(--cc-ink); }

/* sections */
.cc-section { padding-block: 60px; }
.cc-h2 { margin: 0; font-weight: 900; font-size: clamp(1.7rem, 5.8vw, 2.7rem); line-height: 1.3; text-wrap: balance; max-width: 19em; }
.cc-sub { margin: 10px 0 0; color: var(--cc-muted); max-width: 36em; }
.cc-head { margin-bottom: 28px; }

/* problem / solution toggle */
.cc-seg { display: inline-flex; gap: 4px; padding: 4px; border: 2px solid var(--cc-ink); border-radius: 999px; background: #fff; margin-bottom: 18px; max-width: 100%; }
.cc-seg button { border: 0; background: transparent; padding: 6px 22px; min-height: 44px; border-radius: 999px; font-weight: 800; font-size: 1rem; cursor: pointer; color: var(--cc-ink); }
.cc-seg button[aria-selected="true"] { background: var(--cc-ink); color: #fff; }
.cc-panel { border: 2px solid var(--cc-ink); border-radius: 28px; padding: 26px 22px; background: var(--cc-butter); }
.cc-panel--good { background: var(--cc-mint); }
.cc-panel[hidden] { display: none; }
.cc-panel.is-in { animation: cc-in .3s ease; }
@keyframes cc-in { from { opacity: 0; transform: translateY(8px); } }
.cc-panel h3 { margin: 0 0 14px; font-size: 1.4rem; font-weight: 900; line-height: 1.4; }
.cc-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cc-panel li { background: #fff; border: 2px solid var(--cc-ink); border-radius: 14px; padding: 10px 16px; font-weight: 700; display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.cc-panel li .cc-ico { margin-top: .3em; }
.cc-panel--bad li .cc-ico { color: #b62a3a; }
.cc-panel--good li .cc-ico { color: #0e7a4b; }

/* bento benefits */
.cc-bento { display: grid; gap: 14px; }
.cc-tile { border: 2px solid var(--cc-ink); border-radius: 26px; padding: 24px 22px; display: grid; gap: 8px; align-content: start; background: var(--bg, #fff); color: var(--fg, var(--cc-ink)); }
.cc-tile h3 { margin: 0; font-weight: 900; font-size: 1.35rem; line-height: 1.4; }
.cc-tile p { margin: 0; opacity: .88; }
.cc-tile--pink { --bg: var(--cc-pink); --fg: #fff; }
.cc-tile--butter { --bg: var(--cc-butter); }
.cc-tile--mint { --bg: var(--cc-mint); }
.cc-tile--sky { --bg: var(--cc-sky); }
.cc-mini { margin-top: 10px; display: grid; gap: 7px; }
.cc-mini .cc-task { --bg: #fff; color: var(--cc-ink); }
.cc-swatches { display: flex; gap: 8px; margin-top: 10px; }
.cc-swatches i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cc-ink); }
.cc-bar { height: 12px; border: 2px solid var(--cc-ink); border-radius: 99px; background: #fff; overflow: hidden; margin-top: 10px; }
.cc-bar i { display: block; height: 100%; background: var(--cc-ink); width: var(--w); }

/* contents: file window */
.cc-contents { display: grid; gap: 22px; align-items: start; }
.cc-win { border: 2px solid var(--cc-ink); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 6px 0 var(--cc-ink); }
.cc-win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--cc-lilac); border-bottom: 2px solid var(--cc-ink); font-weight: 800; font-size: .92rem; line-height: 1.4; }
.cc-win__bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--cc-ink); background: #fff; }
.cc-win__bar span { margin-inline-start: 10px; }
.cc-files { list-style: none; margin: 0; padding: 6px 0; }
.cc-files li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--cc-line); }
.cc-files li:first-child { border-top: 0; }
.cc-ft { width: 46px; height: 46px; flex: none; border: 2px solid var(--cc-ink); border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: .78rem; background: var(--bg); line-height: 1; }
.cc-files b { display: block; line-height: 1.4; }
.cc-files small { color: var(--cc-muted); font-weight: 600; line-height: 1.5; display: block; }
.cc-files .cc-ok { margin-inline-start: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cc-mint); border: 2px solid var(--cc-ink); display: grid; place-items: center; flex: none; }
.cc-files .cc-ok .cc-ico { width: 14px; height: 14px; }
.cc-side { background: var(--cc-pink); color: #fff; border: 2px solid var(--cc-ink); border-radius: 26px; padding: 26px 22px; }
.cc-side h3 { margin: 0 0 6px; font-weight: 900; font-size: 1.4rem; line-height: 1.4; }
.cc-side p { margin: 0 0 18px; opacity: .95; }
.cc-side .cc-btn { background: #fff; color: var(--cc-ink) !important; }
.cc-side .cc-btn:hover { background: var(--cc-butter); }

/* offer: checkout-style */
.cc-offer-wrap { background: var(--cc-lilac); border-radius: 36px 36px 0 0; }
.cc-checkout { display: grid; gap: 28px; align-items: start; }
.cc-journey { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: ccj; }
.cc-journey li { counter-increment: ccj; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.cc-journey li::before { content: counter(ccj); width: 36px; height: 36px; flex: none; border: 2px solid var(--cc-ink); border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; }
.cc-co { background: #fff; border: 2px solid var(--cc-ink); border-radius: 28px; padding: 24px 20px; box-shadow: 0 7px 0 var(--cc-ink); }
.cc-co__who { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px dashed var(--cc-line); line-height: 1.3; }
.cc-co__who small { display: block; color: var(--cc-muted); font-weight: 600; font-size: .8rem; }
.cc-co__name { margin: 0; font-weight: 900; font-size: 1.3rem; line-height: 1.4; }
.cc-co fieldset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.cc-co legend { font-weight: 800; font-size: .95rem; margin-bottom: 8px; float: none; width: auto; padding: 0; line-height: 1.5; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip { position: relative; }
.cc-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-chip span { display: inline-block; padding: 4px 18px; border: 2px solid var(--cc-ink); border-radius: 999px; font-weight: 800; background: #fff; line-height: 1.8; }
.cc-chip input:checked + span { background: var(--cc-butter); box-shadow: 0 3px 0 var(--cc-ink); }
.cc-chip input:focus-visible + span { outline: 3px solid var(--cc-pink); outline-offset: 3px; }
.cc-sum { margin: 12px 0 0; font-size: .95rem; color: var(--cc-muted); font-weight: 600; line-height: 1.7; }
.cc-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 14px; line-height: 1; }
.cc-price b { font-size: clamp(3.4rem, 15vw, 4.6rem); font-weight: 900; direction: ltr; }
.cc-price span { font-size: 1.3rem; font-weight: 800; }
.cc-price small { margin-inline-start: auto; color: var(--cc-muted); font-weight: 700; font-size: .9rem; }
.cc-co .cc-link { display: block; text-align: center; margin-top: 16px; }
.cc-foot { background: var(--cc-lilac); padding-block: 10px 30px; font-size: .9rem; color: var(--cc-muted); }
.cc-foot p { margin: 0; max-width: 46em; }

/* sticky pill + toast */
.cc-sticky { position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1030; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; background: #fff; border: 2px solid var(--cc-ink); border-radius: 999px; box-shadow: 0 5px 0 var(--cc-ink); transform: translateY(160%); transition: transform .3s; }
.cc-sticky.is-visible { transform: none; }
.cc-sticky__p { line-height: 1.15; padding-inline-start: 8px; flex: none; }
.cc-sticky__p small { display: block; font-size: .72rem; color: var(--cc-muted); font-weight: 700; }
.cc-sticky__p b { font-size: 1.35rem; font-weight: 900; }
.cc-sticky .cc-btn { flex: 1; min-height: 48px; padding-inline: 12px; box-shadow: none; }
.cc-toast { position: fixed; inset-inline: 16px; bottom: 100px; margin-inline: auto; max-width: 420px; z-index: 1040; background: var(--cc-ink); color: #fff; border-radius: 16px; padding: 12px 18px; font-size: .95rem; line-height: 1.7; opacity: 0; pointer-events: none; transition: opacity .2s; }
.cc-toast.is-visible { opacity: 1; }

@media (min-width: 768px) {
  .cc { --cc-pad: 28px; }
  .cc-section { padding-block: 92px; }
  .cc-cta { flex-direction: row; align-items: center; gap: 18px; }
  .cc-bento { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .cc-tile { grid-column: span 3; }
  .cc-tile--pink { grid-column: span 4; }
  .cc-tile--butter { grid-column: span 2; }
  .cc-tile--mint { grid-column: span 3; }
  .cc-tile--sky { grid-column: span 3; }
  .cc-contents { grid-template-columns: 1.25fr 1fr; gap: 28px; }
  .cc-panel { padding: 32px 30px; }
}
@media (min-width: 992px) {
  .cc { padding-bottom: 0; }
  .cc-sticky { display: none; }
  .cc-hero { padding-block: 28px 80px; }
  .cc-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .cc-checkout { grid-template-columns: 1fr 0.9fr; gap: 64px; align-items: center; }
  .cc-toast { bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc *, .cc *::before, .cc *::after { transition: none !important; animation: none !important; }
  .cv-js:not(.cv-ready) .cc-card, .cv-js:not(.cv-ready) .cc-phone { opacity: 1; transform: none !important; }
}
