@import './reset.css';

* {
    box-sizing: border-box;
}

html,
body {
    height: 100dvh;
}

body {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.35'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    font-family: "Afacad", sans-serif;
    color: #222;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

hr {
    border-top: 1px solid #ddd;
    border-bottom: none;
    border-right: none;
    border-left: none;
    width: 100%;
    margin: 10px 0;
}

a {
    text-decoration: none;
}

header {
    display: flex;
    padding: 10px 15px;
    width: 100%;
    border-bottom: solid 1px #aaa;
    font-weight: 700;
    text-align: left;
    background: #fff;
}

header div.header_logo {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    margin-right: 25px;
    padding-top: 10px;
    text-align: center;
}

.header_icon_cart {
    cursor: pointer;
    display: block;
    margin-left: auto;
    text-align: center;
    position: relative;
}



main {
    flex: 1;
    display: flex;
    flex-direction: row;
    min-height: 0;
}

footer {
    box-sizing: border-box;
    width: 100%;
    border-top: solid 1px #ddd;
    background: #fff;
}

canvas {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
}


#base_left {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    min-height: 0;
    border-right: 1px solid #ccc;
    color: #222;
}

#base_center {
    align-self: center;
    margin: 0 auto;
}

@media screen and (orientation:portrait) {
    #base_left {
        display: none;
    }
}

@media screen and (orientation:landscape) {
    footer {
        display: none;
    }
}

.workspace_control {
    display: flex;
    justify-content: space-between;
}

.workspace_control_title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0px;
    text-align: center;
}
.workspace_control_page {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.workspace_button {
    background-color: #fff;
    border: solid 2px #222;
    border-radius: 4px;
    margin-bottom: 5px;
    padding: 6px 10px 3px 10px;
}

@media screen and (max-height: 900px) {
    .workspace_button {
        padding: 4px 8px 1px 8px;
    }

    .workspace_button svg {
        width: 20px;
        height: 20px;
    }
}


















/* BOTH LANDSCAPE AND PORTRAIT */
a div {
    color: #222;
    font-weight: 500;
    padding: 0 10px;
    font-size: 0.95em;
    margin-top: 2px;
}

span div {
    color: #777;
    font-weight: 500;
    padding: 0 10px;
    font-size: 0.95em;
    margin-top: 2px;
}

a:hover svg {
    fill: #f58a00;
}

a:hover div {
    color: #f58a00;
}

textarea {
    font-family: "Afacad", serif;
    font-weight: 500;
    text-align: center;
    width: 100%;
    border-radius: 3px;
    border: solid 2px #222;
    padding: 5px;
    resize: vertical;
}

button {
    cursor: pointer;
}

.template_tiny {
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

/* BOTH LANDSCAPE AND PORTRAIT */










/* LANDSCAPE */
/* LANDSCAPE BASE MENU */
#landscape_base_menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' %3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='0' y2='1' gradientTransform='rotate(0,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%23000000'/%3E%3Cstop offset='1' stop-color='%23000000'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpattern id='b' width='6' height='6' patternUnits='userSpaceOnUse'%3E%3Ccircle fill='%23FFFFFF' cx='3' cy='3' r='3'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23a)'/%3E%3Crect width='100%25' height='100%25' fill='url(%23b)' fill-opacity='0.07'/%3E%3C/svg%3E");
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

#landscape_base_menu a {
    padding: 10px;
    background-color: #333;
    border-radius: 5px;
    margin: 4px 4px;
}

#landscape_base_menu a+a {
    margin-top: 0px;
}

#landscape_base_menu a svg {
    fill: #ddd;
}

#landscape_base_menu a.selected {
    background-color: #eee;
}

#landscape_base_menu a.selected svg {
    fill: #222;
}

.color_button:hover {
    filter: brightness(1.2);
}

.color_button {
    line-height: 40px;
    min-width: 35px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    box-shadow: inset 0 1px 0px rgba(255, 255, 255, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.75);
}

.button_svg:hover {
    background: #eee;
}

.button_svg {
    padding: 6px;
    line-height: 0;
    border-radius: 5px;
    border: solid 1px #ccc;
    background: #fff;
}

/* LANDSCAPE BASE MENU */


.landscape_control {
    width: 230px;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px 10px 5px 10px;
    min-height: 0;
    height: 100%;
}

/* LANDSCAPE IMAGE */
.landscape_image_control {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.landscape_image_control>div div {
    color: #888;
    font-weight: 500;
    padding: 0 10px;
    font-size: 0.95em;
    margin-top: 2px;
}

.landscape_image_upload {
    flex: 0 0 auto;
    margin-bottom: 10px;
    text-align: center;
}

.landscape_images_container {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: stretch;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.landscape_images_container img {
    margin: 5px;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

/* LANDSCAPE IMAGE */

/* LANDSCAPE TEXT */
.landscape_text_menu {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.landscape_text_menu>a {
    background-color: #fff;
    border-radius: 5px;
    padding: 5px 0px;
    border: solid 1px #ddd;
}

.landscape_text_menu>span {
    background-color: #ddd;
    border-radius: 5px;
    padding: 5px 0px;
    border: solid 1px #ddd;
}

.landscape_textarea {
    margin-top: 10px;
}

.landscape_text_control {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.landscape_font_control {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    margin-top: 12px;
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    justify-content: space-between;
    row-gap: 5px;
    padding: 0px 5px;
}

.landscape_font_control:nth-child(3n) {
    page-break-after: always;
}

.landscape_font_control button {
    width: 32%;
    min-height: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #fff;
    border-radius: 3px;
    border: solid 1px #ddd;
}

.landscape_color_control_wrapper {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.landscape_color_control {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    gap: 5px;
    justify-content: space-around;
    align-items: center;
}

.landscape_color_control input {
    width: 80%;
    padding: 0px;
    border-radius: 3px;
    border: solid 2px #000;
    background: #fff;
}

.landscape_template_colors_title {
    margin: 10px 0 10px 0;
}

.landscape_template_colors {
    display: flex;
    flex-flow: wrap;
    flex-direction: row;
    gap: 2px;
    margin-top: 5px;
    padding-left: 12px;
}

.landscape_template_colors div {
    height: 40px;
}

.landscape_template_colors:nth-child(6n) {
    page-break-after: always;
}

.landscape_border_control {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

/* LANDSCAPE TEXT */

.landscape_layout_control {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 6px;
    align-items: center;
    overflow: auto;
    justify-content: space-around;
}


/* LANDSCAPE */










/* PORTRAIT */
.portrait_base {
    min-height: 225px;
    display: flex;
    flex-direction: column;
}

.portrait_base_layout {
    min-height: 225px;
    display: flex;
    flex-direction: row;
}

.portrait_image_control {
    display: flex;
    text-align: center;
    padding: 10px 5px;
    border-top: 0px solid #ddd;
}

.portrait_images_base {
    margin-top: auto;
    display: flex;
}

.portrait_image_upload_control {
    flex: 0 0 auto;
    margin-bottom: 10px;
    text-align: center;
    align-self: center;
}

.portrait_images_container {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    height: 120px;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: stretch;
    padding: 5px;
    display: flex;
    flex-direction: row;
}

.portrait_images_container img {
    margin: 5px;
    max-height: 100%;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

.portrait_text_options_base {
    display: flex;
    flex-direction: row;
}

.portrait_text_font_options {
    overflow-x: scroll;
    padding: 5px;
}

.portrait_text_font_options button {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2px 3px;
    background-color: #fff;
    border-radius: 3px;
    border: solid 1px #ddd;
}



.portrait_text_color_border_options {
    max-width: 100%;
    display: flex;
    gap: 5px;
    padding: 10px 5px 0 5px;
}

.portrait_color_border_wrapper {
    flex: 1;
    display: flex;
}



.portrait_color_control {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: space-around;
    align-items: center;
    margin-left: 0px;
    text-align: center;
}

.portrait_color_control input {
    width: 120px;
    padding: 0px;
    border-radius: 3px;
    border: solid 2px #000;
    background: #fff;
}

.portrait_border_control {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    gap: 2px;
    align-items: center;
}


.portrait_template_colors {
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    padding: 5px;
}

.portrait_template_colors div {
    max-height: 40px;
    margin: 0 3px;
}

.portrait_text_control {
    background-color: #fff;
    margin-top: auto;
    display: flex;
    padding: 0px 5px 5px 5px;
}

.portrait_textarea {
    min-height: 100%;
}

.porteait_text_size_control {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
}

.portrait_text_menu {
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding-left: 5px;
    padding-top: 0px;
    padding-bottom: 5px;
    text-align: center;
}

.portrait_text_menu>a {
    background-color: #fff;
    border-radius: 5px;
    padding: 5px;
    margin-right: 5px;
    border: solid 1px #ddd;
}

.portrait_text_menu>span {
    background-color: #ddd;
    border-radius: 5px;
    padding: 5px;
    margin-right: 5px;
    border: solid 1px #ddd;
}


.portrait_layout_control {
    margin-left: 10px;
    padding-top: 0px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: center;
    display: flex;
    overflow-x: scroll;
    width: 100%;
    justify-content: space-around;

}

.layout_button:hover {
    filter: brightness(1.1);
}

.layout_button {
    border: solid 1px #ccc;
}

/* PORTRAIT BASE MENU */
#portrait_base_menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' %3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='0' y2='1' gradientTransform='rotate(0,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%23000000'/%3E%3Cstop offset='1' stop-color='%23000000'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpattern id='b' width='6' height='6' patternUnits='userSpaceOnUse'%3E%3Ccircle fill='%23FFFFFF' cx='3' cy='3' r='3'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23a)'/%3E%3Crect width='100%25' height='100%25' fill='url(%23b)' fill-opacity='0.07'/%3E%3C/svg%3E");
    background-attachment: fixed;
    display: flex;
    flex-direction: row;
}

#portrait_base_menu a {
    padding: 10px;
    background-color: #333;
    border-radius: 5px;
    margin: 4px 4px;
}

#portrait_base_menu a+a {
    margin-left: 0px;
}

#portrait_base_menu a svg {
    fill: #ddd;
}

#portrait_base_menu a.selected {
    background-color: #eee;
}

#portrait_base_menu a.selected svg {
    fill: #222;
}

/* PORTRAIT BASE MENU */
/* PORTRAIT */



.popup_templates {
    position: fixed;
    z-index: 100;
    background-color: #fff;
    height: 99%;
    width: 99%;
    margin: 0.5%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    border: none;
    border: solid 1px #ccc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23e0e0e0' fill-opacity='0.35'%3E%3Cpath opacity='.45' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.popup_templates_menu {
    width: 100%;
    padding: 15px 10px;
    background-color: #222;
    display: flex;
    gap: 5px;
    flex-direction: row;
    border-radius: 5px 0 0 5px;
    background-color: #eee;
    align-items: center;
}

.popup_templates_menu div {
    font-family: "Afacad", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    margin-left: 10px;
}

.popup_templates_menu button {
    padding: 8px 10px;
    border-radius: 5px;
    font-family: "Afacad", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;

    border-radius: 5px;
    border: solid 1px #ccc;

    background: #fff;
    color: #000;
    text-align: center;
    font-weight: 600;
    margin-left: auto;
}

.popup_templates_menu button:hover {
    background: #fcfcfc;
    color: #000;
}

.popup_templates_menu button.selected {
    cursor: pointer;
    user-select: none;
    background: rgb(201, 224, 255);
    color: #000;
    color: rgb(0, 48, 102);
    padding-top: 10px;
    border-radius: 5px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65),
        inset 0 0 2px rgba(0, 0, 0, 0.45);
    text-align: center;
    font-weight: 700;


    border: none;
    font-weight: 700;
    background-color: #f58b0063;
    color: #000;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.75),
        inset 0 0 2px rgba(0, 0, 0, 0.45);
}

.popup_templates_content {

    width: 100%;
    border-radius: 0 5px 5px 0;

    padding: 15px;
    text-align: center;
    border-left: solid 1px #ccc;
    overflow-y: auto;

}

.popup_templates_content_category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}







.popup_cart {
    position: fixed;
    box-sizing: border-box;
    min-width: 340px;
    top: 60px;
    right: 0;
    padding: 10px;
    margin-right: 5px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: none;
    background-color: rgba(250, 250, 250, 0.95);
    border: solid 1px #ccc;
    color: #111;
    z-index: 100;
}

.popup_cart_control {
    display: flex;
    width: 100%;
    padding: 10px;
}

.popup_cart_control a {
    width: 50%;
}

.popup_cart_content {
    padding: 10px;
    max-height: 60vh;
    overflow-y: auto;
}


.popup_cart_item button {
    margin: 0px;
    padding: 8px 8px 4px 8px;
    background-color: #fff;
    border: solid 1px #ccc;
    border-radius: 3px;
}

.popup_cart_item img {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.popup_cart_item+.popup_cart_item {
    margin-top: 20px;
}

.popup_cart_item_top {
    display: flex;
}

.popup_cart_item_middle {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    column-gap: 10px;
    margin: 0 auto;
    margin-top: 10px;
}

.popup_cart_item_bottom {
    display: flex;
    margin-top: 10px;
}



.popup_cart_template {
    color: #333;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 2px;
    margin-left: 5px;
    font-weight: 400;
}

.popup_cart_delete {
    margin-left: auto;
}

.popup_cart_delete button {
    border: none;
    background: none;
    margin: -2px 0 0 0;
    padding: 0;
}

.popup_cart_delete button svg:hover {
    fill: #f58a00;
}




.cart_svg_button {
    color: #333;
    text-align: center;
}

.cart_svg_button svg {
    margin: 0 auto;
    display: block;
    margin-top: 5px;
}

.cart_svg_button div {
    margin-top: 5px;
}

.popup_cart_header {
    color: #333;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
}

.popup_cart_title {
    color: #111;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 0px;
    font-weight: 500;
}

.popup_cart_row_quantity {
    display: flex;
    justify-content: space-around;
    column-gap: 10px;
    margin: 10px 0 15px 0;
}

.popup_cart input {
    width: 40px;
    text-align: center;
    font-family: "Afacad", serif;
    font-weight: 500;
    border-radius: 3px;
    border: solid 2px #222;
}

.popup_cart_product_price {
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
}




.cart_select {
    display: flex;
    gap: 5px;
}

.cart_select button {
    padding: 5px 10px;
    border: solid 1px #aaa;
    color: #666;
    font-family: "Afacad", serif;
}

button.cart_select_button_selected {
    border: none;
    font-weight: 700;
    background-color: #f58b0063;
    color: #000;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.75),
        inset 0 0 2px rgba(0, 0, 0, 0.45);
}

.cart_checkbox {
    margin-left: auto;
    display: flex;
    gap: 5px;
    margin-top: 3px;
}

.cart_checkbox label {
    margin-top: 2px;
    cursor: pointer;
}

input[type="checkbox"]:hover {
    background-color: #fff;
    border: solid 2px #666;
}

input[type="checkbox"] {
    appearance: none;
    cursor: pointer;
    background-color: #ffffff;
    margin: 0 auto;
    font: inherit;
    width: 24px;
    height: 24px;
    border: solid 2px #222;
    border-radius: 4px;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;

}

input[type="checkbox"]::before {
    content: "";
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: 120ms opacity ease-in-out;
    box-shadow: inset 1em 1em #000;
    clip-path: polygon(40% 65%, 75% 15%, 90% 25%, 40% 90%, 10% 65%, 20% 55%);
}

input[type="checkbox"]:checked::before {
    opacity: 1;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 90;
    cursor: pointer;
}











/*
.font_Aladin {
    font-family: "Aladin";
}

.font_Boogaloo {
    font-family: "Boogaloo";
}

.font_BowlbyOne {
    font-family: "BowlbyOne";
}

.font_CarterOne {
    font-family: "CarterOne";
}

.font_Chicle {
    font-family: "Chicle";
}

.font_JollyLodger {
    font-family: "JollyLodger";
}

.font_Majalla {
    font-family: "Majalla";
}
.font_Oregano {
    font-family: "Oregano";
}

.font_Pacifico {
    font-family: "Pacifico";
}

.font_PatrickHand {
    font-family: "PatrickHand";
}

.font_PassionOne {
    font-family: "PassionOne";
}

.font_PermanentMarker {
    font-family: "PermanentMarker";
}

.font_Roboto {
    font-family: "Roboto";
}

.font_SourGummy {
    font-family: "SourGummy";
}

.font_VAGRounded {
    font-family: "VAGRounded";
}

.font_Yrsa {
    font-family: "Yrsa";
}
*/

.font_PlayfairDisplay {
    font-family: "Playfair Display", serif;
}

.font_CormorantGaramond {
    font-family: "Cormorant Garamond", serif;
}

.font_DMSerifDisplay {
    font-family: "DM Serif Display", serif;
}

.font_Merriweather {
    font-family: "Merriweather", serif;
}

.font_Cinzel {
    font-family: "Cinzel", serif;
}

.font_NotoSerifDisplay {
    font-family: "Noto Serif Display", serif;
}

.font_GreatVibes {
    font-family: "Great Vibes", cursive;
}

.font_DancingScript {
    font-family: "Dancing Script", cursive;
}

.font_Parisienne {
    font-family: "Parisienne", cursive;
}

.font_Sacramento {
    font-family: "Sacramento", cursive;
}

.font_Satisfy {
    font-family: "Satisfy", cursive;
}

.font_Tangerine {
    font-family: "Tangerine", cursive;
}

.font_Allura {
    font-family: "Allura", cursive;
}

.font_Cookie {
    font-family: "Cookie", cursive;
}

.font_Italianno {
    font-family: "Italianno", cursive;
}

.font_Montserrat {
    font-family: "Montserrat", sans-serif;
}

.font_Raleway {
    font-family: "Raleway", sans-serif;
}

.font_Poppins {
    font-family: "Poppins", sans-serif;
}

.font_Quicksand {
    font-family: "Quicksand", sans-serif;
}

.font_Nunito {
    font-family: "Nunito", sans-serif;
}

.font_Lato {
    font-family: "Lato", sans-serif;
}

.font_OpenSans {
    font-family: "Open Sans", sans-serif;
}

.font_JosefinSans {
    font-family: "Josefin Sans", sans-serif;
}

.font_Fredoka {
    font-family: "Fredoka", sans-serif;
}

.font_Baloo2 {
    font-family: "Baloo 2", sans-serif;
}

.font_Chewy {
    font-family: "Chewy", cursive;
}

.font_ComicNeue {
    font-family: "Comic Neue", sans-serif;
}

.font_LuckiestGuy {
    font-family: "Luckiest Guy", cursive;
}

.font_RubikBubbles {
    font-family: "Rubik Bubbles", cursive;
}

.font_ConcertOne {
    font-family: "Concert One", sans-serif;
}

.font_Caveat {
    font-family: "Caveat", cursive;
}





.font_AmaticSC {
    font-family: "Amatic SC", cursive;
}

.font_ShadowsIntoLight {
    font-family: "Shadows Into Light", cursive;
}

.font_IndieFlower {
    font-family: "Indie Flower", cursive;
}

.font_PatrickHand {
    font-family: "Patrick Hand", cursive;
}

.font_Handlee {
    font-family: "Handlee", cursive;
}

.font_ComingSoon {
    font-family: "Coming Soon", cursive;
}

.font_PermanentMarker {
    font-family: "Permanent Marker", cursive;
}

.font_Lobster {
    font-family: "Lobster", cursive;
}

.font_Pacifico {
    font-family: "Pacifico", cursive;
}

.font_AbrilFatface {
    font-family: "Abril Fatface", cursive;
}

.font_GloriaHallelujah {
    font-family: "Gloria Hallelujah", cursive;
}

.font_BebasNeue {
    font-family: "Bebas Neue", sans-serif;
}

.font_Righteous {
    font-family: "Righteous", cursive;
}

.font_FugazOne {
    font-family: "Fugaz One", cursive;
}


/* CODE */
.code_init_hidden {
    display: none;
}

/* CODE */