.product-lists {
    overflow: hidden;
}

.product-lists .product-item {
    border: 1px solid #ededed;
    padding: 5px 25px;
    border-radius: 5px;
    background: #fff;
    -webkit-filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .09));
    position: relative;
    text-align: center;
    cursor: pointer;
}

.product-lists .product-item::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background: #f9f9f9;
    top: 50%;
    transform: translateY(-50%);
    left: -15px;
    border-radius: 100%;
    box-shadow: 0 0 0 1px #ededed;
}

.product-lists .product-item::after {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background: #f9f9f9;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    border-radius: 100%;
    box-shadow: 0 0 0 1px #ededed;
}

.product-lists .product-item .domain span {
    font-size: 13px;
}

.product-lists .product-item .domain h3 {
    color: #123b8a;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.product-lists .product-item .price span {
    font-weight: 600;
    color: red;
}

.product-lists .product-item .price {
    font-size: 14px;
}

.product-lists .product-item .action {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.product-lists .product-item .action .more {
    color: #008a07;
    font-size: 12px;
    text-decoration: underline;
    font-style: italic;
}

.product-lists .product-item .action .buy {
    background: linear-gradient(90deg, #DA2128 0%, #E13E2A 13.65%, #E7562C 32.1%, #ED642F 51.76%, #F16D31 73.25%, #F37032 100%);
    border-radius: 5px;
    font-size: 10px;
    color: #fff;
    padding: 4px 10px;
    transition: background 1s ease-in-out;
    /* Thêm hiệu ứng chuyển đổi mượt mà */
}

.product-lists .product-item .action .buy:hover {
    background: linear-gradient(90deg, #F37032 0%, #F16D31 13.65%, #ED642F 32.1%, #E7562C 51.76%, #E13E2A 73.25%, #DA2128 100%);
}

.product-lists .product-item:hover {
    border: 1px solid #f26e32;
}

.product-lists .product-item:hover::before {
    box-shadow: 0 0 0 1px #f26e32;
}

.product-lists .product-item:hover::after {
    box-shadow: 0 0 0 1px #f26e32;
}

.sidebar-product .item-sidebar .head {
    background: #123b8a;
    border-radius: 5px 5px 0 0;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 0;
}

.sidebar-product .item-sidebar .filter-years ul {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ededed;
    max-height: 170px;
    overflow: auto;
}

.sidebar-product .item-sidebar .filter-years ul::-webkit-scrollbar {
    width: 5px;
}

.sidebar-product .item-sidebar .filter-years ul::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar-product .item-sidebar .filter-years ul::-webkit-scrollbar-thumb {
    background: #888;
}

.sidebar-product .item-sidebar .filter-years ul::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar-product .item-sidebar .filter-years ul li {
    list-style: none;
    margin: 0;
    padding: 5px 10px;
    font-weight: 500;
}

.checkbox-wrapper-4 {
    display: flex;
    gap: 5px;
}

.checkbox-wrapper-4 * {
    box-sizing: border-box;
}

.checkbox-wrapper-4 .cbx {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper-4 .cbx:not(:last-child) {
    margin: 0;
    margin-right: 6px;
}

.checkbox-wrapper-4 .cbx span {
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
    font-weight: 500;
    font-size: 13px;
}

.checkbox-wrapper-4 .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: inline-block;
    transform: scale(1);
    border: 1px solid #cccfdb;
    transition: all 0.2s ease;
    box-shadow: 0 1px 1px rgba(0, 16, 75, 0.05);
}

.checkbox-wrapper-4 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx:hover span:first-child {
    border-color: #07f;
}

.checkbox-wrapper-4 .inp-cbx {
    position: absolute;
    visibility: hidden;
    margin: 0;
}

.checkbox-wrapper-4 .inp-cbx:checked+.cbx span:first-child {
    background: #07f;
    border-color: #07f;
    animation: wave-4 0.4s ease;
}

.checkbox-wrapper-4 .inp-cbx:checked+.cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-4 .inline-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    user-select: none;
}

@media screen and (max-width: 640px) {
    .checkbox-wrapper-4 .cbx {
        width: 100%;
        display: inline-block;
    }
}

@-moz-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-webkit-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-o-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

.hot-product-wrapper .owl-carousel .product-item-hot {
    position: relative;
    padding: 0 10px;
    cursor: pointer;
}

.hot-product-wrapper .owl-carousel .product-item-hot .body {
    position: absolute;
    top: 25px;
    left: 48%;
    transform: translateX(-50%);
    width: 55%;
    padding: 10px;
}

.hot-product-wrapper .carousel-cell .product-item-hot .body .head {
    text-align: center;
}

.hot-product-wrapper .carousel-cell .product-item-hot .body .domain {
    background: #F6C600;
    border-radius: 99px;
    font-weight: 500;
    font-size: 15px;
    color: #5D05A1;
    text-align: center;
    padding: 3px 0;
    margin: 5px 0;
    border: 2px dashed #fff;
    animation: borderMove 2s linear infinite;
}

/* Tạo keyframes cho hiệu ứng border di chuyển */
@keyframes borderMove {
    0% {
        border-color: #fff; /* Màu ban đầu */
    }
    50% {
        border-color: #dd0101; /* Màu thay đổi giữa chừng */
    }
    100% {
        border-color: #fff; /* Màu kết thúc */
    }
}


.hot-product-wrapper .carousel-cell .product-item-hot .body .time {
    color: #fff;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
}

.hot-product-wrapper .carousel-cell .product-item-hot .body .description ul {
    margin: 0;
    padding: 0;
}

.hot-product-wrapper .carousel-cell .product-item-hot .body .description ul li {
    color: #fff;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
    text-align: center;
    list-style: none;
}

.hot-product-wrapper .carousel-cell .product-item-hot .body .price {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.hot-product-wrapper .carousel-cell .product-item-hot .body .btn-buynow {
    background: linear-gradient(90deg, #DA2128 0%, #E13E2A 13.65%, #E7562C 32.1%, #ED642F 51.76%, #F16D31 73.25%, #F37032 100%);
    border-radius: 100px;
    padding: 7px 20px;
    position: absolute;
    bottom: -62px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 4px 10px 0px #00000026;
    border: none;
    left: 0px;
    right: 0px;
    margin: 0px auto;
    display: inline-table;
    font-size: 16px;
    text-transform: uppercase;
}

/* Modal container */
.modal {
    display: none;
    /* Ẩn modal khi chưa mở */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: auto;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    position: relative;
    top: 50%;
    left: 50%;
    animation: slideDown 0.2s ease-out forwards;
    transform: translate(-50%, -50%);
}

/* Close button */
.close {
    font-size: 36px;
    position: absolute;
    top: 0;
    right: 0;
    transition: 0.3s;
    background: #ededed;
    width: 30px;
    height: 30px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 300;
    color: #646464;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Animation cho modal từ trên xuống */
@keyframes slideDown {
    0% {
        top: -100%;
        /* Modal bắt đầu ở ngoài màn hình phía trên */
    }

    100% {
        top: 50%;
        /* Modal dừng lại tại vị trí 20% từ trên xuống */
    }
}

/* Đóng modal với hiệu ứng chạy lên */
@keyframes slideUp {
    0% {
        top: 20%;
        /* Modal bắt đầu ở vị trí đã mở */
    }

    100% {
        top: -100%;
        /* Modal di chuyển lên ngoài màn hình */
    }
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --color-main: #0053fc;
    --color-text: #8187A1;
    --color-title: #040F43;
    --history_authority-percent: 0;
    --domain_authority-percent: 0;
}

.color-text {
    color: var(--color-text);
}

.color-title {
    color: var(--color-title);
}

.color-main {
    color: var(--color-main);
}

.bg-gray {
    background-color: #F7F9FF;
}

.detail-domain-table tr td,
.domain-website-history td {
    border: 1px solid #E1E6F0;
    color: #000;
    padding: 8px;
    font-size: 14px;
    width: 30%;
}

td.border-none {
    border: none !important;
}

.detail-domain-table tr:last-child,
.detail-domain-table tr:nth-child(4) {
    border: 1px solid #e1e6f0;
}

.detail-domain-table .detail-domain-name {
    color: #123b8a;
    font-weight: 600;
    width: 70%;
}

.box-detail-product {
    margin-bottom: 30px;
}

.box-detail-product .box-title {
    color: #123b8a;
    font-weight: 600;
    margin-bottom: 5px;
    /* border-left: 3px solid #123b8a;
    padding-left: 10px; */
}

#pagination-products {
    display: flex;
    gap: 5px;
    justify-content: center;
}

#pagination-products a {
    background: #f26f32;
    width: 25px;
    height: 25px;
    color: #fff;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

#pagination-products a.active {
    background: #de3029;
}

#pagination-products a:hover {
    background: #de3029;
}

.modal-content .btn-action {
    text-align: center;
}

.modal-content .btn-action .buynow {
    font-size: 13px;
    /* background: linear-gradient(90deg, #DA2128 0%, #E13E2A 13.65%, #E7562C 32.1%, #ED642F 51.76%, #F16D31 73.25%, #F37032 100%); */
    color: #fff;
    border-radius: 3px;
    font-weight: 600;
    padding: 10px 15px;
    text-transform: uppercase;
    display: inline-block;
}

.modal-content .btn-action .buynow:hover {
    background: #DA2128;
}

:root {
    --shiny-cta-bg: #E7562C;
    --shiny-cta-bg-subtle: #1a1818;
    --shiny-cta-fg: #ffffff;
    --shiny-cta-highlight: blue;
    --shiny-cta-highlight-subtle: #8484ff;
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

.shiny-cta {
    --animation: gradient-angle linear infinite;
    --duration: 3s;
    --shadow-size: 2px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline-offset: 4px;
    padding: 1.25rem 2.5rem;
    font-family: inherit;
    font-size: 1.125rem;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 360px;
    color: var(--shiny-cta-fg);
    background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
        conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            var(--shiny-cta-highlight) var(--gradient-percent),
            var(--gradient-shine) calc(var(--gradient-percent) * 2),
            var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)) border-box;
    box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);

    &::before,
    &::after,
    span::before {
        content: "";
        pointer-events: none;
        position: absolute;
        inset-inline-start: 50%;
        inset-block-start: 50%;
        translate: -50% -50%;
        z-index: -1;
    }

    &:active {
        translate: 0 1px;
    }
}

/* Dots pattern */
.shiny-cta::before {
    --size: calc(100% - var(--shadow-size) * 3);
    --position: 2px;
    --space: calc(var(--position) * 2);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle at var(--position) var(--position),
            white calc(var(--position) / 4),
            transparent 0) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;
    mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
            #E7562C,
            transparent 10% 90%,
            #E7562C);
    border-radius: inherit;
    opacity: 0.4;
    z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
    --animation: shimmer linear infinite;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(-50deg,
            transparent,
            var(--shiny-cta-highlight),
            transparent);
    mask-image: radial-gradient(circle at bottom, transparent 40%, #E7562C);
    opacity: 0.6;
}

.shiny-cta span {
    z-index: 1;

    &::before {
        --size: calc(100% + 1rem);
        width: var(--size);
        height: var(--size);
        box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
        opacity: 0;
    }
}

/* Animate */
.shiny-cta {
    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition: var(--transition);
    transition-property: --gradient-angle-offset, --gradient-percent,
        --gradient-shine;

    &,
    &::before,
    &::after {
        animation: var(--animation) var(--duration),
            var(--animation) calc(var(--duration) / 0.4) reverse paused;
        animation-composition: add;
    }

    span::before {
        transition: opacity var(--transition);
        animation: calc(var(--duration) * 1.5) breathe linear infinite;
    }
}

.shiny-cta:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-cta-highlight-subtle);

    &,
    &::before,
    &::after {
        animation-play-state: running;
    }

    span::before {
        opacity: 1;
    }
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes shimmer {
    to {
        rotate: 360deg;
    }
}

@keyframes breathe {

    from,
    to {
        scale: 1;
    }

    50% {
        scale: 1.2;
    }
}

#san-pham-list {
    position: relative;
}

#san-pham-list.loading::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top: 4px solid #123b8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.hot-product-wrapper.loading::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top: 4px solid #123b8a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.loading-content {
    width: 15px;
    height: 15px;
    border: 1px solid #b0cbff;
    border-top: 1px solid #0b3ea1;
    border-radius: 50%;
    animation: spin 1slinear infinite;
}

.search-product form{
    margin: 0;
}

.search-product input{
    margin: 0 !important;
    height: auto;
    width: 100%;
    border: 1px solid #ededed;
    box-shadow: none;
    border-radius: 3px;
    font-size: 14px;
    padding: 5px;
}

.ml-auto{
    margin-left: auto !important;
}

#sort-products{
    margin: 0 !important;
    height: auto;
    width: 100%;
    border: 1px solid #ededed;
    box-shadow: none;
    border-radius: 3px;
    font-size: 14px;
    padding: 5px;
}

#sort-products:after{
    border-radius: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#san-pham-list.loading .product-item {
    filter: blur(1px);
    opacity: 0.5;
    pointer-events: none;
}

@media screen and (min-width: 768px) {
    .domain-table-mobile {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #productModal .modal-content {
        width: 95% !important;
    }

    .domain-table-desktop {
        display: none;
    }
}

