/* ==========================================================
   Rate Card — sketchbook pricing, estimate builder & receipt
   ========================================================== */

.rates-section {
    position: relative;
    padding: 5rem 0 4rem;
    --rc-paper: #fffef8;
    --rc-ink: var(--primary);
    --rc-red: var(--secondary);
    --rc-yellow: var(--accent);
    --rc-sticky: #fef9c3;
    --rc-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Roboto Mono', Menlo, Consolas, monospace;
    --rc-spring: cubic-bezier(.65, -0.35, .25, 1.45);
}

.rc-root {
    position: relative;
}

/* --- Floating doodles --- */
.rc-doodle {
    position: absolute;
    pointer-events: none;
    color: var(--rc-ink);
    opacity: .5;
    animation: rcFloat 7s ease-in-out infinite;
}

.rc-doodle svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rc-doodle.d1 { top: 2rem; left: 4%; width: 56px; height: 56px; color: var(--rc-red); }
.rc-doodle.d2 { top: 9rem; right: 6%; width: 64px; height: 64px; animation-delay: -2.5s; }
.rc-doodle.d3 { top: 46%; left: 1%; width: 44px; height: 44px; color: #d4a20b; animation-delay: -4s; }

@keyframes rcFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}

/* --- Header --- */
.rc-head {
    text-align: center;
    margin-bottom: 2rem;
}

.rc-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-main);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rc-red);
    border: 2px dashed var(--rc-red);
    border-radius: 999px;
    padding: .35rem 1rem;
    margin-bottom: 1rem;
    transform: rotate(-1.5deg);
    background: var(--bg-dark);
}

.rc-title {
    position: relative;
}

.rc-underline {
    position: absolute;
    left: -4%;
    bottom: -18px;
    width: 108%;
    height: 22px;
    overflow: visible;
}

.rc-underline path {
    fill: none;
    stroke: var(--rc-red);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    transition: stroke-dashoffset 1.2s cubic-bezier(.6, 0, .2, 1) .2s;
}

.rc-root.is-revealed .rc-underline path,
.rc-root:not(.is-revealed) .rc-head:hover .rc-underline path {
    stroke-dashoffset: 0;
}

.rc-subtitle {
    max-width: 640px;
    margin: 1.25rem auto 0;
}

.rc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.8rem;
}

.rc-currency {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid var(--rc-ink);
    border-radius: 999px;
    background: #fff;
    padding: 3px;
    box-shadow: 3px 3px 0 var(--rc-ink);
}

.rc-currency button {
    position: relative;
    z-index: 1;
    border: 0;
    background: none;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: 1px;
    padding: .45rem 1.1rem;
    color: var(--rc-ink);
    cursor: pointer;
    transition: color .35s ease;
}

.rc-currency button[aria-checked="true"] {
    color: #fff;
}

.rc-currency-thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: var(--rc-ink);
    border-radius: 999px;
    transition: transform .5s var(--rc-spring);
}

.rc-currency.is-secondary .rc-currency-thumb {
    transform: translateX(100%);
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    text-decoration: none;
    border: 2px solid var(--rc-ink);
    border-radius: var(--border-radius-sketch);
    padding: .55rem 1.3rem;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
    color: var(--rc-ink);
    background: #fff;
}

.rc-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--rc-ink);
}

.rc-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 0 0 0 var(--rc-ink);
}

.rc-btn-ink {
    background: var(--rc-ink);
    color: #fff;
    box-shadow: 3px 3px 0 var(--rc-red);
}

.rc-btn-ink:hover {
    box-shadow: 5px 5px 0 var(--rc-red);
}

.rc-btn.is-busy i::before {
    content: '\f110';
}

.rc-btn.is-busy i {
    animation: rcSpin .8s linear infinite;
}

.rc-btn:disabled {
    cursor: progress;
}

@keyframes rcSpin {
    to { transform: rotate(360deg); }
}

.rc-updated {
    font-family: var(--font-heading);
    color: var(--text-dim);
    font-size: 1.05rem;
}

/* --- "What do you need?" picker --- */
.rc-ask {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--rc-ink);
    margin-bottom: 1rem;
}

.rc-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto;
}

.rc-tab {
    display: grid;
    justify-items: center;
    gap: .35rem;
    padding: 1.1rem .6rem 1rem;
    background: #fff;
    border: 2px solid var(--rc-ink);
    border-radius: 18px 8px 20px 10px / 10px 20px 8px 18px;
    box-shadow: 4px 4px 0 var(--rc-ink);
    color: var(--rc-ink);
    cursor: pointer;
    font-family: var(--font-heading);
    transition: transform .3s var(--rc-spring), box-shadow .3s ease, background-color .3s ease;
    -webkit-tap-highlight-color: transparent;
}

.rc-tab:hover {
    transform: translate(-2px, -3px);
    box-shadow: 6px 7px 0 var(--rc-ink);
}

.rc-tab[aria-selected="true"] {
    background: var(--rc-yellow);
    transform: translateY(-4px);
    box-shadow: 6px 8px 0 var(--rc-ink);
}

.rc-tab-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px dashed var(--rc-ink);
    font-size: 1.5rem;
    color: var(--rc-red);
    transition: transform .4s var(--rc-spring);
}

.rc-tab[aria-selected="true"] .rc-tab-icon {
    background: #fff;
    border-style: solid;
}

.rc-tab:hover .rc-tab-icon {
    transform: rotate(-10deg) scale(1.08);
}

.rc-tab-name {
    font-size: 1.3rem;
    line-height: 1.1;
    text-align: center;
}

.rc-tab-from {
    font-family: var(--font-main);
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-dim);
}

.rc-tab[aria-selected="true"] .rc-tab-from {
    color: var(--rc-ink);
}

.rc-tab:focus-visible {
    outline: 3px solid var(--rc-red);
    outline-offset: 3px;
}

.rc-blurb {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dim);
    margin: 1.4rem auto 2.4rem;
    min-height: 1.6em;
}

/* --- Cards --- */
.rc-cards {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    gap: 2rem;
    max-width: 1040px;
    margin: 0 auto;
    align-items: stretch;
    min-height: 340px;
}

.rc-card {
    position: relative;
    perspective: 1100px;
    rotate: var(--tilt, 0deg);
    transition: rotate .45s var(--rc-spring), scale .45s var(--rc-spring);
}

.rc-card:hover,
.rc-card:focus-within {
    rotate: 0deg;
    z-index: 2;
}

.rc-card.is-popular {
    scale: 1.04;
    z-index: 1;
}

.rc-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--rc-ink);
    border: 2px solid var(--rc-ink);
    border-radius: 18px 6px 20px 8px / 8px 20px 6px 18px;
    padding: 1.6rem 1.4rem 1.3rem;
    box-shadow: 6px 6px 0 var(--rc-ink);
    transform-style: preserve-3d;
    transition: transform .18s ease-out, box-shadow .3s ease;
    overflow: hidden;
}

.rc-card:hover .rc-card-inner {
    box-shadow: 11px 11px 0 var(--rc-ink);
    transition: transform .08s linear, box-shadow .3s ease;
}

.rc-card.is-popular .rc-card-inner {
    background: var(--rc-sticky);
    overflow: visible;
}

/* Tape on the featured card */
.rc-card.is-popular .rc-card-inner::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    width: 110px;
    height: 32px;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(44, 62, 80, .12);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .08);
    backdrop-filter: blur(2px);
}

/* Lined-paper texture */
.rc-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-linear-gradient(transparent 0 31px, rgba(44, 62, 80, .06) 31px 32px);
    pointer-events: none;
}

.rc-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .85), transparent 55%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    mix-blend-mode: soft-light;
    z-index: 2;
}

.rc-card:hover .rc-glare {
    opacity: 1;
}

.rc-card.is-selected::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--rc-red);
    border-radius: 22px 10px 24px 12px / 12px 24px 10px 22px;
    pointer-events: none;
    animation: rcSelect .45s var(--rc-spring) both;
}

@keyframes rcSelect {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

.rc-ribbon {
    position: absolute;
    top: -14px;
    right: 14px;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #fff;
    background: var(--rc-red);
    border: 2px solid var(--rc-ink);
    padding: .15rem .8rem;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    transform: rotate(4deg);
    box-shadow: 2px 2px 0 var(--rc-ink);
}

.rc-scribble {
    position: absolute;
    inset: -16px -20px;
    width: calc(100% + 40px);
    height: calc(100% + 32px);
    overflow: visible;
    pointer-events: none;
}

.rc-scribble path {
    fill: none;
    stroke: var(--rc-red);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 560;
    stroke-dashoffset: 0;
}

.rc-card.is-in .rc-scribble path {
    animation: rcDraw560 1.1s cubic-bezier(.6, 0, .3, 1) .7s both;
}

@keyframes rcDraw560 {
    from { stroke-dashoffset: 560; }
    to { stroke-dashoffset: 0; }
}

.rc-card-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: .3rem;
    position: relative;
    z-index: 1;
}

.rc-card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: .8rem;
    border-radius: 16px 6px 18px 8px;
    background: var(--rc-ink);
    color: var(--rc-yellow);
    font-size: 1.45rem;
    position: relative;
    z-index: 1;
    box-shadow: 3px 3px 0 var(--rc-red);
}

.rc-card.is-in .rc-card-icon {
    animation: rcIconPop .7s var(--rc-spring) .35s both;
}

@keyframes rcIconPop {
    from { transform: scale(0) rotate(-30deg); }
    to { transform: scale(1) rotate(0deg); }
}

.rc-card:hover .rc-card-icon i {
    animation: rcWiggle .6s ease;
}

@keyframes rcWiggle {
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(10deg); }
}

.rc-bestfor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font-family: var(--font-main);
    font-size: .88rem;
    color: var(--rc-ink);
    line-height: 1.35;
    min-height: 2.6em;
    position: relative;
    z-index: 1;
}

.rc-bestfor span {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: var(--rc-red);
    border-radius: 999px;
    padding: .1rem .5rem;
}

.rc-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .4rem;
    margin: .9rem 0 .2rem;
    position: relative;
    z-index: 1;
    transform: translateZ(40px);
}

.rc-prefix {
    width: 100%;
    font-family: var(--font-main);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.rc-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: var(--rc-ink);
    font-variant-numeric: tabular-nums;
    position: relative;
}

.rc-amount .rc-sym {
    font-size: 1.35rem;
    margin-right: .25rem;
    vertical-align: .9em;
    color: var(--rc-red);
}

.rc-amount.is-approx::before {
    content: '≈';
    font-size: 1.4rem;
    color: var(--text-dim);
    vertical-align: .85em;
    margin-right: .15rem;
}

/* Highlighter swipe under the price */
.rc-amount::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -6px;
    bottom: 6px;
    height: 14px;
    background: var(--rc-yellow);
    opacity: .55;
    z-index: -1;
    transform: skewX(-12deg) scaleX(1);
    transform-origin: left;
}

.rc-card.is-in .rc-amount::after {
    animation: rcSwipe .6s cubic-bezier(.6, 0, .2, 1) .55s both;
}

.rc-card.is-popular .rc-amount::after {
    background: #fff;
    opacity: .9;
}

@keyframes rcSwipe {
    from { transform: skewX(-12deg) scaleX(0); }
    to { transform: skewX(-12deg) scaleX(1); }
}

.rc-suffix {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dim);
}

.rc-timeline {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-main);
    font-size: .8rem;
    font-weight: 700;
    color: var(--rc-ink);
    background: var(--bg-dark);
    border: 1.5px solid rgba(44, 62, 80, .25);
    border-radius: 999px;
    padding: .2rem .7rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.rc-features {
    list-style: none;
    display: grid;
    gap: .4rem;
    margin-bottom: 1.3rem;
    position: relative;
    z-index: 1;
}

.rc-features li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: .6rem;
    align-items: start;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    line-height: 1.3;
}

.rc-check {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    overflow: visible;
}

.rc-check path {
    fill: none;
    stroke: var(--rc-red);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 0;
}

.rc-card.is-in .rc-features li .rc-check path {
    animation: rcDraw24 .45s ease-out both;
    animation-delay: calc(.55s + var(--i, 0) * .09s);
}

.rc-card.is-in .rc-features li span {
    animation: rcFadeRight .5s ease-out both;
    animation-delay: calc(.5s + var(--i, 0) * .09s);
}

@keyframes rcDraw24 {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

@keyframes rcFadeRight {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: none; }
}

.rc-add {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--rc-ink);
    background: transparent;
    border: 2px dashed var(--rc-ink);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    padding: .65rem 1rem;
    cursor: pointer;
    position: relative;
    z-index: 3;
    transition: background-color .3s ease, color .3s ease, border-style .3s ease, transform .2s ease;
    transform: translateZ(30px);
}

.rc-add:hover {
    background: var(--rc-yellow);
    border-style: solid;
}

.rc-card.is-popular .rc-add {
    background: var(--rc-ink);
    color: #fff;
    border-style: solid;
}

.rc-card.is-popular .rc-add:hover {
    background: var(--rc-red);
}

.rc-add-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-size: .7rem;
    transition: transform .45s var(--rc-spring), background-color .3s ease;
}

.rc-add[aria-pressed="true"] {
    background: var(--rc-ink);
    color: #fff;
    border-style: solid;
}

.rc-add[aria-pressed="true"] .rc-add-icon {
    transform: rotate(135deg);
    background: var(--rc-red);
    border-color: var(--rc-red);
}

.rc-add:focus-visible,
.rc-chip:focus-visible,
.rc-btn:focus-visible {
    outline: 3px solid var(--rc-red);
    outline-offset: 3px;
}

/* --- Builder --- */
.rc-builder {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3.5rem;
    max-width: 1100px;
    margin: 4rem auto 0;
    align-items: start;
}

.rc-h3 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.1;
    color: var(--rc-ink);
    position: relative;
    display: inline-block;
}

.rc-h3::after {
    content: '';
    position: absolute;
    left: 102%;
    top: 40%;
    width: 70px;
    height: 40px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 40' fill='none' stroke='%23e74c3c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8c18-6 40 0 52 20'/%3E%3Cpath d='M46 26l10 3 3-11'/%3E%3C/svg%3E");
    animation: rcNudge 2.4s ease-in-out infinite;
}

@keyframes rcNudge {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, 4px); }
}

.rc-steps {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    margin: .7rem 0 1.4rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-dim);
}

.rc-steps li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.rc-steps b {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--rc-ink);
    background: var(--rc-yellow);
    color: var(--rc-ink);
    font-family: var(--font-main);
    font-size: .75rem;
}

.rc-addons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.rc-chip {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-areas: "box name" "box price";
    column-gap: .75rem;
    align-items: center;
    text-align: left;
    background: #fff;
    border: 2px solid var(--rc-ink);
    border-radius: 12px 4px 14px 6px / 6px 14px 4px 12px;
    padding: .6rem .8rem;
    cursor: pointer;
    color: var(--rc-ink);
    box-shadow: 3px 3px 0 rgba(44, 62, 80, .85);
    transition: transform .25s var(--rc-spring), box-shadow .25s ease, background-color .3s ease;
}

.rc-chip:hover {
    transform: translate(-2px, -2px) rotate(-.6deg);
    box-shadow: 5px 5px 0 var(--rc-ink);
}

.rc-chip:active {
    transform: scale(.97);
}

.rc-chip[aria-pressed="true"] {
    background: var(--rc-sticky);
}

.rc-chip-box {
    grid-area: box;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 2px solid var(--rc-ink);
    border-radius: 5px 3px 6px 2px;
    background: #fff;
}

.rc-chip-box .rc-check {
    width: 14px;
    height: 14px;
    margin: 0;
}

.rc-chip-box .rc-check path {
    stroke-dashoffset: 24;
    transition: stroke-dashoffset .35s ease-out;
}

.rc-chip[aria-pressed="true"] .rc-chip-box .rc-check path {
    stroke-dashoffset: 0;
}

.rc-chip-name {
    grid-area: name;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: .9rem;
    line-height: 1.3;
}

.rc-chip-price {
    grid-area: price;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--rc-red);
}

.rc-perks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 1.6rem;
}

.rc-perks li {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .8rem;
    background: rgba(255, 255, 255, .75);
    border: 2px dashed rgba(44, 62, 80, .35);
    border-radius: 12px 4px 14px 6px / 6px 14px 4px 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--rc-ink);
}

.rc-perks i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rc-sticky);
    border: 2px solid var(--rc-ink);
    color: var(--rc-red);
    font-size: .95rem;
}

.rc-perks.is-in:not(.no-anim) li {
    animation: rcRise .5s var(--rc-spring) both;
    animation-delay: calc(var(--i) * .1s);
}

.rc-fineprint {
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--text-dim);
}

.rc-chip-name i {
    color: var(--rc-red);
    width: 1.1em;
    text-align: center;
}

/* --- How it works --- */
.rc-process {
    max-width: 1000px;
    margin: 4.5rem auto 0;
}

.rc-h3-center {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.rc-h3-center::after {
    display: none;
}

.rc-steps-visual {
    list-style: none;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}

/* Dashed connector that draws across the steps */
.rc-steps-visual::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    border-top: 3px dashed var(--rc-ink);
    opacity: .35;
    transform-origin: left;
}

.rc-process.is-in:not(.no-anim) .rc-steps-visual::before {
    animation: rcLine 1.2s cubic-bezier(.6, 0, .2, 1) both;
}

@keyframes rcLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.rc-steps-visual li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .2rem;
}

.rc-process.is-in:not(.no-anim) .rc-steps-visual li {
    animation: rcRise .6s var(--rc-spring) both;
    animation-delay: calc(.2s + var(--i) * .22s);
}

@keyframes rcRise {
    from { opacity: 0; transform: translateY(24px) scale(.9); }
    to { opacity: 1; transform: none; }
}

.rc-step-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: .5rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--rc-ink);
    box-shadow: 4px 4px 0 var(--rc-ink);
    font-size: 1.6rem;
    color: var(--rc-red);
    transition: transform .4s var(--rc-spring);
}

.rc-steps-visual li:hover .rc-step-icon {
    transform: translateY(-4px) rotate(-8deg);
}

.rc-step-icon b {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rc-yellow);
    border: 2px solid var(--rc-ink);
    font-family: var(--font-main);
    font-size: .8rem;
    color: var(--rc-ink);
}

.rc-steps-visual strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--rc-ink);
}

.rc-steps-visual small {
    font-size: .85rem;
    color: var(--text-dim);
}

/* Swipe dots (phones) */
.rc-dots {
    display: none;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.2rem;
}

.rc-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(44, 62, 80, .3);
    transition: width .3s ease, background-color .3s ease;
}

.rc-dots span.is-on {
    width: 22px;
    background: var(--rc-red);
}

/* --- Receipt --- */
.rc-receipt-wrap {
    position: sticky;
    top: 100px;
    filter: drop-shadow(6px 10px 0 rgba(44, 62, 80, .18));
}

.rc-printer {
    position: relative;
    z-index: 2;
    height: 34px;
    background: var(--rc-ink);
    border-radius: 14px 14px 8px 8px;
    border: 2px solid var(--primary-dark);
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .25);
}

.rc-printer-slot {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 5px;
    border-radius: 3px;
    background: #0d141b;
}

.rc-printer-led {
    position: absolute;
    top: 9px;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}

.rc-printer-led.is-blink {
    animation: rcBlink .5s steps(2) 2;
}

@keyframes rcBlink {
    50% { background: var(--rc-yellow); box-shadow: 0 0 10px var(--rc-yellow); }
}

.rc-receipt {
    position: relative;
    z-index: 1;
    margin: -10px 14px 0;
    padding: 1.6rem 1.3rem 1.3rem;
    background: var(--rc-paper);
    color: var(--rc-ink);
    font-family: var(--rc-mono);
    font-size: .85rem;
    transform-origin: top center;
}

.rc-receipt::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 10px;
    background:
        linear-gradient(135deg, var(--rc-paper) 50%, transparent 50%) 0 0 / 16px 10px repeat-x,
        linear-gradient(225deg, var(--rc-paper) 50%, transparent 50%) 0 0 / 16px 10px repeat-x;
}

.rc-receipt-head {
    display: grid;
    text-align: center;
    gap: .1rem;
    padding-bottom: 1rem;
    margin-bottom: .9rem;
    border-bottom: 2px dashed rgba(44, 62, 80, .45);
}

.rc-receipt-head strong {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rc-receipt-head span {
    color: var(--text-dim);
    font-size: .78rem;
}

.rc-receipt-meta {
    margin-top: .35rem;
    letter-spacing: 1px;
}

.rc-empty {
    text-align: center;
    color: var(--text-dim);
    padding: 1rem .5rem 1.2rem;
    display: none;
}

.rc-receipt.is-empty .rc-empty {
    display: block;
}

.rc-lines {
    list-style: none;
}

.rc-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 22px;
    gap: .55rem;
    align-items: center;
    padding: .55rem 0;
    border-bottom: 1px dotted rgba(44, 62, 80, .35);
    overflow: hidden;
}

.rc-line-name {
    line-height: 1.35;
    word-break: break-word;
}

.rc-line-name small,
.rc-line-price small {
    display: block;
    color: var(--text-dim);
    font-size: .72rem;
}

.rc-line-price {
    text-align: right;
    font-weight: 700;
    white-space: nowrap;
}

.rc-line-price small {
    display: inline;
    margin-left: 1px;
}

.rc-qty {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border: 1px solid rgba(44, 62, 80, .4);
    border-radius: 999px;
    padding: 0 .2rem;
}

.rc-qty button {
    width: 20px;
    height: 20px;
    border: 0;
    background: none;
    color: var(--rc-ink);
    font-weight: 700;
    cursor: pointer;
    border-radius: 50%;
}

.rc-qty button:hover {
    background: var(--rc-yellow);
}

.rc-line-remove {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .3s var(--rc-spring);
}

.rc-line-remove:hover {
    background: var(--rc-red);
    color: #fff;
    transform: rotate(90deg);
}

.rc-totals {
    position: relative;
    min-height: 7.2rem;
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 3px double var(--rc-ink);
}

.rc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8rem;
}

.rc-total-row strong {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--rc-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rc-total-row .rc-sym {
    font-size: 1.2rem;
    color: var(--rc-red);
}

.rc-recurring {
    display: grid;
    justify-items: end;
    gap: .1rem;
    font-weight: 700;
    color: var(--rc-red);
}

.rc-recurring small {
    color: var(--text-dim);
    font-weight: 400;
}

.rc-stamp {
    position: absolute;
    left: .1rem;
    top: 3.6rem;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: .85rem;
    line-height: 1.05;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
    color: var(--rc-red);
    border: 3px double var(--rc-red);
    border-radius: 10px;
    padding: .4rem .7rem;
    opacity: 0;
    transform: rotate(-14deg) scale(2.2);
    pointer-events: none;
    mix-blend-mode: multiply;
    -webkit-mask: repeating-radial-gradient(circle at 30% 40%, #000 0 2px, rgba(0, 0, 0, .78) 2px 3px);
    mask: repeating-radial-gradient(circle at 30% 40%, #000 0 2px, rgba(0, 0, 0, .78) 2px 3px);
}

.rc-receipt.is-stamped .rc-stamp {
    animation: rcStamp .55s cubic-bezier(.3, 1.4, .5, 1) .25s both;
}

@keyframes rcStamp {
    0% { opacity: 0; transform: rotate(-24deg) scale(2.4); }
    60% { opacity: .95; transform: rotate(-12deg) scale(.92); }
    100% { opacity: .85; transform: rotate(-14deg) scale(1); }
}

.rc-receipt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .55rem;
    margin-top: 1.4rem;
}

.rc-receipt-actions .rc-btn {
    font-size: 1.05rem;
    padding: .5rem .6rem;
}

.rc-btn-wa {
    grid-column: 1 / -1;
    background: #25D366;
    color: #fff;
    font-size: 1.25rem !important;
    padding: .7rem 1rem !important;
    box-shadow: 3px 3px 0 var(--rc-ink);
}

.rc-btn-ghost {
    background: transparent;
}

.rc-receipt.is-empty .rc-clear,
.rc-receipt.is-empty .rc-totals {
    display: none;
}

.rc-receipt.is-empty .rc-receipt-actions {
    grid-template-columns: 1fr;
}

.rc-barcode {
    height: 26px;
    margin: 1.1rem auto .35rem;
    width: 70%;
    background: repeating-linear-gradient(90deg,
            var(--rc-ink) 0 2px, transparent 2px 4px,
            var(--rc-ink) 4px 5px, transparent 5px 8px,
            var(--rc-ink) 8px 11px, transparent 11px 12px,
            var(--rc-ink) 12px 13px, transparent 13px 16px);
    opacity: .8;
}

.rc-receipt-foot {
    text-align: center;
    font-size: .72rem;
    color: var(--text-dim);
}

/* --- Fly-to-receipt chip & toast --- */
.rc-fly {
    position: fixed;
    z-index: 3000;
    width: 26px;
    height: 26px;
    background: var(--rc-yellow);
    border: 2px solid var(--primary);
    border-radius: 4px;
    box-shadow: 2px 2px 0 var(--primary);
    pointer-events: none;
}

.rc-toast {
    position: fixed;
    left: 50%;
    bottom: 6rem;
    z-index: 3000;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    padding: .6rem 1.3rem;
    border-radius: var(--border-radius-sketch);
    box-shadow: 4px 4px 0 var(--secondary);
}

.rc-toast.is-on {
    animation: rcToast 2.8s ease both;
}

@keyframes rcToast {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    12%, 82% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}

.rc-error {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.rc-error a {
    color: var(--secondary);
}

.rc-loading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dim);
    padding: 4rem 0;
}

/* --- Responsive --- */
@media (max-width: 1000px) {
    .rc-builder {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .rc-receipt-wrap {
        position: relative;
        top: 0;
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .rc-cards {
        display: flex;
        gap: 1rem;
        max-width: none;
        min-height: 0;
        margin: 0 -16px;
        padding: 1.4rem 16px .6rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rc-cards::-webkit-scrollbar {
        display: none;
    }

    .rc-card {
        flex: 0 0 82%;
        max-width: 340px;
        scroll-snap-align: center;
        rotate: 0deg;
    }

    .rc-dots {
        display: flex;
    }

    .rc-card.is-popular {
        scale: 1;
    }

    .rc-doodle {
        display: none;
    }
}

@media (max-width: 768px) {
    .rates-section {
        padding: 4rem 0 3rem;
    }

    .rc-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .rc-tab {
        padding: .85rem .4rem .8rem;
    }

    .rc-tab-icon {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .rc-tab-name {
        font-size: 1.15rem;
    }

    .rc-steps-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.8rem;
    }

    .rc-steps-visual::before {
        display: none;
    }

    .rc-perks {
        grid-template-columns: 1fr;
    }

    .rc-process {
        margin-top: 3rem;
    }

    .rc-amount {
        font-size: 2.9rem;
    }

    .rc-addons {
        grid-template-columns: 1fr;
    }

    .rc-h3 {
        font-size: 2rem;
    }

    .rc-h3::after {
        display: none;
    }

    .rc-receipt {
        margin: -10px 8px 0;
        padding: 1.8rem 1rem 1.4rem;
    }

    .rc-line {
        grid-template-columns: minmax(0, 1fr) auto 22px;
        grid-template-areas: "name name name" "qty price remove";
        row-gap: .35rem;
    }

    .rc-line-name { grid-area: name; }
    .rc-qty { grid-area: qty; justify-self: start; }
    .rc-line-price { grid-area: price; }
    .rc-line-remove { grid-area: remove; }

    .rc-total-row strong {
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rates-section *,
    .rates-section *::before,
    .rates-section *::after {
        animation: none !important;
        transition: none !important;
    }

    .rc-underline path {
        stroke-dashoffset: 0;
    }

    .rc-receipt.is-stamped .rc-stamp {
        opacity: .85;
        transform: rotate(-14deg);
    }
}

/* ==========================================================
   Phones: compact web-app layout
   ========================================================== */
.rc-sheet-bar,
.rc-sheet-backdrop,
.rc-sheet-handle {
    display: none;
}

@media (max-width: 768px) {
    .rates-section {
        padding: 1.25rem 0 2rem;
    }

    .rc-doodle,
    .rc-kicker,
    .rc-underline,
    .rc-updated,
    .rc-ask,
    .rc-steps {
        display: none;
    }

    /* Header: title + one-line subtitle + small download pill */
    .rc-head {
        text-align: left;
        margin-bottom: 1rem;
    }

    .rc-title {
        font-size: 2rem;
    }

    .rc-title::after {
        display: none;
    }

    .rc-subtitle {
        margin: .2rem 0 0;
        font-size: 1rem;
    }

    .rc-toolbar {
        justify-content: flex-start;
        margin-top: .8rem;
    }

    .rc-download {
        font-size: 1rem;
        padding: .4rem .9rem;
        border-radius: 999px;
        box-shadow: 2px 2px 0 var(--rc-red);
    }

    /* Category chips: one sticky, swipeable row */
    .rc-tabs {
        position: sticky;
        top: 0;
        z-index: 20;
        display: flex;
        gap: .5rem;
        max-width: none;
        margin: 0 -16px;
        padding: .65rem 16px;
        overflow-x: auto;
        scrollbar-width: none;
        background: rgba(253, 251, 247, .92);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(44, 62, 80, .12);
    }

    .rc-tabs::-webkit-scrollbar {
        display: none;
    }

    .rc-tab,
    .rc-tab[aria-selected="true"] {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .4rem .85rem .4rem .45rem;
        border-radius: 999px;
        box-shadow: none;
        transform: none;
    }

    .rc-tab[aria-selected="true"] {
        background: var(--rc-ink);
        color: #fff;
    }

    .rc-tab-icon,
    .rc-tab[aria-selected="true"] .rc-tab-icon {
        width: 28px;
        height: 28px;
        border: 0;
        background: var(--bg-dark);
        font-size: .8rem;
    }

    .rc-tab[aria-selected="true"] .rc-tab-icon {
        background: var(--rc-yellow);
        color: var(--rc-ink);
    }

    .rc-tab-name {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .rc-tab-from {
        display: none;
    }

    .rc-blurb {
        text-align: left;
        font-size: 1rem;
        margin: .8rem 0 0;
        min-height: 0;
    }

    /* Package cards: compact grid inside each card */
    .rc-card {
        flex-basis: 84%;
    }

    .rc-card-inner {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        column-gap: .75rem;
        align-items: center;
        padding: 1rem;
        border-radius: 16px;
        box-shadow: 4px 4px 0 var(--rc-ink);
    }

    .rc-card:hover .rc-card-inner {
        box-shadow: 4px 4px 0 var(--rc-ink);
    }

    .rc-card-inner > * {
        grid-column: 1 / -1;
    }

    .rc-card-inner > .rc-card-icon {
        grid-column: 1;
        width: 44px;
        height: 44px;
        margin: 0;
        font-size: 1.15rem;
        box-shadow: 2px 2px 0 var(--rc-red);
    }

    .rc-card-inner > .rc-card-name {
        grid-column: 2 / -1;
        font-size: 1.45rem;
        margin: 0;
    }

    .rc-bestfor {
        min-height: 0;
        margin-top: .6rem;
        font-size: .82rem;
    }

    .rc-card-inner > .rc-price {
        grid-column: 1 / 3;
        margin: .7rem 0 .2rem;
    }

    .rc-card-inner > .rc-timeline {
        grid-column: 3;
        justify-self: end;
        margin: .7rem 0 .2rem;
    }

    .rc-amount {
        font-size: 2.3rem;
    }

    .rc-amount .rc-sym {
        font-size: 1rem;
    }

    .rc-features {
        gap: .2rem;
        margin: .5rem 0 .9rem;
    }

    .rc-features li {
        font-size: 1.02rem;
    }

    .rc-add {
        padding: .55rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .rc-ribbon {
        font-size: .85rem;
        top: -12px;
        padding: .05rem .6rem;
    }

    .rc-card.is-popular .rc-card-inner::before {
        display: none;
    }

    .rc-card.is-selected::after {
        inset: -6px;
        border-radius: 20px;
    }

    .rc-dots {
        margin-top: .6rem;
    }

    /* How it works: one compact row */
    .rc-process {
        margin-top: 1.8rem;
    }

    .rc-h3,
    .rc-h3-center {
        font-size: 1.5rem;
    }

    .rc-h3-center {
        text-align: left;
        margin-bottom: .9rem;
    }

    .rc-steps-visual {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .3rem;
        row-gap: 0;
    }

    .rc-steps-visual::before {
        display: block;
        top: 22px;
    }

    .rc-step-icon {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
        margin-bottom: .3rem;
        box-shadow: 2px 2px 0 var(--rc-ink);
    }

    .rc-step-icon b {
        width: 19px;
        height: 19px;
        font-size: .62rem;
        top: -5px;
        right: -5px;
    }

    .rc-steps-visual strong {
        font-size: .98rem;
        line-height: 1.1;
    }

    .rc-steps-visual small {
        display: none;
    }

    /* Builder: settings-style add-on list with toggles */
    .rc-builder {
        margin-top: 2rem;
        gap: 0;
    }

    .rc-h3::after {
        display: none;
    }

    .rc-addons {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: .8rem;
        background: #fff;
        border: 2px solid var(--rc-ink);
        border-radius: 16px;
        overflow: hidden;
    }

    .rc-chip {
        grid-template-columns: minmax(0, 1fr) auto 42px;
        grid-template-areas: "name price box";
        column-gap: .6rem;
        padding: .8rem .9rem;
        border: 0;
        border-bottom: 1px solid rgba(44, 62, 80, .12);
        border-radius: 0;
        box-shadow: none;
    }

    .rc-chip:last-child {
        border-bottom: 0;
    }

    .rc-chip:hover,
    .rc-chip:active {
        transform: none;
        box-shadow: none;
    }

    .rc-chip[aria-pressed="true"] {
        background: #fffbe6;
    }

    .rc-chip-name {
        font-size: .92rem;
    }

    .rc-chip-price {
        font-size: 1.02rem;
        white-space: nowrap;
    }

    /* Checkbox becomes an iOS-style toggle */
    .rc-chip-box {
        position: relative;
        width: 42px;
        height: 24px;
        border: 0;
        border-radius: 999px;
        background: #d9dee3;
        transition: background-color .25s ease;
    }

    .rc-chip-box .rc-check {
        display: none;
    }

    .rc-chip-box::after {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
        transition: transform .3s var(--rc-spring);
    }

    .rc-chip[aria-pressed="true"] .rc-chip-box {
        background: #22c55e;
    }

    .rc-chip[aria-pressed="true"] .rc-chip-box::after {
        transform: translateX(18px);
    }

    .rc-perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
        margin-top: 1rem;
    }

    .rc-perks li {
        padding: .55rem .6rem;
        gap: .5rem;
        font-size: .95rem;
        border-radius: 12px;
    }

    .rc-perks i {
        width: 28px;
        height: 28px;
        font-size: .75rem;
    }

    /* Receipt becomes a bottom sheet */
    .rc-receipt-wrap {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 1600;
        max-width: none;
        max-height: 86vh;
        margin: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: .4rem 12px calc(1rem + env(safe-area-inset-bottom, 0px));
        background: var(--bg-dark);
        border-radius: 22px 22px 0 0;
        border-top: 2px solid var(--rc-ink);
        box-shadow: 0 -12px 30px rgba(20, 30, 40, .25);
        filter: none;
        transform: translateY(105%);
        transition: transform .45s cubic-bezier(.2, .8, .2, 1);
    }

    .rc-root.sheet-open .rc-receipt-wrap {
        transform: none;
    }

    .rc-sheet-handle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 34px;
    }

    .rc-sheet-handle span {
        width: 44px;
        height: 5px;
        border-radius: 999px;
        background: rgba(44, 62, 80, .3);
    }

    .rc-sheet-handle button {
        position: absolute;
        right: 0;
        top: 2px;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 50%;
        background: rgba(44, 62, 80, .08);
        color: var(--rc-ink);
        font-size: 1rem;
    }

    .rc-printer {
        display: none;
    }

    .rc-receipt {
        margin: 0;
        border-radius: 14px;
    }

    .rc-receipt::after {
        display: none;
    }

    .rc-sheet-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1550;
        background: rgba(20, 30, 40, .45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }

    .rc-root.sheet-open .rc-sheet-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    /* Floating "Your estimate" bar above the tab bar */
    .rc-sheet-bar {
        display: flex;
        align-items: center;
        gap: .7rem;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        z-index: 1200;
        padding: .7rem .9rem;
        border: 2px solid var(--rc-ink);
        border-radius: 16px;
        background: var(--rc-ink);
        color: #fff;
        font-family: var(--font-heading);
        font-size: 1.1rem;
        box-shadow: 0 10px 24px rgba(20, 30, 40, .3), 3px 3px 0 var(--rc-red);
        transform: translateY(calc(100% + 120px));
        visibility: hidden;
        transition: transform .45s var(--rc-spring), visibility 0s linear .45s;
        -webkit-tap-highlight-color: transparent;
    }

    .rc-root.has-items .rc-sheet-bar {
        transform: none;
        visibility: visible;
        transition: transform .45s var(--rc-spring), visibility 0s;
    }

    .rc-root.sheet-open .rc-sheet-bar {
        transform: translateY(calc(100% + 120px));
    }

    .rc-chip-name i {
        margin-right: .3rem;
    }

    /* Wider receipt lines inside the sheet */
    .rc-line {
        grid-template-columns: minmax(0, 1fr) auto auto 22px;
        grid-template-areas: none;
    }

    .rc-line-name,
    .rc-qty,
    .rc-line-price,
    .rc-line-remove {
        grid-area: auto;
    }

    .rc-sheet-count {
        position: relative;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--rc-yellow);
        color: var(--rc-ink);
    }

    .rc-sheet-count b {
        position: absolute;
        top: -7px;
        right: -7px;
        min-width: 19px;
        height: 19px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--rc-red);
        color: #fff;
        font-family: var(--font-main);
        font-size: .7rem;
        line-height: 19px;
    }

    .rc-sheet-label {
        flex: 1;
        text-align: left;
    }

    .rc-sheet-total {
        font-family: var(--font-main);
        font-weight: 800;
        font-size: 1rem;
        color: var(--rc-yellow);
    }

    .rc-root.has-items {
        padding-bottom: 72px;
    }
}

html.rc-sheet-lock,
html.rc-sheet-lock body {
    overflow: hidden;
}

/* The quote can only be saved once something is in it */
.rc-receipt.is-empty .rc-save-quote {
    display: none;
}
