:root {
    --dooge-blue: #316282;
    --dooge-blue-dark: #224a64;
    --dooge-gold: #c8ac5b;
    --dooge-gold-dark: #b89a46;
    --dooge-ink: #484848;
    --dooge-muted: #676767;
    --dooge-line: #d8dcde;
    --dooge-soft: #f4f6f7;
}

.dooge-favorite-toggle,
.dooge-favorites,
.dooge-shared-favorites {
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

/*
 * The existing Favorites page was built as a two-column Elementor section:
 * the shortcode lived in the first column and the old Elementor form lived in
 * the second. The shortcode now contains the complete form, so let that column
 * occupy the section and retire the obsolete sibling without requiring a page
 * edit in Elementor. Scope this to a section that actually contains the new
 * favorites UI so other two-column sections are left alone.
 */
html.dooge-favorites-page .elementor-section:has(.dooge-favorites) > .elementor-container > .elementor-column:has(.dooge-favorites) {
    width: 100% !important;
}

html.dooge-favorites-page .elementor-section:has(.dooge-favorites) > .elementor-container > .elementor-column:has(.dooge-favorites) ~ .elementor-column {
    display: none !important;
}

.dooge-favorite-toggle {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid var(--dooge-blue) !important;
    border-radius: 999px !important;
    color: var(--dooge-blue) !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    gap: 7px;
    line-height: 1 !important;
    min-height: 36px !important;
    padding: 9px 15px !important;
    width: auto !important;
    transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}

.dooge-favorite-toggle:hover,
.dooge-favorite-toggle.is-favorite {
    background: var(--dooge-blue) !important;
    color: #fff !important;
}

.dooge-favorite-toggle__star {
    font-size: 17px;
    line-height: .8;
}

.dooge-favorite-toggle__star::before {
    content: "\2606";
}

.dooge-favorite-toggle.is-favorite .dooge-favorite-toggle__star::before {
    color: var(--dooge-gold);
    content: "\2605";
}

.dooge-favorite-toggle.is-loading,
.dooge-favorites__button.is-loading,
.dooge-favorites__remove.is-loading {
    cursor: wait;
    opacity: .55;
}

.dooge-favorites {
    color: var(--dooge-ink);
    margin: 0 auto;
    max-width: 1180px;
}

.dooge-favorites *,
.dooge-shared-favorites * {
    box-sizing: border-box;
}

.dooge-favorites__screen {
    align-items: start;
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
    grid-template-columns: minmax(0, 65fr) minmax(320px, 35fr);
}

.dooge-favorites__header {
    background: var(--dooge-blue);
    color: #fff;
    padding: clamp(32px, 6vw, 64px);
    position: relative;
}

.dooge-favorites__header::after {
    background: var(--dooge-gold);
    bottom: 0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    width: 96px;
}

.dooge-favorites__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.dooge-favorites__header h2,
.dooge-shared-favorites__header h1 {
    color: inherit;
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: -.035em;
    line-height: 1.1;
    margin: 0;
}

.dooge-favorites__header > p:last-child {
    font-size: 15px;
    margin: 16px 0 0;
    max-width: 670px;
    opacity: .84;
}

.dooge-favorites__selection-panel,
.dooge-favorites__form {
    background: #fff;
    border: 1px solid var(--dooge-line);
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
}

.dooge-favorites__selection-panel {
    background: transparent;
    border: 0;
    padding: 0;
}

.dooge-favorites__section-heading,
.dooge-favorites__form-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.dooge-favorites__section-heading > div,
.dooge-favorites__form-heading {
    align-items: center;
    display: flex;
    gap: 14px;
}

.dooge-favorites__form-heading {
    justify-content: flex-start;
}

.dooge-favorites__section-heading h3,
.dooge-favorites__form-heading h3 {
    color: var(--dooge-ink);
    font-size: 23px;
    line-height: 1.2;
    margin: 0;
}

.dooge-favorites__section-heading > p,
.dooge-favorites__form-heading p {
    color: var(--dooge-muted);
    font-size: 12px;
    margin: 4px 0 0;
}

.dooge-favorites__step {
    align-items: center;
    border: 1px solid var(--dooge-blue);
    border-radius: 50%;
    color: var(--dooge-blue);
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 11px;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    letter-spacing: .06em;
}

.dooge-favorites__grid,
.dooge-favorites__print-grid {
    display: grid;
    gap: 28px 20px;
}

.dooge-favorites__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dooge-favorites__print-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dooge-favorites__grid.is-hidden,
.dooge-favorites__empty.is-hidden {
    display: none;
}

.dooge-favorites__card {
    min-width: 0;
    position: relative;
}

.dooge-favorites__card-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.dooge-favorites__image-wrap {
    aspect-ratio: 4 / 3;
    background: var(--dooge-soft);
    display: block;
    overflow: hidden;
}

.dooge-favorites__image,
.dooge-favorites__image-placeholder {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.dooge-favorites__image-placeholder {
    background: linear-gradient(135deg, #eef1f2, #dce3e7);
}

.dooge-favorites__card-link:hover .dooge-favorites__image {
    transform: scale(1.025);
}

.dooge-favorites .dooge-favorites__card-title {
    color: var(--dooge-ink);
    font-size: 15px !important;
    line-height: 1.3;
    margin: 10px 0 8px;
    text-align: center;
}

.dooge-favorites__details {
    background: #fff;
    display: grid;
    font-size: 11px;
    gap: 16px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    min-height: 0;
    padding: 12px 0 0;
}

.dooge-favorites__details div {
    border: 0;
    display: block;
    min-width: 0;
    padding: 0;
}

.dooge-favorites__details dt {
    align-items: center;
    color: var(--dooge-blue);
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 7px;
    line-height: 1.25;
}

.dooge-favorites__details dd {
    color: var(--dooge-ink);
    font-size: 12px;
    line-height: 1.4;
    margin: 4px 0 0;
}

.dooge-favorites__details .sub-icon {
    display: inline-block;
    flex: 0 0 26px;
    height: 26px;
    object-fit: contain;
    width: 26px;
}

.dooge-favorites .dooge-favorites__remove {
    align-items: center !important;
    background: #a74747 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 23px !important;
    font-weight: 400 !important;
    height: 32px !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-height: 32px !important;
    padding: 0 0 3px !important;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 32px !important;
}

.dooge-favorites .dooge-favorites__remove:hover,
.dooge-favorites .dooge-favorites__remove:focus-visible {
    background: #8d3232 !important;
    color: #fff !important;
}

.dooge-favorites__empty {
    align-items: center;
    background: var(--dooge-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    min-height: 220px;
    padding: 36px;
    text-align: center;
}

.dooge-favorites__empty > span {
    color: var(--dooge-blue);
    font-size: 44px;
}

.dooge-favorites__empty p {
    margin: 0;
    max-width: 560px;
}

.dooge-favorites__empty a {
    color: var(--dooge-blue);
    font-weight: 700;
}

.dooge-favorites__form {
    border-top: 3px solid var(--dooge-gold);
    position: relative;
}

.dooge-favorites__honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.dooge-favorites__fieldset {
    border: 0;
    margin: 0 0 30px;
    min-width: 0;
    padding: 0;
}

.dooge-favorites__fieldset legend {
    align-items: center;
    color: var(--dooge-ink);
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
    letter-spacing: .08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.dooge-info {
    display: inline-flex;
    position: relative;
    vertical-align: middle;
}

.dooge-favorites .dooge-info__button {
    align-items: center !important;
    background: var(--dooge-blue) !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex !important;
    font-family: Georgia, serif !important;
    font-size: 12px !important;
    font-style: italic !important;
    font-weight: 700 !important;
    height: 19px !important;
    justify-content: center !important;
    line-height: 1 !important;
    min-height: 19px !important;
    min-width: 19px !important;
    padding: 0 !important;
    text-transform: none !important;
    width: 19px !important;
}

.dooge-favorites .dooge-info__button:hover,
.dooge-favorites .dooge-info__button:focus {
    background: var(--dooge-blue-dark) !important;
    border: 0 !important;
    color: #fff !important;
}

.dooge-info__tooltip {
    background: var(--dooge-ink);
    border-radius: 5px;
    bottom: calc(100% + 9px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    left: 50%;
    letter-spacing: 0;
    line-height: 1.55;
    padding: 12px 14px;
    position: absolute;
    text-transform: none;
    transform: translateX(-50%);
    width: min(290px, 76vw);
    z-index: 50;
}

.dooge-info__tooltip::after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--dooge-ink);
    content: "";
    left: calc(50% - 6px);
    position: absolute;
    top: 100%;
}

.dooge-favorites__choices {
    display: grid;
    gap: 8px;
}

.dooge-favorites__option-set {
    position: relative;
}

.dooge-favorites__option-set.is-enhanced .dooge-favorites__choice span {
    min-height: 52px;
}

.dooge-favorites__option-set.is-enhanced.is-collapsed .dooge-favorites__choices {
    max-height: 112px;
    overflow: hidden;
}

.dooge-favorites__option-set.is-enhanced.is-collapsed::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%);
    bottom: 0;
    content: "";
    height: 62px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 1;
}

.dooge-favorites .dooge-favorites__options-toggle {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--dooge-blue) !important;
    cursor: pointer;
    display: none !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    line-height: 1.2 !important;
    min-height: 0 !important;
    padding: 6px 10px !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: uppercase !important;
    width: auto !important;
}

.dooge-favorites__option-set.is-enhanced > .dooge-favorites__options-toggle {
    display: block !important;
    margin: 10px auto 0;
    position: relative;
    z-index: 2;
}

.dooge-favorites__option-set.is-enhanced.is-collapsed > .dooge-favorites__options-toggle {
    background: #fff !important;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .92);
    margin-top: -27px;
}

.dooge-favorites .dooge-favorites__options-toggle:hover,
.dooge-favorites .dooge-favorites__options-toggle:focus-visible {
    color: var(--dooge-blue-dark) !important;
}

.dooge-favorites__choices--three {
    grid-template-columns: repeat(3, 1fr);
}

.dooge-favorites__choices--project {
    grid-template-columns: repeat(3, 1fr);
}

.dooge-favorites__choices--material {
    grid-template-columns: repeat(4, 1fr);
}

.dooge-favorites__choice {
    cursor: pointer;
    margin: 0;
    position: relative;
}

.dooge-favorites__choice input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.dooge-favorites__choice span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--dooge-line);
    border-radius: 4px;
    color: #34434c;
    display: flex;
    font-size: 12px;
    justify-content: center;
    min-height: 44px;
    overflow-wrap: anywhere;
    padding: 8px 10px;
    text-align: center;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
    white-space: normal;
}

.dooge-favorites__choice input:checked + span {
    background: var(--dooge-blue);
    border-color: var(--dooge-blue);
    color: #fff;
}

.dooge-favorites__choice input:focus-visible + span {
    outline: 3px solid rgba(49, 98, 130, .3);
    outline-offset: 2px;
}

.dooge-favorites__fields {
    display: grid;
    gap: 18px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
}

.dooge-favorites__field,
.dooge-favorites__other-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    min-width: 0;
}

.dooge-favorites__field--wide {
    grid-column: 1 / -1;
}

.dooge-favorites__field > span,
.dooge-favorites__other-field > span {
    align-items: center;
    color: var(--dooge-muted);
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
}

.dooge-favorites__field > span i {
    color: #9b3c3c;
    font-style: normal;
}

.dooge-favorites__field input,
.dooge-favorites__field select,
.dooge-favorites__field textarea,
.dooge-favorites__other-field input {
    appearance: none !important;
    background-color: #fff !important;
    border: 1px solid rgba(171, 173, 167, .34) !important;
    border-radius: 100px !important;
    color: var(--dooge-ink) !important;
    font: inherit !important;
    font-size: 16px !important;
    min-height: 43px !important;
    outline: none !important;
    padding: 8px 16px !important;
    width: 100% !important;
}

.dooge-favorites__field textarea {
    border-radius: 18px !important;
}

.dooge-favorites__field select {
    background-image: linear-gradient(45deg, transparent 50%, #53646e 50%), linear-gradient(135deg, #53646e 50%, transparent 50%);
    background-position: calc(100% - 14px) 18px, calc(100% - 9px) 18px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    padding-right: 36px !important;
}

.dooge-favorites__field input:focus,
.dooge-favorites__field select:focus,
.dooge-favorites__field textarea:focus,
.dooge-favorites__other-field input:focus {
    border-color: var(--dooge-blue) !important;
    box-shadow: 0 0 0 1px var(--dooge-blue) !important;
}

.dooge-favorites__other-field {
    margin-top: 10px;
    max-width: 420px;
}

.dooge-favorites__other-field[hidden] {
    display: none !important;
}

.dooge-favorites__delivery-row {
    align-items: end;
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1fr;
    margin: 34px 0;
}

.dooge-favorites__rep {
    border-left: 3px solid var(--dooge-gold);
    display: flex;
    flex-direction: column;
    min-height: 58px;
    padding: 2px 0 2px 16px;
}

.dooge-favorites__rep > span {
    color: var(--dooge-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dooge-favorites__rep strong {
    font-size: 14px;
    margin-top: 4px;
}

.dooge-favorites__rep small {
    color: var(--dooge-muted);
}

.dooge-favorites__actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1.35fr 1fr 1fr;
}

.dooge-favorites__button {
    align-items: center !important;
    border: 0 !important;
    border-radius: 25px !important;
    cursor: pointer;
    display: inline-flex !important;
    font: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    gap: 8px;
    justify-content: center !important;
    letter-spacing: 1.8px !important;
    line-height: 1.2 !important;
    min-height: 46px !important;
    padding: 13px 23px !important;
    text-transform: uppercase !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.dooge-favorites__button--primary {
    background: var(--dooge-gold) !important;
    color: #fff !important;
}

.dooge-favorites__button--primary:hover {
    background: var(--dooge-gold-dark) !important;
    color: #fff !important;
}

.dooge-favorites__button--secondary {
    background: var(--dooge-muted) !important;
    color: #fff !important;
}

.dooge-favorites__button--secondary:hover {
    background: #515151 !important;
    color: #fff !important;
}

.dooge-favorites__button:disabled {
    cursor: not-allowed;
    opacity: .38;
}

@keyframes dooge-favorites-button-spin {
    to {
        transform: rotate(360deg);
    }
}

.dooge-favorites__button[data-print-favorites][aria-busy="true"] {
    cursor: wait !important;
    pointer-events: none;
}

.dooge-favorites__button[data-print-favorites][aria-busy="true"]::before {
    animation: dooge-favorites-button-spin .7s linear infinite;
    border: 2px solid rgba(255, 255, 255, .38) !important;
    border-radius: 50%;
    border-top-color: #fff !important;
    content: "";
    flex: 0 0 16px;
    height: 16px;
    width: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .dooge-favorites__button[data-print-favorites][aria-busy="true"]::before {
        animation-duration: 1.4s;
    }
}

.dooge-favorites__status {
    border-left: 4px solid var(--dooge-blue);
    font-size: 13px;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.dooge-favorites__status.is-info {
    background: #eef5f8;
}

.dooge-favorites__status.is-success {
    background: #edf7ef;
    border-color: #498557;
}

.dooge-favorites__status.is-error {
    background: #fbefef;
    border-color: #a74747;
}

.dooge-favorites__status a {
    color: inherit;
    font-weight: 700;
}

.dooge-favorites__share-dialog[hidden],
.dooge-favorites__print {
    display: none;
}

.dooge-share-is-open {
    overflow: hidden;
}

.dooge-favorites__share-dialog {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 999999;
}

.dooge-favorites__share-backdrop {
    background: rgba(21, 32, 39, .7);
    inset: 0;
    position: absolute;
}

.dooge-favorites__share-card {
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
    max-height: calc(100vh - 48px);
    max-width: 700px;
    overflow: auto;
    padding: clamp(28px, 5vw, 48px);
    position: relative;
    width: 100%;
    z-index: 1;
}

.dooge-favorites__share-card h3 {
    color: var(--dooge-ink);
    font-size: 28px;
    margin: 0 0 10px;
}

.dooge-favorites__share-card > p:not(.dooge-favorites__eyebrow) {
    color: var(--dooge-muted);
    font-size: 13px;
    margin: 0 0 24px;
}

.dooge-favorites__share-card .dooge-favorites__fields {
    margin-bottom: 22px;
}

.dooge-favorites .dooge-favorites__share-close {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--dooge-muted) !important;
    cursor: pointer;
    display: inline-block !important;
    font-size: 30px !important;
    line-height: 1 !important;
    min-height: 0 !important;
    padding: 8px !important;
    position: absolute;
    right: 10px;
    top: 8px;
    width: auto !important;
}

/* Shared output */
.dooge-shared-favorites {
    background: #edf1f3;
    color: var(--dooge-ink);
    padding: 42px 20px;
}

.dooge-shared-favorites__sheet {
    background: #fff;
    box-shadow: 0 16px 60px rgba(30, 42, 49, .11);
    margin: 0 auto;
    max-width: 1000px;
    min-height: 1000px;
    padding: clamp(28px, 6vw, 70px);
}

.dooge-shared-favorites__header {
    border-bottom: 8px solid var(--dooge-blue);
    margin-bottom: 36px;
    padding-bottom: 24px;
    position: relative;
}

.dooge-shared-favorites__header::after {
    background: var(--dooge-gold);
    bottom: -8px;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    width: 105px;
}

.dooge-shared-favorites__header > p:not(.dooge-favorites__eyebrow) {
    color: var(--dooge-muted);
    margin: 10px 0 18px;
}

.dooge-shared-favorites__header .dooge-favorites__button {
    min-height: 40px;
}

.dooge-shared-favorites__footer {
    margin-top: 60px;
}

.dooge-shared-favorites--missing {
    min-height: 50vh;
    text-align: center;
}

.dooge-favorites__print-header {
    background: var(--dooge-blue);
    color: #fff;
    margin-bottom: 24px;
    padding: 12px 16px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.dooge-favorites__print-header h1 {
    color: inherit;
    font-size: 24px;
    margin: 0;
    text-align: center;
}

.dooge-favorites__print-header p {
    margin: 6px 0 0;
    text-align: center;
}

.dooge-favorites__print-footer {
    border-top: 6px solid var(--dooge-blue);
    display: grid;
    font-size: 11px;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    padding-top: 14px;
}

.dooge-favorites__print-footer p {
    display: grid;
    gap: 10px;
    grid-template-columns: 150px 1fr;
    margin: 4px 0;
}

.dooge-favorites__print-brand {
    text-align: right;
}

.dooge-favorites__print-brand p {
    grid-template-columns: 1fr 1fr;
}

.dooge-favorites__print-footer > div:only-child {
    grid-column: 1 / -1;
}

@media (min-width: 981px) {
    .dooge-favorites__form {
        padding: 30px 26px;
    }

    .dooge-favorites__form-heading {
        margin-bottom: 24px;
    }

    .dooge-favorites__form-heading h3 {
        font-size: 21px;
    }

    .dooge-favorites__form > .dooge-favorites__delivery-row,
    .dooge-favorites__form > .dooge-favorites__actions {
        grid-template-columns: 1fr;
    }

    .dooge-favorites__form > .dooge-favorites__fields {
        gap: 15px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 26px;
    }

    .dooge-favorites__form > .dooge-favorites__fields .dooge-favorites__field--wide {
        grid-column: 1 / -1;
    }

    .dooge-favorites__form > .dooge-favorites__actions .dooge-favorites__button--primary {
        grid-column: auto;
    }

    .dooge-favorites__form > .dooge-favorites__fieldset .dooge-favorites__choices--three,
    .dooge-favorites__form > .dooge-favorites__fieldset .dooge-favorites__choices--project,
    .dooge-favorites__form > .dooge-favorites__fieldset .dooge-favorites__choices--material {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dooge-favorites__form > .dooge-favorites__fieldset .dooge-favorites__choice span {
        line-height: 1.3;
        min-height: 52px;
    }

    .dooge-favorites__form > .dooge-favorites__fieldset .dooge-favorites__other-field {
        max-width: none;
    }

    .dooge-favorites__form > .dooge-favorites__delivery-row {
        align-items: stretch;
        gap: 20px;
        margin: 28px 0;
    }
}

@media (max-width: 980px) {
    .dooge-favorites__screen {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .dooge-favorites__grid,
    .dooge-favorites__print-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dooge-favorites__choices--project {
        grid-template-columns: repeat(2, 1fr);
    }

    .dooge-favorites__choices--material {
        grid-template-columns: repeat(2, 1fr);
    }

    .dooge-favorites__actions {
        grid-template-columns: 1fr 1fr;
    }

    .dooge-favorites__actions .dooge-favorites__button--primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .dooge-favorites__selection-panel,
    .dooge-favorites__form {
        padding: 24px 16px;
    }

    .dooge-favorites__grid,
    .dooge-favorites__print-grid,
    .dooge-favorites__choices--three,
    .dooge-favorites__choices--project,
    .dooge-favorites__choices--material,
    .dooge-favorites__fields,
    .dooge-favorites__delivery-row,
    .dooge-favorites__actions,
    .dooge-favorites__print-footer {
        grid-template-columns: 1fr;
    }

    .dooge-favorites__actions .dooge-favorites__button--primary {
        grid-column: auto;
    }

    .dooge-favorites__section-heading {
        display: block;
    }

    .dooge-favorites__section-heading > p {
        margin: 12px 0 0 50px;
    }

    .dooge-favorites__print-brand {
        text-align: left;
    }
}

@page {
    margin: .4in;
    size: letter portrait;
}

@media print {
    /* The iframe already contains only the PDF content. Keeping its children
       visible avoids the blank sheets caused by the old visibility cascade. */
    html.dooge-print-document body *,
    html.dooge-print-document .dooge-favorites,
    html.dooge-print-document .dooge-favorites * {
        visibility: visible !important;
    }

    body.dooge-shared-selection-page * {
        visibility: hidden !important;
    }

    body.dooge-shared-selection-page .dooge-shared-favorites,
    body.dooge-shared-selection-page .dooge-shared-favorites * {
        visibility: visible !important;
    }

    html.dooge-print-document,
    html.dooge-print-document body {
        background: #fff !important;
        margin: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    html.dooge-print-document .dooge-favorites,
    body.dooge-shared-selection-page .dooge-shared-favorites {
        left: auto !important;
        margin: 0 !important;
        max-width: none !important;
        padding: 0 !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }

    .dooge-favorites__screen {
        display: none !important;
    }

    .dooge-favorites__print {
        color: var(--dooge-ink);
        display: block !important;
        font-family: "Plus Jakarta Sans", sans-serif !important;
    }

    .dooge-favorites__print-header,
    .dooge-shared-favorites__header {
        background: var(--dooge-blue) !important;
        border: 0 !important;
        border-bottom: .055in solid var(--dooge-gold) !important;
        break-after: avoid;
        color: #fff !important;
        margin: 0 0 .22in !important;
        padding: .16in .22in .17in !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .dooge-favorites__print-header h1,
    .dooge-shared-favorites__header h1 {
        color: #fff !important;
        font-size: 17pt !important;
        font-weight: 700;
        letter-spacing: .025em;
        line-height: 1.2;
        margin: 0 !important;
        text-align: center;
        text-transform: uppercase;
    }

    .dooge-favorites__print-header p {
        color: #fff !important;
        display: flex !important;
        flex-wrap: wrap;
        font-size: 7.5pt;
        font-weight: 600;
        gap: .06in;
        justify-content: center;
        letter-spacing: .055em;
        margin: .065in 0 0 !important;
        opacity: .88;
        text-align: center;
        text-transform: uppercase;
    }

    .dooge-favorites__print-header p span,
    .dooge-favorites__print-header p i {
        color: #fff !important;
    }

    .dooge-favorites__print-header p i {
        font-style: normal;
    }

    .dooge-favorites__print-header [data-print-field="project_name"]:empty::after {
        content: "Project review";
    }

    .dooge-shared-favorites__header > p,
    .dooge-shared-favorites__header .dooge-favorites__eyebrow,
    .dooge-shared-favorites__header .dooge-favorites__button,
    .dooge-shared-favorites__header::after {
        display: none !important;
    }

    .dooge-favorites__print-grid,
    .dooge-shared-favorites__grid {
        align-items: flex-start;
        display: flex !important;
        flex-wrap: wrap;
        gap: .2in .16in;
        justify-content: center;
    }

    .dooge-favorites__print-grid > .dooge-favorites__card,
    .dooge-shared-favorites__grid > .dooge-favorites__card {
        background: #fff !important;
        border: .75pt solid #dfe3e5;
        break-inside: avoid;
        flex: 0 0 calc((100% - .32in) / 3);
        max-width: calc((100% - .32in) / 3);
        padding: .055in;
        page-break-inside: avoid;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .dooge-favorites__print-grid > .dooge-favorites__card:only-child,
    .dooge-shared-favorites__grid > .dooge-favorites__card:only-child {
        flex-basis: 3.25in;
        max-width: 3.25in;
    }

    .dooge-favorites__print-grid > .dooge-favorites__card:first-child:nth-last-child(2),
    .dooge-favorites__print-grid > .dooge-favorites__card:last-child:nth-child(2),
    .dooge-shared-favorites__grid > .dooge-favorites__card:first-child:nth-last-child(2),
    .dooge-shared-favorites__grid > .dooge-favorites__card:last-child:nth-child(2) {
        flex-basis: calc((100% - .16in) / 2);
        max-width: 3.25in;
    }

    .dooge-favorites__image-wrap {
        aspect-ratio: 4 / 3 !important;
        border: .5pt solid #edf0f1;
        height: auto !important;
    }

    .dooge-favorites__image {
        object-position: center;
    }

    .dooge-favorites__card-title {
        align-items: center;
        color: var(--dooge-ink) !important;
        display: flex;
        font-size: 8.8pt !important;
        justify-content: center;
        line-height: 1.25;
        margin: .055in .02in !important;
        min-height: .36in;
        text-align: center;
    }

    .dooge-favorites__details {
        background: #fff !important;
        display: grid;
        font-size: 6.8pt;
        gap: .07in .1in;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        line-height: 1.3;
        margin: 0;
        min-height: .76in;
        padding: .055in .025in .025in;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .dooge-favorites__details div {
        border: 0;
        display: block;
        padding: 0;
    }

    .dooge-favorites__details dt {
        color: var(--dooge-blue) !important;
        font-size: 6.3pt;
        gap: .03in;
    }

    .dooge-favorites__details dd {
        font-size: 6.7pt;
        margin-top: .015in;
    }

    .dooge-favorites__details .sub-icon {
        flex-basis: .15in;
        height: .15in;
        width: .15in;
    }

    .dooge-favorites__print-footer,
    .dooge-shared-favorites__footer {
        background: var(--dooge-soft) !important;
        border: 0 !important;
        border-bottom: .025in solid var(--dooge-gold) !important;
        border-top: .04in solid var(--dooge-blue) !important;
        break-inside: avoid;
        display: grid;
        font-size: 7.2pt;
        gap: .2in;
        grid-template-columns: 1.35fr .65fr;
        margin: .24in 0 0 !important;
        padding: .13in .15in !important;
        page-break-inside: avoid;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .dooge-favorites__print-footer p {
        gap: .08in;
        grid-template-columns: 1.28in 1fr;
        line-height: 1.35;
        margin: .02in 0;
    }

    .dooge-favorites__print-footer p strong {
        color: var(--dooge-blue) !important;
    }

    .dooge-favorites__print-footer [data-print-field]:empty::after {
        color: var(--dooge-muted);
        content: "Not provided";
    }

    .dooge-favorites__print-brand {
        align-content: center;
        display: grid;
        text-align: right;
    }

    .dooge-favorites__print-brand p {
        display: block;
        grid-template-columns: none;
    }

    .dooge-favorites__print-brand p:has([data-print-rep-name]:empty) {
        display: none;
    }

    .dooge-shared-favorites__sheet {
        box-shadow: none;
        margin: 0;
        max-width: none;
        min-height: 0;
        padding: 0;
    }

    a,
    a:visited {
        color: inherit !important;
        text-decoration: none !important;
    }

    .dooge-favorites__card-link::after,
    .dooge-favorites__card-link[href]::after {
        content: none !important;
        display: none !important;
    }
}
