.cj-top-basket {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.cj-top-basket:hover,
.cj-top-basket:focus-visible {
    text-decoration: underline;
}

.cj-top-basket:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.cj-top-basket-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cj-header .cj-top-basket {
    margin: 0;
    padding: 6px 8px;
    border: 1px solid #efd09388;
    border-radius: 999px;
    color: #fff9f4;
}

.cj-header .cj-top-basket-icon {
    color: #f8d891;
}

@media (max-width: 520px) {
    .cj-header .cj-top-basket span {
        display: none;
    }
}

body .wp-site-blocks .cj-home > .cj-header {
    padding-inline: max(16px, calc((100% - 1300px) / 2));
    gap: clamp(10px, 1.3vw, 18px);
}

.cj-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
    flex-wrap: nowrap;
    gap: clamp(8px, 1.15vw, 18px);
}

.cj-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
    font-size: clamp(14px, 1.22vw, 17px);
    white-space: nowrap;
}

@media (max-width: 1090px) {
    .cj-header .wp-block-navigation__responsive-container-open {
        display: flex !important;
    }

    .cj-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }

    .cj-header .wp-block-navigation__responsive-container.is-menu-open {
        display: flex !important;
    }

    .cj-header > nav {
        margin-inline-start: auto;
    }
}

.cj-header .cj-site-logo {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.cj-home .cj-direct-gift {
    margin: 22px 0;
    padding: clamp(17px, 3vw, 28px);
    border: 1px solid #ead4e3;
    border-radius: 14px;
    background: #f9edf5;
}

.cj-direct-gift h2 {
    margin: 0 0 8px;
}

.cj-direct-gift form {
    max-width: 520px;
}

.cj-direct-gift label {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.cj-direct-gift .cj-gift-value-label {
    grid-template-columns: minmax(0, max-content) minmax(0, 7.5rem);
    align-items: center;
    justify-content: start;
    gap: 3px 12px;
}

.cj-direct-gift .cj-gift-value-label input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.cj-direct-gift .cj-gift-value-note {
    grid-column: 1 / -1;
}

.cj-direct-gift :is(input, textarea) {
    font: inherit;
    padding: 8px 10px;
    border-radius: 7px;
    border: 1px solid #b980a4;
    background: #fff;
}

.cj-direct-gift input {
    max-width: 120px;
}

.cj-direct-gift :is(input[type="email"], textarea) {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cj-direct-gift textarea {
    resize: vertical;
}

.cj-direct-gift button {
    padding: 9px 15px;
    border: 1px solid #791955;
    border-radius: 999px;
    background: #791955;
    color: white;
    cursor: pointer;
}

.cj-direct-gift [data-cj-gift-status]:empty {
    display: none;
}

.cj-direct-gift form > a {
    display: inline-block;
    margin: 8px 0 0 6px;
}

.wp-site-blocks .cj-home > .wp-block-template-part:has(.cj-native-header) {
    margin: 0;
}

.wp-site-blocks .cj-native-header .cj-header {
    width: 100%;
    margin: 0 auto;
    background: none;
    color: inherit;
}

.wp-site-blocks .cj-native-header .cj-native-brand {
    margin: 0;
}

.wp-site-blocks .cj-native-header .wp-block-site-title > a {
    font: inherit;
}

[data-cj-product-feedback] {
    margin: .65rem 0 .25rem;
}

[data-cj-product-feedback]:empty {
    margin: 0;
}

[role="status"].cj-basket-confirmation {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin: .85rem 0 .55rem;
    padding: .75rem .9rem;
    border: 1px solid #a8c8b4;
    border-inline-start: 4px solid #337451;
    border-radius: 8px;
    background: #eaf5ee;
    color: #17452d;
}

.cj-booking-picker > .cj-basket-confirmation {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.cj-basket-confirmation::before {
    content: "✓" / "";
    flex-shrink: 0;
}

.cj-basket-confirmation + a:not([hidden]),
.cj-picker-actions:has(.cj-basket-confirmation) [data-basket-link]:not([hidden]) {
    display: inline-block;
    padding: .5rem .9rem;
    border: 1px solid #871862;
    border-radius: 999px;
    background: #871862;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.cj-basket-confirmation + a:not([hidden]):hover,
.cj-picker-actions:has(.cj-basket-confirmation) [data-basket-link]:not([hidden]):hover {
    background: #69144c;
    color: #fff;
    text-decoration: underline;
}

.cj-basket-confirmation + a:not([hidden]):focus-visible,
.cj-picker-actions:has(.cj-basket-confirmation) [data-basket-link]:not([hidden]):focus-visible {
    outline: 2px solid #74164d;
    outline-offset: 3px;
}

[data-cj-product-feedback],
[data-cj-gift-status],
[data-ticket-status],
[data-add-status] {
    font-weight: 700;
}

button[aria-disabled="true"][data-add-to-basket],
.cj-booking-picker button[aria-disabled="true"],
[data-cj-direct-gift] button[aria-disabled="true"] {
    cursor: default;
}
