/* RAWBURTZ BUILD 060 R2 — CART HERO CLEANUP */

html.rb060-acquisition {
    --rb060-red: #ff2525;
    --rb060-black: #050505;
    --rb060-paper: #f2efe8;
    --rb060-ink: #090909;
    --rb060-line: rgba(255,255,255,.13);
    --rb060-line-strong: rgba(255,255,255,.25);
    --rb060-muted: rgba(255,255,255,.58);
    --rb060-soft: rgba(255,255,255,.035);
    background: var(--rb060-black);
}

html.rb060-acquisition body { overflow-x: hidden; }
html.rb060-acquisition main { background: var(--rb060-black); }

/* Acquisition progress ---------------------------------------------------- */
.rb060-progress {
    width: min(100% - clamp(28px, 6vw, 96px), 1680px);
    margin: 0 auto;
    padding: clamp(26px, 3vw, 42px) 0 0;
}

.rb060-progress__rule {
    height: 3px;
    background: linear-gradient(90deg, var(--rb060-red) 0 31%, rgba(255,255,255,.12) 31% 100%);
}

.rb060-progress__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    border-bottom: 1px solid var(--rb060-line);
}

.rb060-progress__step {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border-right: 1px solid var(--rb060-line);
    color: rgba(255,255,255,.34);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.rb060-progress__step:last-child { border-right: 0; }
.rb060-progress__step span { color: rgba(255,255,255,.22); }
.rb060-progress__step.is-active { color: #fff; }
.rb060-progress__step.is-active span { color: var(--rb060-red); }

/* Cart page identity ------------------------------------------------------ */
.rb060-cart-intro {
    width: min(100% - clamp(28px, 6vw, 96px), 1680px);
    margin: 0 auto;
    padding: clamp(58px, 7vw, 110px) 0 clamp(34px, 4vw, 58px);
}

.rb060-cart-intro__kicker {
    margin: 0 0 14px;
    color: var(--rb060-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.rb060-cart-intro__title {
    max-width: 10ch;
    margin: 0;
    color: #fff;
    font-family: var(--font-display, inherit);
    font-size: clamp(3.4rem, 8vw, 8.4rem);
    font-weight: 900;
    line-height: .82;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.rb060-cart-intro__title::after {
    content: '';
    display: block;
    width: clamp(70px, 10vw, 150px);
    height: clamp(7px, .8vw, 12px);
    margin-top: clamp(22px, 3vw, 38px);
    background: var(--rb060-red);
}

.rb060-cart-intro__copy {
    max-width: 720px;
    margin: clamp(24px, 3vw, 38px) 0 0;
    color: rgba(255,255,255,.64);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.7;
}

.rb060-cart-intro__hold {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: rgba(255,255,255,.82);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rb060-cart-intro__hold::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--rb060-red);
    box-shadow: 0 0 0 5px rgba(255,37,37,.1);
}


/* BUILD 060 R2 — remove redundant server-rendered CART hero in every cart state */
html.rb060-cart-live .rb060-redundant-cart-hero,
html.rb060-cart-empty .rb060-redundant-cart-hero {
    display: none !important;
}

/* Existing cart shell: improve hierarchy without assuming Blade internals */
html.rb060-cart-live main > section,
html.rb060-cart-live main > div,
html.rb060-cart-empty main > section,
html.rb060-cart-empty main > div {
    position: relative;
}

html.rb060-cart-live main form[action*="/checkout"] {
    border-top: 1px solid var(--rb060-line-strong);
    padding-top: clamp(28px, 4vw, 52px);
}

.rb060-checkout-form {
    position: relative;
}

.rb060-checkout-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
.rb060-checkout-form select,
.rb060-checkout-form textarea {
    min-height: 48px;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.035) !important;
    color: #fff !important;
    box-shadow: none !important;
    transition: border-color .18s ease, background-color .18s ease;
}

.rb060-checkout-form textarea { min-height: 108px; }

.rb060-checkout-form input:not([type="hidden"]):focus,
.rb060-checkout-form select:focus,
.rb060-checkout-form textarea:focus {
    border-color: var(--rb060-red) !important;
    background: rgba(255,255,255,.055) !important;
    outline: 2px solid rgba(255,37,37,.18) !important;
    outline-offset: 1px;
}

.rb060-checkout-form label {
    color: rgba(255,255,255,.72);
}

.rb060-form-heading {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 24px;
    align-items: end;
    margin: clamp(32px, 5vw, 68px) 0 clamp(22px, 3vw, 34px);
    padding-top: clamp(28px, 4vw, 48px);
    border-top: 1px solid var(--rb060-line);
}

.rb060-form-heading__kicker {
    margin: 0 0 8px;
    color: var(--rb060-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.rb060-form-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 3.4vw, 3.6rem);
    line-height: .94;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.rb060-form-heading__copy {
    max-width: 440px;
    margin: 0;
    color: rgba(255,255,255,.5);
    font-size: .88rem;
    line-height: 1.55;
}

/* Delivery choice -------------------------------------------------------- */
.rb060-delivery-section {
    margin: clamp(42px, 6vw, 78px) 0;
    padding: clamp(30px, 4vw, 54px);
    border: 1px solid rgba(255,255,255,.18);
    background: var(--rb060-paper);
    color: var(--rb060-ink);
}

.rb060-delivery-section__kicker {
    margin: 0 0 10px;
    color: #d50f16;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.rb060-delivery-section__title {
    max-width: 12ch;
    margin: 0;
    color: var(--rb060-ink);
    font-size: clamp(2rem, 4.4vw, 4.6rem);
    font-weight: 900;
    line-height: .88;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

.rb060-delivery-section__copy {
    max-width: 700px;
    margin: 18px 0 0;
    color: rgba(0,0,0,.65);
    line-height: 1.65;
}

.rb060-delivery-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin-top: 28px;
}

.rb060-delivery-option {
    position: relative;
    min-height: 126px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    border: 2px solid rgba(0,0,0,.18) !important;
    background: #fff !important;
    padding: 22px !important;
    color: var(--rb060-ink) !important;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.rb060-delivery-option:hover { border-color: rgba(0,0,0,.56) !important; }
.rb060-delivery-option.is-selected {
    border-color: var(--rb060-red) !important;
    background: #fff !important;
    box-shadow: inset 0 -5px 0 var(--rb060-red);
}

.rb060-delivery-option input[type="radio"] {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 18px;
    height: 18px;
    accent-color: var(--rb060-red);
}

.rb060-delivery-option__name {
    display: block;
    max-width: 12ch;
    color: var(--rb060-ink);
    font-size: clamp(1.18rem, 2vw, 1.75rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.rb060-delivery-option__note {
    display: block;
    max-width: 34ch;
    color: rgba(0,0,0,.58);
    font-size: .78rem;
    line-height: 1.5;
}

.rb060-delivery-section select[name="delivery_method"] {
    width: min(100%, 620px);
    margin-top: 24px;
    border: 2px solid rgba(0,0,0,.25) !important;
    background: #fff !important;
    color: #050505 !important;
}

/* Final secure handoff --------------------------------------------------- */
.rb060-stripe-handoff {
    margin-top: clamp(42px, 6vw, 76px);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--rb060-line-strong);
    background: rgba(255,255,255,.025);
}

.rb060-stripe-handoff__kicker {
    margin: 0 0 8px;
    color: var(--rb060-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.rb060-stripe-handoff__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.rb060-stripe-handoff__trust {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.58);
    font-size: .9rem;
    line-height: 1.65;
}

.rb060-stripe-handoff__trust strong { color: #fff; }

.rb060-checkout-submit {
    width: 100% !important;
    min-height: 58px !important;
    margin-top: 22px !important;
    border: 1px solid var(--rb060-red) !important;
    border-radius: 0 !important;
    background: var(--rb060-red) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: transform .16s ease, background-color .16s ease;
}
.rb060-checkout-submit:hover { background: #ff3838 !important; transform: translateY(-1px); }
.rb060-checkout-submit:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px; }

.rb060-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1px;
    margin-top: 1px;
    background: var(--rb060-line);
}

.rb060-trust-row__item {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: #090909;
    padding: 18px 20px;
}
.rb060-trust-row__item strong {
    color: #fff;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.rb060-trust-row__item span {
    color: rgba(255,255,255,.48);
    font-size: .78rem;
    line-height: 1.45;
}

/* Empty cart ------------------------------------------------------------- */
html.rb060-cart-empty .rb060-cart-intro__title { max-width: 8ch; }
html.rb060-cart-empty main a[href*="available-work"] {
    border-radius: 0 !important;
}

/* Stripe return pages ---------------------------------------------------- */
.rb060-return-banner {
    width: min(100% - clamp(28px, 6vw, 96px), 1680px);
    margin: 0 auto;
    padding: clamp(62px, 8vw, 126px) 0 clamp(34px, 5vw, 72px);
}
.rb060-return-banner__kicker {
    margin: 0 0 14px;
    color: var(--rb060-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.rb060-return-banner__title {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 900;
    line-height: .84;
    letter-spacing: -.05em;
    text-transform: uppercase;
}
.rb060-return-banner__copy {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.62);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .rb060-form-heading { grid-template-columns: 1fr; }
    .rb060-delivery-options { grid-template-columns: 1fr; }
    .rb060-trust-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .rb060-progress { width: min(100% - 24px, 1680px); }
    .rb060-progress__step { min-height: 46px; padding: 0 7px; font-size: 7px; letter-spacing: .11em; }
    .rb060-progress__step span { display: none; }
    .rb060-cart-intro, .rb060-return-banner { width: min(100% - 28px, 1680px); }
    .rb060-cart-intro { padding-top: 48px; }
    .rb060-delivery-section { margin-inline: -2px; padding: 24px 18px; }
    .rb060-delivery-option { min-height: 112px; }
    .rb060-stripe-handoff { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .rb060-delivery-option,
    .rb060-checkout-submit,
    .rb060-checkout-form input,
    .rb060-checkout-form select,
    .rb060-checkout-form textarea { transition: none !important; }
    .rb060-checkout-submit:hover { transform: none; }
}
