[hidden] {
    display: none !important;
}
.skip-link {
    position: absolute;
    left: -9999px;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 99999;
    background: white;
    padding: 12px;
}
.admin-bar .header {
    scroll-margin-top: 32px;
}
.mdmd-page {
    padding-block: 64px;
    min-height: 60vh;
}
.mdmd-page h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 36px;
}
.mdmd-page :where(p, ul, ol) {
    margin-bottom: 18px;
}
.mdmd-page .woocommerce {
    max-width: 1100px;
    margin-inline: auto;
}
.mdmd-page input,
.mdmd-page select,
.mdmd-page textarea {
    max-width: 100%;
}
.mdmd-page a {
    text-decoration: underline;
}
.mdmd-page .button {
    text-decoration: none;
}
.mdmd-banner-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px;
}
.mdmd-banner-nav button {
    border: 1px solid var(--border);
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.mdmd-tabs {
    display: flex;
    gap: 6px;
    background: var(--muted);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 24px;
}
.mdmd-tabs button {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 8px;
    border-radius: 5px;
}
.mdmd-tabs [aria-selected='true'] {
    background: white;
    color: var(--green);
    box-shadow: 0 1px 4px #0002;
}
.config-slider input[type='range'] {
    width: 100%;
    accent-color: var(--green);
}
.pattern-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 12px 8px 0;
}
.config-color-row input[type='color'] {
    width: 48px;
    height: 36px;
    border: 0;
    cursor: pointer;
}
.style-option input,
.size-option input,
.privacy-check input {
    accent-color: var(--green);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.style-option,
.size-option {
    cursor: pointer;
}
.style-option input {
    position: static;
    opacity: 1;
    pointer-events: auto;
}
.privacy-check input {
    margin-top: 5px;
}
.portfolio-rail {
    overflow-x: auto;
    scrollbar-width: none;
}
.portfolio-rail::-webkit-scrollbar {
    display: none;
}
.mdmd-lightbox {
    border: 0;
    border-radius: 8px;
    background: #fff;
    padding: 24px;
    max-width: min(90vw, 800px);
    max-height: 94vh;
    color: var(--green);
}
.mdmd-lightbox::backdrop {
    background: #00191fe0;
}
.mdmd-lightbox img {
    max-height: 76vh;
    width: auto;
    max-width: 100%;
    margin: auto;
    object-fit: contain;
}
.mdmd-lightbox > button {
    position: absolute;
    right: 12px;
    top: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 28px;
}
.mdmd-lightbox p {
    text-align: center;
    padding-top: 12px;
}
.mdmd-design-summary {
    background: var(--muted);
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 22px;
}
.mdmd-design-summary img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}
.mdmd-design-summary button {
    border: 0;
    background: none;
    text-decoration: underline;
    padding: 8px 0;
}
.mdmd-form-status:not(:empty) {
    padding: 14px;
    background: var(--muted);
    border-radius: 6px;
    margin-block: 16px;
}
.mdmd-trustpilot {
    padding-block: 30px;
}
.mdmd-sample-checkout .sample-pay {
    width: 100%;
}
.sample-shipping:empty {
    display: none;
}
.config-stage {
    max-height: 70vh;
}
body:not(.home) .header nav a {
    white-space: nowrap;
}
@media (max-width: 700px) {
    .config-stage {
        height: 380px !important;
    }
    .mdmd-page {
        padding-block: 36px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .marquee-track {
        animation: none !important;
    }
}
.config-upload {
    position: relative;
    cursor: pointer;
}
.config-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.config-upload:focus-within {
    outline: 3px solid #789622;
    outline-offset: 4px;
}
