/* Basic style for the plugin */
body {
    font-family: Arial, sans-serif;
}

.landing-page-message {
    font-size: 20px;
    color: #333;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

td[contenteditable="true"].editable {
    border-color: #c3c3c3;
    border-width: 2px;
    border-style: solid;
    border-radius: 5px;
    background-color: white;
}

table.landing-pages {
    width: 100%;
    border-collapse: collapse;
}

table.landing-pages th,table.landing-pages td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

table.landing-pages th {
    background-color: #f2f2f2;
}

table.landing-pages .action-icons {
    display: flex;
    gap: 10px;
}

table.landing-pages .action-icons a {
    text-decoration: none;
    color: #000;
}

table.landing-pages .edit-icon, .delete-icon {
    cursor: pointer;
}

table.landing-pages .edit-icon:hover {
    color: #4CAF50;
}

table.landing-pages .delete-icon:hover {
    color: #F44336;
}

/* Wrapper for checkbox and label */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

/* Right-aligned label */
.label-right {
    flex-direction: row;
}

/* Left-aligned label */
.label-left {
    flex-direction: row-reverse;
}

/* Top-aligned label */
.label-top {
    flex-direction: column-reverse;
}

/* Bottom-aligned label */
.label-bottom {
    flex-direction: column;
}

.checkbox-wrapper input {
    margin: 5px;
}
td.product-custom-price input.price, td.product-quantity input.qty {
    width: 100%;
}

.landingpages-panel--container .item-list {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.landingpages-panel--container .item-list img.icon {
    width: 15px;
    height: 15px;
}

.landingpages-panel--container .item-list img.icon.edit-icon {
    width: 17px;
    height: 17px;
}

.landingpages-panel--container .item {
    background-color: #fff;
    border: none;
    padding: 25px 0;
    border-radius: 0;
    border-bottom: 1px solid #DEE1EE; /* Divider between items */
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.landingpages-panel--container .item:last-child {
    border-bottom: none;
}

.landingpages-panel--container .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landingpages-panel--container .item-title {
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
}

.landingpages-panel--container .item-link {
    color: red;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.landingpages-panel--container .item-link img {
    width: 15px;
    height: 15px;
}

.landingpages-panel--container .item-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.landingpages-panel--container .product-count {
    color: #B3B9CF;
    font-size: 15px;
}

.landingpages-panel--container .edit-link, label.edit-price {
    color: #646E93;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.landingpages-panel--container .delete-link {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #E7E9F2;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    display: none;
}

.landingpages-panel--container .item .delete-link {
    top: auto;
    right: auto;
    left: 0;
    bottom: 0;
}

.landingpages-panel--container .item:hover .delete-link {
    display: flex;
}

.landingpages-panel--container .echut-product-item .delete-link {
    display: flex;
    top: 20px;
}

.landingpages-panel--container .delete-link img.icon {
    width: 12px;
    height: 12px;
}

.landingpages-panel--container .edit-link img, label.edit-price img {
    width: 17px;
    height: 17px;
}

.drawer-panel.landingpages-panel {
    padding-top: 0;
    width: 388px;
    height: 100vh;
}

.landingpages-panel--container {
    padding-top: 0;
    bottom: 0;
    height: 100%;
    font-size: 17px;
}

body .landingpages-panel--container .title-block {
    display: block;
    max-height: 80px;
    min-height: 80px;
    border-bottom: none;
    line-height: 80px;
    z-index: 11;
    position: relative;
    padding: 0 20px;
    background-color: #fff;
    color: #B3B9CF;
}

.drawer-panel.left .landingpages-panel--container .title-block .title {
    text-align: right;
    padding-right: 50px;
    font-size: 16px;
    font-weight: 500;
}

.landingpages-panel--container button.landingpages-close, .landingpages-panel--container button.landingpages-back {
    left: auto;
    right: 30px;
    top: 33px;
    width: 15px;
    height: 15px;
    border: none;
    box-shadow: none;
    background-color: transparent!important;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    position: absolute;
    color: #B3B9CF!important;
}

.landingpages-panel--container button.landingpages-close:before, .landingpages-panel--container button.landingpages-back:before {
    z-index: 1;
    background-color: transparent!important;
    width: 100%;
}

.landingpages-panel--container button.landingpages-close svg  path, .landingpages-panel--container button.landingpages-back svg  path {
    stroke: #B3B9CF;
    background-color: #fff!important;
}

.echut-landingpages-widget-container {
    padding: 0;
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.echut-landingpages-widget-container-inner {
    padding: 0 30px;
    height: calc(100% - 100px);
    overflow: auto;
    overflow-x: hidden;
    width: 100%;
}

.echut-landingpages-widget-container-footer {
    padding: 0 30px;
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.echut-landingpages-widget-container .basic-btn {
    display: inline-flex;         /* Flexbox for better alignment */
    align-items: center;          /* Vertically center content */
    gap: 8px;                     /* Space between icon and text */
    padding: 10px 14px;
    background-color: #F9E4E5;
    color: #CE2028;
    text-decoration: none;
    border: none;
    border-radius: 1px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.echut-landingpages-widget-container .basic-btn.submit-btn {
    background-color: #CE2028;
    color: #fff;
    width: 100%;
    justify-content: center;
}

.echut-landingpages-widget-container .basic-btn.pickup-btn, .echut-landingpages-widget-container .basic-btn.shipping-btn {
    width: 48%;
    justify-content: center;
    font-size: 17px;
}

.echut-landingpages-widget-container .basic-btn.pickup-btn.selected, .echut-landingpages-widget-container .basic-btn.shipping-btn.selected {
    border: solid 1px #CE2028;
}

.echut-landingpages-widget-container .basic-btn .icon {
    width: 12px;
    height: 12px;
}

.echut-landingpages-widget-container .basic-btn.pickup-btn .icon, .echut-landingpages-widget-container .basic-btn.shipping-btn .icon {
    width: 18px;
    height: 18px;
}

.landingpages-panel--container .title-block .icon {
    width: 15px;
    height: 15px;
}

.landingpages-panel--container div.caption {
    font-weight: bold;
    margin-bottom: 20px;
}

.landingpages-panel--container .circle-container {
    display: flex;
    justify-content: center;
    gap: 40px; /* Even spacing between circles */
    margin-top: 30px;
}

.landingpages-panel--container .circle-link {
    text-decoration: none;
    color: #223064;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Space between circle and text */
    width: 100px;
    overflow-x: visible;
}

.landingpages-panel--container .circle {
    width: 50px;
    height: 50px;
    background-color: #E7E9F2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landingpages-panel--container .circle img {
    width: 22px;
    height: 22px;
}

.landingpages-panel--container .circle-text {
    font-size: 14px;
}

.landingpages-panel--container .circle-link:hover .circle {
    background-color: #E7E9F2; /* Hover effect */
}

form.echut-form .input-container {
    position: relative;
    width: 100%;
}

form.echut-form .input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none; /* Allows clicking through the icon */
}

form.echut-form .echut-product-price .input-container .input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    pointer-events: none; /* Allows clicking through the icon */
}

form.echut-form .echut-product-price .input-container .edit-price-currency {
    position: absolute;
    left: 10px;
    bottom: 5px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    line-height: 26px;
    pointer-events: none; /* Allows clicking through the icon */
}

form.echut-form .input-field {
    width: 100%;
    padding: 10px 10px 10px 38px; /* Padding left to make room for the icon */
    border: 1px solid #DEE1EE;
    font-size: 16px;
    line-height: 40px;
    height: 40px;
}

form.echut-form .echut-product-price .input-container {
    /*width: 70px;*/
}

form.echut-form .input-text.price {
    width: 100%;
    padding: 5px 5px 5px 25px; /* Padding left to make room for the icon */
    border: 1px solid #DEE1EE;
    font-size: 16px;
    line-height: 26px;
    height: 26px;
    background-color: transparent;
}

form.echut-form .input-text.price:focus {
    border-color: #223064;
    outline: none;
}

form.echut-form .input-text.price:focus + .input-icon {
    visibility: hidden;
}

form.echut-form .input-field:focus {
    border-color: #223064;
    outline: none;
}

form.echut-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

form.echut-form .radio-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

form.echut-form input[type="radio"] {
    display: none; /* Hide the default radio button */
}

form.echut-form .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #E7E9F2;
    border-radius: 50%;
    margin-left: 10px;
    display: inline-block;
    position: relative;
    background-color: #E7E9F2;
}

form.echut-form input[type="radio"]:checked + .checkmark {
    background-color: #fff;
}

form.echut-form input[type="radio"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background-color: #223064;
    border-radius: 50%;
}

form.echut-form .delivery-methods {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

form.echut-form .branch-select {
    margin-top: 20px;
}

form.echut-form .custom-select {
    position: relative;
    width: 100%;
}

form.echut-form select {
    width: 100%;
    padding: 10px;
    padding-left: 40px; /* Make space for the arrow */
    font-size: 16px;
    border: 1px solid #DEE1EE;
    border-radius: unset;
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    cursor: pointer;
    background:  transparent;
    height: 40px;
}

/* Arrow SVG as background */
form.echut-form .custom-select::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('../images/arrow-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none; /* Ensure the arrow doesn't interfere with selection */
}

.radio-button-group {
    display: flex;
    gap: 15px;
}

.radio-button-group input[type="radio"] {
    display: none;
}

.echut-landingpages-widget-container .radio-button-group label.basic-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border: solid 1px #F9E4E5;
}

/* Hover Effect */
.echut-landingpages-widget-container .radio-button-group label.basic-btn:hover {
    border-color: #CE2028;
}

/* Checked State */
.echut-landingpages-widget-container .radio-button-group input[type="radio"]:checked + label.basic-btn {
    border-color: #CE2028;
}

.single-product .product {
    position: relative;
}

.products .item_wrap .basic-btn.echut-add-to-page .icon, .products .item_wrap .basic-btn.echut-added-to-page .icon, .single-product .product .basic-btn.echut-add-to-page .icon {
    width: 19px;
    height: 19px;
}

.products .item_wrap .basic-btn.echut-add-to-page .icon-add, .products .item_wrap .basic-btn.echut-add-to-page .text-add,
.single-product .product .basic-btn.echut-add-to-page .icon-add, .single-product .product .basic-btn.echut-add-to-page .text-add {
    display: block;
}
.products .item_wrap .basic-btn.echut-add-to-page .icon-done, .products .item_wrap .basic-btn.echut-add-to-page .text-done,
.single-product .product .basic-btn.echut-add-to-page .icon-done, .single-product .product .basic-btn.echut-add-to-page .text-done {
    display: none;
}
.products .item_wrap .basic-btn.echut-added-to-page .icon-add, .products .item_wrap .basic-btn.echut-added-to-page .text-add,
.single-product .product .basic-btn.echut-added-to-page .icon-add, .single-product .product .basic-btn.echut-added-to-page .text-add {
    display: none;
}
.products .item_wrap .basic-btn.echut-added-to-page .icon-done, .products .item_wrap .basic-btn.echut-added-to-page .text-done,
.single-product .product .basic-btn.echut-added-to-page .icon-done, .single-product .product .basic-btn.echut-added-to-page .text-done {
    display: block;
}

.products .item_wrap .basic-btn.echut-add-to-page, .single-product .product .basic-btn.echut-add-to-page {
    display: inline-flex;         /* Flexbox for better alignment */
    align-items: center;          /* Vertically center content */
    gap: 10px;                     /* Space between icon and text */
    padding: 10px;
    background-color: #F9E4E5;
    color: #CE2028;
    text-decoration: none;
    border: none;
    border-radius: 1px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    /*position: absolute;
    top: 20px;
    right: 20px;*/
}

.products .item_wrap .basic-btn.echut-added-to-page, .single-product .product .basic-btn.echut-added-to-page {
    display: inline-flex;         /* Flexbox for better alignment */
    align-items: center;          /* Vertically center content */
    gap: 10px;                     /* Space between icon and text */
    padding: 10px;
    background-color: #E7E9F2;
    color: #223064;
    text-decoration: none;
    border: none;
    border-radius: 1px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    /*position: absolute;
    top: 20px;
    right: 20px;*/
}

.single-product .product .basic-btn.echut-add-to-page, .single-product .product .basic-btn.echut-added-to-page {
    position: absolute;
    z-index: 100;
}

.fixed-bottom {
    margin-top: auto; /* Pushes it to the bottom */
    width: 100%;
    height: 100px;
}

.echut-messages {
    font-size: 15px;
    font-weight: bold;
    color: #CE2028;
    width: 100%;
}

.echut-messages:not(:empty) {
    padding-bottom: 20px;
}

.echut-quantity-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25px;
    gap: 0;
    user-select: none;
}

.echut-quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #F9E4E5;
    background-color: #F9E4E5;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0!important;
    transform: none!important;
    color: #CE2028;
}

.echut-quantity-btn .svg {
    width: 12px;
    height: 12px;
    /*fill: #333;*/
    pointer-events: none;
}

.echut-quantity-btn:hover {
    background-color: #F9E4E5;
}

.echut-quantity-input {
    width: 25px;
    height: 25px;
    text-align: center;
    border: 1px solid #F9E4E5;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
    appearance: textfield;
}

/* Remove spinners for modern browsers */
.echut-quantity-input::-webkit-outer-spin-button,
.echut-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.echut-product-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.echut-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border: none;
    border-top: 1px solid #DEE1EE;
    position: relative;
}

.echut-product-item .close-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
}

.echut-product-item img {
    width: 116px;
    height: 75px;
    object-fit: cover;
}

.echut-product-item a {
    display: flex;
    border: solid 1px #DEE1EE;
}

.echut-product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows it to take remaining space */
    height: 75px;
    justify-content: flex-start;
}

.echut-product-name {
    font-size: 15px;
    font-weight: bold;
    color: #323232;
}

.echut-product-price {
    font-size: 14px;
    color: #323232;
    margin-top: auto; /* Aligns to bottom */
}

.echut-custom-checkbox {
    position: relative;
    width: 14px;
    height: 14px;
    border: 2px solid #DEE1EE;
    background: white;
    display: inline-block;
    cursor: pointer;
}

.echut-custom-checkbox input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.echut-custom-checkbox .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: url('../images/check-icon.svg') no-repeat center;
    background-size: contain;
    transform: translate(-50%, -50%);
    display: none;
}

.echut-custom-checkbox input:checked + .icon {
    display: block;
}

span.echut-stock-status {
    color: red;
    font-weight: normal;
}

.pt40 {
    padding-top: 40px;
}
.pb40 {
    padding-bottom: 40px;
}
.pt20 {
    padding-top: 20px;
}
.pb20 {
    padding-bottom: 20px;
}
.bd {
    border-bottom:  solid 1px #DEE1EE;
}
.fw {
    width: 100%;
}
.fh {
    height: 100%;
}
.red-value {
    color: red;
}

.info-bubble {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    max-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 10px;
    margin-left: 5px;
}

label.edit-price img.info-icon {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* Modal */
/* Overlay */
.echut-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Modal content */
.echut-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 0;
    max-width: 400px;
    width: 90%;
}

/* Close button */
.echut-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
}

/* Caption and description */
.echut-caption {
    font-size: 24px;
    margin: 10px 0;
    font-weight: bold;
}

.echut-description {
    font-size: 16px;
    margin: 10px 0;
}

/* Image */
.echut-modal-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Navigation buttons */
.echut-nav-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.echut-nav-btns button {
    padding: 10px 20px;
    background-color: #CE2028;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.echut-nav-btns button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

a.echut-overview-link {
    color: #B3B9CF;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

span.landingpages-back {
    display: inline-block;
    cursor: pointer;
}
.submit-btn.inactive {
    background: #ccc;
}

body .landingpages-panel--container .delete-link {
    display: flex;
    position: static;
    margin-right: auto;
    opacity: 1!important;
}
