header {
    background-color: var(--deep-space-blue);
    border-bottom: 1px solid var(--silver-glow);
}

#hero-maintenance .hero-subtitle {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -.125px;
    text-transform: uppercase;
    padding: 20px 0 0;
    color: var(--slate-grey);
}

.hero-h1-span {
    font-size: 1.25rem;
    font-family: 'Oswald';
    font-weight: 600;
    letter-spacing: .25px;
    text-transform: uppercase;
    color: var(--deep-space-blue);
    background: var(--silver-glow);
    border-radius: 8px;
    padding: .5rem 1rem;
    box-shadow: 1px 1px 2px rgba(44, 62, 80, 0.6);
    pointer-events: none;
    cursor: default;
    user-select: none;
    transition: none !important;
}

.swatch:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4)
}

.swatch.copied {
    outline: 2px solid var(--amber-hover);
    box-shadow: 0 0 0 2px white, 0 0 6px var(--amber-hover);
}

.toast {
    position: fixed;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: #FFD54F;
    color: #000;
    font-weight: bold;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 99999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 12px 3px rgba(255, 213, 79, 0.5);
}

#toast-icon {
    font-size: 1rem;
    animation: sparkle 0.6s ease-in-out;
}

@keyframes sparkle {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }
}

.swatch.light {
    color: white
}

.swatch.dark {
    color: black;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: var(--service-card-white, #fff);
    max-width: 95%;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

#codex button.view-example:hover {
    background-color: var(--deep-space-blue);
    color: var(--amber-hover-cta);
    transform: translateY(-2px);
}

#codex button.view-example {
    background-color: #222;
    font-family: 'Lato';
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fav-icon-btn {
    background: none;
    border: none;
    font-size: 1.6375rem;
    color: var(--slate-silver);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.3s ease;
    padding: 0.2rem;
}

.fav-icon-btn:hover {
    transform: scale(1.15);
    color: var(--cool-light-blue);
}

.fav-icon-btn.active {
    color: var(--amber);
    transform: scale(1.2);
}

.fav-icon-btn.clicked {
    animation: pop 0.25s ease;
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.example-buttons {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.copy-btn {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    background: var(--silver-glow);
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: capitalize;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--rich-black)
}

.copy-btn:hover {
    background-color: #e9e9e9;
}

.copy-btn.copied {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px var(--amber), 0 0 8px var(--amber-hover-cta);
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.theme-icon {
    max-width: 36px;
    max-height: 36px;
    width: 100%;
    height: 100%;
    margin-right: .5rem;
    margin-top: auto;
    flex-shrink: 0;
    margin-bottom: auto;
}

#codex input {
    font-size: 1rem;
    max-width: 500px;
    padding: .5rem;
}

.swatch {
    background-color: var(--swatch-bg, transparent);
}

.swatch[data-color] {
    background-color: attr(data-color color);
    /* doesn't work in CSS: needs inline */
}

.codex-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1f3249;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 9999;
}

.codex-toast.show {
    opacity: 1;
    pointer-events: auto;
    animation: pulseToast 0.6s ease-in-out;
    transform: translateX(-50%) translateY(-10px);
}

@keyframes pulseToast {
    0% {
        transform: translateX(-50%) scale(0.95);
        opacity: 0.5;
    }

    60% {
        transform: translateX(-50%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

.theme-filters {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.codex-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#random-btn {
    background-color: #1f3249;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

#random-btn:hover {
    background-color: var(--cool-light-blue);
}

#random-btn.clicked {
    box-shadow: 0 0 0px #ffc94d;
    animation: glowPulse 1s ease-out;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0px #ffc94d;
    }

    50% {
        box-shadow: 0 0 12px 4px #ffc94d;
    }

    100% {
        box-shadow: 0 0 0px #ffc94d;
    }
}

#volume-filter,
#sort-filter {
    font-size: 0.9375rem;
    padding: 0.5rem 2rem .5rem .75rem;
    border: 1px solid var(--slate-light);
    border-radius: 0.5rem;
    background-color: #fff;
    color: var(--deep-charcoal);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23444' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    max-width: 240px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

#volume-filter:focus,
#sort-filter:focus {
    border-color: var(--amber);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.filter-row {
    display: flex;
    width: fit-content;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tags-headline {
    margin-top: 0;
    margin-bottom: 0;
    font-size: .9375rem;
}

.sort-volume {
    display: flex;
    flex-direction: column;
}

#more-tags-container {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
}

#more-tags-toggle {
    background-color: #1f3249;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 0.5rem 1rem .6375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#more-tags-panel {
    position: absolute;
    top: 110%;
    left: 0;
    background: #fcfbf8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    z-index: 99;
    width: 250px;
}

#more-tags-panel.hidden {
    display: none;
}

#more-tags-panel input {
    width: fit-content;
    margin-bottom: 0.5rem;
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#tag-checkbox-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

#tag-checkbox-list label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

#tag-checkbox-list label:hover {
    background: rgba(0, 0, 0, 0.15)
}

#volume-filter option.divider {
    color: #c4c4c4;
    font-style: italic;
}

.tag-btn,
#apply-tags-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 0.375rem .75rem .5rem;
    margin: 0.25rem;
    border-radius: 4px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

#apply-tags-btn {
    font-weight: 700;
}

#apply-tags-btn:hover {
    background: var(--cool-light-blue);
}

#more-tags-toggle:hover {
    background-color: var(--cool-light-blue);
}

.sort-volume {
    gap: .5rem;
}

.tag-btn.active {
    background: var(--amber-hover);
    color: #000;
}

.tag-filter-group {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.tag-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

#clear-tags-btn.ghost {
    background: transparent;
    border: none;
    color: var(--rich-black);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

#clear-tags-btn.ghost:hover {
    color: var(--amber-dark-hover);
}

#fav-toggle {
    font-size: 1.6375rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--steel-gray);
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
}

#fav-toggle:hover {
    color: var(--cool-light-blue) !important
}

#fav-toggle.active {
    color: var(--amber-hover);
}

.fav-random {
    display: flex;
    gap: 1rem;
    max-height: 3rem;
    margin-top: auto;
    margin-bottom: auto;

}

.pagination-bar {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pagination-bar button {
    background: var(--cloud-grey);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--deep-charcoal);
    font-size: 1.125rem;
    transition: all 0.2s ease;
}

.pagination-bar button.active,
.pagination-bar button.active:hover {
    background: var(--amber);
    color: #000;
}

.pagination-bar button.arrow {
    background: var(--mist-blue);
}

.pagination-bar button:hover {
    background: var(--cool-light-blue);
}

.pagination-bar button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-bar span.ellipsis {
    padding: 0.5rem;
    color: var(--muted-charcoal);
}

form input[type="color"] {
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    border: none;
}


.left-wrapper,
.right-wrapper {
    display: flex;
    flex-direction: column;
}

.color-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.color-1,
.color-2,
.color-3,
.color-4,
.color-5 {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.color-1 label,
.color-2 label,
.color-3 label,
.color-4 label,
.color-5 label {
    text-align: center;
}

form input[type="checkbox"] {
    width: fit-content;
}

#codex-submission-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}


.form-group label,
.contact-preference legend {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--rich-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--rich-black);
    background: var(--cloud-grey);
    border: 1px solid var(--steel-silver);
    border-radius: 6px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.required-text {
    color: var(--amber);
    font-weight: 700;
    font-size: 0.85rem;
}

.contact-preference {
    border: none;
    display: flex;
    gap: 2rem;
    padding: 0;
}

.contact-preference label {
    color: var(--rich-black);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

button[type="submit"] {
    background-color: var(--amber-hover);
    color: var(--rich-black);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: .6em 1.2em;
    border: none;
    letter-spacing: -.25px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--amber-lighter);
}

#form-message {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--positive-green);
}



@media screen and (min-width: 769px) {

    h1 {
        margin-top: 0;
        line-height: 1.15;
        margin-bottom: 2rem;
        max-width: 800px;
    }

    h2 {
        margin-top: 0;
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    h3 {
        margin-bottom: .5rem;
    }

    hr {
        width: 100%;
    }

    #hero-maintenance .wrapper {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding: 68px 40px 3rem;
        background: linear-gradient(to right, var(--service-card-white) 0%, rgba(255, 255, 255, 0.85) 0%, transparent 0%), url('/img/themes/doers-designs.png'), var(--service-card-white);
        background-size: 35%;
        background-repeat: no-repeat;
        background-position: 96% 30%;
        position: relative;
        z-index: 0;
        overflow: visible;
    }

    #hero-maintenance p, #maintenance-cta p {
        line-height: 1.8;
        margin-top: .5rem;
        margin-bottom: .75rem;
    }

    #hero-maintenance .cta-button,
    #maintenance-cta .cta-button {
        width: fit-content;
        padding-left: 1.8em;
        padding-right: 1.8em;
    }

    .package-hook {
        margin-top: 0;
        margin-bottom: .5rem;
    }

    .package-hero-layout {
        display: flex;
        align-items: flex-start;
        gap: 5rem;
        max-width: 1400px;
        margin: 0 auto;
        padding: 4rem 2rem;
        background-color: var(--service-card-white);
    }

    .wrapper {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--service-card-white);
        padding: 3rem 40px 3rem;
    }

    #pricing .highlight-outline {
        margin-top: 3rem;
    }

    .highlight-outline {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    #codex,
    #codex .wrapper {
        position: relative;
        z-index: 0;
        padding-top: 0;
    }

    #codex h3 {
        font-size: 2.25rem;
        display: flex;
        align-items: center;
        margin-top: 0;
    }

    .hero-img-mobile {
        display: none;
    }

    .swatch-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: .5rem;
        width: 100%;
        height: 100%;
        margin: 2rem 0;
    }

    .swatch {
        position: relative;
        cursor: pointer;
        width: 100%;
        height: auto;
        min-height: 175px;
        border: rgba(0, 0, 0, 0.3) 1px solid;
        text-transform: uppercase;
        transition: all 0.15s ease-in-out;
        outline: 2px solid transparent;
        box-shadow: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swatch input,
    .swatch .fallback-instructions {
        display: none;
    }

    .modal-img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 600px;
    }

    .swatch-details {
        width: 100%;
        max-width: 400px;
    }

    .close-modal {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        background: transparent;
        border: none;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        font-weight: bold;
    }

    .swatch-theme {
        display: flex;
        gap: 2rem;
        width: 100%;
        margin-bottom: 1rem;
        padding-bottom: 3rem;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--deep-charcoal);
    }

    .swatch-theme:last-of-type {
        margin-bottom: 3rem;
        border-bottom: none;
    }

    p.codex-headline,
    p.codex-body,
    p.use-case,
    p.theme-description {
        margin-bottom: 0;
        padding-bottom: 0;
        line-height: unset;
        margin: .25rem 0;
    }

    #maintenance-cta .wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    }

    .example-buttons {
        display: flex;
        gap: 1rem;
        margin-top: .5rem;
    }

    .swatch-details p:not(.swatch-details p:last-of-type) {
        margin-top: .5rem;
        margin-bottom: 0
    }

    .swatch-details p:last-of-type {
        margin-top: .5rem;
    }

    form button[type="submit"] {
        height: 55px;
    }

    form {
        grid-template-columns: 1fr;
        font-size: 1rem;
    }

}

@media screen and (max-width: 768px),
(max-width: 1200px) and (orientation: landscape) {

    #hero-maintenance h1 {
        margin-top: 0;
        line-height: 1.1;
        font-size: clamp(2.5rem, 2.5rem + 0.5rem, 4rem);
        margin-bottom: 1rem;
    }

    #hero-maintenance .wrapper {
        background-image: none !important;
    }

    .hero-h1-span {
        font-size: 1.125rem;
        letter-spacing: 0;
    }

    .hero-img-mobile {
        width: 100%;
        border: 1px solid var(--muted-charcoal);
        border-radius: 8px;
        /* margin-bottom: 1rem; */
    }

    h2 {
        padding-top: 1rem;
        line-height: 1.3;
    }

    p {
        line-height: 1.8;
        margin: .5rem 0 .75rem
    }

    hr {
        width: 100%;
        height: 1px;
        border: none;
        background-color: var(--muted-charcoal);
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .wrapper {
        padding: 0 20px;
    }

    #hero-maintenance .hero-subtitle {
        margin-top: 1rem !important;
        margin-bottom: .25rem !important;
        letter-spacing: -.25px;
    }

    #hero-maintenance .cta-button,
    #maintenance-cta .cta-button {
        width: fit-content !important;
        padding-left: 1.2em;
        padding-right: 1.2em;
    }

    #hero-maintenance,
    #codex {
        padding-bottom: 3rem;
    }

    #maintenance-faqs {
        padding-bottom: 6rem;
    }

    #codex h2,
    #pricing h2 {
        margin-bottom: 0;
    }

    #codex h2 {
        text-align: center;
    }

    #codex h3 {
        font-size: 2rem;
        margin-bottom: .5rem;
        margin-top: 1rem;
        display: flex;
        align-items: center;
    }

    p.codex-headline,
    p.codex-body,
    p.use-case,
    p.theme-description {
        margin-bottom: 0;
        padding-bottom: 0;
        line-height: unset;
        margin: .25rem 0;
    }

    .highlight-outline {
        margin-top: 3rem;
        font-size: 1rem;
    }

    #maintenance-faqs {
        background-color: var(--service-card-white)
    }

    #maintenance-cta {
        padding-bottom: 6rem;
    }

    #maintenance-cta .cta-button,
    #hero-maintenance .cta-button {
        margin: 2rem 0 1.5rem;
    }

    section {
        background: var(--service-card-white)
    }

    #codex .wrapper {
        overflow: visible
    }

    .swatch-grid {
        margin-top: 2rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        justify-items: center;
        overflow: visible;
        position: relative;
        z-index: 2;
    }

    .swatch {
        position: relative;
        cursor: pointer;
        width: 100%;
        height: 100px;
        border: rgba(0, 0, 0, 0.3) 1px solid;
        text-transform: uppercase;
        transition: all 0.2s ease-in-out;
        outline: 2px solid transparent;
        box-shadow: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 999;
        user-select: none;
        -webkit-user-select: none;
    }

    .copied-label {
        display: none;
    }

    .swatch-label {
        font-size: 1.1rem;
        font-weight: bold;
        z-index: 1;
    }

    .fav-random {
        margin-top: 1rem;
        flex-direction: row-reverse;
    }

    .filter-row {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    #random-btn {
        font-size: .875rem;
        padding: .25rem .75rem;
        max-height: 3rem;
    }

    #fav-toggle {
        max-height: 3rem;
    }

    #volume-filter,
    #sort-filter {
        font-size: 0.9375rem;
        padding: 0.5rem 1rem .5rem .5rem;
        max-width: 160px;
    }

    .hidden-copy {
        position: absolute;
        left: -9999px;
        opacity: 0;
        pointer-events: none;
        border: none;
        outline: none;
        box-shadow: none;
        background: transparent;
        display: none;
    }

    .swatch.show-fallback .hidden-copy {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        font-size: 1rem;
        padding: 0.5rem;
        text-align: center;
        margin-top: 0.5rem;
        border: 1px dashed #ccc;
        background: #fffde6;
        color: #333;
        z-index: 99;
    }

    .modal-img {
        width: 100%;
        height: auto;
        display: block;
    }

    .close-modal {
        position: absolute;
        top: 2rem;
        right: .5rem;
        background: transparent;
        border: none;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        font-weight: bold;
    }

    .swatch-details p:not(.swatch-details p:last-of-type) {
        margin-top: .25rem;
        margin-bottom: 0
    }

    .swatch-details p:last-of-type {
        margin-top: .25rem;
        margin-bottom: 1rem
    }

    #more-tags-container {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .codex-grid {
        gap: 0;
    }

    .swatch-theme {
        padding-bottom: 3rem;
        border-bottom: 1px solid var(--deep-charcoal);
    }

    .swatch-theme:last-of-type {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    form button[type="submit"] {
        height: 60px;
    }

}