/* Ribbon (2026-10-29). A berry-and-cream gift shop look over the platform
   storefront (body.sf.rb). Not only colours and fonts: the soft bands have
   scalloped edges like gift-box paper, collection tiles and story photos are
   arches, the banner words sit on a cream card, the gifting steps are round
   berry badges, product cards are soft blush tiles with serif names, and the
   product page carries a gift-tag note. Everything stays the platform's own
   markup, so the editor, owner colours, logo, menus and later platform fixes
   keep working. */

body.rb {
  --bg: var(--rb-cream); --paper: #fffaf6;
  --soft: color-mix(in srgb, var(--ink) 68%, var(--rb-cream));
  --line: color-mix(in srgb, var(--accent) 16%, var(--rb-cream));
  --line-strong: color-mix(in srgb, var(--accent) 32%, var(--rb-cream));
  --tint: var(--rb-blush);
  --r-card: 22px; --r-btn: 999px;
  --rb-scallop: 22px;
  background: var(--rb-cream); color: var(--ink);
}
body.rb h1, body.rb h2, body.rb h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-variation-settings: "opsz" 96, "SOFT" 100; }
body.rb .sfb-sec { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }

/* ── bar and header ───────────────────────────────────────────────────── */
body.rb .sfb-bar { font-size: .84rem; font-weight: 500; letter-spacing: .02em; padding: .65rem 1rem; }
body.rb .sfb-bar a { text-decoration: none; }
body.rb .shoptop, body.rb .shophead { background: var(--rb-cream); }
body.rb .shophead { border-bottom: 1px solid var(--line); }
body.rb .shopbrand__mark { background: var(--accent); color: #fff; border-radius: 999px; font-family: var(--display); font-style: italic; font-weight: 500; }
body.rb .shopbrand__name { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.45rem; letter-spacing: -.01em; color: var(--accent-text); }
body.rb .shopnav__link { font-weight: 500; color: var(--soft); border-radius: 999px; padding: 9px 14px; }
body.rb .shopnav__link:hover { color: var(--ink); background: var(--rb-blush); }
body.rb .shopnav__link.is-on, body.rb .shopnav__link[aria-current] { color: var(--accent-text); background: var(--rb-blush); }
body.rb .shopnav__link.is-on::after { display: none; }
body.rb .headsearch { background: var(--paper); border-color: var(--line); border-radius: 999px; }
body.rb .cartlink { background: var(--accent); color: #fff; border-color: var(--accent); }
body.rb .cartlink__count { background: #fff; color: var(--accent-text); }

/* ── headings and buttons ─────────────────────────────────────────────── */
body.rb .sfb-h, body.rb .shelf__title h2, body.rb .shelf__head h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.02; text-align: center; margin-bottom: clamp(1.6rem, 3.6vw, 2.8rem); }
body.rb .sfb-h::after { content: ""; display: block; width: 46px; height: 12px; margin: .8rem auto 0;
  background: radial-gradient(circle at 6px 6px, var(--accent) 3px, transparent 3.5px) 0 0 / 17px 12px repeat-x; }
body.rb .sfb-btn, body.rb button.sfb-btn, body.rb .buybtn {
  background: var(--btn-bg, var(--accent)); color: #fff; border-radius: 999px; font-family: var(--body); font-weight: 600;
  font-size: 1rem; min-height: 52px; padding: 0 1.9rem; box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: background .2s ease, transform .2s ease; }
body.rb .sfb-btn:hover, body.rb .buybtn:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
body.rb .buybtn--ghost { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); }
body.rb .buybtn--ghost:hover { background: var(--rb-blush); color: var(--accent-text); }
body.rb .sfb-btn:focus-visible, body.rb .buybtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.rb .sfb-more { color: var(--accent-text); }

/* ── banner: a cream card on the photo ────────────────────────────────── */
body.rb .sfb-hero.sfb-hc .sfb-in { max-width: 1180px; }
body.rb .sfb-hcard { max-width: 31rem; border-radius: 28px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 30px 60px -30px rgba(58, 20, 36, .45); position: relative; }
body.rb .sfb-hcard::before { content: ""; position: absolute; top: -1px; left: clamp(1.6rem, 4vw, 3rem); width: 54px; height: 24px; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 70%, 0 100%); }
body.rb .sfb-hero h2 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: .98; font-weight: 500; margin-top: .6rem; }
body.rb .sfb-hero p { font-size: 1.1rem; line-height: 1.55; }
body.rb .sfb-hero:not(.sfb-hc) h2 { font-style: italic; }

/* ── collections: arches with the name on a cream ribbon ──────────────── */
body.rb .sfb-tiles { gap: clamp(.8rem, 2.4vw, 1.8rem); }
body.rb .sfb-tile, body.rb .sfb-tiles--wide .sfb-tile { aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px; background: var(--rb-blush); color: var(--ink); }
body.rb .sfb-tile.sfb-has-img::after { background: linear-gradient(0deg, rgba(58, 20, 36, .28), rgba(58, 20, 36, 0) 40%); }
body.rb .sfb-tile span { left: 50%; right: auto; bottom: 1.1rem; transform: translateX(-50%); white-space: nowrap; max-width: calc(100% - 1.5rem); overflow: hidden; text-overflow: ellipsis;
  padding: .5rem 1.1rem; border-radius: 999px; background: var(--rb-cream); color: var(--ink); font-family: var(--display); font-weight: 500; font-size: clamp(.98rem, 1.8vw, 1.15rem); box-shadow: 0 6px 16px -10px rgba(58, 20, 36, .5); }

/* ── product cards: blush tiles, serif names, berry prices ────────────── */
body.rb .sfb-card img, body.rb .card__imgwrap { border-radius: 22px; background: var(--rb-blush); }
body.rb .sfb-card span { font-family: var(--display); font-weight: 500; font-size: 1.12rem; text-align: center; margin-top: .8rem; }
body.rb .sfb-card small { text-align: center; color: var(--accent-text); opacity: 1; font-weight: 600; }
body.rb .sfb-card .sfb-stars { text-align: center; }
body.rb .card { background: transparent; box-shadow: none; padding: 0; gap: 12px; }
body.rb .card__imgwrap { overflow: hidden; }
body.rb .card__imgwrap img { transition: transform .5s ease; }
body.rb .card:hover .card__imgwrap img { transform: scale(1.04); }
body.rb .card__body { text-align: center; }
body.rb .card__body h2 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.005em; }
body.rb .card__price { color: var(--accent-text); font-weight: 600; }
body.rb .wasprice { color: var(--soft); }
body.rb .salebadge, body.rb .sfb-sale { background: var(--paper); color: var(--accent-text); border-radius: 999px; font-weight: 600; font-size: .76rem; padding: .3rem .75rem; box-shadow: 0 0 0 1px var(--line-strong); }
body.rb .card__stars, body.rb .sfb-stars, body.rb .stars { color: var(--accent); }
body.rb .chip { border-radius: 999px; background: var(--paper); }
body.rb .chip--on { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { body.rb .card__imgwrap img { transition: none; } body.rb .card:hover .card__imgwrap img { transform: none; } }

/* ── soft bands with scalloped edges (gifting steps, sign-up) ─────────── */
body.rb .sfb-sec:has(> .sfb-in > .sfb-cols), body.rb .sfb-news { position: relative; background: var(--rb-blush); margin-top: var(--rb-scallop); margin-bottom: var(--rb-scallop); }
body.rb .sfb-sec:has(> .sfb-in > .sfb-cols)::before, body.rb .sfb-sec:has(> .sfb-in > .sfb-cols)::after,
body.rb .sfb-news::before, body.rb .sfb-news::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--rb-scallop); pointer-events: none;
  background: radial-gradient(circle at 50% 100%, var(--rb-blush) 11px, transparent 11.5px) 0 0 / 26px var(--rb-scallop) repeat-x; }
body.rb .sfb-sec:has(> .sfb-in > .sfb-cols)::before, body.rb .sfb-news::before { top: calc(var(--rb-scallop) * -1); }
body.rb .sfb-sec:has(> .sfb-in > .sfb-cols)::after, body.rb .sfb-news::after { bottom: calc(var(--rb-scallop) * -1); transform: scaleY(-1); }

/* gifting steps: round berry badges */
body.rb .sfb-col { text-align: center; }
body.rb .sfb-col .sfb-ico { width: 76px; height: 76px; padding: 22px; margin: 0 auto 1.2rem; border-radius: 999px; background: var(--accent); color: #fff; box-sizing: border-box; stroke-width: 1.6;
  box-shadow: 0 0 0 6px var(--rb-cream), 0 0 0 7px var(--line-strong); }
body.rb .sfb-col h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
body.rb .sfb-col p { color: var(--soft); opacity: 1; max-width: 30ch; margin-left: auto; margin-right: auto; }
body.rb .sfb-col img { border-radius: 999px 999px 22px 22px; aspect-ratio: 4 / 5; }

/* ── story: an arch photo beside serif words ──────────────────────────── */
body.rb .sfb-it { gap: clamp(1.8rem, 6vw, 5rem); }
body.rb .sfb-it img { aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; }
body.rb .sfb-it .sfb-h { text-align: left; font-style: italic; }
body.rb .sfb-it .sfb-h::after { margin-left: 0; }
body.rb .sfb-it p { font-size: 1.08rem; line-height: 1.7; color: var(--soft); max-width: 44ch; }
body.rb .sfb-it .sfb-btn { margin-top: .6rem; }

/* ── kind words: cream cards with a big berry quote mark ──────────────── */
body.rb .sfb-feat--quotes { gap: clamp(1rem, 2.4vw, 1.6rem); }
body.rb .sfb-quote { position: relative; background: var(--paper); border-radius: 24px; padding: 2.4rem 1.6rem 1.6rem; box-shadow: 0 0 0 1px var(--line); text-align: center; }
body.rb .sfb-quote::before { content: "\201C"; position: absolute; top: -.35em; left: 50%; transform: translateX(-50%); width: 1.3em; height: 1.3em; line-height: 1.45; border-radius: 999px;
  background: var(--accent); color: #fff; font: 500 2.1rem var(--display); }
body.rb .sfb-quote blockquote { font-family: var(--display); font-size: 1.22rem; font-style: italic; line-height: 1.45; }
body.rb .sfb-quote figcaption { font-weight: 600; font-size: .92rem; }
body.rb .sfb-quote figcaption small { color: var(--soft); opacity: 1; }
body.rb .sfb-quote .sfb-stars { letter-spacing: .14em; }

/* ── questions ────────────────────────────────────────────────────────── */
body.rb .sfb-faqs { margin: 0 auto; }
body.rb .sfb-faq { border-bottom: 1px solid var(--line-strong); }
body.rb .sfb-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--display); font-weight: 500; font-size: 1.2rem; padding: 1.2rem 0; }
body.rb .sfb-faq summary::-webkit-details-marker { display: none; }
body.rb .sfb-faq summary::after { content: "+"; flex: none; color: var(--accent); font: 400 1.6rem/1 var(--body); transition: transform .2s ease; }
body.rb .sfb-faq[open] summary::after { transform: rotate(45deg); }
body.rb .sfb-faq p { color: var(--soft); }

/* ── sign-up band ─────────────────────────────────────────────────────── */
body.rb .sfb-news .sfb-h { font-style: italic; }
body.rb .sfb-news input[type=email] { border-radius: 999px; min-height: 52px; padding: 0 1.3rem; border: 1px solid var(--line-strong); background: var(--paper); }

/* ── shop pages ───────────────────────────────────────────────────────── */
body.rb .shelf__title h1 { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; }
body.rb .pcrumb__desc { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--soft); }

/* ── product page: serif title, berry price, a gift tag ───────────────── */
body.rb .gallery__main { border-radius: 26px; background: var(--rb-blush); }
body.rb .thumbs__item { border-radius: 14px; }
body.rb .thumbs__item--on { box-shadow: 0 0 0 2px var(--accent); }
body.rb .pb--title h1, body.rb .productpage__info .pb--title.pb-size-large h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.3rem, 4.2vw, 3.5rem); line-height: 1.02; }
body.rb .pb--price .pricetag--big { color: var(--accent-text); font-weight: 600; }
body.rb .pb--price .savebadge { background: var(--rb-blush); color: var(--accent-text); border-radius: 999px; font-weight: 600; }
body.rb .productpage__desc { font-size: 1.04rem; line-height: 1.7; color: var(--soft); }
body.rb .optionchip, body.rb .addform .variantpick--chips .variantpick__opt { border-radius: 999px; min-height: 46px; padding: .5rem 1.2rem; border: 1.5px solid var(--line-strong); background: var(--paper); font-weight: 500; }
body.rb .optionchip--on, body.rb .variantpick--chips .variantpick__opt:has(input:checked) { border-color: var(--accent); background: var(--rb-blush); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-text); }
body.rb .stepper { border-radius: 999px; background: var(--paper); }
body.rb .pb--note { position: relative; margin-top: 1.4rem; padding: 1.1rem 1.2rem 1.1rem 3.6rem; border-radius: 16px; border: 1.5px dashed var(--line-strong); background: var(--rb-blush); }
body.rb .pb--note::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 26px; height: 26px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM3 7h18v3H3zM12 7v13M12 7C9 7 8 3.5 10.5 4S12 7 12 7zM12 7c3 0 4-3.5 1.5-3S12 7 12 7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM3 7h18v3H3zM12 7v13M12 7C9 7 8 3.5 10.5 4S12 7 12 7zM12 7c3 0 4-3.5 1.5-3S12 7 12 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
body.rb .pb--note .pb__h { margin: 0 0 .25rem; font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--accent-text); }
body.rb .pb--note .pb__body { font-size: .95rem; color: var(--ink); }
body.rb .pb--accordion { border-top-color: var(--line-strong); }
body.rb .pb-acc { border-bottom-color: var(--line-strong); }
body.rb .pb-acc__t { font-family: var(--display); font-weight: 500; font-size: 1.08rem; }
body.rb .trustrow li::before { color: var(--accent); }
body.rb .reviews__stars { color: var(--accent); }

/* ── footer: deep berry ───────────────────────────────────────────────── */
body.rb .shopfoot { background: var(--ink); color: color-mix(in srgb, var(--rb-cream) 82%, var(--ink)); border-top: 0; }
body.rb .shopfoot a { color: inherit; }
body.rb .shopfoot__name { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.9rem; color: var(--rb-cream); }

/* ── phones ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  body.rb { --rb-scallop: 14px; }
  body.rb .sfb-sec:has(> .sfb-in > .sfb-cols)::before, body.rb .sfb-sec:has(> .sfb-in > .sfb-cols)::after,
  body.rb .sfb-news::before, body.rb .sfb-news::after { background-size: 18px var(--rb-scallop); background-image: radial-gradient(circle at 50% 100%, var(--rb-blush) 7.5px, transparent 8px); }
  body.rb .sfb-hero.sfb-hc { align-items: flex-end; padding-bottom: 1rem; }
  body.rb .sfb-hcard { padding: 1.5rem 1.3rem; border-radius: 22px; }
  body.rb .sfb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rb .sfb-tile span { font-size: .92rem; padding: .4rem .8rem; bottom: .7rem; }
  body.rb .sfb-it img { max-width: 100%; }
  body.rb .sfb-col .sfb-ico { width: 64px; height: 64px; padding: 18px; }
  body.rb .card__body h2, body.rb .sfb-card span { font-size: 1rem; }
}
body.rb .sfb-col h3, body.rb .card__body h2, body.rb .sfb-card span { letter-spacing: .005em; }
body.rb .sfb-it { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
body.rb .sfb-it.sfb-right { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 640px) { body.rb .sfb-it, body.rb .sfb-it.sfb-right { grid-template-columns: 1fr; } }
body.rb .sfb-tile span { white-space: normal; width: max-content; text-align: center; }
@media (max-width: 640px) {
  /* collections swipe sideways on a phone, so three or five never leave a gap */
  body.rb .sfb-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; scrollbar-width: none; margin: 0 -1.25rem; padding: 0 1.25rem .4rem; }
  body.rb .sfb-tiles::-webkit-scrollbar { display: none; }
  body.rb .sfb-tile { flex: 0 0 64%; scroll-snap-align: center; }
  /* gifting steps: badge beside the words. Not on photo cards: there the
     title would sit squeezed beside the text (2026-11-02, Holistic Hippie). */
  body.rb .sfb-col:not(:has(img)) { display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; text-align: left; align-items: start; }
  body.rb .sfb-col .sfb-ico { grid-row: span 2; margin: 0; }
  body.rb .sfb-col h3 { margin-top: .3rem; }
  body.rb .sfb-col p { margin-left: 0; }
  body.rb .sfb-col > img, body.rb .sfb-col > a { grid-column: 1 / -1; }
}
@media (max-width: 640px) { body.rb .gallery__main { border-radius: 0; } }
