:root {
    --cfm-rm-ink: #342821;
    --cfm-rm-muted: #6d5a48;
    --cfm-rm-muted-strong: #51453b;
    --cfm-rm-cream: #fbf7f1;
    --cfm-rm-card: #fffdfa;
    --cfm-rm-accent: #caa46a;
    --cfm-rm-accent-dark: #8c6a43;
    --cfm-rm-soft: #efe1cf;
    --cfm-rm-border: #d8c2a3;
    --cfm-rm-shadow: 0 28px 64px rgba(52, 40, 33, 0.12);
    --cfm-rm-radius: 24px;
}

.cfm-rm-theme-frame {
    padding: 24px 16px 72px;
    background:
        radial-gradient(circle at top left, rgba(202, 164, 106, 0.15), transparent 30%),
        radial-gradient(circle at top right, rgba(140, 106, 67, 0.12), transparent 34%),
        linear-gradient(180deg, #fbf7f1 0%, #f0e3d1 100%);
}

.cfm-rm-shell {
    max-width: 1180px;
    margin: 0 auto;
    color: var(--cfm-rm-ink);
}

.cfm-rm-hero,
.cfm-rm-card,
.cfm-rm-empty,
.cfm-rm-message {
    border: 1px solid var(--cfm-rm-border);
    border-radius: var(--cfm-rm-radius);
    background: var(--cfm-rm-card);
    box-shadow: var(--cfm-rm-shadow);
}

.cfm-rm-hero,
.cfm-rm-card,
.cfm-rm-empty,
.cfm-rm-message {
    padding: 24px;
}

.cfm-rm-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    margin-bottom: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(251, 247, 241, 0.98)),
        radial-gradient(circle at top right, rgba(202, 164, 106, 0.18), transparent 34%);
}

.cfm-rm-hero-copy h1,
.cfm-rm-section-header h1,
.cfm-rm-empty h1,
.cfm-rm-empty h2 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1;
}

.cfm-rm-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(202, 164, 106, 0.18);
    color: var(--cfm-rm-accent-dark);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cfm-rm-lead,
.cfm-rm-muted,
.cfm-rm-rich-copy p,
.cfm-rm-card p {
    color: var(--cfm-rm-muted);
    line-height: 1.65;
}

.cfm-rm-product-page .cfm-rm-muted,
.cfm-rm-product-page .cfm-rm-card p,
.cfm-rm-category-page .cfm-rm-muted,
.cfm-rm-category-page .cfm-rm-card p,
.cfm-rm-cart-page .cfm-rm-muted,
.cfm-rm-cart-page .cfm-rm-card p,
.cfm-rm-portal-page .cfm-rm-muted,
.cfm-rm-portal-page .cfm-rm-card p {
    font-size: 1.3rem;
}

.cfm-rm-product-page .cfm-rm-rich-copy,
.cfm-rm-product-page .cfm-rm-rich-copy p,
.cfm-rm-product-page .cfm-rm-rich-copy li,
.cfm-rm-category-page .cfm-rm-rich-copy,
.cfm-rm-category-page .cfm-rm-rich-copy p,
.cfm-rm-category-page .cfm-rm-rich-copy li,
.cfm-rm-cart-page .cfm-rm-rich-copy,
.cfm-rm-cart-page .cfm-rm-rich-copy p,
.cfm-rm-cart-page .cfm-rm-rich-copy li {
    font-size: 1.24rem;
    line-height: 1.75;
}

.cfm-rm-hero-media img,
.cfm-rm-product-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 20px;
}

.cfm-rm-image-fallback {
    min-height: 320px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background:
        radial-gradient(circle at top, rgba(202, 164, 106, 0.22), transparent 36%),
        linear-gradient(135deg, #dbc4a4, #f7eee3);
    color: var(--cfm-rm-ink);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cfm-rm-gallery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.cfm-rm-gallery-strip__item img,
.cfm-rm-category-hero-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.cfm-rm-gallery-strip__item img {
    height: 96px;
}

.cfm-rm-category-hero-image {
    margin-top: 18px;
}

.cfm-rm-category-hero-image img {
    height: auto;
    max-height: 380px;
}

.cfm-rm-meta-row,
.cfm-rm-actions-row,
.cfm-rm-card-footer,
.cfm-rm-chip-row,
.cfm-rm-inline-fields,
.cfm-rm-cart-line-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cfm-rm-actions-row,
.cfm-rm-button-stack,
.cfm-rm-chip-row {
    flex-wrap: wrap;
}

.cfm-rm-price,
.cfm-rm-status-pill {
    font-size: 1.35rem;
    font-weight: 700;
}

.cfm-rm-product-page .cfm-rm-price {
    font-size: clamp(2.35rem, 3.8vw, 2.9rem);
}

.cfm-rm-chip,
.cfm-rm-status-pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--cfm-rm-cream);
    border: 1px solid var(--cfm-rm-border);
}

.cfm-rm-ghost-button,
.cfm-rm-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cfm-rm-primary-button {
    border: 0;
    background: linear-gradient(135deg, var(--cfm-rm-accent), #b88a4f);
    color: #2f241d;
    cursor: pointer;
}

.cfm-rm-ghost-button {
    border: 1px solid var(--cfm-rm-border);
    color: var(--cfm-rm-ink);
    background: rgba(255, 255, 255, 0.88);
}

.cfm-rm-ghost-button:hover,
.cfm-rm-primary-button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.cfm-rm-product-grid,
.cfm-rm-portal-grid,
.cfm-rm-cart-layout,
.cfm-rm-card-grid {
    display: grid;
    gap: 24px;
}

.cfm-rm-product-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.cfm-rm-portal-grid,
.cfm-rm-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cfm-rm-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cfm-rm-cart-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.cfm-rm-cart-main,
.cfm-rm-cart-sidebar,
.cfm-rm-tab-stack {
    display: grid;
    gap: 24px;
}

.cfm-rm-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.cfm-rm-category-section {
    display: grid;
    gap: 18px;
    margin-bottom: 8px;
}

.cfm-rm-category-section__header {
    display: grid;
    gap: 8px;
}

.cfm-rm-category-section__header h2 {
    margin: 0;
}

.cfm-rm-category-section__header p {
    margin: 0;
}

.cfm-rm-category-page .cfm-rm-section-header {
    margin-bottom: 40px;
    padding: 28px 32px 34px;
}

.cfm-rm-category-page .cfm-rm-section-header h1 {
    margin: 12px 0 0;
}

.cfm-rm-category-page .cfm-rm-section-header .cfm-rm-lead {
    margin: 18px 0 0;
    max-width: 960px;
}

.cfm-rm-category-page .cfm-rm-category-section {
    gap: 26px;
    margin: 0 0 44px;
}

.cfm-rm-category-page .cfm-rm-category-section__header {
    gap: 14px;
    margin-bottom: 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 149, 200, 0.22);
}

.cfm-rm-category-page .cfm-rm-category-section__header h2 {
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    font-size: 40px;
    line-height: 1.05;
}

.cfm-rm-category-page .cfm-rm-category-section__header h2::after {
    content: '';
    display: block;
    width: 96px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0095c8 0%, #ffc72c 100%);
}

.cfm-rm-category-page .cfm-rm-category-section__header p {
    max-width: 760px;
    font-size: 18px !important;
    line-height: 1.65;
}

.cfm-rm-category-subgrid,
.cfm-rm-category-page .cfm-rm-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cfm-rm-category-page .cfm-rm-card-grid {
    align-items: start;
}

.cfm-rm-category-page .cfm-rm-category-card,
.cfm-rm-category-page .cfm-rm-product-card {
    padding: 14px;
}

.cfm-rm-category-card__link,
.cfm-rm-product-card__link {
    display: grid;
    gap: 16px;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.cfm-rm-category-card__media,
.cfm-rm-product-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 4px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(216, 194, 163, 0.55);
    background: rgba(255, 255, 255, 0.8);
}

.cfm-rm-category-card__media img,
.cfm-rm-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    border-radius: 18px;
}

.cfm-rm-category-card__media .cfm-rm-image-fallback,
.cfm-rm-product-card__media .cfm-rm-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 18px;
}

.cfm-rm-category-card__copy,
.cfm-rm-category-page .cfm-rm-product-card-copy {
    display: grid;
    gap: 8px;
    align-content: start;
    flex: 1 1 auto;
}

.cfm-rm-category-card__copy h3,
.cfm-rm-category-page .cfm-rm-product-card-copy h2,
.cfm-rm-category-page .cfm-rm-product-card-copy h3 {
    margin: 0;
    line-height: 1.2;
}

.cfm-rm-category-card__copy h3 {
    font-size: 24px;
}

.cfm-rm-category-page .cfm-rm-product-card-copy h3 {
    font-size: 26px;
    line-height: 1.14;
}

.cfm-rm-category-page .cfm-rm-category-card--compact {
    padding: 12px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__link {
    gap: 12px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__media {
    padding: 6px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__copy {
    gap: 6px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__copy h3 {
    font-size: 20px !important;
    line-height: 1.18;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__footer {
    padding-top: 2px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__count {
    font-size: 15px !important;
    line-height: 1.35;
    font-weight: 600;
}

.cfm-rm-category-page .cfm-rm-product-card-copy h3 {
    font-size: 24px !important;
    line-height: 1.16;
}

.cfm-rm-category-page .cfm-rm-product-card-copy {
    text-align: center;
}

.cfm-rm-category-card__copy p,
.cfm-rm-category-page .cfm-rm-product-card-copy p {
    margin: 0;
}

.cfm-rm-category-card__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 16px;
    line-height: 1.5;
}

.cfm-rm-category-card__footer,
.cfm-rm-category-page .cfm-rm-product-card .cfm-rm-card-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cfm-rm-category-card__count {
    font-size: 16px;
    line-height: 1.4;
    color: var(--cfm-rm-muted);
    text-align: center;
}

.cfm-rm-category-page .cfm-rm-product-card .cfm-rm-chip {
    align-self: center;
    min-width: 96px;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 1.2;
}

.cfm-rm-category-page .cfm-rm-product-card .cfm-rm-card-footer strong {
    width: 100%;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}

.cfm-rm-category-page .cfm-rm-category-subgrid,
.cfm-rm-category-page .cfm-rm-card-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px;
    align-items: stretch !important;
}

.cfm-rm-category-page .cfm-rm-category-card,
.cfm-rm-category-page .cfm-rm-product-card {
    display: block;
    padding: 16px !important;
    height: 100%;
}

.cfm-rm-category-page .cfm-rm-category-card__link,
.cfm-rm-category-page .cfm-rm-product-card__link {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 100%;
}

.cfm-rm-category-page .cfm-rm-category-card__media,
.cfm-rm-category-page .cfm-rm-product-card__media {
    aspect-ratio: 1 / 1 !important;
    padding: 8px !important;
    border-radius: 24px;
}

.cfm-rm-category-page .cfm-rm-category-card__media img,
.cfm-rm-category-page .cfm-rm-product-card__media img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: contain !important;
    border-radius: 18px;
}

.cfm-rm-category-page .cfm-rm-category-card__media .cfm-rm-image-fallback,
.cfm-rm-category-page .cfm-rm-product-card__media .cfm-rm-image-fallback {
    min-height: 0 !important;
    border-radius: 18px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact {
    padding: 14px !important;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__link {
    gap: 10px;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    flex: 1 1 auto;
    width: 100%;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__copy h3 {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__footer {
    padding-top: 0;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__count {
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.3;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__media {
    display: flex !important;
    align-items: center;
    justify-content: center;
    aspect-ratio: auto !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    overflow: hidden;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__media img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
}

.cfm-rm-category-page .cfm-rm-category-card--compact .cfm-rm-category-card__media .cfm-rm-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
}

.cfm-rm-category-page .cfm-rm-product-card-copy {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
}

.cfm-rm-category-page .cfm-rm-product-card .cfm-rm-chip {
    min-width: 82px;
    padding: 6px 10px;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.1;
}

.cfm-rm-category-page .cfm-rm-product-card-copy h3 {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.2;
}

.cfm-rm-category-page .cfm-rm-product-card .cfm-rm-card-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 0;
}

.cfm-rm-category-page .cfm-rm-product-card .cfm-rm-card-footer strong {
    display: block;
    width: 100%;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.cfm-rm-breadcrumbs {
    margin-bottom: 24px;
    padding: 0 2px 14px;
    border-bottom: 1px solid var(--cfm-rm-border);
}

.cfm-rm-breadcrumbs ol {
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 !important;
    counter-reset: none !important;
}

.cfm-rm-breadcrumbs li {
    list-style: none !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--cfm-rm-muted);
    margin: 0 !important;
    padding: 0 !important;
    counter-increment: none !important;
}

.cfm-rm-breadcrumbs li::before,
.cfm-rm-breadcrumbs li::marker {
    content: none !important;
}

.cfm-rm-breadcrumbs li:not(:last-child)::after {
    content: '>';
    color: var(--cfm-rm-border);
    font-weight: 700;
}

.cfm-rm-breadcrumbs a {
    color: var(--cfm-rm-accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.cfm-rm-breadcrumbs a:hover {
    text-decoration: underline;
}

.cfm-rm-breadcrumbs span[aria-current="page"] {
    color: var(--cfm-rm-ink);
    font-weight: 700;
}

.cfm-rm-product-main,
.cfm-rm-product-sidebar {
    display: grid;
    gap: 24px;
    align-content: start;
}

.cfm-rm-product-hero-card,
.cfm-rm-product-details-card,
.cfm-rm-booking-card,
.cfm-rm-availability-card,
.cfm-rm-product-tabs-shell,
.cfm-rm-cart-lines-card {
    padding: 28px;
}

.cfm-rm-product-hero-card {
    display: grid;
    gap: 18px;
}

.cfm-rm-product-hero-card h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.cfm-rm-product-page .cfm-rm-product-details-card h2 {
    color: var(--cfm-rm-accent-dark);
}

.cfm-rm-product-image {
    margin-top: 4px;
}

.cfm-rm-product-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(216, 194, 163, 0.55);
}

.cfm-rm-product-details-card {
    display: grid;
    gap: 20px;
}

.cfm-rm-product-details-card > :first-child {
    margin-top: 0;
}

.cfm-rm-booking-card {
    position: sticky;
    top: 24px;
}

.cfm-rm-product-page .cfm-rm-booking-card {
    position: static;
    top: auto;
}

.cfm-rm-booking-card h2,
.cfm-rm-availability-card h2,
.cfm-rm-cart-lines-card h2,
.cfm-rm-product-tabs-shell h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    line-height: 1.05;
}

.cfm-rm-cart-page .cfm-rm-card > h2,
.cfm-rm-product-page .cfm-rm-card > h2 {
    margin: 0 0 18px;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    line-height: 1.06;
}

.cfm-rm-product-page .cfm-rm-booking-card h3,
.cfm-rm-product-page .cfm-rm-availability-card h3,
.cfm-rm-product-page .cfm-rm-product-tabs-shell h3,
.cfm-rm-product-page .cfm-rm-product-details-card h3,
.cfm-rm-cart-page .cfm-rm-panel h3 {
    font-size: 1.52rem;
    line-height: 1.2;
}

.cfm-rm-product-page .cfm-rm-product-description,
.cfm-rm-product-page .cfm-rm-product-description p,
.cfm-rm-product-page .cfm-rm-product-description li {
    font-size: 1.28rem;
    line-height: 1.8;
}

.cfm-rm-availability-card {
    display: grid;
    gap: 14px;
}

.cfm-rm-availability-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.cfm-rm-availability-pill.is-available {
    background: rgba(66, 126, 80, 0.12);
    border-color: rgba(66, 126, 80, 0.28);
    color: #2f6840;
}

.cfm-rm-availability-pill.is-limited {
    background: rgba(202, 164, 106, 0.16);
    border-color: rgba(202, 164, 106, 0.34);
    color: #835c28;
}

.cfm-rm-availability-pill.is-unavailable {
    background: rgba(139, 58, 45, 0.12);
    border-color: rgba(139, 58, 45, 0.26);
    color: #8b3a2d;
}

.cfm-rm-availability-pill.is-info {
    background: rgba(52, 40, 33, 0.08);
    border-color: rgba(52, 40, 33, 0.18);
    color: var(--cfm-rm-muted);
}

.cfm-rm-availability-card .cfm-rm-muted {
    margin: 0;
    font-size: 1.24rem !important;
    line-height: 1.65;
}

.cfm-rm-product-tabs-shell {
    margin-top: 0;
}

.cfm-rm-form,
.cfm-rm-field-grid,
.cfm-rm-choice-grid,
.cfm-rm-qty-rows,
.cfm-rm-line-config-stack {
    display: grid;
    gap: 16px;
}

.cfm-rm-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cfm-rm-field-grid__span-2 {
    grid-column: 1 / -1;
}

.cfm-rm-form label,
.cfm-rm-card label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.cfm-rm-product-page .cfm-rm-form label span,
.cfm-rm-product-page .cfm-rm-card label span,
.cfm-rm-category-page .cfm-rm-form label span,
.cfm-rm-category-page .cfm-rm-card label span,
.cfm-rm-cart-page .cfm-rm-form label span,
.cfm-rm-cart-page .cfm-rm-card label span,
.cfm-rm-portal-page .cfm-rm-form label span,
.cfm-rm-portal-page .cfm-rm-card label span {
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.35;
}

.cfm-rm-form input,
.cfm-rm-form select,
.cfm-rm-form textarea,
.cfm-rm-card input,
.cfm-rm-card select,
.cfm-rm-card textarea {
    width: 100%;
    border: 1px solid var(--cfm-rm-border);
    border-radius: 16px;
    padding: 12px 14px;
    background: #fff;
    color: var(--cfm-rm-ink);
}

.cfm-rm-product-page .cfm-rm-form input,
.cfm-rm-product-page .cfm-rm-form select,
.cfm-rm-product-page .cfm-rm-form textarea,
.cfm-rm-product-page .cfm-rm-card input,
.cfm-rm-product-page .cfm-rm-card select,
.cfm-rm-product-page .cfm-rm-card textarea,
.cfm-rm-category-page .cfm-rm-form input,
.cfm-rm-category-page .cfm-rm-form select,
.cfm-rm-category-page .cfm-rm-form textarea,
.cfm-rm-category-page .cfm-rm-card input,
.cfm-rm-category-page .cfm-rm-card select,
.cfm-rm-category-page .cfm-rm-card textarea,
.cfm-rm-cart-page .cfm-rm-form input,
.cfm-rm-cart-page .cfm-rm-form select,
.cfm-rm-cart-page .cfm-rm-form textarea,
.cfm-rm-cart-page .cfm-rm-card input,
.cfm-rm-cart-page .cfm-rm-card select,
.cfm-rm-cart-page .cfm-rm-card textarea,
.cfm-rm-portal-page .cfm-rm-form input,
.cfm-rm-portal-page .cfm-rm-form select,
.cfm-rm-portal-page .cfm-rm-form textarea,
.cfm-rm-portal-page .cfm-rm-card input,
.cfm-rm-portal-page .cfm-rm-card select,
.cfm-rm-portal-page .cfm-rm-card textarea {
    font-size: 1.22rem;
    line-height: 1.4;
}

.cfm-rm-option-group {
    border: 1px solid var(--cfm-rm-border);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.86);
}

.cfm-rm-option-group legend {
    padding: 0 8px;
    font-weight: 700;
    font-size: 1.32rem;
}

.cfm-rm-booking-options {
    display: grid;
    gap: 16px;
}

.cfm-rm-booking-options > h3 {
    margin: 0;
}

.cfm-rm-product-page .cfm-rm-product-details-card .cfm-rm-panel h3 {
    margin: 0 0 12px;
}

.cfm-rm-product-page .cfm-rm-product-details-card .cfm-rm-chip-row {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 6px;
}

.cfm-rm-product-page .cfm-rm-product-details-card .cfm-rm-chip {
    padding: 8px 12px;
}

.cfm-rm-booking-empty {
    margin: 0;
    font-size: 1.24rem !important;
}

.cfm-rm-product-empty {
    margin: 0;
    font-size: 1.24rem !important;
}

.cfm-rm-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cfm-rm-product-page .cfm-rm-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cfm-rm-choice-card,
.cfm-rm-config-pill {
    display: grid;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--cfm-rm-border);
    border-radius: 18px;
    background: #fff;
}

.cfm-rm-choice-card__body {
    display: grid;
    gap: 12px;
    align-content: start;
}

.cfm-rm-choice-card__media {
    position: relative;
    display: inline-flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    border: 1px solid rgba(216, 194, 163, 0.52);
    background: rgba(255, 255, 255, 0.85);
}

.cfm-rm-choice-card__media--preview {
    cursor: zoom-in;
}

.cfm-rm-choice-card__hover-preview {
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    width: 220px;
    padding: 12px;
    border: 1px solid var(--cfm-rm-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 24;
}

.cfm-rm-choice-card__hover-preview img {
    width: 100%;
    height: 196px;
    object-fit: contain;
    padding: 0;
}

.cfm-rm-choice-card__content {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cfm-rm-choice-card__selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
}

.cfm-rm-choice-card__selector input[type="radio"],
.cfm-rm-choice-card__selector input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.cfm-rm-product-page .cfm-rm-choice-card {
    min-width: 0;
    min-height: 100%;
    padding: 14px;
    gap: 14px;
}

.cfm-rm-product-page .cfm-rm-choice-card__media {
    width: clamp(84px, 32vw, 112px);
    height: clamp(84px, 32vw, 112px);
}

.cfm-rm-choice-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cfm-rm-choice-card__media .cfm-rm-choice-card__hover-preview img {
    height: 196px;
    padding: 0;
}

.cfm-rm-choice-card:hover .cfm-rm-choice-card__hover-preview,
.cfm-rm-choice-card:focus-within .cfm-rm-choice-card__hover-preview,
.cfm-rm-qty-row:hover .cfm-rm-choice-card__hover-preview,
.cfm-rm-qty-row:focus-within .cfm-rm-choice-card__hover-preview {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.cfm-rm-product-page .cfm-rm-choice-card__selector {
    justify-content: flex-start;
    padding-top: 4px;
}

.cfm-rm-choice-card small,
.cfm-rm-qty-row small {
    color: var(--cfm-rm-muted);
    font-size: 1.16rem;
}

.cfm-rm-choice-card strong,
.cfm-rm-qty-row__label {
    font-size: 1.24rem;
    line-height: 1.35;
}

.cfm-rm-booking-options .cfm-rm-muted,
.cfm-rm-booking-options .cfm-rm-choice-card small,
.cfm-rm-booking-options .cfm-rm-qty-row__price {
    color: var(--cfm-rm-muted-strong);
}

.cfm-rm-booking-options .cfm-rm-choice-card strong,
.cfm-rm-booking-options .cfm-rm-qty-row__label {
    color: var(--cfm-rm-ink);
}

.cfm-rm-product-page .cfm-rm-choice-card strong,
.cfm-rm-product-page .cfm-rm-choice-card small {
    overflow-wrap: anywhere;
}

.cfm-rm-product-page .cfm-rm-schedule-preview .cfm-rm-subline {
    grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
    gap: 12px;
}

.cfm-rm-product-page .cfm-rm-schedule-preview [data-role="event-date-preview"] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px !important;
    line-height: 1.25;
}

.cfm-rm-qty-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 14px;
    align-items: center;
}

.cfm-rm-qty-row.has-media {
    grid-template-columns: 96px minmax(0, 1fr) 120px;
}

.cfm-rm-qty-row .cfm-rm-choice-card__media {
    width: 96px;
    height: 96px;
}

.cfm-rm-qty-row__content {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cfm-rm-qty-row__label,
.cfm-rm-qty-row__price {
    display: block;
}

.cfm-rm-qty-row__price {
    line-height: 1.45;
}

.cfm-rm-qty-row input[type="number"] {
    width: 120px;
    max-width: 100%;
    min-width: 0;
    justify-self: end;
}

.cfm-rm-list,
.cfm-rm-subline-list,
.cfm-rm-payment-list {
    display: grid;
    gap: 12px;
}

.cfm-rm-subline,
.cfm-rm-total-row {
    display: grid;
    grid-template-columns: minmax(148px, 196px) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

.cfm-rm-subline {
    padding: 12px 0;
    border-bottom: 1px solid rgba(226, 205, 183, 0.7);
}

.cfm-rm-subline span,
.cfm-rm-total-row span {
    color: var(--cfm-rm-muted);
    font-size: 1.3rem;
    line-height: 1.45;
}

.cfm-rm-subline strong,
.cfm-rm-total-row strong {
    min-width: 0;
    text-align: right;
    font-size: 1.36rem;
    line-height: 1.4;
}

.cfm-rm-product-page .cfm-rm-schedule-preview .cfm-rm-subline span,
.cfm-rm-cart-page .cfm-rm-schedule-preview .cfm-rm-subline span,
.cfm-rm-portal-page .cfm-rm-subline span,
.cfm-rm-portal-page .cfm-rm-total-row span {
    font-size: 1.32rem;
}

.cfm-rm-product-page .cfm-rm-schedule-preview .cfm-rm-subline strong,
.cfm-rm-cart-page .cfm-rm-schedule-preview .cfm-rm-subline strong,
.cfm-rm-portal-page .cfm-rm-subline strong,
.cfm-rm-portal-page .cfm-rm-total-row strong {
    font-size: 1.42rem;
}

.cfm-rm-subline:last-child,
.cfm-rm-total-row:last-child {
    border-bottom: 0;
}

.cfm-rm-cart-line {
    padding: 18px 0;
    border-bottom: 1px solid rgba(226, 205, 183, 0.7);
}

.cfm-rm-cart-line:first-child {
    padding-top: 0;
}

.cfm-rm-totals-card {
    position: sticky;
    top: 24px;
}

.cfm-rm-cart-page .cfm-rm-totals-card {
    position: static;
    top: auto;
}

.cfm-rm-totals-card h2 {
    font-size: clamp(2.3rem, 4vw, 2.8rem);
    line-height: 1;
    margin-bottom: 10px;
}

.cfm-rm-total-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(226, 205, 183, 0.7);
}

.cfm-rm-totals-card .cfm-rm-total-row span,
.cfm-rm-totals-card .cfm-rm-total-row strong {
    font-size: 1.4rem;
}

.cfm-rm-total-row.is-grand {
    font-size: 1.4rem;
}

.cfm-rm-totals-card .cfm-rm-total-row.is-grand span,
.cfm-rm-totals-card .cfm-rm-total-row.is-grand strong {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 700;
}

.cfm-rm-cart-lines-card {
    display: grid;
    gap: 18px;
}

.cfm-rm-cart-lines-card h2 {
    margin: 0;
}

.cfm-rm-cart-line--compact {
    padding: 0 0 20px;
}

.cfm-rm-cart-line--compact:last-child {
    padding-bottom: 0;
}

.cfm-rm-cart-line__body {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.cfm-rm-cart-line__media img,
.cfm-rm-cart-line__media .cfm-rm-image-fallback {
    width: 104px;
    height: 104px;
    min-height: 104px;
    object-fit: contain;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(216, 194, 163, 0.52);
}

.cfm-rm-cart-line__copy {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.cfm-rm-cart-line--compact h3 {
    margin: 0 0 4px;
    font-size: 1.42rem;
    line-height: 1.2;
}

.cfm-rm-cart-line__copy .cfm-rm-muted {
    margin: 0;
    font-size: 1.22rem;
}

.cfm-rm-cart-line-head strong {
    font-size: 1.42rem;
    line-height: 1.15;
}

.cfm-rm-cart-line__controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cfm-rm-cart-line__qty {
    display: grid;
    gap: 6px;
}

.cfm-rm-cart-line__qty span {
    font-size: 1.16rem;
    font-weight: 700;
    color: var(--cfm-rm-muted);
}

.cfm-rm-cart-line__qty input {
    width: 84px;
    min-width: 84px;
    padding: 9px 10px;
    font-size: 1.14rem;
}

.cfm-rm-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(139, 58, 45, 0.26);
    background: rgba(255, 255, 255, 0.94);
    color: #8b3a2d;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cfm-rm-danger-button:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.cfm-rm-panel,
.cfm-rm-group-panel {
    padding: 18px;
    border-radius: 20px;
    background: rgba(251, 247, 241, 0.82);
    border: 1px solid rgba(216, 194, 163, 0.95);
}

.cfm-rm-schedule-preview {
    display: grid;
    gap: 0;
}

.cfm-rm-empty,
.cfm-rm-message {
    text-align: center;
}

.cfm-rm-message {
    margin-bottom: 24px;
}

.cfm-rm-message.is-warning {
    background: #f6ead7;
}

.cfm-rm-chip.is-active {
    background: rgba(202, 164, 106, 0.18);
    border-color: rgba(140, 106, 67, 0.42);
}

.cfm-rm-portal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.cfm-rm-summary-card .cfm-rm-total-row.is-grand strong {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1;
}

.cfm-rm-summary-card .cfm-rm-total-row.is-grand span {
    font-size: 1.18rem;
}

.cfm-rm-rental-items-card,
.cfm-rm-approval-card {
    margin-top: 32px;
}

.cfm-rm-damage-waiver-card,
.cfm-rm-agreement-card {
    margin-top: 32px;
}

.cfm-rm-portal-messages-card,
.cfm-rm-portal-grid + .cfm-rm-card {
    margin-top: 32px;
}

.cfm-rm-portal-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(216, 194, 163, 0.65);
}

.cfm-rm-portal-item:first-child {
    padding-top: 0;
}

.cfm-rm-portal-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cfm-rm-portal-item__head {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 20px;
    align-items: start;
}

.cfm-rm-portal-item__media img,
.cfm-rm-portal-choice-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.cfm-rm-portal-item__media img {
    height: 136px;
}

.cfm-rm-portal-item__copy {
    display: grid;
    gap: 16px;
}

.cfm-rm-portal-item__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cfm-rm-portal-item__topline h3 {
    margin: 0 0 6px;
}

.cfm-rm-portal-item__total {
    font-size: 1.24rem;
}

.cfm-rm-portal-option-stack {
    display: grid;
    gap: 18px;
}

.cfm-rm-portal-option-group {
    padding: 18px;
    border: 1px solid rgba(216, 194, 163, 0.9);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 247, 241, 0.96)),
        radial-gradient(circle at top left, rgba(202, 164, 106, 0.12), transparent 36%);
}

.cfm-rm-portal-option-group.is-locked {
    background: linear-gradient(180deg, rgba(248, 244, 238, 0.98), rgba(245, 237, 227, 0.98));
}

.cfm-rm-portal-option-group__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.cfm-rm-portal-option-group__head h4 {
    margin: 0 0 6px;
}

.cfm-rm-portal-choice-grid,
.cfm-rm-payment-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.cfm-rm-portal-choice-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 100%;
    padding: 16px;
    border: 1px solid rgba(216, 194, 163, 0.9);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cfm-rm-portal-choice-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(52, 40, 33, 0.08);
}

.cfm-rm-portal-choice-card.is-selected {
    border-color: rgba(140, 106, 67, 0.8);
    box-shadow: 0 18px 34px rgba(140, 106, 67, 0.12);
    background: linear-gradient(180deg, #fffdfa, #f8efe4);
}

.cfm-rm-portal-choice-card__selector {
    display: flex;
    justify-content: flex-end;
    min-height: 20px;
}

.cfm-rm-portal-choice-card input[type="radio"],
.cfm-rm-portal-choice-card input[type="checkbox"] {
    position: static;
    width: 18px;
    height: 18px;
    margin: 0;
}

.cfm-rm-portal-choice-card img {
    width: min(100%, 150px);
    height: 96px;
    object-fit: contain;
    justify-self: start;
}

.cfm-rm-portal-choice-card__content {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.cfm-rm-portal-choice-card__content span {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cfm-rm-portal-choice-card__content strong,
.cfm-rm-portal-choice-card__content small {
    overflow-wrap: anywhere;
}

.cfm-rm-portal-choice-card small {
    color: var(--cfm-rm-muted);
    font-size: 1.16rem;
}

.cfm-rm-portal-choice-card__content strong {
    font-size: 1.22rem;
    line-height: 1.3;
}

.cfm-rm-portal-choice-card.is-quantity {
    align-content: start;
}

.cfm-rm-portal-choice-card.is-quantity input[type="number"] {
    width: 100%;
}

.cfm-rm-agreement-shell {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(251, 247, 241, 0.86);
    border: 1px solid rgba(216, 194, 163, 0.85);
    max-height: 320px;
    overflow-y: auto;
}

.cfm-rm-damage-waiver-price {
    display: grid;
    gap: 6px;
    text-align: right;
}

.cfm-rm-damage-waiver-price span {
    color: var(--cfm-rm-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cfm-rm-damage-waiver-price strong {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1;
}

.cfm-rm-damage-waiver-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 12px;
}

.cfm-rm-waiver-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--cfm-rm-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--cfm-rm-muted);
    font-weight: 700;
}

.cfm-rm-waiver-status-pill.is-active {
    color: var(--cfm-rm-ink);
}

.cfm-rm-waiver-status-pill.is-accepted.is-active {
    background: rgba(202, 164, 106, 0.18);
    border-color: rgba(140, 106, 67, 0.45);
}

.cfm-rm-waiver-status-pill.is-declined.is-active {
    background: rgba(52, 40, 33, 0.08);
    border-color: rgba(52, 40, 33, 0.2);
}

.cfm-rm-waiver-status-pill.is-pending.is-active {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(216, 194, 163, 0.95);
}

.cfm-rm-damage-waiver-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 241, 0.96)),
        radial-gradient(circle at top right, rgba(202, 164, 106, 0.14), transparent 34%);
}

.cfm-rm-damage-waiver-card.cfm-rm-waiver-state--accepted {
    border-color: rgba(140, 106, 67, 0.48);
}

.cfm-rm-damage-waiver-card.cfm-rm-waiver-state--declined {
    border-color: rgba(52, 40, 33, 0.16);
}

.cfm-rm-damage-waiver-note {
    margin: 0;
}

.cfm-rm-waiver-actions {
    margin-top: 18px;
}

.cfm-rm-waiver-actions .cfm-rm-primary-button.is-selected,
.cfm-rm-waiver-actions .cfm-rm-ghost-button.is-selected {
    box-shadow: 0 18px 34px rgba(52, 40, 33, 0.1);
}

.cfm-rm-waiver-actions .cfm-rm-ghost-button.is-selected {
    background: var(--cfm-rm-soft);
    border-color: var(--cfm-rm-accent-dark);
}

.cfm-rm-payment-choices {
    margin: 22px 0 24px;
}

.cfm-rm-muted.is-error,
[data-role="portal-payment-status"].is-error {
    color: #8b3a2d;
}

.cfm-rm-message-thread {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.cfm-rm-message-bubble {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--cfm-rm-border);
    background: rgba(255, 255, 255, 0.92);
}

.cfm-rm-message-bubble header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--cfm-rm-muted);
    font-size: 1.04rem;
}

.cfm-rm-message-bubble.is-staff {
    background: rgba(202, 164, 106, 0.1);
}

.cfm-rm-message-form {
    margin-top: 20px;
}

.cfm-rm-portal-page .cfm-rm-admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.cfm-rm-theme-brand-blue {
    --cfm-rm-ink: #002d3c;
    --cfm-rm-muted: #3d5f6b;
    --cfm-rm-muted-strong: #284f5f;
    --cfm-rm-cream: #f2fbff;
    --cfm-rm-card: #ffffff;
    --cfm-rm-accent: #ffc72c;
    --cfm-rm-accent-dark: #0095c8;
    --cfm-rm-soft: #def2fa;
    --cfm-rm-border: #a9d8ea;
    --cfm-rm-shadow: 0 28px 64px rgba(0, 45, 60, 0.14);
}

.cfm-rm-theme-brand-blue.cfm-rm-theme-frame {
    background:
        radial-gradient(circle at top left, rgba(0, 149, 200, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 199, 44, 0.2), transparent 28%),
        linear-gradient(180deg, #f3fbff 0%, #ddeef6 100%);
}

.cfm-rm-theme-brand-blue .cfm-rm-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 253, 0.98)),
        radial-gradient(circle at top right, rgba(0, 149, 200, 0.18), transparent 34%);
}

.cfm-rm-theme-brand-blue .cfm-rm-kicker {
    background: rgba(0, 149, 200, 0.12);
    color: #006d93;
}

.cfm-rm-theme-brand-blue .cfm-rm-image-fallback {
    background:
        radial-gradient(circle at top, rgba(0, 149, 200, 0.18), transparent 36%),
        linear-gradient(135deg, #bce6f5, #f7fcfe);
    color: var(--cfm-rm-ink);
}

.cfm-rm-theme-brand-blue .cfm-rm-primary-button {
    background: linear-gradient(135deg, #ffc72c, #ffb703);
    color: #002d3c;
}

.cfm-rm-theme-brand-blue .cfm-rm-ghost-button {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(0, 149, 200, 0.3);
}

.cfm-rm-theme-brand-blue .cfm-rm-chip,
.cfm-rm-theme-brand-blue .cfm-rm-status-pill {
    background: rgba(255, 255, 255, 0.92);
}

.cfm-rm-theme-brand-blue .cfm-rm-breadcrumbs a {
    color: #006d93;
    font-weight: 700;
}

.cfm-rm-theme-brand-blue .cfm-rm-breadcrumbs li:not(:last-child)::after {
    color: rgba(0, 149, 200, 0.34);
}

.cfm-rm-theme-brand-blue .cfm-rm-panel,
.cfm-rm-theme-brand-blue .cfm-rm-group-panel,
.cfm-rm-theme-brand-blue .cfm-rm-agreement-shell {
    background: rgba(244, 251, 254, 0.92);
    border-color: rgba(0, 149, 200, 0.22);
}

.cfm-rm-theme-brand-blue .cfm-rm-message.is-warning {
    background: #fff8e8;
    border-color: rgba(255, 199, 44, 0.48);
}

.cfm-rm-theme-brand-blue .cfm-rm-chip.is-active,
.cfm-rm-theme-brand-blue .cfm-rm-waiver-status-pill.is-accepted.is-active {
    background: rgba(0, 149, 200, 0.14);
    border-color: rgba(0, 149, 200, 0.35);
}

.cfm-rm-theme-brand-blue .cfm-rm-waiver-status-pill.is-declined.is-active {
    background: rgba(0, 45, 60, 0.08);
    border-color: rgba(0, 45, 60, 0.18);
}

.cfm-rm-theme-brand-blue .cfm-rm-waiver-status-pill.is-pending.is-active {
    background: rgba(255, 199, 44, 0.16);
    border-color: rgba(255, 199, 44, 0.42);
}

.cfm-rm-theme-brand-blue .cfm-rm-portal-option-group {
    border-color: rgba(0, 149, 200, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 250, 253, 0.97)),
        radial-gradient(circle at top left, rgba(0, 149, 200, 0.12), transparent 36%);
}

.cfm-rm-theme-brand-blue .cfm-rm-portal-option-group.is-locked {
    background: linear-gradient(180deg, rgba(245, 250, 252, 0.98), rgba(234, 244, 248, 0.98));
}

.cfm-rm-theme-brand-blue .cfm-rm-portal-choice-card.is-selected {
    border-color: rgba(0, 149, 200, 0.58);
    box-shadow: 0 18px 34px rgba(0, 149, 200, 0.12);
    background: linear-gradient(180deg, #ffffff, #eef8fd);
}

.cfm-rm-theme-brand-blue .cfm-rm-message-bubble.is-staff {
    background: rgba(0, 149, 200, 0.1);
    border-color: rgba(0, 149, 200, 0.22);
}

.cfm-rm-theme-brand-blue .cfm-rm-message-bubble.is-customer {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 149, 200, 0.18);
}

.cfm-rm-theme-brand-blue .cfm-rm-product-image img,
.cfm-rm-theme-brand-blue .cfm-rm-cart-line__media img,
.cfm-rm-theme-brand-blue .cfm-rm-cart-line__media .cfm-rm-image-fallback {
    border-color: rgba(0, 149, 200, 0.22);
    background: rgba(255, 255, 255, 0.94);
}

.cfm-rm-theme-brand-blue .cfm-rm-damage-waiver-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 254, 0.98)),
        radial-gradient(circle at top right, rgba(255, 199, 44, 0.18), transparent 32%);
}

.cfm-rm-theme-brand-blue .cfm-rm-subline,
.cfm-rm-theme-brand-blue .cfm-rm-total-row,
.cfm-rm-theme-brand-blue .cfm-rm-cart-line,
.cfm-rm-theme-brand-blue .cfm-rm-portal-item {
    border-bottom: 1px solid rgba(0, 149, 200, 0.16);
}

.cfm-rm-theme-brand-blue .cfm-rm-danger-button {
    border-color: rgba(0, 149, 200, 0.26);
    color: #006d93;
}

/* Hard frontend type floor so theme root scaling cannot shrink customer text below 16px */
.cfm-rm-product-page,
.cfm-rm-category-page,
.cfm-rm-cart-page,
.cfm-rm-portal-page {
    font-size: 16px;
}

.cfm-rm-product-page p,
.cfm-rm-product-page li,
.cfm-rm-category-page p,
.cfm-rm-category-page li,
.cfm-rm-cart-page p,
.cfm-rm-cart-page li,
.cfm-rm-portal-page p,
.cfm-rm-portal-page li,
.cfm-rm-product-page .cfm-rm-muted,
.cfm-rm-category-page .cfm-rm-muted,
.cfm-rm-cart-page .cfm-rm-muted,
.cfm-rm-portal-page .cfm-rm-muted,
.cfm-rm-product-page .cfm-rm-card p,
.cfm-rm-category-page .cfm-rm-card p,
.cfm-rm-cart-page .cfm-rm-card p,
.cfm-rm-portal-page .cfm-rm-card p,
.cfm-rm-product-page .cfm-rm-booking-empty,
.cfm-rm-product-page .cfm-rm-product-empty,
.cfm-rm-breadcrumbs li,
.cfm-rm-kicker,
.cfm-rm-cart-line__copy .cfm-rm-muted,
.cfm-rm-cart-line__qty span,
.cfm-rm-choice-card small,
.cfm-rm-qty-row small,
.cfm-rm-availability-card .cfm-rm-muted,
.cfm-rm-damage-waiver-price span,
.cfm-rm-message-bubble header,
.cfm-rm-portal-choice-card small {
    font-size: 16px !important;
}

.cfm-rm-product-page .cfm-rm-rich-copy,
.cfm-rm-product-page .cfm-rm-rich-copy p,
.cfm-rm-product-page .cfm-rm-rich-copy li,
.cfm-rm-category-page .cfm-rm-rich-copy,
.cfm-rm-category-page .cfm-rm-rich-copy p,
.cfm-rm-category-page .cfm-rm-rich-copy li,
.cfm-rm-cart-page .cfm-rm-rich-copy,
.cfm-rm-cart-page .cfm-rm-rich-copy p,
.cfm-rm-cart-page .cfm-rm-rich-copy li,
.cfm-rm-product-page .cfm-rm-product-description,
.cfm-rm-product-page .cfm-rm-product-description p,
.cfm-rm-product-page .cfm-rm-product-description li {
    font-size: 18px !important;
}

.cfm-rm-product-page .cfm-rm-form label span,
.cfm-rm-product-page .cfm-rm-card label span,
.cfm-rm-category-page .cfm-rm-form label span,
.cfm-rm-category-page .cfm-rm-card label span,
.cfm-rm-cart-page .cfm-rm-form label span,
.cfm-rm-cart-page .cfm-rm-card label span,
.cfm-rm-portal-page .cfm-rm-form label span,
.cfm-rm-portal-page .cfm-rm-card label span,
.cfm-rm-subline span,
.cfm-rm-total-row span {
    font-size: 16px !important;
}

.cfm-rm-product-page .cfm-rm-form input,
.cfm-rm-product-page .cfm-rm-form select,
.cfm-rm-product-page .cfm-rm-form textarea,
.cfm-rm-product-page .cfm-rm-card input,
.cfm-rm-product-page .cfm-rm-card select,
.cfm-rm-product-page .cfm-rm-card textarea,
.cfm-rm-category-page .cfm-rm-form input,
.cfm-rm-category-page .cfm-rm-form select,
.cfm-rm-category-page .cfm-rm-form textarea,
.cfm-rm-category-page .cfm-rm-card input,
.cfm-rm-category-page .cfm-rm-card select,
.cfm-rm-category-page .cfm-rm-card textarea,
.cfm-rm-cart-page .cfm-rm-form input,
.cfm-rm-cart-page .cfm-rm-form select,
.cfm-rm-cart-page .cfm-rm-form textarea,
.cfm-rm-cart-page .cfm-rm-card input,
.cfm-rm-cart-page .cfm-rm-card select,
.cfm-rm-cart-page .cfm-rm-card textarea,
.cfm-rm-portal-page .cfm-rm-form input,
.cfm-rm-portal-page .cfm-rm-form select,
.cfm-rm-portal-page .cfm-rm-form textarea,
.cfm-rm-portal-page .cfm-rm-card input,
.cfm-rm-portal-page .cfm-rm-card select,
.cfm-rm-portal-page .cfm-rm-card textarea {
    font-size: 16px !important;
}

.cfm-rm-option-group legend,
.cfm-rm-choice-card strong,
.cfm-rm-qty-row__label,
.cfm-rm-subline strong,
.cfm-rm-total-row strong,
.cfm-rm-cart-line--compact h3,
.cfm-rm-cart-line-head strong,
.cfm-rm-portal-item__total,
.cfm-rm-portal-choice-card__content strong,
.cfm-rm-availability-pill {
    font-size: 18px !important;
}

.cfm-rm-crew-page {
    display: grid;
    gap: 18px;
}

.cfm-rm-crew-grid {
    align-items: start;
}

.cfm-rm-crew-header {
    align-items: start;
}

.cfm-rm-crew-loadsheet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.cfm-rm-crew-loadsheet__item {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #dfe9f3;
    background: #f8fbff;
}

.cfm-rm-crew-loadsheet__item strong {
    color: #17324d;
}

.cfm-rm-crew-loadsheet__item span,
.cfm-rm-crew-loadsheet__item small {
    color: #567188;
}

.cfm-rm-crew-stop-stack {
    display: grid;
    gap: 18px;
}

.cfm-rm-crew-stop {
    display: grid;
    gap: 18px;
}

.cfm-rm-crew-stop.is-active-stop {
    border: 1px solid #a05a2c;
    box-shadow: 0 16px 34px rgba(160, 90, 44, 0.14);
}

.cfm-rm-crew-stop__meta {
    display: grid;
    gap: 10px;
}

.cfm-rm-crew-live {
    display: grid;
    gap: 16px;
}

.cfm-rm-crew-live__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.cfm-rm-crew-live__stats .cfm-rm-panel {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #dfe9f3;
    background: #f8fbff;
}

.cfm-rm-crew-live__stats span {
    color: #567188;
}

.cfm-rm-crew-live__stats strong {
    color: #17324d;
    font-size: 1.05rem;
}

.cfm-rm-crew-live__form {
    display: grid;
    gap: 16px;
}

.cfm-rm-crew-timeline {
    display: grid;
    gap: 12px;
}

.cfm-rm-crew-timeline h3 {
    margin: 0;
}

.cfm-rm-crew-timeline__item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #dbe7f1;
    background: #f8fbff;
}

.cfm-rm-crew-form {
    display: grid;
    gap: 16px;
}

.cfm-rm-crew-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.cfm-rm-crew-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.cfm-rm-crew-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.cfm-rm-crew-proof-grid__item {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #dbe7f1;
    background: #f8fbff;
    overflow: hidden;
}

.cfm-rm-crew-proof-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cfm-rm-signature-shell {
    display: grid;
    gap: 10px;
}

.cfm-rm-signature-shell__canvas {
    width: 100%;
    height: 180px;
    border: 1px dashed #87a3bc;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
    touch-action: none;
}

.cfm-rm-crew-signature-preview {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cfm-rm-crew-signature-preview span {
    color: #567188;
    font-size: 0.95rem;
}

.cfm-rm-crew-signature-preview img {
    max-width: 240px;
    border-radius: 14px;
    border: 1px solid #dbe7f1;
    background: #fff;
    padding: 8px;
}

@media (max-width: 920px) {
    .cfm-rm-hero,
    .cfm-rm-product-grid,
    .cfm-rm-portal-grid,
    .cfm-rm-cart-layout,
    .cfm-rm-product-layout {
        grid-template-columns: 1fr;
    }

    .cfm-rm-field-grid {
        grid-template-columns: 1fr;
    }

    .cfm-rm-portal-header,
    .cfm-rm-portal-item__head,
    .cfm-rm-portal-item__topline,
    .cfm-rm-portal-page .cfm-rm-admin-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .cfm-rm-subline,
    .cfm-rm-total-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cfm-rm-subline strong,
    .cfm-rm-total-row strong {
        text-align: left;
    }

    .cfm-rm-damage-waiver-price {
        text-align: left;
    }

    .cfm-rm-crew-checklist,
    .cfm-rm-crew-form-grid,
    .cfm-rm-crew-loadsheet {
        grid-template-columns: 1fr;
    }

    .cfm-rm-totals-card,
    .cfm-rm-booking-card {
        position: static;
    }

    .cfm-rm-cart-line__body {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
    }

    .cfm-rm-cart-line__media img,
    .cfm-rm-cart-line__media .cfm-rm-image-fallback {
        width: 88px;
        height: 88px;
        min-height: 88px;
    }

    .cfm-rm-product-page .cfm-rm-choice-grid {
        grid-template-columns: 1fr;
    }

    .cfm-rm-choice-card__hover-preview {
        display: none;
    }

    .cfm-rm-category-subgrid,
    .cfm-rm-category-page .cfm-rm-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cfm-rm-product-hero-card,
    .cfm-rm-product-details-card,
    .cfm-rm-booking-card,
    .cfm-rm-availability-card,
    .cfm-rm-product-tabs-shell,
    .cfm-rm-cart-lines-card {
        padding: 22px;
    }

    .cfm-rm-cart-line__body {
        grid-template-columns: 1fr;
    }

    .cfm-rm-cart-line__media img,
    .cfm-rm-cart-line__media .cfm-rm-image-fallback {
        width: 100%;
        max-width: 168px;
        height: 120px;
    }

    .cfm-rm-cart-line__controls {
        align-items: flex-start;
    }

    .cfm-rm-qty-row,
    .cfm-rm-qty-row.has-media {
        grid-template-columns: 84px minmax(0, 1fr);
        align-items: start;
    }

    .cfm-rm-qty-row:not(.has-media) {
        grid-template-columns: minmax(0, 1fr);
    }

    .cfm-rm-qty-row input[type="number"] {
        grid-column: 2;
        justify-self: start;
        width: min(132px, 100%);
    }

    .cfm-rm-qty-row:not(.has-media) input[type="number"] {
        grid-column: 1;
    }

    .cfm-rm-category-subgrid,
    .cfm-rm-category-page .cfm-rm-card-grid {
        grid-template-columns: 1fr;
    }
}

.cfm-rm-route-notice-card {
    border: 1px solid rgba(34, 113, 177, 0.14);
    background: linear-gradient(180deg, rgba(34, 113, 177, 0.05), rgba(255, 255, 255, 0.98));
}

.cfm-rm-route-ack-form {
    margin-top: 16px;
}
