@import url('https://fonts.googleapis.com/css2?family=Arial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Georgia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+New&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Times+New+Roman&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Sans+MS&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Verdana&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');


:root {
    --fmpc-color: #2563EB;
    --fmpc-color-alt: #1D4ED8;
    --fmpc-color-faded: #2563eb26;
    --fmpc-bg: #fff;
    --fmpc-hover: #f9f9f9;
    --fmpc-border: #ddd;
}

.swal2-container {
  z-index: 9999999999999999 !important;
}

#site-header,
.page-header {
    display: none;
}

body.fmpc-fullscreen #main {
    width: 100%;
    max-width: 100%;  
}

.fmpc-loading-configurator {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;  
}

.fmpc-loader {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}

#fmpc {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding-top: 20px;
    touch-action: pan-x pan-y;
    background-color: var(--fmpc-bg);
}

#fmpc .fmpc-hidden-design-capture {
    position: absolute;
    top: -99999px;
    left: -99999px;
    width: 1400px;
    height: 93vh;
    background-color: var(--fmpc-bg);
}

#fmpc .react-tooltip {
    background-color: var(--fmpc-bg);
}

#fmpc .fmpc-mobile {
    display: none;
}

#fmpc .color-picker-dev {
    position: absolute;
    top: 10px;
    left: 10px;
}

#fmpc input,
#fmpc select,
#fmpc textarea {
    border: 1px solid #ddd;
}

#fmpc h4 {
    margin: 0;
}

#fmpc .fmpc-label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
}

#fmpc .Toastify__close-button {
    padding: 0;
    background: transparent;
    border: none;
    color: #fff;
}

.swal2-confirm {
    background-color: var(--fmpc-color) !important;
    border: none !important;
    color: #fff !important;
}

.swal2-confirm:hover {
    background-color: var(--fmpc-color-alt) !important;
}

.swal2-cancel {
    border: none !important;
    background-color: #e3e3e3 !important;
    color: #363636 !important;
}

#fmpc .fmpc-button,
#fmpc a.fmpc-button {
    background-color: var(--fmpc-color);
    color: #fff;
    display: inline-block;
    border: none;
    padding: 14px 25px;
    font-weight: 600;
    border-radius: 3px;
    font-size: 1rem;
}

#fmpc .fmpc-button.full {
    display: block;
    width: 100%;
}

#fmpc .fmpc-button.small {
    padding: 8px 15px;
}

#fmpc .fmpc-button:focus {
    background-color: var(--fmpc-color);
}

#fmpc .fmpc-button:hover {
    background-color: var(--fmpc-color-alt);
}

#fmpc .fmpc-button.loading {
    padding-top: 3px;
    padding-bottom: 3px;
}

#fmpc .fmpc-info-box {
    background: var(--fmpc-hover);
    padding: 20px;
    border-radius: 5px;
    font-size: 0.9rem;
}

#fmpc .dev {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 300px;
    padding: 30px 20px;
    font-size: 0.7rem;
    background-color: #efefef;
    overflow-y: auto;
    max-height: 100%;
}

#fmpc .quantity-selector {
    display: flex;
}

#fmpc .quantity-selector button {
    border: 1px solid var(--fmpc-border);
    border-radius: 0;
    background: #fff !important;
    color: #222;
    outline: none;
    box-shadow: none;
    padding: .5rem 1rem;
    font-weight: 400;
}

#fmpc .quantity-selector input {
    border: none;
    border-top: 1px solid var(--fmpc-border);
    border-bottom: 1px solid var(--fmpc-border);
    border-radius: 0;
    text-align: center;
    outline: none;
}

#fmpc .fmpc-fullscreen {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #222;
    z-index: 2;
}

#fmpc .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 210px;
    margin-top: 200px;
}

#fmpc .menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#fmpc .menu ul li.colors {
    display: none;
}

#fmpc .menu ul a {
    color: #222;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

#fmpc .menu ul a:hover {
    background-color: var(--fmpc-hover);
}

#fmpc .menu ul a svg {
    width: 30px;
    height: 30px;
}


#fmpc .right-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 400px;
    margin-top: 150px;
    padding-right: 40px;
}

#fmpc .right-side .product-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

#fmpc .right-side .product-info .title h4 {
    margin: 0;
}

#fmpc .right-side .product-info button {
    padding: 0;
    border: none;
    background-color: transparent;
    line-height: 1;
    display: block;
    box-shadow: none;
}

#fmpc .fmpc-colors {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .right-side .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .right-side .info .bot {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .right-side .info .product-price {
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

#fmpc .right-side .info .product-price button {
    padding: 0;
    border: none;
    line-height: 1;
    background: none;
    box-shadow: none;
}


#fmpc .products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#fmpc .products-list .product {
    border: 1px solid var(--fmpc-border);
    cursor: pointer;
    display: flex;
    gap: 20px;
    padding: 10px;
}

#fmpc .products-list .product.active {
    outline: 2px dashed var(--fmpc-color);
    background-color: var(--fmpc-color-faded);
}

#fmpc .products-list .product .image {
    flex: 0 0 100px;
    object-fit: contain;
    display: flex;
}

#fmpc .products-list .product .image img {
    object-fit: contain;
}

#fmpc .products-list .product .body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#fmpc .products-list .product .body label {
    font-weight: 600;
}

#fmpc .products-list .product .body .desc {
    font-size: 14px;
}

#fmpc .products-list .product .body .sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#fmpc .products-list .product .body .sizes .size {
    padding: 3px 8px;
    border: 1px solid var(--fmpc-border);
    font-size: 10px;
    border-radius: 3px;
}

#fmpc .products-list .product .body .colors {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    max-width: 200px;
}

#fmpc .products-list .product .body .colors .color {
    border: 1px solid var(--fmpc-border);
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

#fmpc .products-list .product .product-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#fmpc .preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#fmpc .fullscreen-preview {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

#fmpc .fullscreen-preview .print-area {
    border: none !important;
    background: none !important;
    outline: none !important;
}

#fmpc .fullscreen-preview,
#fmpc .fullscreen-preview .product-area-preview img {
    max-height: 80vh;
}

#fmpc .fmpc-html-to-image {
    min-width: 137px;
    min-height: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fmpc .fullscreen-preview .print-comment-button {
    display: none !important;
}

#fmpc .main-preview {
    max-height: 700px;
    display: block;
    width: fit-content;
    max-width: 100%;
}

#fmpc .product-area-preview {
    position: relative;
    display: block;
    max-height: 100%;
    width: fit-content;
    max-width: 100%;
}

#fmpc .product-area-preview img {
    display: block;
    height: auto;
    max-height: 700px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
/*
#fmpc .product-area-preview .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
}
*/
#fmpc .product-area-preview .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
    mask-position: center;
}

#fmpc .product-area-preview .print-area {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

#fmpc .product-area-preview .print-area.clickable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

#fmpc .product-area-preview.no-prints .print-area.light {
    outline: 2px dashed #5e5e5e;
    border-radius: 3px;
    background: #00000014;
}

#fmpc .product-area-preview.no-prints .print-area.dark {
    outline: 2px dashed #dbdbdb;
    border-radius: 3px;
    background: #ffffff14;
}

#fmpc .product-area-preview .print-area.light.active {
    outline: 2px dashed #5e5e5e;
}

#fmpc .product-area-preview .print-area.dark.active {
    outline: 2px dashed #dbdbdb;
}

#fmpc .product-area-preview .print-area .add {
    width: 100%;
    height: 100%;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#fmpc .product-area-preview .print-area .add svg {
    position: static;
    max-width: 100px;
    max-height: 100px;
    mix-blend-mode: normal;
}

#fmpc .product-area-preview .print-area .add::before,
#fmpc .product-area-preview .print-area .add::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 1px;
    background-color: #000;
}

#fmpc .product-area-preview .print-area.light .add::before,
#fmpc .product-area-preview .print-area.light .add::after {
    background-color: #000;
}

#fmpc .product-area-preview .print-area.dark .add::before,
#fmpc .product-area-preview .print-area.dark .add::after {
    background-color: #fff;
}

#fmpc .product-area-preview .print-area .add::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

#fmpc .product-area-preview .print-area.light .add:hover {
    background: #00000038;
}

#fmpc .product-area-preview .print-area.dark .add:hover {
    background: #70707038;
}

#fmpc .product-area-preview .print-area .print {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    position: relative;
    border: 2px solid transparent;
}

#fmpc .product-area-preview .print-area .print > svg {
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

#fmpc .product-area-preview .print-area .print.text {
    width: 100%;
    height: 100%;
}

#fmpc .product-area-preview .print-area .print .scaletext-wrapper {
    display: flex;
    align-items: center;
    text-align: center;
    white-space: pre-wrap;
    justify-content: center;
}

#fmpc .product-area-preview .print-area .print img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
/*
#fmpc .product-area-preview .print-area .print .print-comment-button {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--fmpc-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    border: none;
}
*/
#fmpc .product-area-preview .print-area .print .print-comment-button {
    position: absolute;
    top: -25px;
    left: 50%;
    width: auto;
    background: var(--fmpc-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    padding: 6px;
    cursor: pointer;
    border: none;
    color: #fff;
    gap: 5px;
    font-size: 12px;
    height: 20px;
    transform: translateX(-50%);
    outline: none;
}

#fmpc .product-area-preview .print-area .print .print-comment-button:hover {
    background: var(--fmpc-color-alt);
}

#fmpc .product-area-preview .print-area .print .print-comment-button svg {
    mix-blend-mode: normal;
    position: static;
    height: auto;
}

#fmpc .product-area-preview .print-area .print .print-comment-button::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--fmpc-color) transparent transparent transparent;
}

#fmpc .product-area-preview .print-area .print .print-comment-button:hover::before {
      border-color: var(--fmpc-color-alt) transparent transparent transparent;
}

#fmpc .product-area-preview .print-area .print .print-remove-button {
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: auto;
    background: #424242;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    padding: 6px;
    cursor: pointer;
    border: none;
    color: #fff;
    gap: 5px;
    font-size: 12px;
    border-radius: 50%;
    opacity: 1;
    visibility: visible;
    transition: all 0.2s ease-in-out;
    transform: translateX(-50%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

#fmpc .product-area-preview .print-area .print .print-remove-button:hover {
    background: #242424;
}


#fmpc .product-area-preview .print-area .print.active {
    border: 2px solid #2a2a2a;
}


#fmpc .product-area-preview .print-area .resize-handle {
    background-color: #2a2a2a;
    border-radius: 50%;
}


#fmpc .product-area-preview .print-area .print .actions-menu {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2a2a2a;
    display: flex;
    border-radius: 5px;
}

#fmpc .product-area-preview .print-area .print .actions-menu button {
    border: none;
    outline: none;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 0;
    background-color: transparent;
}

#fmpc .product-area-preview .print-area .print .actions-menu button:hover {
    background-color: #383838;
}

#fmpc .product-area-preview .print-area .print .actions-menu button:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#fmpc .product-area-preview .print-area .print .actions-menu button:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}


















#fmpc .preview .dimension-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#fmpc .preview .dimension-selector button {
    background: none;
    border: none;
    color: var(--fmpc-color);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    position: relative;
    outline: none;
    box-shadow: none;
}

#fmpc .preview .dimension-selector button.active {
    color: #fff;
    background: var(--fmpc-color);
}
/*
#fmpc .preview .dimension-selector button:hover {
    background-color: #f9f9f9;
}

#fmpc .preview .dimension-selector button.active {
    background-color: #dbdbdb;
}

#fmpc .preview .dimension-selector button.active::after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--fmpc-color);
}
*/

#fmpc .preview .change-preview {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#fmpc .preview .change-preview .preview-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#fmpc .preview .change-preview .preview-button {
    max-height: 100px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    max-width: 80px;
}

#fmpc .preview .change-preview .preview-button:hover {
    background-color: var(--fmpc-hover);
}

#fmpc .preview .change-preview .preview-button.active {
    background-color: #dbdbdb;
}

#fmpc .change-preview .product-area-preview.no-prints .print-area {
    outline-width: 1px;
    border-radius: 2px;
}




#fmpc .prints-intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#fmpc .prints-intro button {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--fmpc-border);
    background-color: var(--fmpc-bg);
    color: #222;
    outline: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#fmpc .prints-intro button:hover {
    background-color: var(--fmpc-hover);
}






.fmpc-prints-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fmpc-prints {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.fmpc-prints .print-wrapper {
    position: relative;
}

.fmpc-prints .print {
    height: 140px;
    border: 1px solid var(--fmpc-border);
    cursor: pointer;
    background-color: var(--fmpc-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.fmpc-prints .print svg {
    width: 100%;
    height: 100%;
}

.fmpc-prints .print img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fmpc-prints .print.active {
    outline: 2px dashed var(--fmpc-color);
    background-color: var(--fmpc-color-faded);
}

.fmpc-prints .print.almost-active {
    outline: 2px dashed #ff4343;
    background-color: #ffe7e7;
}

.fmpc-prints .print .print-image-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 10px;
}

.fmpc-prints .print .print-image-wrapper .print-price {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--fmpc-border);
    font-size: 12px;
    padding: 2px 5px;
}

.fmpc-prints .full {
    grid-column: -1 / 1;
}

.fmpc-prints .print-text-box {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--fmpc-border);
}

.fmpc-prints .print-text-box .dynamic-text-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fmpc-prints .print-upload-box .upload-preview {
    outline: 2px dashed var(--fmpc-color);
    background-color: var(--fmpc-color-faded);
    position: relative;
}

.fmpc-prints .print-upload-box .upload-preview img {
    width: 100%;
    height: 200px !important;
    object-fit: contain;
}

.fmpc-prints .print-upload-box .upload-preview .upload-label {
    position: absolute;
    top: 10px;
    left: 10px;
}

.fmpc-prints .print-upload-box .upload-preview .remove {
    padding: 0;
    background: none;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
}




.fmpc-colors-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.fmpc-colors-list .color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.fmpc-colors-list .color.active {
    outline: 2px solid #222;
    outline-offset: 2px;
}



.fmpc-textprint-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fmpc-textprint-container .unique-text {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}




.fmpc-upload-label {
    border: 2px dashed var(--fmpc-border);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.fmpc-upload-label:hover {
    background-color: var(--fmpc-hover);
}

.fmpc-upload-label input {
    display: none;
}

.fmpc-user-uploads {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

.fmpc-user-uploads .upload {
    cursor: pointer;
    border: 1px solid var(--fmpc-border);
}

.fmpc-user-uploads .upload.active {
    outline-offset: 2px;
    outline: 2px dashed var(--fmpc-color);
    background-color: var(--fmpc-color-faded);
}

.fmpc-user-uploads .fmpc-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--fmpc-border);
}

.fmpc-user-uploads img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}






#fmpc .fmpc-menu-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
}

#fmpc .fmpc-menu-modal-backdrop .fmpc-menu-modal-content {
    padding: 30px;
    background-color: #fff;
    width: 450px;
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}







#fmpc .save-design {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .save-design .save-preview {
    display: none;
}

#fmpc .save-design .save button {
    min-width: 200px;
}

#fmpc .save-design .save {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

#fmpc .save-design .save .saved-message {
    border: 1px solid #5cb85c;
    border-radius: 5px;
    padding: 5px 20px;
    background: #5cb85c33;
    color: #222;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#fmpc .save-design .user-designs .designs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#fmpc .save-design .user-designs .designs-list .design {
    border: 1px solid var(--fmpc-border);
    padding: 10px;
    background: var(--fmpc-bg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
    cursor: pointer;
}

#fmpc .save-design .user-designs .designs-list .design:hover {
    background: var(--fmpc-hover);
}

#fmpc .save-design .user-designs .designs-list .design .design-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

#fmpc .save-design .user-designs .designs-list .design .design-inner .design-body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    cursor: pointer;
}

#fmpc .save-design .user-designs .designs-list .design small {
    font-size: 70%;
    color: #4e4e4e;
}

#fmpc .save-design .user-designs .designs-list .design .design-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#fmpc .save-design .user-designs .designs-list .design .action-button {
    padding: 0;
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

#fmpc .save-design .user-designs .designs-list .design .action-button:hover {
    background: #d1d1d1;
}










#fmpc .fmpc-checkout {
    display: flex;
    gap: 50px;
    height: calc(100% - 40px);
}

#fmpc .fmpc-checkout h4 {
    margin: 0;
}

#fmpc .fmpc-checkout .unique-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--fmpc-border);
    padding-right: 100px;
    overflow-y: auto;
}

#fmpc .fmpc-checkout .unique-texts .unique-text-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .fmpc-checkout .unique-texts .unique-text-block .unique-text-size .inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}





#fmpc .fmpc-checkout .checkout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 400px;
}

#fmpc .fmpc-checkout .sizes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .fmpc-checkout .sizes .size-quantity-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fmpc-border);
    padding-bottom: 20px;
}

#fmpc .fmpc-checkout .sizes > div label {
    font-weight: 600;
}

#fmpc .fmpc-checkout .checkout .bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .fmpc-checkout .checkout .bottom .totals {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 1rem;
}

#fmpc .fmpc-checkout .checkout .bottom .totals .total {
    font-weight: 600;
    font-size: 1.2rem;
}

#fmpc .fmpc-checkout .checkout .bottom .totals > div {
    display: flex;
    justify-content: space-between;
}


#fmpc .fmpc-ai-generator {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#fmpc .fmpc-ai-generator .actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}

#fmpc .fmpc-ai-generator .actions label {
    font-weight: 600;
}

#fmpc .fmpc-ai-generator .actions button {
    min-width: 128px;
}




.fmpc-price-table {
    margin: 0;
}

.fmpc-price-table td {
    padding: 10px;
    font-weight: 400;
    font-size: 1rem;
    background: var(--fmpc-bg) !important;
    border-color: var(--fmpc-border);
}






#fmpc .right-side .info .product-info-mobile {
    display: none;
}


.fmpc-product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fmpc-product-info .main-image img {
    max-height: 300px;
    object-fit: contain;
}

.fmpc-product-info .gallery {
    display: flex;
    flex-wrap: wrap;
}

.fmpc-product-info .gallery .thumb {
    flex: 0 0 80px;
    height: 80px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.fmpc-product-info .gallery .thumb.active {
    border: 1px solid var(--fmpc-color);
}

.fmpc-product-info .gallery img {
    height: 100%;
    object-fit: contain;
    display: block;
}

.fmpc-product-info .name h4 {
    margin: 0;
}

.fmpc-product-info .price {
    font-weight: 600;
}

.fmpc-product-info .sku {
    color: #535353;
    font-size: 0.8rem;
    font-weight: 600;
}

.fmpc-product-info .desc {
    white-space: pre-line;
}

.fmpc-product-info .sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fmpc-product-info .sizes .size {
    padding: 3px 8px;
    border: 1px solid var(--fmpc-border);
    font-size: 12px;
    border-radius: 3px;
}

.fmpc-product-info .colors {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fmpc-product-info .colors .color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--fmpc-border);
}













.fmpc-switch {
    display: block;
    width: 50px;
    height: 28px;
    background-color: #e5e7eb !important;
    position: relative;
    cursor: pointer;
    padding: 0 !important;
    transition: background-color 200ms ease;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    border-radius: 9999px !important;
}

.fmpc-switch[data-state="checked"] {
  background-color: var(--fmpc-color) !important;
}

.fmpc-switch-thumb {
  display: block;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 9999px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.2);
  transition: transform 200ms ease;
  transform: translateX(2px);
}

.fmpc-switch-thumb[data-state="checked"] {
  transform: translateX(24px);
}










#fmpc .spin-loader {
    width: 48px;
    height: 48px;
    border: 5px solid #222;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 


.hotspot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: red; /* själva punkten */
  cursor: pointer;
}

/* Pseudo-elementet som pulserar */
.hotspot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65%;
    height: 65%;
    border-radius: 50%;
    background: var(--fmpc-color);
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
    z-index: -1;
}

.hotspot.square::after {
  border-radius: 3px;
}

/* Animationen */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}




.fmpc-tabs .tabs-container {
    padding: 5px 10px;
    margin-bottom: 20px;
    background-color: var(--fmpc-hover);
    border-radius: 5px;
}

.fmpc-tabs .tabs-container .tabs {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.fmpc-tabs .tabs-container .tabs .tab {
    background-color: transparent;
    color: #222;
    z-index: 1;
    position: relative;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    padding: .5rem 1rem;
    text-align: center;
    box-shadow: none;
}

.fmpc-tabs .tabs-container .tabs .tab:not(.active):hover {
    background-color: var(--fmpc-bg);
}

.fmpc-tabs .tabs-container .tabs .tab-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 0;
    transition: left 50 ease, width 50 ease;
}

.fmpc-tabs .tab-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    outline: none;
}







.fmpc-dropdown-menu {
    background-color: var(--fmpc-bg);
    padding: 8px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 0 0 1px
    color-mix(in oklab, #0000330f, #0000330f 25%), 0 12px 60px #00000026, 0 12px 32px -16px #0009321f;;
}


.fmpc-dropdown-menu .dropdown-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0em;
    height: 32px;
    color: #222;
    border-radius: 4px;
    outline: none;
    cursor: default;
}

.fmpc-dropdown-menu .dropdown-item:hover {
    background-color: var(--fmpc-color);
    color: #fff;
}

.fmpc-dropdown-menu .dropdown-item.delete {
    color: #e5484d;
}

.fmpc-dropdown-menu .dropdown-item.delete:hover {
    background-color: #e5484d;
    color: #fff;
}




















#fmpc .preview .change-preview {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

#fmpc .change-preview .product-area-preview img {
    height: 100%;
}

#fmpc .preview .change-preview > div {
    display: flex;
    align-items: center;
}

#fmpc .preview .change-preview .preview-button-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

#fmpc .preview .change-preview .preview-button {
    height: 100px;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    max-width: 80px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

#fmpc .preview .dimension-selector {
    display: flex;
    justify-content: start;
    gap: 5px;
    flex-direction: column;
    height: 100%;
}

#fmpc .preview .dimension-selector button {
    background: none;
    border: 1px solid var(--fmpc-border);
    color: #222;
    padding: 3px 10px;
    border-radius: 0;
    font-size: 12px;
    position: relative;
    min-height: 40px;
    outline: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 0;
    outline: none;
    box-shadow: none;
}

#fmpc .preview .dimension-selector button.active {
    color: #222;
    background: #dbdbdb;
}

#fmpc .preview .change-preview .preview-button.dimensions {
    border-top-right-radius: 0;
}

#fmpc .preview .change-preview .preview-button .product-area-preview {
    height: 100%;
}

#fmpc .preview .change-preview .preview-button-wrapper .print-area-name {
    display: none;
}

























.fmpc-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fmpc-slider-wrapper .fmpc-slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.fmpc-slider-wrapper .fmpc-slider-info label {
    font-weight: 600;
}


.fmpc-slider {
    position: relative;
    display: flex;
    align-items: center;
    user-select: none;
    touch-action: none;
    width: 100%;
    height: 20px;
}

.fmpc-slider-track {
    background-color: #ddd;
    position: relative;
    flex-grow: 1;
    border-radius: 9999px;
    height: 4px;
}

.fmpc-slider-range {
    position: absolute;
    background-color: var(--fmpc-color);
    border-radius: 9999px;
    height: 100%;
}

.fmpc-slider-thumb {
    display: block;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid var(--fmpc-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.fmpc-slider-thumb:hover {
    background-color: #f5f5f5;
}
.fmpc-slider-thumb:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}


























@media ( max-width: 1300px ) {

    #fmpc .product-area-preview {
        max-width: 400px;
    }

}

@media ( max-height: 700px ) {

    #fmpc .product-area-preview {
        max-width: 350px;
    }

}



@media ( max-width: 768px ) {

 

    #fmpc {
        flex-direction: column;
        gap: 20px;
        padding-top: 65px;
    }

    #fmpc .fmpc-mobile {
        display: initial;
    }

    #fmpc .fmpc-fullscreen {
        top: 65px;
        right: 0;
    }

    #fmpc .fmpc-fullscreen svg {
        width: 20px;
        height: 20px;
    }

    #fmpc .right-side {
        margin: 0;
        padding: 0;
        flex: 1;
        padding-bottom: 65px;
    }

    #fmpc .right-side .fmpc-colors {
        display: none;
    }

    #fmpc .preview {
        align-items: center;
        flex: initial;
        justify-content: center;
        gap: 10px;
    }

    #fmpc .preview .main-preview {
        flex: initial;
        max-width: 85%;
    }

    #fmpc .product-area-preview {
        height: 100%;
    }

    #fmpc .product-area-preview img {
        max-height: 400px;
    }

    #fmpc .fmpc-colors {
        gap: 50px;
    }

    .fmpc-prints .print {
        width: 100px;
        height: 100px;
    }

    .fmpc-prints .print .print-image-wrapper .print-price {
        font-size: 10px;
    }

    #fmpc .preview .change-preview .preview-button {
        padding: 5px;
        height: 80px;
    }

    .fmpc-tabs .tabs-container .tabs .tab svg {
        display: none;
    }

    #fmpc .fmpc-checkout .checkout {
        flex: 0 0 100%;
    }

    #fmpc .fullscreen-preview:not(.hidden) {
        flex-direction: column;
        max-height: initial;
        align-items: center;
    }

    #fmpc .fullscreen-preview:not(.hidden) .product-area-preview img {
        height: 100%;
    }

    #fmpc .fmpc-hidden-design-capture .product-area-preview {
        height: initial;
    }

    .fmpc-user-uploads {
        grid-template-columns: 1fr 1fr 1fr;
    }

    #fmpc .fmpc-checkout .sizes .quantity-selector input {
        max-width: 100px;
    }

    #fmpc .fmpc-checkout {
        flex-direction: column;
    }

    #fmpc .fmpc-checkout .unique-texts {
        padding: 0;
        border: none;
        overflow-y: initial;
    }

    #fmpc .fmpc-checkout .unique-texts .unique-text-block .unique-text-size .inputs {
        grid-template-columns: 1fr;
    }

    .fmpc-tabs .tabs-container .tabs .tab {
        font-size: 12px;
    }

    #fmpc .product-area-preview .print-area {
        border-width: 1px !important;
        outline-width: 1px !important;
    }

    .fmpc-product-info .main-image {
        text-align: center;
    }

    #fmpc .products-list .product .body .desc {
        display: none;
    }

    #fmpc .products-list .product .body .sizes .size {
        font-size: 10px;
    }

    #fmpc .preview .dimension-selector button {
        font-size: 11px;
        border-width: 1px;
    }

    #fmpc .save-design .save-preview {
        display: flex;
    }

    #fmpc .save-design .save-preview .print-area {
        border: none !important;
        outline: none !important;
        background: transparent !important;
    }






    #fmpc {
        padding-top: 10px;
        min-height: 85vh;
        justify-content: center;
        padding-bottom: 60px;
    }

    #fmpc .menu,
    #fmpc .right-side {
        display: none;
    }

    #fmpc .mobile-save {
        position: absolute;
        top: 10px;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        line-height: 1;
        z-index: 2;
        color: #222;
    }

    #fmpc .fmpc-fullscreen {
        top: 10px;
        right: 0;
        z-index: 2;
    }

    #fmpc .fmpc-fullscreen svg {
        width: 20px;
        height: 20px;
    }







    #fmpc .mobile-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--fmpc-bg);
        box-shadow: 1px -2px 5px 0px rgb(0 0 0 / 11%);
        z-index: 99999;
    }

    #fmpc .mobile-menu ul {
        list-style: none;
        padding: 0;
        display: flex;
        border-top: 1px solid var(--fmpc-border);
    }

    #fmpc .mobile-menu ul li {
        flex: 1;
    }

    #fmpc .mobile-menu ul li a {
        color: #222;
        padding: 10px;
        display: flex;
        align-items: center;
        text-decoration: none;
        padding: 8px;
        flex-direction: column;
        font-size: 12px;
    }

    #fmpc .mobile-menu ul li a svg {
        width: 18px;
        height: 18px;
    }

    #fmpc .mobile-menu ul li button {
        padding: 14px 15px;
        border-radius: 0;
    }

    #fmpc .mobile-menu .info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        padding: 8px 10px;
    }

    #fmpc .mobile-menu .info > div {
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        line-height: 1;
    }

    #fmpc .mobile-menu .info .product-info-mobile {
        flex-direction: row-reverse;
    }

    #fmpc .mobile-menu .info button {
        padding: 0;
        border: none;
        line-height: 1;
        background: transparent;
        box-shadow: none;
    }

    #fmpc .mobile-menu .quant {
        padding: 0 10px 10px 10px;
    }

    #fmpc .preview .dimension-selector button {
        min-height: 30px;
    }


}



@media (max-width: 359px) {

    #fmpc .mobile-menu ul li a {
        font-size: 11px;
    }

}




