body .woocommerce-notices-wrapper {
    outline: none;
}

body .woocommerce-notices-wrapper:focus,
body .woocommerce-notices-wrapper:focus-visible,
body .woocommerce-notices-wrapper .woocommerce-message:focus,
body .woocommerce-notices-wrapper .woocommerce-message:focus-visible,
body .woocommerce-notices-wrapper .woocommerce-info:focus,
body .woocommerce-notices-wrapper .woocommerce-info:focus-visible,
body .woocommerce-notices-wrapper .woocommerce-error:focus,
body .woocommerce-notices-wrapper .woocommerce-error:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error {
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(166, 140, 128, 0.25);
    background: #F4EFEA;
    color: #333;
    list-style: none;
    font-size: 0.9375rem;
    line-height: 1.5;
}

body .woocommerce-error li {
    padding: 0;
    margin: 0;
    list-style: none;
}

body .woocommerce-message::before,
body .woocommerce-info::before,
body .woocommerce-error::before {
    display: none;
}

body .woocommerce-message {
    border-left: 4px solid #8fae1b;
}

body .woocommerce-info {
    border-left: 4px solid #1e85be;
}

body .woocommerce-error {
    border-left: 4px solid #b81c23;
    background: #fef2f2;
}

body .woocommerce-message a.restore-item,
body .woocommerce-info a,
body .woocommerce-error a {
    color: #EDA27C;
    text-decoration: none;
    font-weight: 500;
}

body .woocommerce-message a.restore-item:hover,
body .woocommerce-info a:hover,
body .woocommerce-error a:hover {
    color: #A68C80;
    text-decoration: underline;
}

body .woocommerce form.checkout_coupon,
body .woocommerce form.login,
body .woocommerce form.register {
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

body .woocommerce form .form-row::before,
body .woocommerce form .form-row::after,
body .woocommerce-page form .form-row::before,
body .woocommerce-page form .form-row::after {
    content: none;
    display: none;
}

body .woocommerce form .form-row .input-text,
body .woocommerce form .form-row select,
body .woocommerce form .form-row input[type="text"],
body .woocommerce form .form-row input[type="email"],
body .woocommerce form .form-row input[type="password"],
body .woocommerce form .form-row input[type="tel"] {
    padding: 15px 16px;
    font-size: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    color: #222023;
}

body .woocommerce form .form-row .input-text::placeholder,
body .woocommerce form .form-row input::placeholder {
    color: #ADAEBC;
}

body .woocommerce form .form-row input:focus::placeholder,
body .woocommerce form .form-row input:focus::-webkit-input-placeholder {
    opacity: 1;
}

body .woocommerce form .form-row .input-text:focus,
body .woocommerce form .form-row select:focus,
body .woocommerce form .form-row input:focus {
    border-color: #A68C80;
    outline: none;
}

body .gform_wrapper .gform_required_legend {
    display: none;
}

body .amphora-form .ginput_container_text input,
body .amphora-form .ginput_container_email input,
body .amphora-form .ginput_container_phone input,
body .amphora-form select,
body .amphora-form textarea {
    border-radius: 12px;
    border: 1px solid rgba(166, 140, 128, 0.30);
    background: #FFF;
    padding: 22px 15px;
}

body .amphora-form .ginput_container_text input::placeholder,
body .amphora-form .ginput_container_email input::placeholder,
body .amphora-form .ginput_container_phone input::placeholder,
body .amphora-form select::placeholder,
body .amphora-form textarea::placeholder {
    color: #ADAEBC;
}

body .amphora-form .ginput_container_text input:focus,
body .amphora-form .ginput_container_email input:focus,
body .amphora-form .ginput_container_phone input:focus,
body .amphora-form select:focus,
body .amphora-form textarea:focus {
    border-color: #333;
    outline: none;
}

body .amphora-form .ginput_container_radio input[type="radio"]::before {
    background-color: #EDA27C;
}

body .amphora-form .ginput_container_checkbox input[type="checkbox"]::before {
    color: #EDA27C;
}

body .amphora-form .ginput_container_radio .gfield-choice-input:focus,
body .amphora-form .ginput_container_checkbox .gfield-choice-input:focus {
    outline: none;
    border-color: #EDA27C;
}

body .amphora-form .ginput_container_fileupload .gform_drop_area::before {
    color: #A68C80;
}

body .amphora-form .ginput_container_fileupload .gform_drop_area button.gform_button_select_files.gform-theme-button {
    background-color: #EDA27C;
}

body .amphora-form .gform-footer input[type="submit"].gform_button.button {
    background-color: #EDA27C !important;
    margin: 0 auto !important;
    padding: 17px 49px !important;
    border-radius: 100px !important;
}

.amphora-product-image .woocommerce-product-gallery__wrapper,
.amphora-product-image .flex-viewport{
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    margin-bottom: 24px;
    max-height: 600px;
}

.amphora-product-image .flex-control-thumbs img{
    width: 80px!important;
    height: 80px!important;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #F4EFEA;
}

.amphora-product-image .flex-control-nav img.flex-active{
    border-color: #EDA27C;
}

.amphora-product-image .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amphora-product-image .flex-control-thumbs li {
    width: calc(16.66% - 10px)!important;
    margin: 0 !important;
}

.amphora-product-image .flex-control-thumbs img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .amphora-product-image,
    .amphora-product-image .woocommerce-product-gallery {
        min-width: 0;
    }

    .amphora-product-image .flex-control-thumbs {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding-bottom: 8px;
        margin: 0 -16px;
        padding-left: calc(50% - 40px);
        padding-right: calc(50% - 40px);
        min-width: 0;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .amphora-product-image .flex-control-thumbs::-webkit-scrollbar {
        display: none;
    }

    .amphora-product-image .flex-control-thumbs li {
        flex-shrink: 0;
        width: 80px !important;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        touch-action: pan-x;
    }

    .amphora-product-image .flex-control-thumbs img {
        touch-action: pan-x;
    }
}
