.rpd *,
.rpd *::before,
.rpd *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
.rpd {
    color: #0f172a;
    font-family:
        "Public Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
.rpd img {
    display: block;
    max-width: 100%;
}
.rpd button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Button component (.app-btn) lives in new-main.css for global reuse via <x-button>. */

.rpd a {
    color: inherit;
    text-decoration: none;
}

.rpd {
    --pink: #d42b65;
    --pink-dark: #ee4e86;
    --pink-light: #fce4ec;
    --pink-ultra: #fff5f8;
    --pink-focus: #eeaac1;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --line: #e5e7eb;
    --line-2: #f1f5f9;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --green: #10b981;
    --green-light: #ecfdf5;
    --green-dark: #047857;
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    --red: #ef4444;
    --r: 14px;
    --r-sm: 10px;
    --r-lg: 20px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm:
        0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    background: var(--bg-soft);
}

/* ---------- Layout helpers ---------- */
.rpd .rpd-container {
    max-width: 1240px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .rpd .rpd-container {
        padding: 0 20px;
    }
}
@media (max-width: 640px) {
    .rpd .rpd-container {
        padding: 0 16px;
    }
}

/* ---------- Breadcrumb ---------- */
.rpd .rpd-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.rpd .rpd-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    flex-wrap: wrap;
}
.rpd .rpd-breadcrumb a:hover {
    color: var(--pink);
}
.rpd .rpd-breadcrumb .sep {
    color: var(--muted-2);
}
.rpd .rpd-breadcrumb .current {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- Main grid ---------- */
.rpd .product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    padding: 24px 0 40px;
}
@media (max-width: 1024px) {
    .rpd .product-main {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 24px;
    }
}
@media (max-width: 900px) {
    .rpd .product-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 16px 0 40px;
    }
}
/* Allow both grid items to shrink below their content's intrinsic width
    (the gallery image was otherwise forcing the column wider than the screen). */
.rpd .gallery,
.rpd .booking {
    min-width: 0;
}

/* ---------- Gallery ---------- */
.rpd .gallery {
    position: sticky;
    top: 84px;
    align-self: start;
}
@media (max-width: 900px) {
    .rpd .gallery {
        position: static;
        top: auto;
    }
}
.rpd .gallery-main {
    position: relative;
    background: #f1f5f9;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
}
.rpd .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rpd .gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}
.rpd .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    backdrop-filter: blur(8px);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.rpd .badge-pill svg {
    width: 14px;
    height: 14px;
}
.rpd .badge-pill.green {
    background: rgba(16, 185, 129, 0.95);
}
.rpd .badge-pill.pink {
    background: var(--pink);
}

.rpd .gallery-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.rpd .gallery-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s;
}
.rpd .gallery-action:hover {
    transform: scale(1.08);
}
.rpd .gallery-action svg {
    width: 18px;
    height: 18px;
}
.rpd .gallery-action.saved {
    color: var(--pink);
}

.rpd .gallery-fullscreen {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.rpd .gallery-fullscreen svg {
    width: 14px;
    height: 14px;
}

.rpd .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 2;
}
.rpd .gallery-arrow.prev {
    left: 16px;
}
.rpd .gallery-arrow.next {
    right: 16px;
}
.rpd .gallery-arrow svg {
    width: 18px;
    height: 18px;
}

.rpd .gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 4px;
    scrollbar-width: thin;
}
.rpd .gallery-thumb {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #f1f5f9;
    position: relative;
    transition: border-color 0.15s;
}
.rpd .gallery-thumb.active {
    border-color: var(--pink);
}
.rpd .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rpd .gallery-thumb.video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rpd .gallery-thumb .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 1;
}
.rpd .gallery-thumb .play svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* ---------- Booking panel ---------- */
.rpd .booking {
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 20px;
    position: sticky;
    top: 84px;
    align-self: start;
}
@media (max-width: 900px) {
    .rpd .booking {
        position: static;
    }
}

.rpd .title-row {
    margin-bottom: 10px;
}
.rpd .title-row .breadcrumb-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.rpd .title-row h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 6px;
}
@media (max-width: 900px) {
    .rpd .title-row h1 {
        font-size: 22px;
    }
}
.rpd .title-row .subloc {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rpd .title-row .subloc svg {
    width: 14px;
    height: 14px;
    color: var(--muted-2);
}

/* Trust layer */
.rpd .trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: var(--pink-ultra);
    border-radius: var(--r);
    border: 1px solid #fde7ef;
}
.rpd .trust-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}
.rpd .trust-rating .stars {
    color: #fbbf24;
    letter-spacing: 1px;
    font-size: 13px;
}
.rpd .trust-rating .count {
    font-weight: 500;
    color: var(--muted);
    font-size: 13px;
}
.rpd .trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted-2);
}
.rpd .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
}
.rpd .trust-item svg {
    width: 14px;
    height: 14px;
    color: var(--green);
}
.rpd .trust-item.verified svg {
    color: var(--pink);
}

/* Activity ticker */
.rpd .activity-row[hidden] {
    display: none;
}
.rpd .activity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: #fef9c3;
    border: 1px solid #fde68a;
    margin-bottom: 14px;
    font-size: 13px;
    color: #854d0e;
    font-weight: 600;
}
.rpd .activity-row .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    flex-shrink: 0;
    animation: rpd-pulse 1.6s ease-in-out infinite;
}
@keyframes rpd-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
}

/* Price block */
.rpd .price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.rpd .price-main {
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}
.rpd .price-main .unit {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 2px;
}
.rpd .price-from {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rpd .price-note {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
}
.rpd .price-note strong {
    color: var(--green-dark);
}

/* Form */
.rpd .form-block {
    margin-bottom: 14px;
}
.rpd .form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}
.rpd .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.rpd .form-row.single {
    grid-template-columns: 1fr;
}
.rpd .field {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    transition: border-color 0.15s;
}
.rpd .field:hover {
    border-color: #cbd5e1;
}
.rpd .field:focus-within {
    border-color: var(--pink);
}
.rpd .field-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
    padding: 0;
}
.rpd .field-input::placeholder {
    color: var(--muted-2);
    font-weight: 500;
}
.rpd .field-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.rpd .field-icon svg {
    width: 16px;
    height: 16px;
}
.rpd .field-help {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

/* Compact, height-consistent date/time fields on small screens.
   The fields read too tall on mobile, so pin an explicit height (border-box
   is on, so this is the full outer height) and vertically centre the
   contents. Applies to .field (date) and .rpd-dd-trigger (time) so both
   match. */
@media (max-width: 640px) {
    .rpd .field,
    .rpd .rpd-dd-trigger {
        min-height: 44px;
        height: 44px;
        padding-top: 0;
        padding-bottom: 0;
        display: flex;
        align-items: center;
    }
    .rpd .field-input,
    .rpd .rpd-dd-value {
        font-size: 14px;
        line-height: 1.2;
    }
}

/* Select-style field (used by Timeframe / Duration) */
.rpd .field-select {
    cursor: pointer;
}
.rpd .field-select select.field-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    cursor: pointer;
    padding-right: 24px;
}
.rpd .field-select select.field-input:focus {
    outline: none;
}
.rpd .field-select select.field-input::-ms-expand {
    display: none;
}

/* ---------- Custom dropdown (Quantity / Duration) ---------- */
.rpd .rpd-dropdown {
    position: relative;
}
.rpd .rpd-dd-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s;
}
.rpd .rpd-dd-trigger:hover {
    border-color: #cbd5e1;
}
.rpd .rpd-dropdown.open .rpd-dd-trigger {
    border-color: var(--pink);
}
.rpd .rpd-dd-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.rpd .rpd-dd-trigger .field-icon {
    position: static;
    transform: none;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}
.rpd .rpd-dropdown.open .rpd-dd-trigger .field-icon {
    transform: rotate(180deg);
}
.rpd .rpd-dd-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md, 14px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    padding: 6px;
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.rpd .rpd-dropdown.open .rpd-dd-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.rpd .rpd-dd-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}
.rpd .rpd-dd-option:hover {
    background: #f8fafc;
}
.rpd .rpd-dd-option.selected {
    background: rgba(194, 24, 91, 0.06);
}
.rpd .rpd-dd-option-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.rpd .rpd-dd-option-price {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}
.rpd .rpd-dd-option.selected .rpd-dd-option-price {
    color: var(--pink);
    font-weight: 600;
}

/* Custom end date/time section revealed under the duration dropdown */
.rpd .rpd-custom-duration {
    margin-top: 10px;
}
.rpd .rpd-custom-duration[hidden] {
    display: none;
}

/* ---------- Time frame selector ---------- */
.rpd .timeframe-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
@media (max-width: 380px) {
    .rpd .timeframe-chips {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rpd .tf-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    cursor: pointer;
    text-align: left;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        color 0.15s ease;
}
.rpd .tf-chip:hover {
    border-color: var(--pink);
    background: var(--pink-ultra);
}
.rpd .tf-chip.active {
    border-color: var(--pink);
    background: var(--pink-ultra);
    box-shadow: 0 0 0 3px rgba(212, 43, 101, 0.12);
}
.rpd .tf-chip-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.rpd .tf-chip.active .tf-chip-title {
    color: var(--pink);
}
.rpd .tf-chip-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.2;
}

.rpd .timeframe-times {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: end;
    margin-bottom: 10px;
}
.rpd .tf-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.rpd .tf-time-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.rpd .tf-time-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-2);
    padding-bottom: 12px;
}
.rpd .tf-time-divider svg {
    width: 14px;
    height: 14px;
}

.rpd .tf-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--pink-ultra);
    border: 1px solid #fde7ef;
    border-radius: var(--r-sm);
    font-size: 12.5px;
    color: var(--ink-2);
}
.rpd .tf-summary svg {
    width: 14px;
    height: 14px;
    color: var(--pink);
    flex-shrink: 0;
}
.rpd .tf-summary strong {
    color: var(--ink);
    font-weight: 700;
}

/* Mini calendar */
.rpd .calendar {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    padding: 14px;
    margin-bottom: 12px;
}
.rpd .cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.rpd .cal-month {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}
.rpd .cal-arrows {
    display: flex;
    gap: 4px;
}
.rpd .cal-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    cursor: pointer;
}
.rpd .cal-arrow:hover {
    background: var(--pink-light);
    color: var(--pink);
}
.rpd .cal-arrow svg {
    width: 14px;
    height: 14px;
}
.rpd .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    font-size: 12px;
}
.rpd .cal-dow {
    text-align: center;
    font-weight: 700;
    color: var(--muted);
    padding: 6px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.rpd .cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
    font-weight: 500;
    transition: all 0.12s;
    position: relative;
}
.rpd .cal-day:hover {
    background: var(--pink-light);
}
.rpd .cal-day.empty {
    visibility: hidden;
}
.rpd .cal-day.disabled {
    color: var(--muted-2);
    text-decoration: line-through;
    cursor: not-allowed;
    background: transparent;
}
.rpd .cal-day.disabled:hover {
    background: transparent;
}
.rpd .cal-day.in-range {
    background: var(--pink-light);
    border-radius: 0;
    color: var(--pink-dark);
    font-weight: 700;
}
.rpd .cal-day.start {
    background: var(--pink);
    color: #fff;
    font-weight: 800;
    border-radius: 8px 0 0 8px;
}
.rpd .cal-day.end {
    background: var(--pink);
    color: #fff;
    font-weight: 800;
    border-radius: 0 8px 8px 0;
}
.rpd .cal-day.start.end {
    border-radius: 8px;
}
.rpd .cal-day.low-stock::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--amber);
}
.rpd .cal-legend {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: var(--muted);
    margin-top: 10px;
    flex-wrap: wrap;
}
.rpd .cal-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.rpd .legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.rpd .legend-dot.avail {
    background: #fff;
    border: 1.5px solid var(--line);
}
.rpd .legend-dot.selected {
    background: var(--pink);
}
.rpd .legend-dot.low {
    background: var(--amber);
}
.rpd .legend-dot.unavail {
    background: #cbd5e1;
}

/* Stock indicator */
.rpd .stock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--green-light);
    border: 1px solid #a7f3d0;
    border-radius: var(--r-sm);
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 13px;
}
.rpd .stock-bar.warn {
    background: #fffbeb;
    border-color: #fde68a;
}
.rpd .stock-bar .stock-label {
    color: var(--green-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rpd .stock-bar.warn .stock-label {
    color: #854d0e;
}
.rpd .stock-bar svg {
    width: 14px;
    height: 14px;
}
.rpd .stock-bar .stock-num {
    font-weight: 700;
    color: var(--ink);
}

/* Price breakdown */
.rpd .fees {
    background: var(--bg-soft);
    border-radius: var(--r);
    padding: 14px;
    margin-bottom: 14px;
}
.rpd .fees-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-2);
}
.rpd .fees-row .label {
    display: flex;
    align-items: center;
    gap: 4px;
}
.rpd .fees-row .label .info {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--muted-2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    cursor: help;
}
.rpd .fees-row .price {
    font-weight: 600;
    color: var(--ink);
}
.rpd .fees-row.free .price {
    color: var(--green-dark);
}
.rpd .fees-divider {
    height: 1px;
    background: var(--line);
    margin: 8px 0;
}
.rpd .fees-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 6px;
}
.rpd .fees-total .label {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.rpd .fees-total .price {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}
.rpd .fees-est {
    font-size: 11px;
    color: var(--muted);
    text-align: right;
    margin-top: -2px;
}

/* CTA */
.rpd .cta-primary {
    width: 100%;
    background: var(--pink);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        transform 0.12s,
        background 0.12s,
        box-shadow 0.15s;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.32);
    margin-bottom: 8px;
}
.rpd .cta-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(233, 30, 99, 0.38);
}
.rpd .cta-primary:active {
    transform: translateY(0);
    border: 1.5px solid var(--pink-dark);
}
.rpd .cta-primary svg {
    width: 18px;
    height: 18px;
}

.rpd .cta-secondary {
    width: 100%;
    background: #fff;
    color: var(--pink);
    border: 1.5px solid var(--pink);
    padding: 12px 18px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.12s;
    margin-bottom: 12px;
}
.rpd .cta-secondary:hover {
    background: var(--pink-ultra);
}
.rpd .cta-secondary svg {
    width: 16px;
    height: 16px;
}

.rpd .guarantee {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 12px;
    background: var(--green-light);
    border-radius: var(--r-sm);
    border: 1px solid #a7f3d0;
    font-size: 12.5px;
    color: var(--green-dark);
    line-height: 1.45;
    margin-bottom: 10px;
}
.rpd .guarantee svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--green);
}
.rpd .guarantee strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--green-dark);
}

.rpd .payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line-2);
}
.rpd .pay-icon {
  max-width: 50px;
  width: 100%;
  height: auto;
}

/* ---------- Section blocks ---------- */
.rpd .rpd-section {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}
@media (max-width: 640px) {
    .rpd .rpd-section {
        padding: 20px 18px;
        border-radius: var(--r);
        margin-bottom: 14px;
    }
}
.rpd .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}
.rpd .section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 640px) {
    .rpd .section-title {
        font-size: 18px;
    }
}
.rpd .section-title .emoji {
    font-size: 22px;
}
.rpd .section-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: -8px;
    margin-bottom: 14px;
}

/* Feature icons row */
.rpd .feat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
@media (max-width: 900px) {
    .rpd .feat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .rpd .feat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.rpd .feat-card {
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    padding: 14px 12px;
    text-align: center;
    border: 1px solid var(--line-2);
}
.rpd .feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--pink-ultra);
    color: var(--pink);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rpd .feat-icon svg {
    width: 20px;
    height: 20px;
}
.rpd .feat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}
.rpd .feat-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

/* Description */
.rpd .desc-lead {
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 14px;
}
.rpd .desc-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.rpd .desc-tag {
    background: var(--pink-ultra);
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid #fde7ef;
}
.rpd .desc-body {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
}
.rpd .desc-body p {
    margin-bottom: 10px;
}
.rpd .desc-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 14px 0 6px;
}

/* Read more / see more clamp */
.rpd .rpd-clamp {
    position: relative;
}
.rpd .rpd-clamp.is-clamped {
    max-height: 132px;
    overflow: hidden;
}
.rpd .rpd-clamp.is-clamped::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}
.rpd .rpd-clamp-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand, #e6447a);
}
.rpd .rpd-clamp-toggle:hover {
    text-decoration: underline;
}
.rpd .rpd-clamp-toggle .chev {
    width: 16px;
    height: 16px;
    transition: transform 0.18s ease;
}
.rpd .rpd-clamp-toggle.is-open .chev {
    transform: rotate(180deg);
}

/* Two-col details */
.rpd .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) {
    .rpd .two-col {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.rpd .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rpd .checklist li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-2);
}
.rpd .checklist li:last-child {
    border-bottom: none;
}
.rpd .checklist .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.rpd .checklist .check svg {
    width: 12px;
    height: 12px;
}
.rpd .checklist .cross {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fee2e2;
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.rpd .checklist .cross svg {
    width: 12px;
    height: 12px;
}
.rpd .checklist-h {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rpd .checklist-h .ico-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rpd .checklist-h .ico-circle.green {
    background: var(--green-light);
    color: var(--green-dark);
}
.rpd .checklist-h .ico-circle.red {
    background: #fee2e2;
    color: #b91c1c;
}
.rpd .checklist-h .ico-circle svg {
    width: 14px;
    height: 14px;
}

/* Spec table */
.rpd .spec-h {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 24px 0 10px;
}
.rpd .spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
}
@media (max-width: 480px) {
    .rpd .spec-grid {
        grid-template-columns: 1fr;
    }
}
.rpd .spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
}
.rpd .spec-row .key {
    color: var(--muted);
}
.rpd .spec-row .val {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

/* Delivery callout */
.rpd .delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 768px) {
    .rpd .delivery-grid {
        grid-template-columns: 1fr;
    }
}
.rpd .delivery-card {
    background: var(--bg-soft);
    border-radius: var(--r);
    padding: 16px;
    border: 1px solid var(--line-2);
}
.rpd .delivery-card .head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}
.rpd .delivery-card .head .ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--pink-ultra);
    color: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rpd .delivery-card .head .ico svg {
    width: 15px;
    height: 15px;
}
.rpd .delivery-card p {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
}
.rpd .delivery-card .price-tag {
    font-weight: 700;
    color: var(--green-dark);
    font-size: 13px;
    margin-top: 6px;
}

.rpd .suburb-h {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 22px 0 6px;
}
.rpd .suburb-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}
.rpd .suburb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.rpd .suburb-pills .pill {
    background: #fff;
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--ink-2);
}

/* Reviews */
.rpd .reviews-head {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    background: linear-gradient(135deg, var(--pink-ultra) 0%, #fff 60%);
    border-radius: var(--r);
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid #fde7ef;
}
@media (max-width: 640px) {
    .rpd .reviews-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.rpd .review-score {
    text-align: center;
}
.rpd .review-score .num {
    font-size: 48px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}
.rpd .review-score .stars {
    color: #fbbf24;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 4px 0;
}
.rpd .review-score .count {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}
.rpd .review-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rpd .review-bar {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}
.rpd .review-bar .label {
    font-weight: 600;
    color: var(--ink-2);
}
.rpd .review-bar .track {
    height: 8px;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--line-2);
}
.rpd .review-bar .fill {
    height: 100%;
    background: #fbbf24;
    border-radius: 999px;
}
.rpd .review-bar .pct {
    text-align: right;
    font-weight: 600;
    color: var(--ink-2);
}

.rpd .review-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.rpd .review-chip {
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
}
.rpd .review-chip:hover {
    border-color: var(--pink);
    color: var(--pink);
}
.rpd .review-chip.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.rpd .review {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-2);
}
.rpd .review:last-child {
    border-bottom: none;
}
.rpd .review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.rpd .review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde7ef, #fce4ec);
    color: var(--pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.rpd .review-who {
    flex: 1;
}
.rpd .review-who .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rpd .review-who .verified-mini {
    font-size: 10px;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--green-light);
    padding: 1px 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.rpd .review-who .verified-mini svg {
    width: 10px;
    height: 10px;
}
.rpd .review-who .when {
    font-size: 12px;
    color: var(--muted);
}
.rpd .review-stars {
    color: #fbbf24;
    font-size: 13px;
    letter-spacing: 1px;
}
.rpd .review-event {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-soft);
    padding: 3px 9px;
    border-radius: 999px;
}
.rpd .review-body {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 10px;
}
.rpd .review-photos {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.rpd .review-photo {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}
.rpd .review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rpd .review-supplier-reply {
    background: var(--pink-ultra);
    border-left: 3px solid var(--pink);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
}
.rpd .review-supplier-reply .who {
    font-size: 12px;
    font-weight: 700;
    color: var(--pink-dark);
    margin-bottom: 4px;
}
.rpd .review-supplier-reply .body {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.55;
}

.rpd .reviews-more {
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 12px;
    border-radius: var(--r);
    font-weight: 600;
    color: var(--ink);
    margin-top: 8px;
}
.rpd .reviews-more:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* Event gallery */
.rpd .event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (max-width: 640px) {
    .rpd .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.rpd .event-tile {
    aspect-ratio: 1;
    border-radius: var(--r-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #f1f5f9;
}
.rpd .event-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.rpd .event-tile:hover img {
    transform: scale(1.05);
}
.rpd .event-tile-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
}

/* Supplier card */
.rpd .supplier-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 18px;
    align-items: center;
}
@media (max-width: 640px) {
    .rpd .supplier-card {
        grid-template-columns: 64px 1fr;
        row-gap: 14px;
    }
    .rpd .supplier-card .supplier-actions {
        grid-column: 1 / -1;
        display: flex;
        gap: 8px;
    }
}
.rpd .supplier-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b1626, #1e293b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
}
@media (max-width: 640px) {
    .rpd .supplier-avatar {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }
}
.rpd .supplier-info .name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rpd .supplier-info .name .v {
    color: var(--pink);
}
.rpd .supplier-info .name .v svg {
    width: 18px;
    height: 18px;
}
.rpd .supplier-info .tag {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}
.rpd .supplier-metrics {
    display: flex;
    gap: 18px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.rpd .supplier-metric {
    font-size: 13px;
    color: var(--ink-2);
}
.rpd .supplier-metric strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}
.rpd .supplier-actions {
    display: flex;
    gap: 8px;
}
.rpd .supplier-action {
    background: #fff;
    border: 1.5px solid var(--line);
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
}
.rpd .supplier-action:hover {
    border-color: var(--pink);
    color: var(--pink);
}
.rpd .supplier-perf {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
}
@media (max-width: 640px) {
    .rpd .supplier-perf {
        grid-template-columns: repeat(2, 1fr);
    }
}
.rpd .perf-cell {
    text-align: center;
}
.rpd .perf-cell .pct {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}
.rpd .perf-cell .pct.green {
    color: var(--green-dark);
}
.rpd .perf-cell .pct.pink {
    color: var(--pink);
}
.rpd .perf-cell .lbl {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 4px;
    font-weight: 600;
}

/* Bundle */
.rpd .bundle {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, var(--pink-ultra), #fff);
    border-radius: var(--r);
    padding: 16px;
    border: 1px solid #fde7ef;
    margin-top: 14px;
}
@media (max-width: 640px) {
    .rpd .bundle {
        grid-template-columns: 1fr;
    }
}
.rpd .bundle-items {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.rpd .bundle-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}
.rpd .bundle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rpd .bundle-plus {
    font-size: 22px;
    font-weight: 600;
    color: var(--muted);
}
.rpd .bundle-cta-block {
    text-align: right;
}
@media (max-width: 640px) {
    .rpd .bundle-cta-block {
        text-align: left;
    }
}
.rpd .bundle-savings {
    font-size: 13px;
    color: var(--green-dark);
    font-weight: 700;
}
.rpd .bundle-save {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--green);
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 4px;
}
.rpd .bundle-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}
.rpd .bundle-price .strike {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: line-through;
    margin-left: 4px;
}
.rpd .bundle-btn {
    background: var(--pink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}
.rpd .bundle-btn:hover {
    background: var(--pink-dark);
}

/* Frequently rented list */
.rpd .fr-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}
.rpd .fr-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2);
}
.rpd .fr-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}
.rpd .fr-info .name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 2px;
}
.rpd .fr-info .price {
    font-size: 13px;
    color: var(--muted);
}
.rpd .fr-info .price strong {
    color: var(--pink-dark);
}
.rpd .fr-add {
    background: #fff;
    border: 1.5px solid var(--pink);
    color: var(--pink);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.rpd .fr-add:hover {
    background: var(--pink);
    color: #fff;
}

/* Complete event categories */
.rpd .cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 640px) {
    .rpd .cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.rpd .cat-tile {
    aspect-ratio: 4/3;
    border-radius: var(--r);
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
    cursor: pointer;
    display: block;
}
.rpd .cat-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.rpd .cat-tile:hover img {
    transform: scale(1.06);
}
.rpd .cat-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(15, 23, 42, 0.75)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    color: #fff;
}
.rpd .cat-tile-overlay .name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.rpd .cat-tile-overlay .count {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 2px;
}

/* Related items */
.rpd .related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 900px) {
    .rpd .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .rpd .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
.rpd .rel-card {
    background: #fff;
    border-radius: var(--r);
    border: 1px solid var(--line);
    overflow: hidden;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
    cursor: pointer;
}
.rpd .rel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.rpd .rel-image {
    aspect-ratio: 4/3;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}
.rpd .rel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rpd .rel-image .rel-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.rpd .rel-image .rel-badge svg {
    width: 10px;
    height: 10px;
}
.rpd .rel-image .rel-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
}
.rpd .rel-image .rel-fav svg {
    width: 14px;
    height: 14px;
}
.rpd .rel-body {
    padding: 12px;
}
.rpd .rel-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 4px;
}
.rpd .rel-meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.rpd .rel-meta .rating {
    color: #fbbf24;
}
.rpd .rel-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.rpd .rel-price .from {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
}
.rpd .rel-price .amt {
    font-size: 16px;
}
.rpd .rel-price .amt .pink {
    color: var(--pink-dark);
}
.rpd .rel-price .amt .unit {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

/* FAQ */
.rpd .faq-item {
    border-bottom: 1px solid var(--line-2);
}
.rpd .faq-item:last-child {
    border-bottom: none;
}
.rpd .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    gap: 14px;
    list-style: none;
}
.rpd .faq-q::-webkit-details-marker {
    display: none;
}
.rpd .faq-q .arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-2);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.rpd .faq-q .arrow svg {
    width: 14px;
    height: 14px;
}
.rpd .faq-item[open] .faq-q .arrow {
    transform: rotate(180deg);
}
.rpd .faq-a {
    padding: 0 0 16px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
}

/* AI assistant box */
.rpd .ai-box {
    background: linear-gradient(135deg, #0b1626 0%, #1e293b 100%);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}
@media (max-width: 640px) {
    .rpd .ai-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.rpd .ai-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pink) 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 640px) {
    .rpd .ai-icon {
        margin: 0 auto;
    }
}
.rpd .ai-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}
.rpd .ai-text .ai-h {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 640px) {
    .rpd .ai-text .ai-h {
        justify-content: center;
        flex-wrap: wrap;
    }
}
.rpd .ai-text .ai-h .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: rpd-pulse 1.6s ease-in-out infinite;
}
.rpd .ai-text .ai-sub {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}
.rpd .ai-cta {
    background: #fff;
    color: var(--ink);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.rpd .ai-prompts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    grid-column: 1 / -1;
}
.rpd .ai-prompt {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    color: #e2e8f0;
    cursor: pointer;
}
.rpd .ai-prompt:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Share footer block */
.rpd .share-block {
    background: linear-gradient(135deg, #0b1626 0%, #1e293b 100%);
    color: #fff;
    border: none;
}
.rpd .share-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}
@media (max-width: 640px) {
    .rpd .share-inner {
        grid-template-columns: 1fr;
    }
}
.rpd .share-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.rpd .share-sub {
    font-size: 13px;
    color: #cbd5e1;
}
.rpd .share-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rpd .share-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.rpd .share-btn svg {
    width: 14px;
    height: 14px;
}
.rpd .share-btn.pink {
    background: var(--pink);
    border-color: var(--pink);
}

/* Sticky mobile CTA */
.rpd-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 10px 14px env(safe-area-inset-bottom, 10px);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
    align-items: center;
    gap: 12px;
}
@media (max-width: 900px) {
    .rpd-sticky-cta {
        display: flex;
    }
}
.rpd-sticky-cta .sticky-price {
    flex: 1;
    min-width: 0;
}
.rpd-sticky-cta .sticky-price .from {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.rpd-sticky-cta .sticky-price .amt {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}
.rpd-sticky-cta .sticky-price .amt .unit {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-left: 2px;
}
.rpd-sticky-cta .sticky-price .when {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}
.rpd-sticky-cta .sticky-btn {
    background: var(--pink, #d42b65);
    color: #fff;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    box-shadow: 0 6px 14px rgba(212, 43, 101, 0.32);
}
.rpd-sticky-cta .sticky-btn svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 900px) {
    .rpd {
        padding-bottom: 80px;
    }
}

/* ---------- Small phones (≤ 420px) ---------- */
@media (max-width: 420px) {
    .rpd {
        font-size: 14.5px;
    }

    /* Gallery */
    .rpd .gallery-thumb {
        width: 68px;
        height: 68px;
    }
    .rpd .gallery-fullscreen {
        font-size: 11px;
        padding: 7px 11px;
        bottom: 12px;
        right: 12px;
    }
    .rpd .gallery-badges,
    .rpd .gallery-actions {
        top: 12px;
    }
    .rpd .gallery-badges {
        left: 12px;
    }
    .rpd .gallery-actions {
        right: 12px;
    }
    .rpd .gallery-arrow {
        width: 36px;
        height: 36px;
    }
    .rpd .gallery-arrow.prev {
        left: 10px;
    }
    .rpd .gallery-arrow.next {
        right: 10px;
    }

    /* Booking panel */
    .rpd .booking {
        padding: 16px;
    }
    .rpd .title-row h1 {
        font-size: 20px;
    }
    .rpd .price-main {
        font-size: 26px;
    }
    .rpd .form-row {
        grid-template-columns: 1fr;
    }
    .rpd .fees-total .price {
        font-size: 20px;
    }
    .rpd .cta-primary {
        padding: 15px 18px;
        font-size: 15px;
    }

    /* Reviews */
    .rpd .review-score .num {
        font-size: 40px;
    }
    .rpd .review-photo {
        width: 64px;
        height: 64px;
    }
    .rpd .review-meta {
        gap: 8px;
    }

    /* Supplier */
    .rpd .supplier-metrics {
        gap: 12px;
    }
    .rpd .supplier-action {
        flex: 1;
        text-align: center;
    }

    /* Bundle + frequently rented */
    .rpd .bundle-thumb {
        width: 64px;
        height: 64px;
    }
    .rpd .fr-item {
        grid-template-columns: 52px 1fr auto;
        gap: 10px;
        padding: 8px;
    }
    .rpd .fr-item img {
        width: 52px;
        height: 52px;
    }
    .rpd .fr-add {
        padding: 7px 11px;
        font-size: 12px;
    }

    /* Sticky CTA */
    .rpd-sticky-cta {
        padding: 9px 12px env(safe-area-inset-bottom, 9px);
        gap: 10px;
    }
    .rpd-sticky-cta .sticky-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    html {
        overflow-x: clip;
    }
    .rpd {
        overflow-x: clip;
        max-width: 100%;
    }
}
@media (max-width: 640px) {
    .rpd .rpd-breadcrumb {
        font-size: 12px;
    }
    .rpd .rpd-breadcrumb-inner {
        flex-wrap: wrap;
        row-gap: 4px;
        padding: 10px 4px;
    }
}

@media (max-width: 768px) {
    .rpd .delivery-grid {
        gap: 12px;
    }
    .rpd .reviews-head {
        padding: 16px;
    }
    .rpd .ai-box {
        padding: 20px;
        gap: 14px;
    }
    .rpd .review-who .name{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .rpd .gallery-thumbs {
        padding-right: 16px;
    }
    .rpd .desc-tags,
    .rpd .suburb-pills,
    .rpd .review-filters {
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .rpd .supplier-actions {
        width: 100%;
    }
    .rpd .share-actions .share-btn {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }
}

/* Add-on disclosure hint (shown until the booking setup is complete) */
.rpd .rpd-addon-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px dashed var(--line, #e5e7eb);
    border-radius: var(--r-sm, 10px);
    background: var(--bg-soft, #f8fafc);
    color: var(--muted, #64748b);
    font-size: 13px;
    line-height: 1.4;
}
.rpd .rpd-addon-hint svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--pink, #d42b65);
}

/* Reveal add-ons once the booking essentials are chosen. !important so it wins
   over the engine's inline display:none toggling. */
#bookingFormQuestionsSection.rpd-addons-ready {
    display: flex !important;
}
/* Match the panel's block rhythm so the add-ons don't butt against the
   price breakdown / hint. */
.rpd #bookingFormQuestionsSection.rpd-addons-ready {
    gap: 14px;
    margin-bottom: 14px;
}
.rpd .rpd-addon-hint {
    margin-bottom: 14px;
}

/* ---------- Photo lightbox ---------- */
.rpd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(4px);
}
.rpd-lightbox[hidden] { display: none; }
.rpd-lightbox-img {
    max-width: min(90vw, 1100px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.rpd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}
.rpd-lightbox-close:hover { background: rgba(255, 255, 255, 0.26); }
.rpd-lightbox-close svg { width: 22px; height: 22px; }
.rpd-lightbox-arrow {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}
.rpd-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.26); }
.rpd-lightbox-arrow svg { width: 26px; height: 26px; }
.rpd-lightbox-count {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 12px;
    border-radius: 999px;
}
@media (max-width: 600px) {
    .rpd-lightbox-arrow { width: 40px; height: 40px; }
    .rpd-lightbox-count { bottom: 14px; }
}

/* Recommendation rails reuse the shared .product-grid, which only gets its
   column count from a parent context class — give it 4-up inside .rpd. */
.rpd .rpd-section .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .rpd .rpd-section .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .rpd .rpd-section .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Q&A component carries a 72px top margin for the production layout; inside the
   redesign's section card that just creates a big empty gap above the heading. */
.rpd .rpd-section .qa-container {
    margin-top: 0;
}

/* Stock / urgency badge levels (tiered by availability + demand) */
.rpd .stock-bar .stock-emoji { font-size: 14px; line-height: 1; }
.rpd .stock-bar.stock-green { background: var(--green-light); border-color: #a7f3d0; }
.rpd .stock-bar.stock-green .stock-label { color: var(--green-dark); }
.rpd .stock-bar.stock-amber { background: #fffbeb; border-color: #fde68a; }
.rpd .stock-bar.stock-amber .stock-label { color: #854d0e; }
.rpd .stock-bar.stock-orange { background: #fff7ed; border-color: #fed7aa; }
.rpd .stock-bar.stock-orange .stock-label { color: #9a3412; }
.rpd .stock-bar.stock-red { background: #fef2f2; border-color: #fecaca; }
.rpd .stock-bar.stock-red .stock-label { color: #b91c1c; }
.rpd .stock-bar.stock-out { background: #f8fafc; border-color: var(--line); }
.rpd .stock-bar.stock-out .stock-label { color: var(--muted); }
