.embla {
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.embla__viewport {
    overflow: hidden;
    width: 100%;
}

.embla__container {
    display: flex;
}

.embla__slide {
    flex: 0 0 100%;
    min-width: 0;
}

.embla__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.embla__button {
    -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 0, 0, 0.5);
    touch-action: manipulation;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
    width: 40px;
    aspect-ratio: 1/1;
    z-index: 1;
    border-radius: 50%;
    color: var(--text-light);
    align-items: center;
    justify-content: center;
    display: flex;
    transition: all 0.5s ease-in-out;
}

.embla__button:disabled {
    cursor: not-allowed;
}

.embla__button {
    opacity: 0;
}

.embla-layout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.embla--thumbs {
    width: 100px;
    height: 600px;
    overflow: hidden;
}

.embla--thumbs .embla__viewport {
    height: 100%;
    user-select: none;
}

.embla--thumbs .embla__container {
    display: flex;
    flex-direction: column;
}

.embla--thumbs .embla__slide {
    flex: 0 0 auto;
    min-height: 115px;
    height: 115px;
    padding: 4px;
    margin-bottom: 4px;
    cursor: grab;
}

.embla__thumb {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid transparent;
    cursor: pointer;
    transition: border 0.3s ease;
}

.embla__thumb.is-selected {
    border-color: var(--th-primary);
}

.campaign-also-like-embla {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.campaign-also-like-embla__viewport {
    overflow: hidden;
    width: 100%;
}

.campaign-also-like-embla__container {
    display: flex;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.campaign-also-like-embla__slide {
    flex: 0 0 25%;
    max-width: 300px;
    padding: 4px;
}

.campaign-also-like-embla__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 0, 0, 0.5);
    touch-action: manipulation;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
    width: 40px;
    aspect-ratio: 1/1;
    z-index: 1;
    border-radius: 50%;
    color: var(--text-light);
    align-items: center;
    justify-content: center;
    display: flex;
    transition: all 0.5s ease-in-out;
}

.campaign-also-like-embla__btn--prev {
    left: 0rem;
}

.campaign-also-like-embla__btn--next {
    right: 0rem;
}



.campaign-also-like-embla__btn {
    opacity: 0;
}

.campaign-also-like-embla:hover .campaign-also-like-embla__btn {
    opacity: 1;
}

.campaign-also-like-embla__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
}

.campaign-also-like-embla__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
}

.campaign-also-like-embla__dot.is-selected {
    width: 8px;
    height: 8px;
    background: var(--th-primary);
}

#product-embla:hover .embla__button:not(:disabled) {
    opacity: 1;
}

#product-embla:hover .embla__button:disabled {
    opacity: 0.5;
}

.embla__button__svg {
    width: 35%;
    height: 35%;
    color: var(--text-light);
}

.embla__button--prev,
.embla__button--next {
    position: absolute;
    top: calc(50% - 1rem);
    transform: translateY(-50%);
    z-index: 2;
}

.embla__button--prev {
    left: 0rem;
}

.embla__button--next {
    right: 0rem;
}

@media (max-width: 992px) {
    .embla__button {
        opacity: 1;
    }
}

.navigate-bar-link {
    font-size: 18px;
}

.navigate-bar-link:hover {
    color: var(--th-primary) !important;
}

.image-container {
    width: 100px;
    /* Set desired width */
    height: 100%;
    /* Set height equal to width for 1:1 ratio */
    background-color: #f0f0f0;
    /* Optional background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.space-self-option {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.gap-2 {
    grid-gap: 0.5rem !important;
    gap: 0.5rem !important;
}

.gap-3 {
    grid-gap: 1rem !important;
    gap: 1rem !important;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures image covers container without distortion */
}

/* Animation */

.parallax>use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.title--medium {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
}

:root {
    --th-primary: #4bb232;
    --accent-color: 5, 178, 50;
    --page-width: 1120px;
    --text-color: #121212;
    --sprite-url: url(/assets/images/logo_cart_sprite.webp);
    --text-light: #ffffff;
}

.fw-500 {
    font-weight: 500 !important;
}

::selection {
    background: var(--th-primary);
}

.rating-stars__label {
    margin-left: 0.125em;
    font-size: 16px;
    font-weight: 400;
}

.review__content {
    text-align: justify;
    line-height: 1.3em;
    font-size: 14px;
    color: #121212;
}

.review-content .review_author {
    color: rgba(18, 18, 18, 0.5);
    font-size: 14px;
}

.popup-swiper {
    width: 100%;
    height: 400px;
}

.popup-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-swiper-next,
.popup-swiper-prev {
    color: #000;
}

.popup-swiper-pagination {
    bottom: 10px;
}

.quantity-breaks-container {
    position: relative;
    display: grid;
    align-items: flex-start;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 8px;
    row-gap: 8px;
}

.quantity-breaks-container input {
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
    position: absolute;
}

.quantity-break {
    padding: 17.5px;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    background-color: #f4f4f4;
}

.quantity-break__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-break__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.5rem;
    text-align: left;
}

.quantity-break__left .quantity-break__label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
}

.quantity-break__caption {
    font-size: 14px;
    line-height: 1;
}

.quantity-break__right button {
    color: var(--th-primary);
    font-weight: 600;
    font-size: 16px;
    outline: 0;
    border: none;
    background: none;
    border-radius: 4px;
    min-width: 50px;
    padding: 3px;
    transition: 0.3s;
    box-sizing: border-box;
}

.urgency-text {
    height: 32px;
    text-align: center;
    padding: 0 0.5em;
    border: solid 2px var(--th-primary);
    color: var(--th-primary);
    background: none;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

body {
    font-family: Roboto, sans-serif;
    color: #121212;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.wrapper {
    margin: 0;
    padding: 0;
}

.header {
    display: grid;
    grid-template-areas: 'left-icon heading icons';
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
}

@media screen and (min-width: 990px) {
    .header {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.header-wrapper {
    padding: 30px 90px;
}

.header__icon--cart {
    text-align: right;
}

.header__item {
    padding: 0.75rem 0;
}

.logo {
    height: 50px;
    align-items: center;
}

.logo.text {
    font-weight: 500;
    font-size: 1.2rem;
}

.loader {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    max-width: 100%;
}

.loader.active {
    display: flex;
    flex: 1;
}

.lds-ripple,
.lds-ripple div {
    box-sizing: border-box;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .logo.text {
        font-size: 1.5rem;
    }
}

.thumbnail_wrapper {
    margin-bottom: 25px;
    position: relative;
}

.thumbnail_wrapper img {
    border-radius: 10px;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* Desktop and larger screens */
@media (min-width: 1024px) {
    .thumbnail_wrapper {
        height: 612px;
    }

    .product-images__swiper {
        display: flex;
        gap: 12px;
    }

    .swiper__thumbnail__item {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

/* Tablet screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .thumbnail_wrapper img {
        max-height: 450px;
    }

    .product-images__container .thumbnail_wrapper {
        height: 350px;
    }
}

/* Mobile screens */
@media (max-width: 767px) {
    .product-images__container .thumbnail_wrapper {
        max-height: 450px;
        height: fit-content;
    }
}

.star-rating {
    height: 14px;
}

.is-inline-flex {
    display: inline-flex !important;
}

.product__title h1 {
    word-break: break-word;
    font-size: 16px !important;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .h1 {
        font-size: 1.9rem !important;
    }

    .product__title {
        margin: 10px 0px;
        margin-bottom: 5px !important;
        line-height: 20px !important;
    }
}

.product__price {
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    color: var(--th-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.compared {
    color: #717171;
    font-weight: 300;
    font-size: 16px;
}

.product-form .countdown {
    font-size: 16px;
    margin-bottom: 28px;
}

.product-form .countdown:not(.has-text-link) .countdown {
    color: red;
    font-weight: 600;
}

.page-width {
    padding: 20px;
}

.page-width {
    max-width: var(--page-width);
    width: 100%;
    margin: 0 auto;
}

.show-more-product,
.show-more-product-popup {
  margin: auto;
  font-size: 17px;
  width: 100%;
  height: 100%;
  height: 95px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--th-primary);
  text-align: center;
}

.has-text-link {
    color: #ff4343 !important;
}

.field.is-horizontal {
    display: flex;
}

.field-label {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
    margin-right: 1.5rem;
    text-align: right;
}

.field-label .label {
    font-size: inherit;
}

.label {
    color: #363636;
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.is-capitalized {
    text-transform: capitalize !important;
}

.see-item-detail {
    color: var(--th-primary) !important;
    text-decoration: underline;
}

.has-text-left {
    text-align: left !important;
}

.field-body {
    display: flex;
    flex-basis: 0;
    flex-grow: 5;
    flex-shrink: 1;
}

.field.is-grouped.is-grouped-multiline {
    flex-wrap: wrap;
}

.field.is-grouped {
    display: flex;
    justify-content: space-between;
}

.control {
    box-sizing: border-box;
    clear: both;
    font-size: 1rem;
    position: relative;
    text-align: left;
    max-width: 100%;
}

.radio-buttons .field.is-grouped>.control>.button {
    max-width: 100%;
    text-align: left;
    white-space: normal;
    font-size: 15px;
    height: auto;
    line-height: 18px;
    min-width: 40px;
    padding: 8px;
}

.button {
    -webkit-appearance: none;
    align-items: center;
    border: 2px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    display: inline-flex;
    font-size: 1rem;
    height: 2.5em;
    justify-content: flex-start;
    line-height: 1.5;
    padding: calc(0.5em - 1px) calc(0.75em - 1px);
    position: relative;
    vertical-align: top;
}

p {
    margin-bottom: 0px !important;
}

body .button {
    background-color: #fff;
    border-color: #dbdbdb;
    border-width: 2px;
    color: #363636;
    cursor: pointer;
    justify-content: center;
    padding: calc(0.5em - 1px) 1em;
    text-align: center;
    white-space: nowrap;
}

.field.is-grouped.is-grouped-multiline:not(:last-child) {
    margin-bottom: 0;
}

.field.is-grouped.is-grouped-multiline {
    flex-wrap: wrap;
}

.product > *{
    transition: all 0.5s ease-in-out;
}

.product-form .cta-buttons {
    margin-bottom: -4px;
}

.field.is-grouped {
    display: flex;
    justify-content: space-between;
}

.field.is-grouped.is-grouped-multiline>.control:last-child,
.field.is-grouped.is-grouped-multiline>.control:not(:last-child) {
    margin-bottom: 0.75rem;
}

.field.is-grouped>.control:not(:last-child) {
    margin-bottom: 0;
}

.field.is-grouped>.control {
    flex-shrink: 0;
}

.field.has-addons .control:not(:last-child) {
    margin-right: -1px;
}

.field.has-addons .control:first-child:not(:only-child) .button,
.field.has-addons .control:first-child:not(:only-child) .input,
.field.has-addons .control:first-child:not(:only-child) .select select {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.quantity-input.is-cta .button,
.quantity-input.is-cta .input {
    line-height: 20px;
    height: 55px;
    padding: 15px 25px;
    user-select: none;
}

.quantity-input .button.left {
    border-right: 0;
}

.quantity-input .button.right {
    border-left: 0;
}

.visible {
    visibility: visible;
}

.visible-hidden {
    visibility: hidden;
}

.quantity-input .icon-button div {
    width: 20px;
    height: 12px;
}

.icon-card {
    height: 25px;
}

img {
    transition: filter 0.1s ease-in-out;
}

img {
    height: auto;
    max-width: 100%;
}

.field.has-addons .control:not(:first-child):not(:last-child) .button,
.field.has-addons .control:not(:first-child):not(:last-child) .input,
.field.has-addons .control:not(:first-child):not(:last-child) .select select {
    border-radius: 0;
}

.quantity-input.is-cta .button,
.quantity-input.is-cta .input {
    line-height: 20px;
    height: 50px;
    padding: 15px 10px;
}

.quantity-input.is-cta .input {
    width: 35px;
}

.quantity-input .input {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
    height: 36px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center;
    width: 2em;
    z-index: 99;
}

.field.has-addons .control:last-child:not(:only-child) .button,
.field.has-addons .control:last-child:not(:only-child) .input,
.field.has-addons .control:last-child:not(:only-child) .select select {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.radio-buttons .field.is-grouped.is-grouped-multiline .control:not(:last-child) {
    margin-bottom: 10px;
}

.option-list-value:not(:has(.color-filter-item)) {
    padding: 0px 4px 10px 0px;
    gap: 10px !important;
}

.field-body>.field:not(.is-narrow) {
    flex-grow: 1;
}

.field-body>.field {
    flex-shrink: 1;
}

.field-body .field {
    margin-bottom: 0;
}

.field.has-addons {
    display: flex;
    justify-content: flex-start;
}

.input,
.select select,
select,
.textarea {
    border-color: #dbdbdb !important;
    border-radius: 4px;
    background-color: rgba(var(--accent-color), 0.09) !important;
    color: var(--text-color);
}

.button,
.file-cta,
.file-name,
.input,
.pagination-ellipsis,
.pagination-link,
.pagination-next,
.pagination-previous,
.select select,
.textarea {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    display: inline-flex;
    font-size: 1rem;
    height: 2.5em;
    justify-content: flex-start;
    line-height: 1.5;
    padding: calc(0.5em - 1px) calc(0.75em - 1px);
    position: relative;
    vertical-align: top;
}

.button.is-primary,
.button.is-primary.is-active,
.button.is-primary.is-focused,
.button.is-primary.is-hovered,
.button.is-primary:active,
.button.is-primary:focus,
.button.is-primary:hover {
    background-color: rgba(var(--accent-color), 0.9);
}

.button.is-primary {
    background-color: var(--th-primary);
    border-color: transparent;
    color: #fff;
}

.button--cta {
    height: auto;
    padding: 15px;
    line-height: 23px;
    font-size: 19px;
    text-transform: uppercase;
    font-weight: 700;
}

.product-form .cta-buttons.field.is-grouped>.control>.button img {
    margin-right: 16px;
    width: 23px;
    height: 23px;
}

.product-form .add-to-cart-button__content {
    width: 100%;
}

span {
    font-style: inherit;
    font-weight: inherit;
}

.product-form .cta-buttons>.control>.button {
    padding: 0.6em 2rem;
    letter-spacing: 0.1rem;
}

.button.is-link,
.button.is-link.is-active,
.button.is-link.is-focused,
.button.is-link.is-hovered,
.button.is-link:active,
.button.is-link:focus,
.button.is-link:hover {
    color: rgba(var(--accent-color), 0.5);
    border-color: rgba(var(--accent-color), 0.5);
}

.button.is-link {
    background-color: #fff;
    color: var(--th-primary);
    border-color: var(--th-primary);
}

.frequently-product-infor {
    position: relative;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 6px 20px 6px 6px;
    text-align: start;
    cursor: pointer;
    background-color: white;
    color: #2e2e2e;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
}

.frequently-product-infor::after {
    position: absolute;
    right: 8px;
    top: 30%;
    transform: translateY(-50%);
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #2e2e2e;
    border-bottom: 2px solid #2e2e2e;
    transform: rotate(45deg);
}

.styled-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--th-primary);
    /* Viền xanh dương */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.styled-checkbox:checked {
    background-color: var(--th-primary);
    /* Xanh lá khi được chọn */
    border-color: var(--th-primary);
}

.styled-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.product-form #ubundle_discount_countdown {
    width: 100%;
    max-width: 400px;
    font-weight: 600;
    display: inline-block;
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

.btn-show-more-review {
    margin-top: 40px;
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    color: #363636;
    background-color: transparent;
    border: 1px solid #1b1b1b;
    border-radius: 4px;
}

.review-item-show-more {
    display: none;
}

.product-form #ubundle_discount_countdown #ubundle_countdown_message {
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    color: #626262;
}

.product-form #ubundle_discount_countdown .cntr-countdown-msg {
    margin-bottom: 5px;
    display: inline-block;
    line-height: 1;
}

.product-form #ubundle_discount_countdown {
    width: 100%;
    max-width: 400px;
    font-weight: 600;
    display: inline-block;
    font-size: 16px;
    color: #444;
}

.product-form #ubundle_discount_countdown .bundle_progress-bar {
    width: 100%;
    border-radius: 10px;
    margin: 5px 0;
    background-color: #efefef;
}

.icon-footer path {
    fill: white;
}

.product-form #ubundle_discount_countdown .bundle_progress-bar-fill {
    background-color: #ccc;
    display: block;
    height: 10px;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

.product-form #ubundle_discount_countdown .theme-watch {
    color: #de4848;
    font: 300 35px Lato, sans-serif;
    z-index: 3;
    background: 0 0;
    border-radius: 10%;
    margin: 0.3% 5px 0.3% 0.3%;
    font-size: 20px;
    width: auto !important;
    position: relative;
    display: inline-block;
}

.product-form #ubundle_discount_countdown .theme-watch:not(:last-child):after {
    content: ':';
    position: absolute;
    top: -2px;
    left: 100%;
    color: #555;
}

.section-header {
    padding: 16px 0px;
}

.title--large {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}

.review__title {
    font-weight: 700;
    margin-bottom: 8px;
}

.review__images {
    display: flex;
    flex-wrap: wrap;
}

.review__images img {
    width: 75px;
    margin: 10px 10px 10px 0px;
    height: auto;
    object-fit: contain;
}

img,
video {
    max-width: 100%;
}

.frequently-products .product-item {
    flex-direction: row;
    justify-content: start;
}

figure {
    margin: 0;
}

.countdownTimer {
    color: red;
    font-weight: 600;
}

.sellpageReviews--title {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}

@media screen and (max-width: 768px) {
    .sellpageReviews--title {
        font-size: 20px !important;
    }
}

.title-customer-review {
    display: none;
    font-size: 24px;
    line-height: 16px;
    margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
    .title-customer-review {
        display: block !important;
    }
}

.md-justify-content-center {
    justify-content: center;
}

.contact-form-footer__contact .contact__text {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
    .contact-form-footer__contact {
        text-align: center;
    }

    .btn-show-more-review {
        width: 100%;
        padding: 8px 24px;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        border: 1px solid #1b1b1b;
        border-radius: 8px;
    }
}

.footer {
    background-color: #f6f7f9;
    font-weight: 400;
    font-size: 15px;
    line-height: 32px;
    position: relative;
    padding-top: 48px;
    padding-bottom: 16px;
}

.contact-form-footer .contact__text {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 16px;
}

.contact-form-footer__contact .contact__group {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.contact-form-footer__contact .contact__link {
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    padding: 8px 32px;
    height: auto;
    color: var(--th-primary);
    background-color: #fff;
    border-color: var(--th-primary);
    border-radius: 4px;
}

.contact-form-footer__group {
    font-weight: bold;
    font-size: 15px;
    line-height: 32px;
    margin-bottom: 16px;
}

.contact-form-footer__group strong,
.contact__text strong {
    color: white;
}

.brand-name {
    color: #ffffff;
    font-size: 16px;
}

.contact-form-footer__menu {
    margin-left: 10px;
}

.left-group {
    display: flex;
    align-items: center;
    order: 1;
}

.contact-form-footer__menu:not(:last-child) {
    margin-bottom: 8px;
}

.plus-circle {
    background-color: var(--th-primary);
}

.contact-form-footer__menu a {
    color: #fff;
}

footer span {
    font-size: 14px;
}

a {
    color: var(--text-color) !important;
    cursor: pointer;
    text-decoration: none;
}

.sidenav {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: -100%;
    overflow-x: hidden;
    transition: 0.5s;
    -webkit-animation-name: run;
}

.sidenav.active {
    left: 0;
}

#bundle-sticky_add_to_cart {
    transition: 0.3s;
    display: none;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    position: fixed;
    box-shadow: 3px 0 7px rgb(0 0 0 / 40%);
}

.sticky-display {
    max-width: var(--page-width);
    margin: 0 auto !important;
    width: 100%;
    padding: 10px;
}

.sticky-display .form-select {
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
}

@-webkit-keyframes run {
    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 0;
    }
}

.discount {
    background: #fff;
    border-radius: 8px;
    border: 3px dashed var(--th-primary);
    padding: 12px 14px;
}

.discount__title {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0px;
}

.discount__title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discount__title {
    display: flex;
    align-items: center;
    width: 100%;
}

.discount__title .line {
    flex: 1;
    height: 2px;
    background-color: #6d378b;
}

.discount__title .line:first-child {
    margin-right: 10px;
}

.discount__title .line:last-child {
    margin-left: 10px;
}

.discount__title .message {
    text-align: left;
}

.discount__item {
    margin-bottom: 0.75rem;
    padding: 1rem;
    border-radius: 6px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.discount__item:last-child {
    margin-bottom: 0;
}

.discount__item button {
    color: #eb3e3e;
    font-weight: 600;
    font-size: 16px;
    outline: 0;
    border: 2px solid #eb3e3e;
    background: 0 0;
    border-radius: 4px;
    min-width: 75px;
    padding: 3px;
    transition: 0.3s;
    box-sizing: border-box;
}

.discount__item button:hover {
    background: #eb3e3e;
    color: #fff;
}

.lbl-price,
.lbl-price-frequently,
.frequently-product-price {
    color: var(--th-primary);
    font-weight: 600;
}

.discount__item__title {
    font-weight: 600;
    font-size: 15px;
}

.discount__item__subtitle {
    opacity: 0.5;
}

hr {
    background-color: #c2c2c2;
    border: none;
    box-sizing: border-box;
    height: 1px;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .product-form .cta-buttons>.control {
        width: 100%;
    }

    .quantity-input .control-input {
        width: calc(100% - 60px);
    }

    .quantity-input .control-input .input,
    .product-form .cta-buttons>.control>.button {
        width: 100%;
    }

    .contact__group {
        display: block !important;
        text-align: center;
    }

    body .product {
        padding: 0px !important;
    }

    .p-xs-0 {
        padding: 0px !important;
    }

    .contact-form-footer__contact .contact__text {
        text-align: center;
    }
}

.popup-swiper-pagination {
    text-align: center;
}

.size-info {
    color: #17a2b8;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

#icon-description {
    width: 14px;
    cursor: pointer;
}

#icon-description svg {
    transform: rotate(0deg);
}

#description-content {
    display: block;
    overflow-y: hidden;
    overflow-x: hidden;
}

.verify-email {
    color: var(--th-primary);
    font-size: 12px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .product-items__container {
        position: -webkit-sticky;
        position: -moz-sticky;
        position: -ms-sticky;
        position: -o-sticky;
        position: relative !important;
        top: 0px !important;
        z-index: 999;
    }
}

.product-items__container {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 34px;
    z-index: 99;
}

#description-section {
    cursor: pointer;
}

/* width */
.scroll-bar::-webkit-scrollbar {
    width: 4px;
}

/* Track */
.scroll-bar::-webkit-scrollbar-track {
    background: rgba(165, 165, 165, 0.332);
}

/* Handle */
.scroll-bar::-webkit-scrollbar-thumb {
    background: orange;
    border-radius: 4px;
    opacity: 0.5;
    border-radius: 4px;
}

/* Handle on hover */
.scroll-bar::-webkit-scrollbar-thumb:hover {
    background: orange;
}

.safe-badge {
    border: 2px solid #ced4da;
    position: relative;
}

.safe-badge .title {
    background: #fff;
    font-size: 1rem;
    left: 50%;
    padding: 5px 23px;
    position: absolute;
    text-align: center;
    top: -1.1rem;
    transform: translateX(-50%);
    width: -moz-max-content;
    width: max-content;
}

.safe-badge img {
    max-width: 100%;
    padding: 10px;
}

.right-group {
    display: flex;
    align-items: center;
    order: 3;
}

.right-group a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    position: relative;
    transition: color 0.3s;
}

.right-group .cart {
    width: 22px;
    aspect-ratio: 1/1;
    background-color: #000;
    mask-size: cover;
    mask-repeat: no-repeat;
}

.right-group .cart:hover {
    background-color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/*Shrinking for mobile*/
@media (max-width: 766px) {
    .search-bar {
        width: 100%;
        margin: 10px 0;
        order: 3;
    }

    .left-group {
        flex: 1 0 calc(100% * 2 / 3);
        padding-left: 20px;
    }

    .right-group {
        flex: 1 0 calc(100% / 3);
    }

    .right-group {
        justify-content: end;
        gap: 8px;
        order: 2;
        padding-right: 20px;
    }

    .right-group a {
        margin-left: 0;
    }

    .logo {
        flex: 1 0 50%;
    }
}

/*Shrinking for ipab & tablet*/
@media (max-width: 1024px) {
    .menu-btn {
        flex: 1 0 50%;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }

    :root {
        --page-width: 100%;
    }


    .sticky-display .image-container {
        display: none;
    }

    .title--medium {
        font-size: 28px !important;
        line-height: 48px;
        font-weight: 700 !important;
    }
}

.save-percent {
    line-height: 1.8;
    padding: 0px 4px;
    background: var(--th-primary);
    color: white;
    border-radius: 6px;
    display: inline-block;
    font-size: 12px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

hr {
    opacity: 0.25;
}

.form-select {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    width: 100%;
    border-width: 2px !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    font-size: 1rem;
    outline: none;
}

.form-select:focus {
    border-color: var(--th-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--accent-color), 0.25);
}

#icon-shippingReturn,
#icon-refundReturn {
    width: 14px;
    cursor: pointer;
}

#icon-shippingReturn svg,
#icon-refundReturn svg {
    transform: rotate(0deg);
}

#shippingReturn-content,
#refundReturn-content {
    display: none;
    cursor: pointer;
    overflow-y: hidden;
    overflow-x: hidden;
}

#shippingReturn-content a,
#refundReturn-content a {
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
    color: var(--th-primary) !important;
}

.gap-5px {
    gap: 5px;
}

.gap-10px {
    gap: 10px;
}

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

.product-thumbnail {
    display: flex;
    border: 2px solid #dbdbdb;
    padding: 1px;
    border-radius: 5px;
    min-width: 78px;
    max-width: 78px;
    min-height: 98px;
    max-height: 98px;
    line-height: 1;
    transition: 0.3s;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    white-space: normal;
    text-align: left;
    overflow: hidden;
}

.option-list-item {
    display: flex;
    border: 2px solid #dbdbdb;
    padding: 1px;
    border-radius: 5px;
    min-width: 50px;
    max-width: 66px;
    min-height: 98px;
    max-height: 98px;
    line-height: 1;
    transition: 0.3s;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    white-space: normal;
    text-align: left;
}

.product-thumbnail:hover,
.product-thumbnail:has(a.active),
.option-list-item:hover,
.option-list-item.active {
    border-color: var(--th-primary);
    border-width: 2px;
}

.product-thumbnail a {
    display: contents;
}

.product-thumbnail img {
    object-fit: contain;
    border-radius: 5px;
    transform: scale(1.2);
}

.option-list-item {
    min-height: 30px;
    max-height: unset;
    height: auto;
    max-width: unset;
    border-width: 1px;
    align-items: center;
}

.options .option-list-item {
    border-radius: 5px;
    min-height: 32px;
    border-width: 1px;
    font-weight: 500;
    font-size: 16px;
}

.options .option-list-item.active {
    color: white;
    background-color: var(--th-primary);
}

.option-list-item .option-value {
    text-align: center;
    padding: 0;
}

.option-list-item:has(.option-value span) {
    border: none;
    min-width: 44px;
}

.option-list-item.active:has(.option-value span) {
    background-color: transparent !important;
}

.option-list-item:has(.option-value span) .color-filter-item {
    padding: 2px;
    /* tạo khoảng cách giữa viền và màu */
    border-radius: 50%;
    /* giữ hình tròn */
    box-sizing: content-box;
}

/* Khi active và có màu (viền xanh lá + tick SVG) */
.option-list-item.active:has(.option-value span) .color-filter-item {
    outline: 2px solid #4caf50;
    /* xanh lá */
}

.color-filter-item span {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* Thêm icon check vào span khi active */
.option-list-item.active:has(.option-value span) .option-value span::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z' fill='white' stroke='black' stroke-width='8'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    right: -3px;
}

/* Đảm bảo span có position relative để icon đúng chỗ */
.option-list-item:has(.option-value span) .option-value span {
    /* outline: 1px solid rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    position: relative;
}

.product__options .options {
    margin-top: 10px;
    margin-bottom: 10px;
}

.fs-18 {
    font-size: 18px;
}

.fs-17 {
    font-size: 17px;
}

.fs-16 {
    font-size: 16px;
}

.fs-15 {
    font-size: 15px;
}

.fs-14 {
    font-size: 14px;
}

.fs-12 {
    font-size: 12px;
}

.co-primary {
    color: var(--th-primary);
}

.text-one-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.close-icon {
    position: absolute;
    right: 25px;
    top: 10px;
    color: var(--text-color);
    font-size: 30px;
    z-index: 995;
    user-select: none;
}

.close-icon:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.close-icon-preview-thumbnail {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--text-color);
    font-size: 30px;
    z-index: 99;
}

.close-icon-preview-thumbnail:hover {
    transform: scale(1.1);
}

.emoji-benefits-container p {
    margin-bottom: 14px;
    line-height: 1;
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .product-images__container {
        position: relative !important;
        top: 0px !important;
        z-index: 999;
        margin-right: 0px !important;
    }
}

.product-images__container {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 34px;
    z-index: 99;
    margin-right: 20px;
    min-height: 380px;
}

.product-images__container:has(.loader.active) {
    display: flex;
}

.select-disabled {
    border: none;
    user-select: none;
    background: inherit !important;
    appearance: none;
}

.contact-form-footer__group strong,
.contact__text strong {
    color: white;
}

.card {
    border: none !important;
}

.img-product {
    overflow: hidden;
}

.product-item {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

@media (min-width: 991.98px) {
    .img-product {
        height: 362px;
    }
}

.img-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-object-fit: contain;
    transition: transform 0.2s ease;
}

.product-item {
    margin-top: 1px;
    border-radius: 12px;
    overflow: hidden;
}

.product-item:hover {
    box-shadow: 0 0 8px #0006;
}

.product-item:hover img {
    transform: scale(1.075);
}

.product-name-ellipsis {
    min-height: 38px;
    max-height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.product-name-ellipsis a {
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.product-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.frequently-products .product-item:hover {
    box-shadow: none;
}

.frequently-products .product-item:hover img {
    transform: none;
}

.main-price {
    color: var(--th-primary);
}

.add-to-cart-btn {
    background-color: var(--th-primary);
    color: #fff !important;
}

.add-to-cart-btn:focus {
    box-shadow: none;
}

.add-to-cart-btn:hover {
    box-shadow: 0 0 3px 3px color-mix(in srgb, var(--th-primary), transparent 50%);
}

.add-to-cart-btn:active {
    box-shadow: 0 0 8px 6px color-mix(in srgb, var(--th-primary), transparent 75%);
}

.swiper-slide {
    border-radius: 12px;
}

button.btn.collection-filter-item {
    border-radius: 50px !important;
    min-width: 60px;
    min-width: -moz-max-content;
    min-width: max-content;
    text-transform: uppercase;
    width: -moz-max-content;
    width: max-content;
}

@media (min-width: 992px) {
    .btn-show-more-review {
        width: 25%;
        padding: 0.4rem 0.75rem;
        font-size: 0.875rem;
    }
}

.product-group-also-like {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width: 767.98px) {
    .product-group-also-like {
      gap: 16px;
    }
}