textarea {
    --theme-form-field-border-radius: 20px;
}

#footer [data-id="text"] h3 {
    font-size: 17px;
    margin-bottom: 5px;
}

.red-color a {
    color: #dd1e1e !important;
}

.hide {
    display: none !important;
}

.warning {
    padding: 3px 8px 5px;
    border: 1px solid #dbb46c;
    background: #ffffe2;
    border-radius: 5px;
    font-size: 13px;
    color: #cf8b0f;
    margin-bottom: 1em;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 1px;
    height: 5px;
    background: #eee;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

::-webkit-scrollbar {
    height: 4px;
    width: 5px;
}


.ct-swatch-container .ct-tooltip {
    display: none;
}

/*  SLIDER HOME */
img,
a {
    -webkit-user-drag: none;
    user-drag: none;
}

.home ul.products.columns-4 {
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    grid-auto-columns: 23%;
    padding: 0 0 30px;
    margin-bottom: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    --shop-columns: unset;

}


.home [data-products=type-2] .product {
    display: grid;
    grid-template-rows: min-content;
    gap: 20px;
    padding: 0 35px;
}


@media only screen and (max-width: 600px) {

    .home ul.products.columns-4 {
        gap: 8px;
        grid-auto-flow: column;
        grid-auto-columns: 83%;
        padding: 0 0 30px;

    }

}

.aws-container .aws-search-form {
    border: 2px solid #eaeaea !important;

}

.aws-search-btn.aws-form-btn {
    border: 0 !important;
    background: #f4f5f6 !important;
}

.aws-container .aws-search-field {

    font-size: 14px;
    background: #f4f5f6 !important;
    border: 0 !important;
}

/* Filter Text */

.ct-active-filters a {
    padding: 0px 9px 1px 7px;
    border-radius: 20px;
    color: #ffffff;
    margin: 0;
    background: #4b4b4b;
    font-size: 13px;
    line-height: 2px;
}

.ct-active-filters:not([data-display-type=list]) {
    flex-wrap: wrap;
    gap: 7px;
}

.stk-column-wrapper.stk-block-column__content.stk-container.stk--no-background.stk--no-padding {
    padding-top: 5px;
}

footer h2,
footer h3 {
    color: #eee;
    font-size: 22px !important;
}

/* Fix image lightbox */
img.pswp__img {
    width: auto !important;
}


/* hide midtrans blank description  */
.payment_box {
    display: none !important;
}

.cart_totals tr.woocommerce-shipping-totals.shipping,
.cart_totals tr.order-total {
    display: none;
}



a.skip-link.screen-reader-text {
    display: none !important;
}

.blockslider-pagination.blockslider-pagination-square span {
    width: 45px;
    margin: 5 10px !important;
}


span.ct-toggle-dropdown-desktop {
    display: none;
}

a.button.checkout.wc-forward {
    display: none;
}

#footer li.wc-block-product-categories-list-item,
#footer li,
#footer p {
    font-size: 14px;
}

fieldset#contact-fields {
    display: none
}

span.select2.select2-container.select2-container--default {
    max-width: 100%;
}

.woocommerce-account .address_book header h3 {
    display: block !important;
}

.woocommerce-checkout .address_book label.radio {
    padding: 10px;
    display: inline-block;
    background: #fafafafa;
    border: 1px solid #aaa;
    width: 100%;
}

.woocommerce-checkout .address_book input.input-radio {
    display: none;
}


.woocommerce-checkout .address_book label.radio:last-child {
    padding: 0;
    border: 0;
    background: none;
    display: inline-block;
    font-size: 12px;
    border-radius: 3px;
    width: 100%;
}

.woocommerce-checkout .address_book label.radio {
    padding: 10px;
    display: inline-grid;
    background: none;
    border: 1px solid #aaa;
    width: 30%;
    align-content: center;
    justify-content: center;
    margin-right: 5px;
    border-radius: 3px;
}

.woocommerce-checkout .address_book [checked]+label.radio,
.woocommerce-checkout .address_book label.radio.checked {
    background: #eee;
    border: 2px solid #aaa;
}


span#select2-billing_address_book-container {
    display: list-item;
    padding: 12px
}

body:has(.woocommerce-MyAccount-navigation-link--orders.is-active) .woocommerce-notices-wrapper+p {
    padding: 10px;
    background: #d3525d;
    color: #fff;
}


table.shop_table th {
    vertical-align: middle !important;
    text-align: initial;
}

footer h2.widgettitle {
    font-size: 22px;
}

.wp-block-post-content.wp-block-post-content,
.entry-content.is-layout-constrained {
    text-align: justify;
}

.wpfFilterTitle .fa {
    color: #000;
}

/* Header container */
header.entry-header.ct-container-narrow {
    margin-top: -50px;
}


/* search bar */
#search-modal .aws-container .aws-search-form .aws-search-field {
    color: #fff;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 26px;
    background-color: transparent;
}

.aws-search-result .aws_result_title,
.aws-search-result .aws_search_more a {
    display: block;
    font-weight: 400;
    margin-bottom: 3px;
    color: #000000;
}

.aws-search-result .aws_onsale {
    background: #D2535F;
    color: #ffffff;
    display: block;
    float: right;
    height: 20px;
    padding-top: 4px;
    position: relative;
    right: -25px;
    text-align: center;
    top: 3px;
    transform: rotate(45deg);
    width: 77px;
}

tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
    display: none;
}

form.variations_form table.variations {
    margin-bottom: 1em !important;
}

form.variations_form .single_variation:has(*:not(:empty)) {
    margin-top: 1em;
    margin-bottom: 0 !important;
}


/* Hide Selection Location on Cart */
select.slw_item_stock_location.slw_cart_item_stock_location_selection {
    display: none !important;
}

label.slw_cart_item_stock_location_label {
    display: none;
}


p.product.woocommerce.add_to_cart_inline {
    display: none !important;
}

/* Hide multiple information sotck */
.stock-msg {
    display: none;
}

/* Tabs Product Style */
.entry-content p,
#tab-additional_information p,
.wp-block-stackable-text.stk-block-text.stk-block.stk-eho2sib {
    margin-bottom: .7rem;
}

.ct-product-additional-actions span.ct-label.ct-hidden-sm {
    display: block !important;
}


/* Search Advande Mobile */
.aws-container {
    padding-top: 1rem;
}

#search-modal .aws-container .aws-search-form .aws-search-btn svg {
    fill: #e0e0e0;
}

#search-modal .aws-container .aws-search-form .aws-form-btn {
    border: none;
    background: none;
}

#search-modal .aws-container .aws-search-form .aws-search-field {
    color: #fff;
    font-size: 24px;
}



/* Cart Page */
form.woocommerce-cart-form tr.shipping,
.cart_totals tr.order-total,
.cart_totals tr.shipping {
    display: none;
}

.cart_totals {
    margin-bottom: 2rem;
}


/* Checkout Page */
.woocommerce-invalid input#terms {
    border: red 2px solid;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--woo-waitlist-list.is-active,
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--woo-waitlist-list {
    display: none;
}

ul.woocommcerce.wbte_sc_bogo_products {
    float: left;
    width: 88%;
    margin: 0;
    padding: 0px;
    list-style-type: none;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px 2%;
    flex-direction: row;
    overflow: scroll;
    align-content: flex-start;
}

.wbte_choose_free_product {
    font-size: 15px;
    padding: 10px 27px;
    border: none;
    margin-top: 25px;
    background: #000;
    color: #fff;
    border: 0;
}

/* Delete user */
.wp-block-post-content.wp-block-post-content,
.entry-content.is-layout-constrained {
    text-align: left !important;
}



body:has(.woocommerce-MyAccount-navigation-link--orders.is-active) .woocommerce-notices-wrapper+p {
    background: #837f7f;
    font-size: 14px;
    border-radius: 2px;
}

.woocommerce-table thead tr th {
    padding: 10px 10px
}

.woocommerce-table tfoot tr th,
.woocommerce-table tfoot tr td {
    padding: 10px 10px
}

ul.wc-item-meta {
    font-size: 85%;
}

button.ct-accordion-heading.ct-expandable-trigger.is-width-constrained {
    font-size: 14px;
}

form.variations_form table.variations {
    margin-bottom: 1.5em;
}

.woocommerce-tabs article {
    font-size: 15px !important;
}

.woocommerce-order-details .button-container {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.woocommerce-order-details .button-container a {
    width: calc(33% - 6px);
    margin: 3px;
    border: 1px solid #333;
    color: #222;
    background: none;
}

.woocommerce-order-details .button-container a.button.wp-element-button {
    border: none;
    color: #FFF;
    background: #222;
    padding: 12px;
}

p.woocommerce-customer-details--phone {
    margin: 0;
}

.woocommerce-customer-details address {
    font-size: 14px;
    padding: 1rem;
    border-radius: 5px;
    border: 1px dashed var(--theme-border-color);
}

h2.woocommerce-column__title,
h2.woocommerce-order-details__title {
    font-size: 20px;
    margin: 20px 0 5px;
}


/*  Tracking */
.tracking-information h1 {
    border: 0;
    font-size: 18px;
    margin-bottom: 1rem !important;
}

.tracking-information table {
    border: 0;
    font-size: 13px;
}

.tracking-information table td {
    border: 0;
    padding-bottom: 1.5rem;
    vertical-align: top;
    opacity: 0.5;
    position: relative
}

.tracking-information table th {
    border: 0;
    border-bottom: 1px solid #ccc;
}

.tracking-information table th:first-child {
    text-align: right;
}


.tracking-information table tr:nth-child(2) td {
    opacity: 1;
    color: #cd5353;
}

.tracking-information table tr td:first-child::after {
    content: " ";
    background: #666;
    position: absolute;
    top: 15px;
    right: -4px;
    width: 7px;
    height: 7px;
    border-radius: 10px
}


.tracking-information table tr:nth-child(2) td:first-child::after {
    background: #cd5353;
}


.tracking-information table td:first-child {
    border-right: 1px solid #ccc;
    text-align: right;
    font-size: 13x;
}

/* My Account Address Book */
.address_book {
    margin-top: 2.5rem;
}

input#coupon_code {
    height: 45px;
    margin-bottom: 10px;
    cursor: pointer !important;
}

a.woocommerce-remove-coupon {
    color: #D2535F;
}

tr.cart-discount.coupon-free {
    border: 2px dashed #D1D1CE;
    background: #eee;
}

tr.cart-discount.coupon-free th,
tr.cart-discount.coupon-free td {
    padding: 10px;
}

tr.cart-discount.coupon-free th {
    text-transform: uppercase;
}

.woocommerce-MyAccount-navigation ul {
    background-color: #fafafa;
}

/*  My account mobile */
@media only screen and (max-width: 768px) {
    .woocommerce-MyAccount-navigation ul {
        display: -webkit-inline-box;
        overflow: scroll;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid #ddd;
        scrollbar-width: none;
    }

    .ct-acount-nav {
        border-radius: 0 !important;
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -38px;
        margin-bottom: 20px;
    }

    .woocommerce-MyAccount-navigation ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .woocommerce-MyAccount-navigation ul li a:before {
        display: none;
    }

    .woocommerce-MyAccount-navigation ul li a {
        height: 50px;
        padding: 0 5px;
    }

    /* .woocommerce-MyAccount-navigation ul li:hover a, */
    .woocommerce-MyAccount-navigation ul li.is-active a {
        padding: 20px;
        color: var(--account-nav-background-active-color, var(--theme-palette-color-1));
        background: none !important;
        border-bottom: 3px solid var(--account-nav-background-active-color, var(--theme-palette-color-1))
    }

    td.download-file .button:not(:last-child),
    td.woocommerce-orders-table__cell-order-actions .button:not(:last-child),
    a.woocommerce-button.button.wt_pklist_invoice_download {
        margin-bottom: 10px;
        margin-inline-end: 0;
        margin-left: 10px;
        font-size: 14px;
    }

    table.shop_table_responsive tbody td {
        padding: 10px 3px;
    }

    table.my_account_orders tbody tr:not(:last-child) td:last-child {
        padding-bottom: 40px;
    }


    tfoot {
        /*     display: block; */
        width: 92vw;
    }

    tfoot table.shop_table tr {
        border: none !important;
        --theme-table-border-width: 0 !important;
    }

    .woocommerce-table--order-details tfoot th,
    .woocommerce-table--order-details tfoot td {
        padding: 5px 0 !important;
    }

    td.woocommerce-table__product-name.product-name {
        padding: 5px;
    }

    table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
        margin-bottom: 0;
    }

    .woocommerce-order-details .button-container a {
        width: calc(50% - 6px);
    }

    .woocommerce-order-details .button-container a.button.wp-element-button {
        width: 100%;
    }
}


@media (max-width: 689.98px) {
    .ct-woo-unauthorized .col2-set>*:last-child {
        display: none;
    }
}

.woocommerce-notices-wrapper {
    margin-top: 20px;

}

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

#menu-main-menu .sub-menu {
    padding: 0;
}

#menu-main-menu .sub-menu li {
    padding: 0;
}

/*  Top Header */
.ct-sticky-container [data-row=top] .ct-container,
.ct-sticky-container [data-row=top] a {
    color: #fff !important
}

/* header promo */
#header .stk-block-content.stk-inner-blocks,
#header .stk-block-carousel__button svg {
    color: #fff;
}

body {
    display: nne !important;
}

/* checkout spinner */
body.woocommerce-checkout .blockUI {
    background: rgba(255, 255, 255, 0.6) !important;
}

body.woocommerce-checkout .blockUI::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: url('../images/spinner-2x.gif') no-repeat center center !important;
    background-size: 40px 40px !important;
    transform: translate(-50%, -50%);
    z-index: 9999;
}



/* Shipping Packages & Warehouse Styling */
.ct-order-review {
    padding: 0 2em 2em;

}

.ct-order-review #order_review_heading:first-child {
    display: none
}

.custom-package-detail .product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1em;
}

.custom-package-detail {
    border: 1px solid #eee;
    margin-bottom: -1px;
    padding: .8em .8em .2em;
}

.custom-package-detail .product-img {
    flex: 0 0 auto;
}

.custom-package-detail .product-name {
    flex: 1 1 auto;
    font-weight: 500;
}

.custom-package-detail .product-qty {
    flex: 0 0 auto;
    white-space: nowrap;
}

.custom-package-detail .product-price {
    flex: 0 0 auto;
    margin-left: auto;
    font-weight: bold;
}



@media (max-width: 999.98px) {

    .custom-package-detail .product-item {
        display: flex;
        gap: 0 20px;
        margin-bottom: 1em;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .custom-package-detail .product-price {
        margin-left: inherit;
    }

    [class*=ct-woocommerce] .shop_table [class*=product-name] {
        width: 65%;
    }
}


a.refresh-shipping {
    cursor: pointer;
}

.subtotal-review {
    padding: .8em;
    text-align: right;
    border: 1px solid #eee;
    border-top: 0;
}


del bdi {
    font-size: 11px;
}

/* Input Radio Button */
.wc_payment_method>input[type=radio],
.woocommerce-shipping-methods input[type=radio],
.payment_box input[type=radio],
.mp-ticket-payments input[type=radio],
.forminator-ui[data-design=none] .forminator-radio input[type=radio],
.wpforms-container:not(.wpforms-container-full) input[type=radio],
.ff-inherit-theme-style input[type=radio] {
    border-radius: 100% !important;
    border-color: #ccc;
    background: #fff;
}

.woocommerce-shipping-methods li {
    margin-left: 1em;
    margin-bottom: .2em;
}

.product-img img {
    width: 80px !important;
    height: auto !important;
    max-height: 94px !important;
}

@media (max-width: 689.98px) {
    .ct-order-review {
        border: 0;
        padding: 0 5px;
    }
}

/* Pindah Kupon */
.woocommerce-form-coupon-toggle {
    display: none;
}

.custom-coupon-form {
    border-bottom: 1px dashed rgba(224, 229, 235, .8);
}

.custom-coupon-form td,
.custom-coupon-form form {
    border-bottom: 0 !important;
    padding: .5em 0 .2em
}

.custom-coupon-wrapper {
    margin: 10px 0;
    border: 1px solid #eee;
    padding: 10px;
    background: #fafafa;
    min-height: 83px;
}

.custom-coupon-wrapper input {
    margin: 3px 0;
    width: 70%;
    line-height: 20px;
    float: left;
    border: 1px dashed #ccc;
    text-transform: uppercase;
    font-size: 15px;
    background: #fff;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

button.button.apply-custom-coupon {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 15px;

}

.custom-coupon-wrapper button {
    margin: 3px 0;
    border: 0;
    width: calc(30%);
}


@media (max-width: 689.98px) {
    .custom-coupon-wrapper input {
        width: 65%;
    }

    .custom-coupon-wrapper button {
        width: calc(35%)
    }
}


.stock-msg {
    display: none;
}

.out-of-stock {
    padding: 10px 20px;
    border: 1px solid #ffb2b2;
    text-align: center;
    display: inline-block;
    margin-bottom: 10px;
    color: #db2331;
    background: #ffe3e5;
}

.out-of-stock {
    padding: 10px 20px;
    border: 1px solid color-mix(in srgb, var(--theme-palette-color-2) 70%, transparent);
    text-align: center;
    display: inline-block;
    margin-bottom: 10px;
    color: var(--theme-palette-color-2);
    background:
        color-mix(in srgb, var(--theme-palette-color-2) 8%, transparent);
}

.out-of-stock h6 {
    color: var(--theme-palette-color-2);
    font-weight: normal;
}

p.stock.out-of-stock {
    display: none !important;
}

a.button[href*="order_again"] {
    display: none !important;
}

div.quantity.hidden {
    display: none !important;
}



/* badge */
.free-shipping {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fafafa;
    padding: 1px 4px;
    border: 1px solid #eee;
    border-radius: 3px;
    margin-left: -3px;
}

.entry-summary-items span.gspb-buttonbox-title {
    font-size: 11px;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
    max-width: max-content;
    width: 100% !important;
}

body:has(.woocommerce-MyAccount-navigation-link--orders.is-active) .woocommerce-notices-wrapper+p {
    background: #c73521;
}


body:has(.woocommerce-MyAccount-navigation-link--orders.is-active) .woocommerce-notices-wrapper+p:has(.order-status:contains("Payment Completed")) {
    background-color: #d4edda;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status {
    text-align: center;
}

/* Completed */
tr.woocommerce-orders-table__row.woocommerce-orders-table__row--status-completed.order td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status {

    color: #409f07;
}

/* Cancelled */
tr.woocommerce-orders-table__row.woocommerce-orders-table__row--status-cancelled.order td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status {

    color: #8d463c;
}

/* On hold */
tr.woocommerce-orders-table__row.woocommerce-orders-table__row--status-on-hold.order td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status {
    color: #977c15;
}

/* Product Badge */
.ct-woo-badges {
    left: 10px;
    top: 9px;
    gap: 5px;
}

.ct-woo-badges span.onsale {
    height: auto;
}

.ct-woo-badges span {
    padding: 6px;
}

/* Olrder Order */
.old-order-information h3,
.old-order-information h4,
.old-order-information div:first-child {
    text-align: center;
    font-size: 18px;
}

.old-order-information thead {
    color: var(--theme-palette-color-7);
    background: var(--theme-palette-color-1);
    font-family: var(--theme-font-family);
}

.old-order-information .ctable th,
.old-order-information .ctable td,
.old-order-information .ctable {
    border-style: none;
}


/* Product Detail */
.ct-variation-swatches {
    min-width: 100%;
}

@media (max-width: 999.98px) {
    div.woocommerce-product-gallery {
        margin-bottom: 2em;
    }
}

.slw_stock_location_selection:not(:has(select#slw_item_stock_location_simple_product)) {
    display: none;
}

/* Badge */
.asnp-esb-css-label-out-of-image {
    margin-bottom: 3px !important;
    margin-top: 0;
}

span.asnp-wesb-sale-flash-prefix {
    display: none;
}

.woocommerce-notices-wrapper {
    margin-top: 0 !important;
}



/* Birthday styling */
.ultah-notice.woocommerce-info {
    background: #d3e2ed;
}

span.codeultah {
    margin: 0 5px;
    padding: 2px 5px;
    border-radius: 5px;
    font-weight: bold;
    background: #d3e2ed;
    color: #fff;
    background-color: var(--theme-palette-color-3);
}

@media (max-width: 999.98px) {
    .ultah-notice.woocommerce-info {
        display: inherit;
        background: #d3e2ed;
    }

    span.codeultah {
        margin: 0;
    }
}


.modal.backdrop,
.modal {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    background: #0000002e;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    display: none;

}

.modal.backdrop.shown,
.modal.shown {
    display: flex !important;
}

.main-modal {
    background: #fff;
    width: 800px;
    max-width: 90%;
    margin: 50px auto;
    padding: 10px 15px;
    border-radius: 10px;
    transform: translateY(-30%);
    /* ⬅️ naik 15% dari tengah */
}

.modal.show .main-modal {
    transform: translateY(0);
}

a.btn-modal.close-btn {
    float: right;
    font-weight: 500;
}