main .product {
    display: flex;
    justify-content: space-between;
    padding: 70px 0 0 0;
    background-repeat: no-repeat;
    background-position: top center;
    gap: 60px;
}

main .product.product-type-variable {
    padding-bottom: 50px;
}



main .product>* {
    margin-bottom: 0 !important;
}

.wpgs-for i.slick-arrow::before {
    color: var(--black);
}

.wpgs-for .flaticon-right-arrow {
    right: -35px;
}

.wpgs-for .flaticon-back {
    left: -35px;
}

.summary .product_title {
    font-size: 36px;
    text-align: left;
    margin-bottom: 15px;
}

.fancybox-container {
    z-index: 99999999 !important;
}

.woocommerce div.product p.price {
    font-family: 'Brandon Grotesque';
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: var(--primary);
    margin-bottom: 15px;
}

.woocommerce-product-details__short-description {
    margin-bottom: 20px;
}

.woocommerce-product-attributes {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.woocommerce-product-attributes-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-block {
    display: flex;
    gap: 8px;
    align-items: center;
}

.info-block .info-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
}

.info-block .info-image {
    cursor: pointer;
}

.woocommerce-product-attributes-item__value p {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: var(--grey-blue);     
}

.single_add_to_cart_button {
    background: linear-gradient(90deg, var(--primary-gradient-first), var(--primary-gradient-second) 50%, var(--primary) 50%, var(--primary)) var(--x, 0)/200% !important;
    border-radius: 4px !important;
    padding: 13.5px 153px !important;
    font-family: 'Brandon Grotesque';
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 23px !important;
    text-transform: uppercase;
    color: var(--white) !important;
    transition: .5s;
    height: auto !important;
    margin-bottom: 40px;
}

.single_add_to_cart_button:hover {
    --x: 100% !important;
}

.quantity-price-wrap {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.quantity-price-wrap .quantity-wrap .info-block {
    margin-bottom: 12px;
}

.quantity-price-wrap .quantity-wrap .qib-container .qib-button:not(#qib_id):not(#qib_id) {
    height: 50px;
    width: 50px;
    background: var(--white);
    border: 1px solid var(--primary);
    font-size: 28px;
    background: transparent;
    cursor: pointer;
    color: var(--black);
}

.quantity-price-wrap .quantity-wrap .qib-container .qib-button.minus:not(#qib_id):not(#qib_id) {
    border-radius: 4px 0px 0px 4px;
}

.quantity-price-wrap .quantity-wrap .qib-container .qib-button.plus:not(#qib_id):not(#qib_id) {
    border-radius: 0px 4px 4px 0px;
}

.quantity-price-wrap .quantity-wrap .qib-container  .quantity.buttons_added:not(#qib_id):not(#qib_id) {
    background: #FFFFFF;
    
    border-radius: 4px;
}

.quantity-price-wrap .quantity-wrap .qib-container  .quantity.buttons_added:not(#qib_id):not(#qib_id) input {
    padding: 0 10px !important;
    width: 70px;
    height: 50px;
    outline: unset;
    border-top: 1px solid var(--grey-input);
    border-bottom: 1px solid var(--grey-input);
    border-left: unset;
    border-right: unset;
}

.quantity-price-wrap .subtotal .price-title {
    font-weight: 500; 
    line-height: 140%;
    margin-bottom: 12px;
}

.quantity-price-wrap .subtotal .single-price {
    font-family: 'Brandon Grotesque';
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: var(--primary);
}

.quantity-price-wrap .subtotal .subtotal-price {
    font-family: 'Brandon Grotesque';
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: var(--black);
}

/* VARIATION  */

.single-product__variations-wrapper {
    /* max-width: 362px; */
}

.fpd-product-designer-wrapper {
    position: absolute;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0;
}

.woocommerce div.product form.cart .variations tr {
    display: block;
    margin-bottom: 20px;
}


.woocommerce div.product form.cart .variations th.label {
    display: flex;
    align-items: center;
    padding: 0 0 8px 0;
    background: transparent;
}


.woocommerce div.product form.cart .variations label {
    font-family: "Roboto", sans-serif;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 22px !important;
    color: #051028 !important;
    margin: 0 8px 0 0 !important;
}

.single-product .variations .woo-selected-variation-item-name {
    display: none !important;
}

.woocommerce div.product form.cart table td {
    padding: 0;
}

.woocommerce div.product form.cart .variations select {
    display: block;
    height: auto;
    color: #808080;
    border: 1px solid #D6D5D4;
    border-radius: 4px;
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 11px;
    padding: 9px 19px;
    cursor: pointer;
    background: url('../img/svg/arrow-down.svg') no-repeat calc(100% - 16px) center transparent;
    width: 100%;
    appearance: none;
    outline: none;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper {
    display: flex;
    gap: 8px;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper li {
    width: calc(50% - 4px) !important;
    margin: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 4px;
    box-shadow: unset !important;
    border-radius: 4px !important;
    background: transparent !important;
    border: 1px solid #CFA872;
    color: #CFA872;
    transition: .3s;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper li.selected {
    background: #F5F4F2 !important;
    border: unset;
    color: #7F7F7F;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper li .variable-item-span {
    border: unset !important;
    color: #7F7F7F !important;
}


.variable-items-wrapper.button-variable-items-wrapper .selected .variable-item-span.variable-item-span-button:before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 20px;
    background: url('../img/svg/check-icon.svg');
    background-size: cover;
    margin-right: 7px;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper .variable-item .variable-item-contents {
    display: flex !important;
    position: relative;
    align-items: center;
}


.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper .variable-item-span.variable-item-span-button {
    display: flex;
    position: relative;
    width: 100%;
    justify-content: center;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #7F7F7F;
    background-color: transparent;
    border-radius: 4px;
    padding: 9px 20px !important;
    margin: 1px;
    z-index: 1;
}

.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper li {
    box-shadow: unset !important;
    border-radius: 4px !important;
    margin: 0 !important;
    width: 100% !important;
    height: 30px !important;
    padding: 0 !important
}

.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper li[title="No Ribbon"] .variable-item-contents span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
         linear-gradient(to top left,
             rgba(0,0,0,0) 0%,
             rgba(0,0,0,0) calc(50% - 2px),
             red 50%,
             rgba(0,0,0,0) calc(50% + 2px),
             rgba(0,0,0,0) 100%);
}

.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper li .variable-item-span {
    border-radius: 4px;
}

.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item:not(.no-stock) .variable-item-contents:before, 
.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item:not(.no-stock) .variable-item-contents:before { 
    content: " ";
    display: block;
    height: 100%;
    position: absolute;
    border: 1px solid var(--black, #051028);
    border-radius: 4px;
    width: calc(100% - 2px);
}

.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before, 
.woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before {
    background: url('../img/svg/arrow-color.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 60%;
}

.variable-item-span.variable-item-span-button {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}

.product-type-variable .single_add_to_cart_button {
    display: none !important;
    padding: 13.5px 0px !important;
}

#product-4999.product-type-variable .single_add_to_cart_button,
#product-9053.product-type-variable .single_add_to_cart_button {
    display: block !important;
    padding: 13.5px 50px !important;
    order: 1;
}

.product-type-variable .single_add_to_cart_button.active {
    display: block !important;
    order: 3;
    width: calc(50% - 5px) !important;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.woocommerce-variation-add-to-cart .quantity-price-wrap {
    width: 100%;
    order: 1;
}

#fpd-start-customizing-button {
    order: 2;
    margin: 0 !important;
    width: 100% !important;
}

body.single-product #fpd-start-customizing-button {
    padding: 13.5px 0px !important;
    width: calc(50% - 5px) !important;
}

#fpd-start-customizing-button.edited {
    background: var(--grey-blue) !important;
}

.fpd-fullscreen {
    width: calc(100% - 100px) !important;
    height: calc(100% - 50px) !important;
    margin: auto !important;
    box-shadow: 5px 10px 50px !important;
    border-radius: 4px;
    text-align: center !important;
    z-index: 9999999 !important;
}

.fpd-draggable-dialog .fpd-dialog-head.fpd-primary-bg-color.ui-draggable-handle {
    background-color: transparent;
    padding-left: 0;
}
.fpd-dialog-title {
    font-family: 'Brandon Grotesque';
    font-size: 36px;
    font-weight: normal;
    line-height: 50px !important;
    text-transform: capitalize !important;
    color: #051028;
    margin-left: 0 !important;
}
.fpd-draggable-dialog>.fpd-dialog-head  {
    height: auto;
}
.fpd-dialog-drag-handle {
    line-height: 50px !important;
}

.fpd-modal-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.fpd-container  {
    flex:  0 0 100%;
    max-width: 100%;
}
.fpd-modal-product-designer.fpd-modal-overlay .fpd-done.fpd-btn {
    display: inline-block;
    width: 190px;
    font-family: 'Brandon Grotesque';
    font-size: 16px;
    font-weight: normal;
    line-height: 23px;
    text-transform: uppercase;
    text-align: center;
    color: white;
    border-radius: 4px;
    background-color: #CBA46C;
    margin: 0 0 20px 20px;
    padding: 8.5px 35px;
    order: -1;
}
.fpd-modal-price {
    display: none;
}
.fpd-modal-product-designer.fpd-modal-overlay>.fpd-modal-wrapper {
    padding: 20px 0 20px 0;
    border-radius: 4px;
}

.fpd-modal-content {
    font-family: 'Roboto' !important;
}

.fpd-modal-internal {
    z-index: 99999999 !important;
}

.fpd-snackbar-wrapper {
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.fpd-snackbar-wrapper p {
    color: var(--white);
}

.fpd-modal-wrapper>.fpd-modal-content {
    width: 100%;
    margin: 0 auto;
}
.fpd-modal-wrapper>.fpd-modal-close {
    display: flex;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
    background: #FAF9F7;
    border-radius: 4px;
    opacity: 1;
}
.fpd-modal-wrapper>.fpd-modal-close .fpd-icon-close {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='13' viewBox='0 0 12 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.2426 0.656854C10.6332 0.26633 11.2663 0.26633 11.6569 0.656854C12.0474 1.04738 12.0474 1.68054 11.6569 2.07107L1.75736 11.9706C1.36684 12.3611 0.73367 12.3611 0.343146 11.9706C-0.0473784 11.58 -0.0473781 10.9469 0.343146 10.5563L10.2426 0.656854Z' fill='%23051028'/%3E%3Cpath d='M11.6569 10.5563C12.0474 10.9469 12.0474 11.58 11.6569 11.9706C11.2663 12.3611 10.6332 12.3611 10.2426 11.9706L0.343146 2.07107C-0.0473778 1.68054 -0.0473781 1.04738 0.343146 0.656854C0.73367 0.26633 1.36684 0.26633 1.75736 0.656854L11.6569 10.5563Z' fill='%23051028'/%3E%3C/svg%3E%0A");
}
.fpd-modal-wrapper>.fpd-modal-close .fpd-icon-close:before {
    content: none;
}

.fpd-actions-wrapper>.fpd-action-btn {
    border: 1px solid #E5E5E5 !important;
    border-radius: 4px !important;
}
.fpd-actions-wrapper>.fpd-action-btn>span {
    color: #051028;
}

.fpd-actions-wrapper>.fpd-action-btn:hover>span {
    color: #ffffff;
}
.fpd-topbar .fpd-navigation>div>.fpd-label {
    font-family: 'Brandon Grotesque';
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    vertical-align: super;
}
[data-context=upload] .fpd-upload-zone {
   border-color: #CBA46C;
    border-width: 4px;
}
.fpd-shadow-1  {
    box-shadow: none;
}

.fpd-main-wrapper .fpd-product-stage {
    margin: 0 auto;
}
.fpd-action-btn.fpd-tooltip.fpd-primary-text-color.tooltipstered.fpd-active {
    background-color: transparent;
}

.fpd-modal-overlay>.fpd-modal-wrapper {
    width: 558px;
    padding: 50px 68px 60px 68px;
}

.fpd-modal-internal.fpd-modal-overlay {

}
.fpd-modal-internal[data-type=prompt] input,
.fpd-modal-internal[data-type=prompt] input::placeholder {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #A6A6A6;
}
.fpd-modal-internal[data-type=prompt] input {
    background: #FAF9F7;
    border: 1px solid #F0EFED;
    border-radius: 4px;
    padding: 15px 30px;
}

body .fpd-modal-wrapper .fpd-btn {
    width: 100%;
    font-family: 'Brandon Grotesque';
    font-weight: normal;
    font-size: 16px;
    line-height: 23px;
    text-transform: uppercase;
    color: #FFFFFF;
    border-radius: 4px;
    background-color: #CBA46C !important;
    padding: 13.5px 15px;
    margin-top: 20px;
    margin-bottom: 0;
}

.fpd_lightbox_cstm{
    background-color: rgb(0,0,0,0.50) !important;
    width: 100% !important;
    height: 100% !important;
}

.fpd-ui-theme-doyle .fpd-actions-container .fpd-actions-wrapper.fpd-pos-top .fpd-action-btn, .fpd-ui-theme-doyle .fpd-actions-container .fpd-dropdown-btn .fpd-label {
    background: rgba(255,255,255,.1)!important;
    margin-right: 5px;
}

.fpd-ui-theme-doyle .fpd-actions-container .fpd-actions-wrapper.fpd-pos-top .fpd-action-btn span {
    color: #fff !important;
}

body.single-product .woocommerce-product-gallery__image .wp-post-image, 
body.single-product .woocommerce-product-gallery__image .zoomImg,
.single-product.postid-4999 .woocommerce-product-gallery__image .zoomImg {
    width: 554px !important;
    height: 554px !important;
    object-fit: cover;
}

#single-product-bag {
    display: block !important;
}

.fpd-close-dialog {
    color: #000;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    line-height: 15px;
}

.fpd-upload-zone-adds-panel .fpd-add-image, .fpd-upload-zone-adds-panel  .fpd-add-design {
    padding-top: 2px;
}

.fpd_lightbox_cstm {
    background: #fff !important;
}

.fpd-modal-wrapper {
    flex-wrap: nowrap;
    flex-direction: column;
}

.fpd-modal-wrapper>.fpd-container {
    width: 100% !important;
    flex: unset;
}

.fpd-draggable-dialog {
    padding: 50px 100px;
    margin: 0;
    box-shadow: 4px 4px 15px rgba(88, 52, 0, 0.6);
    border-radius: 4px;
    width: auto;
}

.fpd-draggable-dialog.fpd-container {
    width: 550px !important;
}

.fpd-draggable-dialog .fpd-dialog-head {
    padding-bottom: 54px;
}

.fpd-draggable-dialog .fpd-dialog-drag-handle {
    overflow: initial;
}

.fpd-draggable-dialog .fpd-dialog-title {
    font-size: 36px !important;
    line-height: 140% !important;
    text-align: center !important;
    color: #CBA46C !important;
    position: relative;
    font-family: 'brandon_grotesqueregular';
}

.fpd-draggable-dialog .fpd-dialog-title:after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translatex(-50%);
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, #CFA872 0%, #E1C698 100%);
    border-radius: 2px;
}

.fpd-icon-file-upload {
    position: relative;
    width: 54px;
    height: 34px;
    margin: 0 auto 15px auto !important;
}

.fpd-icon-file-upload:before {
    content: '';
    background: url('/wp-content/uploads/2022/01/upload.svg');
    width: 50px;
    height: 34px;
    position: absolute;
    left: 0;
}

.fpd-upload-zone span[data-defaulttext] {
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    color: #CBA46C;
    font-family: 'brandon_grotesqueregular';
    text-transform: capitalize;
}

[data-context=upload] .fpd-upload-zone {
    height: 130px;
}

.fpd-ui-theme-doyle.fpd-modal-product-designer>.fpd-modal-wrapper .fpd-modal-close {
    top: 8px;
}

.button.next {
    position: relative;
    width: fit-content;
    z-index: 999;
    margin: 0 auto;
}

.single_variation_wrap .woocommerce-variation-price {
    display: none;
}

.woocommerce-notices-wrapper {
    display: none;
}

#alg-product-input-fields-table {
    display: none !important;
}

#product-9053 #alg-product-input-fields-table
 {
    display: table !important;
    position: absolute;
    top: 630px;
    left: 0;
    width: 48%;
}

#product-9053 #alg-product-input-fields-table::after {
    content: attr(data-name);
    position: absolute;
    left: 50%;
    bottom: -30px;
    padding-top: 30px;
    transform: translateX(-50%);
    font-size: 16px;
    font-family: 'Brandon Grotesque';
    font-weight: 500;
    color: var(--black);
    width: 100%;
}


#alg-product-input-fields-table {
    margin: 10px 0 20px;
    width: 100%;
    height: 200px;
    border: 4px dashed #000 !important;
    background-image: url('../img/dd.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 64px 64px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    filter: alpha(opacity=50);
    opacity: 0.5 !important;
    text-align: center;
    cursor: pointer;
}

.page-template-template-personalise-envelope #alg-product-input-fields-table {
    height: 100px;
    background-size: 32px 32px;
}

#alg-product-input-fields-table * {
    height: 100%;
    width: 100%;
}

#alg-product-input-fields-table .spinner {
    display: none;
    margin-top: 50%;
}

#alg-product-input-fields-table:hover,
#alg-product-input-fields-table.dragging,
#alg-product-input-fields-table.uploading {
    filter: alpha(opacity=100);
    opacity: 1 !important;
}

#alg-product-input-fields-table.uploading {
    background: none;
}

.page-template #alg-product-input-fields-table {
    display: none;
}

#alg-product-input-fields-table tr {
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#alg-product-input-fields-table tr td {
    background: none;
    position: relative;
    text-align: left;
}

#alg-product-input-fields-table tr td:last-child:after {
    content: 'Click or drag file to upload';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 30px;
    text-align: center;
    font-family: 'Brandon Grotesque';
    font-size: 24px;
    font-weight: 300;
}

.page-template-template-personalise-envelope #alg-product-input-fields-table tr td:last-child:after {
    bottom: 7px;
    font-size: 18px;
}

#alg-product-input-fields-table tr td:first-child {
    display: none;
}

#alg-product-input-fields-table label {
    font-family: 'Roboto';
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 140% !important;
    color: #051028 !important;
    margin: 0 !important;
}

#alg-product-input-fields-table label abbr {
    color: red;
}

#alg-product-input-fields-table input {
    /* background: #FFFFFF;
    border: 1px solid #DBC19E;
    border-radius: 4px;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #808080;
    height: 40px;
    padding: 10px 20px; */
    width: 400%;
    height: 100%;
    opacity: 0;
    border: none;
    cursor: pointer;
}

#alg-product-input-fields-table input:focus {
    outline: none;
}


@media(max-width: 1200px) {
    body.single-product .woocommerce-product-gallery__image .wp-post-image, 
    body.single-product .woocommerce-product-gallery__image .zoomImg,
    .single-product.postid-4999 .woocommerce-product-gallery__image .zoomImg {
        width: 446px !important;
        height: 446px !important;
        margin: 0 auto;
    }
    #product-9053 #alg-product-input-fields-table {
        top: 530px;
    }
}


@media(max-width: 1024px) {
    .woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }
    #product-9053 #alg-product-input-fields-table {
        width: 100%;
        top: 600px;
    }
    #product-9053 .summary {
        margin-top: 200px;
    }
    main .product {
        padding: 40px 0 0 0;
        flex-direction: column;
    }

    main .product>* {
        width: 100% !important;
        float: unset !important;
    }

    /* .woocommerce div.product div.summary {
        margin-top: 40px;
    } */
    main .product.product-type-variable {
        gap: 20px;
        padding-bottom: 20px;
    }
    #product-9053 #alg-product-input-fields-table {
        top: 490px;
    }
    #product-9053 .summary {
        margin-top: 220px;
    }
}

@media(max-width: 992px) {
    body.single-product .woocommerce-product-gallery__image .wp-post-image, 
    body.single-product .woocommerce-product-gallery__image .zoomImg,
    .single-product.postid-4999 .woocommerce-product-gallery__image .zoomImg {
        width: 326px !important;
        height: 326px !important;
    }
    #product-9053 #alg-product-input-fields-table {
        top: 370px;
    }
}

@media(max-width: 769px) {
    #product-9053 #alg-product-input-fields-table {
        top: 535px;
    }
    .woo-variation-swatches .variable-items-wrapper.color-variable-items-wrapper {
        grid-template-columns: repeat(9, 1fr);
    }
    .woocommerce div.product p.price {
        margin-bottom: 5px;
    }
    .woocommerce div.product .product_title {
        margin-bottom: 5px;
        font-size: 30px;
        line-height: 140%;
    }
    .woocommerce div.product form.cart .variations select {
        background-color: #FAF9F7;
    }
    .woocommerce div.product form.cart .variations th.label {
        padding-bottom: 0;
        line-height: 180%;
        font-weight: 400;
    }
    .single_add_to_cart_button {
        padding: 13.5px 0px !important;
        width: 100% !important;
    }
    .fpd-draggable-dialog { 
        padding: 10px; 
    }
    .fpd-draggable-dialog.fpd-container {
        width: auto !important;
    } 
    .fpd-draggable-dialog .fpd-dialog-title {
        font-size: 24px;
    }
    .fpd-draggable-dialog .fpd-dialog-head {
        padding-bottom: 44px;
    }
    body.single-product .woocommerce-product-gallery__image .wp-post-image, 
    body.single-product .woocommerce-product-gallery__image .zoomImg,
    .single-product.postid-4999 .woocommerce-product-gallery__image .zoomImg{
        width: 496px !important;
        height: 496px !important;
    }
    .fpd-fullscreen {
        width: calc(100% - 20px) !important;
    }
}

  
@media(max-width: 576px) {
    body.single-product .woocommerce-product-gallery__image .wp-post-image, 
    body.single-product .woocommerce-product-gallery__image .zoomImg,
    .single-product.postid-4999 .woocommerce-product-gallery__image .zoomImg {
        width: 100% !important;
        height: 100% !important;
    }
    #product-9053 .woocommerce-product-gallery__image .wp-post-image,
    #product-9053 .woocommerce-product-gallery__image .zoomImg,
    #product-9053 .woocommerce-product-gallery__image .zoomImg {
        height: 490px !important;
    }
}

/* not logged overlay  */

.overlay {
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transition: .2s;
    background: rgba(19, 32, 56, 0.5);
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
    z-index: 9999999;
}

.overlay .form {
    position: relative;
    max-width: max-content;
    margin: auto;
    margin: 185px auto;
    background: #fff;
    border-radius: 4px;
    padding: 40px;
}

.overlay .form .close-button {
    position: absolute;
    right: 0;
    top: -90px;
    cursor: pointer;
}

#size_guide {
    display: flex;
    align-items: center;
    gap: 50px;
}

#size_guide>div {
    width: calc(50% - 25px);
}

#size_guide h2 {
    text-align: left;
}

#size_guide .size_guide__text {
    text-align: left;
    margin-bottom: 20px;
}

.sizebtnss .slick-track {
    display: flex;
    flex-wrap: wrap;
    width: 100% !important;
    justify-content: space-between;
    transform: translate(0px, 0px) !important;
}

.sizebtnss .slick-track::before,
.sizebtnss .slick-track::after {
    display: none;
}

.sizebtnss .slick-slide { 
    display: block;
    width: 32% !important;
    margin-bottom: 10px;
}

.sizebtnss .slick-slide .button-white {
    padding: 13.5px 0;
    text-align: center;
    color: var(--primary);
}

.sizebtnss .slick-slide:hover .button-white,
.sizebtnss .slick-slide.slick-current .button-white {
    color: var(--white);
    --x: 100%;
}

.size-guide-slider .slick-dots {
    display: none !important;
}

.size-guide-slider .slick-prev {
    background-image: url('../img/svg/arrow-left.svg') !important;
    left: 15px;
}

.size-guide-slider .slick-next {
    background-image: url('../img/svg/arrow-right.svg') !important;
    right: 15px;
}

.size-guide-slider .slick-arrow {
    border: none;
    background-color: transparent;
    background-size: 9px !important;
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(84%) sepia(6%) saturate(3012%) hue-rotate(342deg) brightness(83%) contrast(91%);
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.size-guide-slider .slick-arrow::before {
    display: none;
}

.info-image.pa_paper {
    cursor: pointer;
}

.size-guide-slider {
    border: 2px solid #F5F4F2;
    border-radius: 4px;
}

.silkguide, .silkguidenew {
    display: flex;
    align-items: center;
    gap: 50px;
}

.silkguidenew {
    flex-direction: column;
}

.silkguidenew .row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.silkguidenew .row:nth-child(even) {
    flex-direction: row-reverse;
}

.silkguidenew .row>.col {
    width: calc(50% - 25px);
}

.product-type-simple+.silkguidenew {
    margin: 50px 0 0 0;
}

.silkguide .row {
    width: calc(50% - 25px);
}

.silkguidenew .title {
    text-align: left;
}

.silkguidenew .button-white-wrap {
    margin-top: 20px;
}

.silkguide table {
    border: unset;
    border-collapse: collapse;
}

.silkguide tr th:first-child {
    background: transparent;
    border: unset;
}

.silkguide table tr th, .silkguide table tr td:first-child {
    background: var(--white);
}

.silkguide table tr td:first-child {
    white-space: nowrap;
}

.silkguide table tr th, .silkguide table tr td {
    padding: 15px 5px;
    border-width: 2px;
}

.silkguide table tr th {
    text-align: left;
}

.silkguide  .title {
    text-align: left;
    margin-bottom: 12px;
}

.silkguide .text {
    font-size: 16px;
    font-weight: 300;
    line-height: 180%;
    margin-bottom: 20px;
    text-align: left;
}

.sizeguide-bigimg .desc {
    display: none;
}

.content-wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

@media(max-width: 769px) {
    .content-wrap {
        gap: 20px;
    }
    .woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper li .variable-item-span {
        font-size: 14px;
    }
    .quantity-price-wrap {
        gap: 20px;
        flex-direction: column;
    }
    .quantity-price-wrap .quantity-wrap .info-block {
        margin-bottom: 5px;
    }
    .quantity-price-wrap .subtotal .price-title {
        margin-bottom: 0;
    }
    .quantity-price-wrap .subtotal .single-price {
        font-weight: 400;
    }
    .woocommerce div.product form.cart {
        margin-bottom: 20px;
    }
    /* body.single-product #fpd-start-customizing-button {
        width: 100% !important;
    } */
    .sizebtnss {
        display: none !important;
    }
    #size_guide {
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
        gap: 20px;
    }
    #size_guide>div {
        width: 100%;
    }
    #size_guide h2 {
         text-align: center;
    }
    #size_guide .size_guide__text {
        margin-bottom: 0;
        text-align: center;
    }
    .silkguidenew .row {
        gap: 20px;
    }
    .silkguide, .silkguidenew  {
        flex-direction: column;
        gap: 20px;
    }
    .silkguidenew .row {
        flex-direction: column;
    }
    .silkguide .row, .silkguidenew .row, .silkguidenew .row>.col {
        width: 100%;
    }
    .size-guide-slider .slick-dots {
        display: flex !important;
        justify-content: center;
        position: static;
        margin-top: 10px;
    }
    .size-guide-slider .slick-dots li {
        width: 20px;
        height: 20px;
        margin: 0 5px;
    }
    .size-guide-slider .slick-dots li button {
        border-radius: 50%;
        background: #F0EFED;
    }
    .size-guide-slider .slick-dots li button::before {
        display: none;
    }
    .size-guide-slider .slick-dots li.slick-active button {
        background: rgb(199, 181, 111);
    }
    .sizeguide-bigimg .desc {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        font-family: 'Brandon Grotesque';
        font-weight: 300;
    }
    .silkguide .title {
        text-align: center;
    }
    .silkguide .text {
        text-align: center;
    }
    .button-white-wrap {
        margin: 0 auto;
    }
    .fpd-ui-theme-doyle .fpd-mainbar {

    }
    .fpd-ui-theme-doyle .fpd-mainbar .fpd-content { 
        display: flex !important;
        height: auto !important;
    }
    .fpd-ui-theme-doyle .fpd-mainbar .fpd-content .fpd-module {
        min-width: 100%;
        display: block;
    }
    .fpd-ui-theme-doyle .fpd-mainbar .fpd-content .fpd-module textarea {
        min-height: 60px;
        margin-bottom: 0 !important;
    }
    .fpd-ui-theme-doyle .fpd-mainbar .fpd-content .fpd-module .fpd-btn {
        margin-bottom: 0px;
        font-size: 14px;
        padding: 4.5px 15px;
        line-height: 14px;
    }
    .fpd-ui-theme-doyle .fpd-mainbar .fpd-content .fpd-module .fpd-text-templates {
        display: none;
    }
    .fpd-ui-theme-doyle .fpd-main-wrapper {
        margin-bottom: 160px;
        margin-top: 50px;
    }
    .fpd-ui-theme-doyle.fpd-modal-product-designer>.fpd-modal-wrapper .fpd-modal-close {
        top: 58px;
        height: 30px;
        width: 30px;
    }
    .fpd-modal-product-designer.fpd-modal-overlay .fpd-done.fpd-btn {
        top: 58px;
        right: 40px;
        margin: 0;
        padding: 6.5px 35px;
        font-size: 16px;
        line-height: 17px;
        width: calc(100% - 46px);
    }
    .fpd-product-stage .fpd-view-stage,
    .fpd-product-stage canvas {
        width: 100%;
    }
    /* .fpd-modal-wrapper>.fpd-container {
        overflow: hidden;
    } */
    .fpd-modal-wrapper .fpd-actions-container {
        z-index: 999;
    }
    .fpd-modal-wrapper {
        overflow: hidden !important;
    }
}

@media(max-width: 480px) {
    #product-9053 div.product div.images img {
        height: 350px !important;
    }

    #product-9053 .summary {
        margin-top: 220px;
    }
    #product-9053 .woocommerce-product-gallery__image .wp-post-image,
    #product-9053 .woocommerce-product-gallery__image .zoomImg,
    #product-9053 .woocommerce-product-gallery__image .zoomImg {
        height: 490px !important;
    }
    #product-9053 #alg-product-input-fields-table {
        top: 435px;
    }
}
