/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: Dev
Template: flatsome
Version: 3.0
*/

:root {

    --color-primary: #05203d;
    --color-secondary: #fece35;
    --color-white: #fff;
    --color-black: #000;
    --color-blue: #009AFF;
    --success-color: #28a745;
    --success-color-rgb: 40, 167, 69;
}

.container-width,
.full-width .ubermenu-nav,
.container,
.row,
.elementor-container {
    max-width: 80% !important;
}

#top-bar .container {
    max-width: 90% !important;
}

.mr-1 {
    margin-right: .25rem;
}

.mr-2 {
    margin-right: .5rem;
}

.text-theme-white {
    color: var(--color-white);
}

.font-medium {
    font-weight: 500;
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem;
}

.mx-1 {
    margin-left: .25rem;
    margin-right: .25rem;
}

.searchform .flex-row {
    display: flex;
    flex-direction: row;
    /* giữ nguyên chiều ngang */
}

.searchform .flex-row .flex-col:nth-child(3) {
    order: 3;
    /* input */
}

.searchform .flex-row .flex-col:nth-child(2) {
    order: 1;
    /* button */
}

.searchform-wrapper.form-flat .flex-col:last-of-type {
    margin-right: -2.9em;
    color: var(--color-black);
}

.searchform .flex-row .search-field {
    text-indent: 25px;
    background-color: #F3F9FB;
    border: 0;
}

.text-\[\#009BFF\],
.text-\[\#009bff\] {
    --tw-text-opacity: 1;
    color: rgb(0 155 255 / var(--tw-text-opacity));
}

.header-account-title {
    margin-left: .5rem;
}

/* .header-cart-link i::before {
    background-color: var(--color-secondary);
    border-radius: 99px;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .3);
    color: #000;
    content: attr(data-icon-label);
    font-family: Arial, Sans-serif !important;
    font-size: 11px;
    font-style: normal;
    font-weight: bolder;
    height: 17px;
    letter-spacing: -.5px;
    line-height: 17px;
    min-width: 17px;
    opacity: .9;
    padding-left: 2px;
    padding-right: 2px;
    position: absolute;
    right: -10px;
    text-align: center;
    top: -10px;
    transition: transform .2s;
    z-index: 1;
} */

.scrollbar {
    --scrollbar-track: initial;
    --scrollbar-thumb: initial;
    --scrollbar-corner: initial;
    --scrollbar-track-hover: var(--scrollbar-track);
    --scrollbar-thumb-hover: var(--scrollbar-thumb);
    --scrollbar-corner-hover: var(--scrollbar-corner);
    --scrollbar-track-active: var(--scrollbar-track-hover);
    --scrollbar-thumb-active: var(--scrollbar-thumb-hover);
    --scrollbar-corner-active: var(--scrollbar-corner-hover);
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    overflow: overlay;
}

.scrollbar {
    scrollbar-width: auto;
}

.scrollbar-thumb-theme-cyanblue {
    --scrollbar-thumb: var(--color-blue) !important;
}

#header-webpage li {
    list-style: none;
}

#header-webpage button {
    margin: 0;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

#header-webpage button:hover {
    background-color: var(--color-secondary);
    color: var(--color-black);
}

#header-webpage button:hover svg {
    color: var(--color-black);
}

.bg-\[\#113151\] {
    --tw-bg-opacity: 1;
    background-color: rgb(17 49 81 / var(--tw-bg-opacity));
}

.bg-opacity-100 {
    --tw-bg-opacity: 1;
}

.py-\[0\.5rem\] {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.capitalize {
    text-transform: capitalize;
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.duration-300 {
    transition-duration: .3s;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.inline-flex {
    display: inline-flex;
}

.space-x-4>:not([hidden])~:not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.border {
    border-width: 1px;
}

.rounded-md {
    border-radius: .375rem;
}

.border-theme-blue {
    border: 1px solid var(--color-primary);
}

.bg-theme-white {
    background-color: var(--color-white);
}

.bg-theme-white:hover,
.bg-\[\#F1F7F8\]:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    border: 0;
}

.bg-theme-white:hover {
    border: 1px solid var(--color-blue);
}

.bg-opacity-100 {
    --tw-bg-opacity: 1;
}

.capitalize {
    text-transform: capitalize;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.w-full {
    width: 100%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.border-transparent {
    border-color: transparent;
}

.bg-\[\#F1F7F8\] {
    background-color: rgb(241 247 248);
}

.bg-\[\#F1F7F8\] p {
    margin-bottom: 0;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.mx-3 {
    margin-left: .75rem;
    margin-right: .75rem;
}

#brands-menu {
    position: fixed;
    top: 0;
    left: -500px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 999999;
    overflow-y: auto;
    transition: left 0.3s ease;
}

#brands-menu.active {
    left: 0;
}

#brands-menu .off-canvas-header {
    background: #0073e6;
    color: #fff;
    padding: 15px;
    font-weight: bold;
}

#brands-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#brands-menu ul li {
    padding: 5px 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

#brands-menu ul li a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
}

#brands-menu ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Off-canvas Menu */

.apc-menu-logo {
    background-color: var(--color-primary);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    text-align: center;
}

.apc-menu-logo img {
    width: 60%;
}

.epc-menu-header {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.epc-menu-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    width: auto;
    color: var(--color-white);
}

.epc-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* Brands List */
.epc-brands-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.epc-brand-item {
    border-bottom: 1px solid #e0e0e0;
}

.epc-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    gap: 5px;
    padding-left: 2.5rem;
    padding-right: 1.25rem;
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.epc-brand-link:hover {
    background-color: var(--color-secondary);
    border-radius: .375rem;
    font-weight: bold;
}

.epc-brand-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.epc-brand-name {
    font-size: 16px;
    font-weight: 500;
}

/* Overlay */
.epc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.epc-overlay.epc-overlay-active {
    opacity: 1;
    visibility: visible;
}

#header-webpage .epc-close-btn {
    padding: 0;
    height: auto;
    min-height: auto;
    background-color: transparent;
    font-size: 30px;
    margin-left: 5px;
    position: relative;
    top: -2px;
}

#header-webpage .epc-close-btn:hover {
    background-color: transparent;
    color: var(--color-white);
}

.brands-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

.brands-overlay.active {
    display: block;
}

.epc-brand-logo img {
    margin-right: 0 !important;
}

.otc-price,
.otc-price * {
    color: var(--color-blue);
    font-size: 18px;
}

.otc-meta-category .box-product-detail-brand {
    margin-bottom: .25rem;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

.pt-2 {
    padding-top: .5rem;
}

.pb-2 {
    padding-bottom: .5rem;
}

.uppercase {
    text-transform: uppercase;
}

.box-product-btn-preview {
    display: flex;
    width: 58.333333%;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 8px;
    border-width: 1px;
    border-color: transparent;
    background-color: var(--color-blue);
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white)
}

.box-product-btn-preview:hover {
    --tw-bg-opacity: 1;
    background-color: var(--color-secondary);
    --tw-text-opacity: 1;
    color: var(--color-black)
}

.box-product-btn-add-cart {
    display: flex;
    width: 41.666667%;
    align-items: center;
    justify-content: space-around;
    border-radius: 8px;
    border-width: 1px;
    border-color: transparent;
    background-color: var(--color-primary);
    padding: .5rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    margin-right: 0;
}

.box-product-btn-add-cart:hover {
    background-color: var(--color-secondary);
    color: var(--color-black)
}

.modal-quick-buy .cart-image {
    width: 120px;
    float: left;
    margin-right: 15px;
}

.modal-quick-buy .cart-info .title {
    font-size: 16px;
    font-weight: 700;
}

.modal-quick-buy .success {
    color: #247300;
    font-weight: 500;
    background-color: #fff;
}

.modal-quick-buy .btn-wrapper a {
    display: inline-block;
    line-height: 30px;
    padding: 3px 20px;
    text-align: center;
    white-space: nowrap;
    outline: none !important;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    color: #fff;
    background: #296E38;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

.modal-dialog-centered .modal-content {
    width: 500px;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal {
    z-index: 9999999999999 !important;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

.modal.show .modal-dialog {
    top: 40%;
    transform: translateY(-50%) !important;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.modal-dialog-centered .modal-content {
    width: 500px;
}

#modal-quick-buy button.close {
    position: relative;
    z-index: 99;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.modal-quick-buy .cart-image {
    width: 120px;
    float: left;
    margin-right: 15px;
}

.modal-quick-buy .cart-info .title {
    font-size: 16px;
    font-weight: 700;
}

.modal-quick-buy .btn-wrapper a {
    display: inline-block;
    line-height: 30px;
    padding: 3px 20px;
    text-align: center;
    white-space: nowrap;
    outline: none !important;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    color: var(--color-white);
    background: var(--color-primary);
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}

body.modal-open:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000070;
    z-index: 99999999999999;
}

body.modal-open {
    position: relative;
}

.uc_image_carousel_content.loading,
.col-inner.loading {
    position: relative;
}

.uc_image_carousel_content.loading:before,
.col-inner.loading:before {
    content: '';
    opacity: .4;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99;
}

.owl-dot {
    min-height: auto !important;
}

.w-100 .elementor-container {
    max-width: 100% !important;
}

.h-full {
    height: 100%;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


.rounded-l-xl {
    border-top-left-radius: .75rem;
    border-bottom-left-radius: .75rem;
}

.w-20 {
    width: 3.5rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mr-4 {
    margin-right: 1rem;
}

.font-semibold {
    font-weight: 600;
}

/* Form wrapper */

/* Input group */
.custom-contact-form .input-group {
    position: relative;
    margin-bottom: 15px;
}

.custom-contact-form .input-group i {
    position: absolute;
    left: 12px;
    top: 37%;
    transform: translateY(-50%);
    color: #abb6c7;
    font-size: 18px;
    z-index: 9;
}

.custom-contact-form .input-group input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 2px solid #abb6c7;
    border-radius: 5px;
    outline: none;
    min-height: 43px;
}

/* Checkbox group */
.custom-contact-form .custom-check {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.custom-contact-form .custom-check a {
    color: #0073e6;
    text-decoration: none;
}

.custom-contact-form .custom-check a:hover {
    text-decoration: underline;
}

/* Submit button */
.custom-contact-form input[type="submit"] {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 12px;
    width: 200px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: flex;
    margin: 0 auto;
}

.checkbox-icon label {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.checkbox-icon label input {
    margin: 0;
    margin-right: 5px;
}

#masthead {
    background-color: var(--color-white);
}

.header-wrapper.stuck .fill {
    height: 140px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.header-wrapper .header-bg-container.fill {
    display: none;
}

.header-wrapper.stuck {
    background-color: var(--color-white);
}

.elementor-image-box-img {
    margin-top: 5px !important;
}

#wpfBlock_1 .wpfFilterVerScroll,
#wpfBlock_2 .wpfFilterVerScroll {
    max-height: 100% !important
}

#shop-sidebar {
    background-color: #f1f7f8;
    border-radius: .75rem;
    padding: 1.5rem;
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

#shop-sidebar .wpfFilterTitle .wfpTitle {
    font-size: 18px;
    text-transform: uppercase;
    color: var(--color-blue);
}

#shop-sidebar .wpfFilterTitle {
    margin-bottom: .5rem;
}

#shop-sidebar .wpfFilterButton {
    margin: 0;
    background: var(--color-primary);
    color: var(--color-white);
}

#shop-sidebar .filter .text-product {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
}

.page-title-inner {
    padding-top: 0;
}

.lightbox-content .shop-container .row,
.lightbox-content .product.row {
    max-width: 100% !important;
}

.shop-container .product .col-inner {
    background-color: #f1f7f8;
    border-radius: .75rem;
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shop-container .box-image {
    padding-top: 20px;
    padding-bottom: 20px;
}

.shop-container .product .box-text-products {
    background-color: var(--color-white);
    border-top: 1px solid #e5e7eb;
    padding-left: 1rem;
    padding-right: 1rem;
    border-bottom-left-radius: .75rem;
    border-bottom-right-radius: .75rem;
}

.shop-container .product .product-title a {
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.price-wrapper,
.price-wrapper * {
    font-size: 18px;
    color: var(--color-blue);
}

.price-wrapper {
    margin-top: .5rem;
}

.grid-tools {
    display: none;
}

.header-wrapper.stuck [data-icon-label]:after,
.header-wrapper.stuck [data-icon-label]:before {
    top: 0px;
}

.product-small .image-svg {
    position: absolute;
    top: 15px;
    right: 15px;
    text-align: right;
}

.image-svg img {
    max-width: 78%;
    margin-left: auto;
}

.lightbox-content {
    padding: 3rem;
    border-radius: 1rem;
    background-color: var(--color-primary);
}

.product-lightbox-inner a h1,
.variations .label label,
.variations .label .woo-selected-variation-item-name {
    color: var(--color-black);
    font-size: 18px;
}

.lightbox-content .product-quick-view-container .product-lightbox-inner a h1 {
    color: var(--color-white);
}

.lightbox-content .variations .label label,
.lightbox-content .variations .label .woo-selected-variation-item-name {
    color: var(--color-white);
    font-size: 1rem;
}

.woocommerce-variation-price {
    padding-top: 15px;
    padding-bottom: 15px;
}

.woocommerce-variation-price * {
    color: var(--color-blue);
    font-size: 2rem;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock) {
    background-color: var(--color-secondary);
    color: var(--color-black);
    border: 1px solid var(--color-secondary);
    -webkit-box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--color-secondary));
    box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px var(--color-secondary));
}

.lightbox-content .woocommerce-variation-add-to-cart .ux-quantity,
.product_meta {
    display: none !important;
}

.woocommerce-variation-add-to-cart {
    flex-wrap: unset
}

.single_add_to_cart_button {
    width: 50%;
    padding-top: .625rem;
    padding-bottom: .625rem;
    border-radius: .375rem;
    font-size: .75rem;
    line-height: 1rem;
    background-color: var(--color-blue) !important;
}

button.single_add_to_cart_button {
    display: flex;
    justify-content: center;
}

.line-review {
    align-items: center;
}

table.variations .value {
    margin-bottom: 20px;
}

.list-detail-ul {
    display: none;
}

.list-detail-ul li {
    color: var(--color-white);
    list-style: none;
    margin-left: 0 !important;
}

.list-detail-ul ul li svg {
    position: relative;
    top: -2px;
    margin-right: 2px;
}


.lightbox-content .list-detail-ul {
    display: block;
}

.product-summary .woocommerce-Price-currencySymbol {
    display: inline-block;
    font-size: 1rem;
    vertical-align: middle;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-x-16 {
    -moz-column-gap: 4rem;
    column-gap: 4rem;
}

.list-none {
    list-style-type: none;
}

.leading-7 {
    line-height: 1.75rem;
    margin-left: 1.7rem !important;
    margin-bottom: 0;
}

.left-\[-2\.2rem\] {
    left: -2rem;
}

.grid {
    display: grid;
    margin-bottom: 0;
}

.elementor-lightbox {
    display: none !important;
}

.container .message-container {
    padding-left: 20px;
    padding-right: 20px;
}

.checkout_coupon {
    margin-left: 20px;
    margin-right: 20px;
}

.product-gallery .row-small,
.products.row,
.product-footer .woocommerce-tabs,
.woocommerce .account-container .row,
.woocommerce-account .woocommerce .row,
.woocommerce-account .woocommerce .container,
.related-products-wrapper .container-width,
.related-products-wrapper .row,
.cart-container .row,
.container .message-container {
    max-width: 100% !important;
}

.left-\[-2\.5rem\] {
    left: -1.7rem;
}

.single-custom-info {
    margin-bottom: 1.5rem;
}

.pdf-review {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #249b3e;
    text-decoration: underline;
}

.woocommerce-variation-add-to-cart .bg-\[\#F1F7F8\] {
    background-color: var(--color-secondary);
}

.accordion .toggle {
    left: auto;
    right: 0;
}

.accordion-title.active {
    background-color: transparent;
}

.accordion-title {
    padding-left: 5px;
    font-weight: 700;
}

.accordion-inner {
    padding-left: 1rem;
}

.accordion-title {
    font-size: 1rem;
}

.product-main {
    padding-bottom: 0;
}

.product-footer {
    padding-bottom: 40px;
}

.show-on-hover {
    display: none !important;
}

.cf7-custom-form {
    font-family: Arial, sans-serif;
}

.cf7-custom-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.cf7-custom-form .form-group {
    display: flex;
    flex-direction: column;
}

.cf7-custom-form .form-group label {
    font-weight: 500;
    margin-bottom: 5px;
}

.cf7-custom-form .form-group input,
.cf7-custom-form .form-group select,
.cf7-custom-form .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    min-height: 42px;
    background-color: #f2f2f2;
    margin: 0;
}

.cf7-custom-form .form-group textarea {
    resize: vertical;
}

.cf7-custom-form .half {
    flex: 1 1 calc(50% - 15px);
}

.cf7-custom-form .third {
    flex: 1 1 calc(33.33% - 15px);
}

.cf7-custom-form .full {
    flex: 1 1 100%;
}

.cf7-custom-form .phone-group {
    display: flex;
    align-items: center;
}

.cf7-custom-form .phone-group .flag-icon {
    font-size: 18px;
    margin-right: 8px;
}

.cf7-custom-form .checkbox label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cf7-custom-form .btn-submit {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.cf7-custom-form .btn-submit:hover {
    background: var(--color-primary);
}

.form-contact-item {
    width: 50%;
}

.item-flex-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cf7-custom-form .wpcf7-form-control-wrap textarea {
    min-height: 130px;
}

.custom-service .elementor-image-box-content {
    display: none;
}

.custom-service .elementor-image-box-img {
    margin-top: 0 !important;
}

.button {
    border-radius: .5rem;
}

.address-field {
    width: 100% !important
}

.input-text {
    padding: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    min-height: 42px !important;
    background-color: #f2f2f2 !important;
    margin: 0;
}

textarea.input-text {
    min-height: 150px !important;
}

.product-container {
    background-color: var(--color-white);
}

.related-products-wrapper .row-small>.col,
.related-products-wrapper .row-small>.flickity-viewport>.flickity-slider>.col {
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.flickity-viewport {
    overflow: unset !important;
    margin-bottom: 60px;
}

.slider-nav-reveal .flickity-prev-next-button,
.slider-nav-reveal .flickity-prev-next-button:hover {
    display: none !important;
}

.flickity-page-dots .dot.is-selected,
.owl-dot.active {
    background-color: var(--color-blue);
    width: 1.75rem !important;
    border-radius: 30px !important;
}

.woocommerce-product-gallery,
.product-lightbox .product-gallery {
    overflow: hidden;
}

.owl-dot {
    margin: 5px;
}

.variations .reset_variations {
    color: var(--color-white) !important;
}

.related-products-wrapper {
    margin-top: 1.5rem;
    border-top: 0;
}

.product-section-title {
    padding-left: .25rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 800;
    position: relative;
    text-transform: none;
}

.product-section-title:before {
    position: absolute;
    content: '';
    bottom: 0;
    width: 26%;
    height: 4px;
    background: var(--color-blue);
}

.product-section-title .text-theme-cyanblue {
    color: var(--color-blue);
}

/* Đặt các phần tử filter nằm ngang */
.filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    /* khoảng cách giữa các ô */
    margin: 20px 0;
    flex-wrap: nowrap;
    /* không xuống dòng */
}

.filter-form select,
.filter-form input[type="text"] {
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-height: 40px;
    margin-bottom: 0;
}

.filter-form .filter-input {
    flex: 1;
    /* input search chiếm hết chỗ còn lại */
    min-width: 33.33333%;
}

.filter-form .filter-btn {
    background: var(--color-blue);
    color: #fff;
    padding: 5px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
    white-space: nowrap;
    margin: 0;
}

.filter-form .filter-btn:hover {
    background: #005f87;
}

.flickity-prev-next-button .arrow,
.flickity-prev-next-button svg {
    fill: var(--color-white);
    border-color: var(--color-white);
}

.message-container.success-color {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;

    /* nền dùng success-color làm base */
    background: linear-gradient(135deg,
            rgba(var(--success-color-rgb, 40, 167, 69), 0.15),
            rgba(var(--success-color-rgb, 40, 167, 69), 0.05));
    border: 1px solid var(--success-color, #28a745);
    color: var(--success-color, #28a745);

    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.4s ease;
    position: relative;
}

/* icon */
.message-container.success-color i.icon-checkmark {
    font-size: 20px;
    background: var(--success-color, #28a745);
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* button */
.message-container.success-color a.button.wc-forward {
    margin-left: auto;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--success-color, #28a745);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.message-container.success-color a.button.wc-forward:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* ===== Variants: set --tone theo loại ===== */
.message-container.success-color {
    --tone: var(--success-color, #28a745);
}

/* xanh */
.message-container.warning-color {
    --tone: var(--warning-color, #f59e0b);
}

/* cam hổ phách */
.message-container.error-color {
    --tone: var(--error-color, #ef4444);
}

.woocommerce.row.row-large,
.woocommerce-checkout .row {
    margin: 0 !important;
}

form.woocommerce-form.woocommerce-form-login.login {
    padding-left: 20px;
    padding-right: 20px;
}

.woocommerce-page .image-svg {
    display: none;
}

.account-link,
.header-cart-link {
    display: flex !important;
    align-items: center !important;
}

.header-cart-link svg {
    position: relative;
    top: 5px;
}

/* đỏ */
@media (prefers-color-scheme: dark) {
    .message-container {
        color: #e5e7eb;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1536px) {
    .\32xl\:flex-1 {
        flex: 1 1 0%;
    }

    .\32xl\:px-2 {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .\32xl\:mx-0 {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1280px) {
    .xl\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .lg\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .lightbox-content .product-gallery {
        margin-left: -4rem;
    }
}

@media(min-width:767px) {
    .nav-left {
        justify-content: center;
    }

    .md\:pl-3 {
        padding-left: .75rem;
    }

    .box-product-btn-preview {
        width: 50%;
    }

    .box-product-btn-add-cart {
        width: 50%;
    }

    .modal-dialog {
        width: 500px;
        margin: 30px auto;
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }

    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .lightbox-content .product-gallery {
        margin-left: -11rem;
    }

    .lightbox-content .product-quick-view-container .large-6 {
        flex-basis: 60%;
        max-width: 60%;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-section-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

@media (min-width: 640px) {
    .sm\:mx-2 {
        margin-left: .5rem;
        margin-right: .5rem;
    }

    .sm\:block {
        display: block !important;
        visibility: inherit !important;
    }

    .box-product-btn-preview {
        width: 50%;
        font-size: .75rem;
        line-height: 1rem;
    }

    .box-product-btn-add-cart {
        width: 50%;
        font-size: .75rem;
        line-height: 1rem;
    }

    .sm\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media(max-width:991px) {

    .container-width,
    .full-width .ubermenu-nav,
    .container,
    .row,
    .elementor-container,
    #top-bar .container,
    .woocommerce-page .row {
        max-width: 99% !important;
    }

    .w-100 .elementor-container,
    .woocommerce-page .row .shop-container .row {
        max-width: 100% !important;
        margin: 0;
    }

    .woocommerce-page .container .row:not(.row-collapse) {
        margin-left: auto;
        margin-right: auto;
    }

    .checkbox-icon {
        display: block !important;
    }

    .custom-contact-form input[type="submit"] {
        margin-left: 0;
    }

    .searchform-wrapper .flex-grow:nth-child(1),
    .searchform-wrapper .flex-grow:nth-child(2) {
        order: inherit !important
    }

    .searchform .flex-row {
        display: inline !important;
    }

    .searchform .flex-row .flex-col:nth-child(2) {
        order: 1;
        position: absolute;
        left: 45px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-wrapper.stuck {
        background-color: var(--color-white);
    }

    .header-wrapper.stuck #header-webpage {
        margin-top: 10px;
    }

    #brands-menu ul li {
        padding-top: 0;
        padding-bottom: 0;
    }

    #brands-menu li:nth-child(2) {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #brands-menu .epc-brand-link {
        padding-left: 0;
        padding-right: 0;
    }
}

@supports (-webkit-touch-callout: none) {
    @media screen and (max-device-width: 812px) {

        /* iPhone screen sizes */
        .searchform .flex-row .flex-col:nth-child(2) {
            top: -40px !important;
            transform: none !important;
        }
    }
}


@media(max-width:767px) {

    .header-account-title {
        white-space: nowrap;
    }

    .mobile-nav .account-item a {
        flex-wrap: unset
    }

    .header-account-title {
        color: var(--color-black);
    }

    #header-webpage li:nth-child(2) {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .elementor-image-box-wrapper {
        display: flex;
        gap: 3px;
    }

    .gallery-size-full {
        grid-template-columns: repeat(4, 1fr);
        display: grid;
        gap: 5px;
    }

    .filter-form .filter-input {
        min-width: 22.33333%;
    }

    .shop-container .product .box-text-products {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .lightbox-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .product-lightbox-inner {
        padding: 0 !important;
    }

    .left-\[-2\.5rem\] {
        left: -2rem;
    }

    .elementor-image-box-content a,
    .elementor-image-box-description {
        color: #fff !important
    }
}