* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

input[type=text],
input[type=email],
input[type=submit],
input[type=button],
input[type=number],
textarea,
select,
button {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    min-width: 0
}

select {
    -moz-appearance:none;
}

textarea {
    resize: none;
}

input[type=submit] {
    -webkit-border-radius: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

#preview button, #zoom-close-button, #preview .cart-indicator-icon {
    background-color: transparent;
    border: 0;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    cursor: pointer;
}

#preview .cart-indicator-icon {
    text-decoration: none;
}

.cart-indicator-icon-item-count {
    font-weight: bold;
    text-align: center;
    background: #f76916;
    color: white;
    overflow: hidden;
}

#zoom-close-button {
    background-image: url("../img/close-icon-hL167n-.svg");
}


#preview-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(235, 235, 235, 0.5);
    background-image: url("../img/loading-spinner-V3uQolX.svg");
    background-repeat: no-repeat;
    background-position: center center;
}

#preview.loading #preview-loading {
    display: block;
}

#preview-loading-long {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
}

#preview-loading-long > * {
    background: black;
    border-radius: 5px;
    color: white;
    text-transform: uppercase;
    animation: pulse 1.5s infinite ease-in-out;
}

#zoom, #lead-email, #custom-photo-align-overlay {
    background-color: rgba(235, 235, 235, 0.5);
    position: fixed;
    top: 0;
    height: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: -1;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition-property: z-index, visibility, transform, opacity;
    transition-duration: 0s, 0s, 0.25s, 0.25s;
    transition-delay: 0.5s, 0.5s, 0s, 0s;
}

#zoom.shown, #lead-email.shown, #custom-photo-align-overlay.shown {
    z-index: 1000;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s, 0s, 0s, 0s;
}

#zoom-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#lead-email {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lead-email-container h1 {
    font-weight: 400;
}

#zoom-container > img {
    height: 100%;
    width: auto;
    max-width: 1000000%;
    max-height: 100%;
    margin: 0 -100%;
}

#custom-photo-align-loading {
    display: none;
}

#custom-photo-align-overlay.loading #custom-photo-align-loading {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    line-height: 100vh;
    text-align: center;
    text-shadow: 1px 1px 0 white;
}

#custom-photo-align-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#custom-photo-align-container > img {
    width: 500px;
    height: auto;
}

#custom-photo-align-container cropper-canvas {
    height: 100%;
}

#custom-photo-align-toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
}

#custom-photo-align-ok-button, #custom-photo-align-cancel-button {
    text-transform: uppercase;
    border-radius: 10px;
    width: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
    flex: 1;
}

#custom-photo-align-ok-button:active, #custom-photo-align-cancel-button:active {
    transform: translateY(2px);
    box-shadow: none;
}

#custom-photo-align-cancel-button {
    background: white;
    color: #CF0000;
}

#custom-photo-align-ok-button {
    background: #00478F;
    color: white;
}

#control-panel #menu {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    border-bottom: 1px solid #cacaca;
}

#control-panel #menu > li {
    flex: 1 1 auto;
    text-align: center;
    cursor: pointer;
}

#control-panel #menu > li:hover:not(.selected) {
    background: #eaeaea;
}

#control-panel #menu li.selected {
    background: #00478F;
    color: white;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

#panels {
    overflow: hidden;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    position: relative;
    transition: margin-left 0.5s;
}

#panels > li {
    position: absolute;
    top: 0;
    bottom: 0;
}

#panels > li:nth-child(1) {
    left: 0;
}

#panels > li > form {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.help {
    color: #8D8D8D;
}

.help span {
    color: #00478F;
}

#text-form.help-hidden .help, #size-form.top-help-hidden .top-help {
    display: none;
}

.cta button, #lead-email-container input[type=submit] {
    background: #00478F;
    color: white;
    text-transform: uppercase;
    border-radius: 10px;
    width: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
}

.cta button:active, #lead-email-container input[type=submit]:active {
    transform: translateY(2px);
    box-shadow: none;
}

.cta button:hover {
    background: #0259b0;
    animation: none;
}

.input-group {
    display: flex;
}

.input-group > * {
    flex: 1;
}

.input-group > *:last-child {
    margin-right: 0;
}

.input-group input[type=text], .input-group input[type=number], .input-group select {
    border: 0;
    border-bottom: 2px solid #00478F;
    padding: 5px;
    background: transparent;
}

::placeholder {
    color: #BCBCBC;
}

.input-group .right-aligned {
    text-align: right;
}

.input-group .size-2 {
    flex: 2;
}

.input-group .size-3 {
    flex: 3.5;
}

#size-selector, #size-selector {
    position: relative;
}

#title, #title-pre {
    text-transform: uppercase;
}

#day {
    margin-right: 20px;
}

#add-time {
    white-space: nowrap;
    flex-basis: content;
    flex-shrink: 0;
    flex-grow: 0;
}

#add-time.time-selected {
    color: #00478F;
}

#sizes {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #cacaca;
    border-radius: 10px;
    cursor: pointer;
    background: white;
    overflow: hidden;
}

#sizes > li {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

#sizes > li:hover:not(.selected) {
    background-color: #f6f6f6;
}

#sizes > li .checkbox {
    display: block;
    visibility: hidden;
}

#sizes > li.selected {
    background-color: #e5e5e5;
}

#sizes > li.selected .checkbox {
    visibility: visible;
}

#size-selector-container .help {
    text-align: center;
    margin-bottom: 0;
}

#sizes > li {
    border-bottom: 1px solid #cacaca;
}

#sizes > li:last-child {
    border-bottom: none;
}

#size-selector .size-description {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#size-selector .size-details {
    flex: 1;
    text-align: center;
    letter-spacing: initial;
}

#size-selector .size-price {
    color: #00478F;
    text-align: right;
    flex-shrink: 0;
}

#sizes > li {
    align-items: flex-start;
}

.size-price-old {
    color: #adadad;
    font-weight: 400;
    text-decoration: line-through;
}

#size-selector .free-upgrade-badge {
    background-color: #2e7d32;
    color: #fff;
    font-size: 2.5vw;
    font-weight: 700;
    padding: 0.3vw 1.5vw;
    border-radius: 0.5vw;
    margin-top: 0.5vw;
    display: block;
    text-align: center;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    #size-selector .free-upgrade-badge {
        font-size: 10px;
        padding: 1px 4px;
        border-radius: 2px;
        margin-top: 2px;
    }
}

form.loading {
    pointer-events: none;
}

form.loading .cta button, #lead-email form.loading input[type=submit] {
    font-size: 0;
    background-color: #BCBCBC;
    background-image: url("../img/loading-spinner-V3uQolX.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 8.04vw 8.04vw;
}

form.disabled button[type=submit] {
    background-color: #BCBCBC;
    transition: background-color 0.5s;
}

#styles {
    align-items: center;
    flex: 1;
    position: relative;
}

#styles-fade-end, #styles-fade-start {
    display: block;
    content: '';
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}

#styles-fade-end.visible, #styles-fade-start.visible {
    opacity: 1;
}

#style-list {
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
}

.style, #style-custom {
    display: inline-block;
    position: relative;
    border: 1px solid #cacaca;
    cursor: pointer;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.75s;
    aspect-ratio: 160/225;
}

.style img {
    display: block;
    object-fit: cover;
    object-position: center center;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    position: absolute;
}

.custom-style {
    display: inline-block;
    position: relative;
    border: 1px solid #cacaca;
    cursor: pointer;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.75s;
}

.custom-style img {
    width: 105%;
    height: auto;
    margin: -2px;
    width: calc(100% + 4px);
}

.style.selected, .custom-style.selected {
    border: 3px solid #f76916;
}

.style:hover:not(.selected), #style-custom:hover:not(.selected), .style:hover:not(.selected), .custom-style:hover:not(.selected) {
    border: 1px solid black;
}

.style-limited-edition {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: #000000b8;
    color: white;
    border-radius: 0 0 10px 10px;
    text-align: center;
}

#style-custom {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#style-custom img {
    height: auto;
    width: 30%;
}

#style-custom span {
    display: block;
    text-align: center;
}

#custom-photo-panel, #select-time-panel, #select-time-panel-exact {
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition-property: z-index, visibility, transform, opacity;
    transition-duration: 0s, 0s, 0.25s, 0.25s;
    transition-delay: 0.5s, 0.5s, 0s, 0s;
    pointer-events: none;
}

#custom-photo-panel.shown,
#select-time-panel.shown,
#select-time-panel-exact.shown {
    z-index: 100;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s, 0s, 0s, 0s;
    pointer-events: initial;
}

#custom-photo-panel-ui,
#select-time-panel-ui,
#select-time-panel-exact-ui {
    flex: 1;
    display: flex;
    align-items: center;
}

#select-time-panel-ui, #select-time-panel-exact-ui {
    flex-direction: column;
}

#custom-photo-panel-ui > div {
    flex: 1;
}

#custom-styles {
    flex-flow: row wrap;
    align-items: center;
    margin-right: -10px;
    margin-left: 5px;
    display: none;
}

#custom-photo-panel.photo-selected #custom-styles {
    display: flex;
}

#custom-photo-panel.photo-selected #custom-photo-choose-text-1 {
    display: none;
}
#custom-photo-panel.photo-selected #custom-photo-choose-text-2 {
    display: initial;
}
#custom-photo-choose-text-2 {
    display: none;
}

#custom-photo-align {
    display: none;
}

#custom-photo-panel.photo-selected #custom-photo-align {
    display: initial;
}

#custom-photo-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#custom-photo-panel button,
#select-time-panel button,
#select-time-panel-exact button,
#add-time {
    border: 1px solid #cacaca;
    cursor: pointer;
    border-radius: 10px;
    background: white;
    font-weight: 500;
    color: black;
}

#select-time-panel button.with-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

#select-time-panel button.with-icon img {
    width: 4vw;
    height: 4vw;
    margin-right: 2vw;
}

#select-time-buttons,
#select-time-exact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    flex-grow: 1;
    flex-shrink: 0;
    margin-top: 3vw;
}

#select-time-exact-buttons {
    justify-content: center;
    align-content: center;
    align-items: center;
}

#select-time-buttons-bottom,
#select-time-exact-buttons-bottom {
    flex-basis: content;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: space-between;
}

#select-time-button-exact {
    flex-basis: 100%;
    flex-shrink: 0;
}

#custom-photo-panel button#custom-photo-cancel,
#select-time-panel button#select-time-button-cancel,
#select-time-panel-exact button#select-time-exact-button-cancel {
    color: #CF0000;
}

#select-time-buttons-bottom, #select-time-exact-buttons-bottom {
    display: flex;
    width: 100%;
}

#select-time-buttons-bottom button {
    flex-basis: 100%;
}

#select-time-button-remove {
    display: none;
}

#select-time-panel.time-selected #select-time-button-remove {
    display: initial;
}

#select-time-panel.time-selected #select-time-buttons-bottom button {
    flex-basis: initial;
}

#select-time-panel-exact-ui input[type=time] {
    border: 1px solid #cacaca;
    border-radius: 10px;
    height: 11vw;
    line-height: 11vw;
    width: 45vw;
    text-align: center;
    font-size: 7vw;
}

.help-price {
    color: #00478F;
    font-weight: 500;
    float: right;
    font-size: 1.1em;
}

.help-price-old {
    color: #adadad !important;
    font-weight: 400;
    text-decoration: line-through;
}

#custom-image-price-warning, #free-shipping-warning, #promo-warning {
    display: none;
}

#custom-image-price-warning.shown, #free-shipping-warning.shown, #promo-warning.shown {
    display: block;
}

#promo-warning.help span {
    font-weight: 700;
    color: #3C1E95;
}

#custom-photo-panel.loading #custom-photo-buttons, #custom-photo-panel.loading #custom-styles {
    display: none;
}

#custom-photo-panel.loading #custom-photo-upload-progress {
    display: flex;
}

#custom-photo-upload-progress {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#custom-photo-upload-try-again, #custom-photo-upload-progress-error {
    display: none;
}

#custom-photo-upload-progress-error {
    color: #CF0000;
    text-align: center;
}

#custom-photo-panel.loading-error #custom-photo-upload-try-again,
#custom-photo-panel.loading-error #custom-photo-upload-progress-error {
    display: initial;
}

#custom-photo-panel.loading-error #custom-photo-upload-progress-text {
    display: none;
}

#custom-photo-panel.loading-error progress::-moz-progress-bar {
    background: #CF0000;
}

#custom-photo-panel.loading-error progress::-webkit-progress-value {
    background: #CF0000;
}

#custom-photo-panel.loading-error progress {
    color: #CF0000;
}

.expandingArea > textarea,
.expandingArea > pre {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
}

.expandingArea {
    position: relative;
    border-bottom: 2px solid #00478F;
}

.expandingArea > textarea,
.expandingArea > pre {
    line-height: 26px;
    padding: 5px;
    border: 0;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.expandingArea > textarea {
    width: 100%;
    height: 28px;
}

.expandingArea.active > textarea {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: transparent;
}

.expandingArea > pre {
    display: none;
}
.expandingArea.active > pre {
    display: block;
    visibility: hidden;
}

#wrapper {
    transition : filter 200ms linear
}

#wrapper.blurred {
    filter: blur(10px);
}

#lead-email {
    background-color: rgba(255, 255, 255, 0.75);
}

#lead-email-container label {
    display: none;
}

#lead-email-container input[type=text], #lead-email-container input[type=email], #lead-email-container select {
    border: 0;
    border-bottom: 2px solid #00478F;
    width: 350px;
    height: 45px;
    background: rgba(255,255,255,0.25);
    padding: 5px 20px;
    box-sizing: border-box;
}

#lead-email-container input[type=text] {
    margin-bottom: 10px;
}

#lead-email-container input[type=text]::placeholder, #lead-email-container input[type=email]::placeholder {
    color: #000;
}

#lead-email-container form {
    margin: 25px 0;
}

#lead-email-container input[type=submit] {
    width: 250px;
    height: 45px;
    margin-top: 25px;
}

#lead-email-container button {
    text-decoration: underline;
    color: #aaa;
    margin: 25px 0;
    background: transparent;
    border: 0;
}

#designer-more-links {
    position: absolute;
    left: 0;
    right: 0;
}

#designer-more-links a {
    text-decoration: underline;
    color: #aaa;
}

#main-preview.error {
    visibility: hidden;
}

.pac-item {
    padding: 5px;
    margin-left: 5px;
}

.pac-icon {
    display: none;
}

input:focus, select:focus {
    outline: none;
}

@media (max-width: 767px) {

    input, body, textarea, button, select, .expandingArea > pre, .pac-item-query {
        font-weight: 400;
        font-size: 3.93vw;
        letter-spacing: 0.27vw;
        font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    }

    body, html, #wrapper {
        height: 100%;
    }

    html {
        overflow: auto;
    }

    body {
        background-color: white;
        margin: 0;
        overflow: hidden;
    }

    #wrapper {
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #logo {
        display: none;
    }

    #logo-mobile {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: black;
        text-decoration: none;
        z-index: 1;
    }

    #logo-mobile img {
        width: 8.5vw;
        height: 8.5vw;
        margin-right: 1.5vw;
    }

    #logo-mobile > span {
        display: block;
        font-size: 3.5vw;
        font-weight: 700;
        font-family: sans-serif;
        letter-spacing: initial;
    }

    #logo-mobile > span > span {
        opacity: 0.35;
        font-size: 0.7em;
        transform: translateY(-0.5em);
        display: inline-block;
    }

    #preview {
        text-align: center;
        position: relative;
        overflow: hidden;
        flex: 1;
        width: 100%;
    }

    #main-preview {
        height: 100%;
        width: auto;
        max-width: 500%;
        margin: 2vw -100% 0 -100%;
    }

    #preview-loading {
        background-size: 25vw 25vw;
    }

    #preview-loading-long > * {
        padding: 1vw 2vw;
        font-size: 3vw;
    }

    #preview.long-loading #preview-loading-long {
        display: flex;
    }

    #preview button, #zoom-close-button, #preview .cart-indicator-icon {
        width: 16vw;
        height: 12vw;
        right: 3vw;
        background-position: center right;
    }

    #preview #help-button {
        background-image: url("../img/help-icon-5Mf3LXF.svg");
        top: 1vw;
    }

    #preview #zoom-button {
        background-image: url("../img/zoom-icon-plus-eSNjDjH.svg");
        top: 15vw;
    }

    #preview .cart-indicator-icon {
        background-image: url("../img/cart-designer-icon-JtsH7Nh.svg");
        top: 29vw;
    }

    body.cart-has-items #preview #help-button {
        top: 15vw;
    }

    body.cart-has-items #preview #zoom-button {
        top: 29vw;
    }

    body.cart-has-items #preview .cart-indicator-icon {
        top: 1vw;
    }

    .cart-indicator-icon-item-count {
        font-size: 2.72vw;
        width: 3.4vw;
        height: 3.4vw;
        border-radius: 1.7vw;
        position: absolute;
        top: 0;
        right: 9vw;
    }

    #zoom-close-button {
        top: 2vw;
    }

    #control-panel {
        background: white;
        box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.20);
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 87.5vw;
        margin-top: -10px;
    }

    #control-panel.dropdown-open {
        overflow: visible;
    }

    #control-panel.dropdown-open #panels {
        overflow: visible;
    }

    #control-panel #menu > li {
        height: 12.86vw;
        line-height: 12.86vw;
        font-size: 4.46vw;
        letter-spacing: 0.48vw;
    }

    #panels.selected-2 {
        margin-left: -100vw;
    }

    #panels.selected-3 {
        margin-left: -200vw;
    }

    #panels.selected-4 {
        margin-left: -300vw;
    }

    #panels > li {
        width: 100vw;
    }

    #panels > li:nth-child(2) {
        left: 100vw;
    }

    #panels > li:nth-child(3) {
        left: 200vw;
    }

    #panels > li:nth-child(4) {
        left: 300vw;
    }

    #panels > li > form {
        padding: 3.57vw;
    }

    .cta {
        margin-top: 2.68vw;
    }

    .cta button {
        font-size: 5.36vw;
        height: 11.96vw;
        letter-spacing: 0.57vw;
    }

    .input-group {
        margin-top: 0.89vw;
    }

    .input-group > * {
        margin-right: 0.89vw;
    }

    #add-time {
        height: 11vw;
        line-height: 11vw;
        width: 45vw;
        padding: 0 3vw;
    }

    #sizes > li {
        padding: 2.9vw 3.4vw 2.9vw 2vw;
    }

    #sizes > li .checkbox {
        height: 4vw;
        width: 5.12vw;
        margin-right: 1vw;
    }

    #size-selector-container .help {
        margin-top: 4vw;
    }

    #size-selector .size-details {
        font-size: 3.57vw;
    }

    #size-selector .size-class {
        font-size: 4.46vw;
    }

    #size-selector .size-price {
        font-size: 4.46vw;
    }

    form.loading .cta button {
        background-size: 8.04vw 8.04vw;
    }

    #design-form .help {
        display: none;
    }

    #styles {
        margin: -3.57vw;
    }

    #style-list {
        overflow-x: scroll;
        overflow-y: hidden;
        padding-right: 30vw;
    }

    #styles-fade-end, #styles-fade-start {
        width: 5vw;
        height: 100%;
        top: 0;
    }

    #styles-fade-end {
        right: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), white 90%);
    }

    #styles-fade-start {
        left: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 0), white 90%);
    }

    .style, #style-custom {
        position: relative;
        height: 90%;
        flex-shrink: 0;
        margin-left: 3.57vw;
    }

    .style-limited-edition {
        padding: 2vw;
        font-size: 3vw;
    }

    .custom-style {
        width: 11vw;
        height: 11vw;
        margin-right: 1.5vw;
        margin-bottom: 1.5vw;
    }

    #style-custom img {
        margin-bottom: 2vw;
    }

    #style-custom span {
        font-size: 4.5vw;
    }

    #custom-photo-panel, #select-time-panel, #select-time-panel-exact {
        padding: 3.57vw;
    }

    #custom-photo-panel {
        bottom: 16vw;
    }

    #select-time-panel, #select-time-panel-exact {
        bottom: 0;
    }

    #custom-photo-panel button,
    #select-time-panel button,
    #select-time-panel-exact button {
        height: 11vw;
        line-height: 11vw;
        width: 45vw;
        margin-bottom: 3vw;
    }

    #custom-photo-panel button:last-child {
        margin-bottom: 0;
    }

    #custom-photo-align-container {
        bottom: 13vw;
    }

    #custom-photo-align-toolbar {
        height: 13vw;
    }

    #custom-photo-align-ok-button, #custom-photo-align-cancel-button {
        font-size: 5.36vw;
        height: 11.96vw;
        letter-spacing: 0.57vw;
        margin: 0 2vw;
    }

    .expandingArea > textarea,
    .expandingArea > pre {
        line-height: 4.5vw;
    }

    .expandingArea > textarea {
        height: 4.5vw;
        height: calc(4.5vw + 2px);
    }

    #lead-email-container {
        margin: 3vw;
    }

    #lead-email-container input[type=text], #lead-email-container input[type=email], #lead-email-container select {
        padding: 1.5vw 7vw;
        width: 85vw;
    }

    #lead-email-container input[type=text], #lead-email-container input[type=email] {
        line-height: 12vw;
    }

    #lead-email-container input[type=text], #lead-email-container select {
        margin-bottom: 3vw;
    }

    #lead-email-container form {
        margin: 7vw 0;
    }

    #lead-email-container input[type=submit] {
        width: 85vw;
        height: 12vw;
        margin-top: 7vw;
    }

    #lead-email-container button {
        margin: 7vw 0;
    }

    #designer-more-links {
        top: 2vw;
        left: 2vw;
        text-align: left;
    }

    #free-shipping-warning.hide-on-mobile, #promo-warning.hide-on-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {

    input, body, textarea, button, select, .expandingArea > pre, .pac-item-query {
        font-weight: 400;
        font-size: 16px;
        letter-spacing: 2px;
        font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    }

    html {
        height: 100%;
        min-height: 100%;
    }

    body {
        height: 100%;
        min-height: 100%;
        margin: 0;
    }

    #wrapper {
        height: 100%;
        min-height: 100%;
    }

    #logo {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 100;
    }

    #logo-mobile {
        display: none;
    }

    #preview {
        position: fixed;
        overflow: hidden;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 400px;
        background-position: center center;
        background-repeat: no-repeat;
        width: 90vw;
        width: calc(100vw - 400px);
    }

    #main-preview {
        height: 600px;
        width: 1200px;
        margin: auto 0;
    }

    #preview button, #zoom-close-button, #preview .cart-indicator-icon {
        width: 45px;
        height: 45px;
    }

    #preview #help-button {
        background-image: url("../img/help-icon-5Mf3LXF.svg");
        bottom: 20px;
        left: 20px;
    }

    #preview #zoom-button {
        background-image: url("../img/zoom-icon-plus-eSNjDjH.svg");
        bottom: 75px;
        left: 20px;
    }

    #preview .cart-indicator-icon {
        background-image: url("../img/cart-designer-icon-JtsH7Nh.svg");
        bottom: 130px;
        left: 20px;
    }

    .cart-indicator-icon-item-count {
        font-size: 12px;
        width: 15px;
        height: 15px;
        border-radius: 8px;
    }

    #zoom-close-button {
        top: 20px;
        right: 20px;
    }

    #control-panel {
        background: white;
        box-shadow: -2px 0px 4px 0 rgba(0, 0, 0, 0.20);
        position: absolute;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        top: 0;
        bottom: 0;
        right: 0;
        width: 400px;
    }

    #preview-loading {
        background-size: 100px 100px;
    }

    #preview-loading-long > * {
        padding: 10px 20px;
        font-size: 14px;
    }

    #preview.long-loading #preview-loading-long {
        display: flex;
    }

    #control-panel #menu > li {
        line-height: 60px;
        font-size: 20px;
        height: 60px;
        letter-spacing: 2px;
    }

    #panels.selected-2 {
        margin-left: -400px;
    }

    #panels.selected-3 {
        margin-left: -800px;
    }

    #panels.selected-4 {
        margin-left: -1200px;
    }

    #panels > li {
        width: 400px;
    }

    #panels > li:nth-child(2) {
        left: 400px;
    }

    #panels > li:nth-child(3) {
        left: 800px;
    }

    #panels > li:nth-child(4) {
        left: 1200px;
    }

    #panels > li > form {
        padding: 15px;
    }

    .cta {
        margin-top: 20px;
        flex: 1;
        display: flex;
        align-items: flex-end;
    }

    .cta button {
        font-size: 20px;
        height: 60px;
        letter-spacing: 2px;
    }

    .input-group {
        margin-top: 20px;
    }

    .input-group > * {
        margin-right: 10px;
    }

    .input-group .size-3 {
        flex: 4;
    }

    .input-block {
        margin-top: 20px;
    }

    #add-time {
        height: 60px;
        line-height: 60px;
        padding: 0 20px;
    }

    #sizes > li {
        padding: 20px 20px 20px 12px;
    }

    #sizes > li .checkbox {
        height: 18px;
        width: 23px;
        margin-right: 5px;
    }

    #size-selector .size-details {
        font-size: 14px;
    }

    #size-selector .size-class {
        font-size: 18px;
    }

    #size-selector .size-price {
        font-size: 20px;
    }

    #text-form.help-hidden .help, #size-form.top-help-hidden .top-help {
        display: initial;
    }

    form.loading .cta button {
        background-size: 30px 30px;
    }

    #styles {
        margin: -15px;
    }

    #style-list {
        overflow-y: scroll;
        overflow-x: hidden;
        flex-wrap: wrap;
        padding-bottom: 100px;
    }

    #styles-fade-end, #styles-fade-start {
        height: 25px;
        width: 100%;
        left: 0;
    }

    #styles-fade-end {
        bottom: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 90%);
    }

    #styles-fade-start {
        top: 0;
        background: linear-gradient(to top, rgba(255, 255, 255, 0), white 90%);
    }

    .style, #style-custom {
        position: relative;
        width: 170px;
        flex-shrink: 0;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .style-limited-edition {
        padding: 10px;
        font-size: 15px;
    }

    .custom-style {
        width: 60px;
        height: 60px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    #style-custom img {
        width: 45px;
        margin-bottom: 10px;
    }

    #style-custom span {
        font-size: 15px;
    }

    #custom-photo-panel-ui {
        flex-direction: column;
    }

    #custom-photo-panel, #select-time-panel, #select-time-panel-exact {
        padding: 15px;
    }

    #custom-photo-panel {
        bottom: 80px;
    }

    #select-time-panel, #select-time-panel-exact {
        bottom: 0;
    }

    #custom-photo-panel button,
    #select-time-panel button,
    #select-time-panel-exact button {
        height: 60px;
        line-height: 60px;
        width: 370px;
        margin-bottom: 15px;
    }

    #select-time-panel.time-selected #select-time-buttons-bottom button,
    #select-time-exact-buttons-bottom button {
        width: 170px;
    }

    #custom-photo-panel button:last-child,
    #select-time-panel button:last-child,
    #select-time-panel-exact button:last-child {
        margin-bottom: 0;
    }

    #select-time-panel button.with-icon img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    #select-time-buttons,
    #select-time-exact-buttons {
        margin-top: 10px;
    }

    #select-time-panel-exact-ui input[type=time] {
        height: 60px;
        line-height: 60px;
        width: 180px;
        text-align: center;
        font-size: 40px;
    }

    #custom-styles {
        justify-content: center;
    }

    #custom-photo-align-container {
        bottom: 75px;
    }

    #custom-photo-align-toolbar {
        height: 75px;
    }

    #custom-photo-align-ok-button, #custom-photo-align-cancel-button {
        font-size: 20px;
        height: 60px;
        letter-spacing: 2px;
        margin: 0 10px;
    }

    #design-form .cta {
        flex: none;
    }

    #size-selector-container {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: stretch;
        flex-direction: column;
    }

    #size-selector-container .help {
        margin-top: 40px;
    }

    .help {
        margin-bottom: 40px;
    }

    .expandingArea > textarea,
    .expandingArea > pre {
        line-height: 26px;
    }

    .expandingArea > textarea {
        height: 28px;
    }

    #preview.size_2436_poster {
        background-image: url("../img/displayframes/2436_poster_background-CSIiP8e.jpg");
    }

    #preview.size_1824_poster {
        background-image: url("../img/displayframes/1824_poster_background-djZM0-Q.jpg");
    }

    #preview.size_1216_poster {
        background-image: url("../img/displayframes/1216_poster_background-7qlZh7K.jpg");
    }

    #preview.size_digital, #preview.size_free {
        background-image: url("../img/displayframes/digital_background-CSIiP8e.jpg");
    }

    #preview.category_phones {
        background-image: url("../img/displayframes/phones_background-IF9m5xq.jpg");
        background-repeat: repeat;
    }

    #lead-email-container h1 br {
        display: none;
    }

    #lead-email-container input[type=text], #lead-email-container input[type=email], #lead-email-container select {
        padding: 5px 20px;
    }

    #lead-email-container input[type=text], #lead-email-container input[type=email] {
        line-height: 45px;
    }

    #lead-email-container input[type=text],#lead-email-container select {
        margin-bottom: 10px;
    }

    #lead-email-container form {
        margin: 25px 0;
    }

    #lead-email-container input[type=submit] {
        width: 250px;
        height: 45px;
        margin-top: 25px;
    }

    #lead-email-container button {
        margin: 25px 0;
    }

    #lead-email-container {
        margin: 50px;
    }

    #designer-more-links {
        bottom: 20px;
        text-align: center;
    }
}

@media (min-width: 1200px) {
    #panels.selected-2 {
        margin-left: -500px;
    }

    #panels.selected-3 {
        margin-left: -1000px;
    }

    #panels.selected-4 {
        margin-left: -1500px;
    }

    #panels > li {
        width: 500px;
    }

    #panels > li:nth-child(2) {
        left: 500px;
    }

    #panels > li:nth-child(3) {
        left: 1000px;
    }

    #panels > li:nth-child(4) {
        left: 1500px;
    }

    #preview {
        width: calc(100vw - 500px);
    }

    #control-panel {
        width: 500px;
    }

    .style, #style-custom {
        width: 220px;
    }

    #style-custom img {
        width: 55px;
        padding: 0 5px 0 10px;
    }

    #custom-photo-panel button,
    #select-time-panel button,
    #select-time-panel-exact button {
        width: 470px;
    }

    #select-time-panel.time-selected #select-time-buttons-bottom button,
    #select-time-exact-buttons-bottom button {
        width: 230px;
    }

    .input-group .size-3 {
        flex: 4;
    }
}

@media (min-width: 2000px) and (min-height: 1000px) {
    #main-preview {
        height: 900px;
        width: 1800px;
    }

    #preview {
        background-size: 2715px 1947px;
    }
}

.locale-ja #control-panel #menu > li {
    font-size: 0.75em;
}
