/* Breadcrumb */
.breadcrumb {
    min-height: 300px;
    position: relative;
    /* border-radius: 0px 0px 20px 20px; */
    /* margin-top: -20px; */
    display: flex;
    align-items: end;
    text-align: center;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.breadcrumb h1 {
    font-size: 40px;
    color: #FFF;
    margin-bottom: 8px;
}

.breadcrumb ul {
    display: block;
    white-space: normal;
    position: relative;
    z-index: 2;
    padding-bottom: 15px;
}

.breadcrumb ul li {
    display: inline;
    color: rgba(255, 255, 255, .7);
}

.breadcrumb ul li a {
    color: rgba(255, 255, 255, .7);
}

.breadcrumb ul li a:hover {
    color: rgba(255, 255, 255, 1);
}

.breadcrumb ul li:not(:last-child) {
    position: relative;
    padding-right: 15px;
}

.breadcrumb ul li:not(:last-child)::before {
    content: '/';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
    color: #FFF;
}

/* End breadcrumb  */



/* Content cho editor  */
.noi-dung {
    font-size: 15px;
}

.cs-row img {
    border-radius: 10px;
}

.noi-dung p {
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.5;

    &:last-child {
        margin-bottom: 0;
    }
}

.noi-dung h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-3);
}

.noi-dung h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-3);
}

.noi-dung hr {
    margin: 15px 0;
}

.noi-dung table td img {
    border-radius: 10px;
}

.noi-dung table td {
    width: 50%;
}

.noi-dung blockquote {
    border-left: 5px solid var(--color-3);
    padding: 8px 15px;
    background: #f7f5f0;
    border-radius: 10px;
    margin-bottom: 15px;
}

.noi-dung blockquote h3,
.noi-dung blockquote h2,
.noi-dung blockquote p {
    margin-bottom: 0;
}

.noi-dung ul,
.noi-dung ol {
    margin-left: 30px;
    margin-bottom: 10px;
}

.noi-dung ul li,
.noi-dung ol li {
    margin-bottom: 10px;
}

.noi-dung table tr td {
    padding: 0 10px;
}

.noi-dung table {
    /* margin: 0 -10px; */
}

.image-caption {
    margin-bottom: 10px;
}

/* end  */

/* pagination  */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    /* margin-top: 40px; */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 40px;
    gap: 6px;
}

.pagination-wrapper .pagination {
    margin-top: 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-item.disabled {
    background: transparent;
}

.pagination .page-item.disabled .page-link,
.pagination li.disabled span {
    background: lightgray;
}

.btn-disabled {
    opacity: .3;
    cursor: not-allowed;
}

.pagination .page-link,
.pagination li a,
.pagination li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--amy-border, #e5e5e5);
    background-color: var(--amy-white, #ffffff);
    color: var(--amy-gray-dark, #333333);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.pagination .page-link:hover,
.pagination li a:hover,
.pagination .page-item.active .page-link,
.pagination li.active span {
    background-color: var(--amy-black, #080808);
    border-color: var(--amy-black, #080808);
    color: var(--amy-white, #ffffff);
}

.pagination .page-item.active .page-link,
.pagination li.active span {
    pointer-events: none;
}

.pagination .page-item.disabled .page-link,
.pagination li.disabled span {
    opacity: 0.5;
    pointer-events: none;
}

.noi-dung ul li {
    list-style: disc;
}

.btn-web {
    min-width: 168px;
    height: 51px;
    color: #fff;
    background: #1e1e1e;
    border: 1px solid #1e1e1e;
    border-radius: 1px;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    transition: all .4s;
}

.btn-web:before {
    background: #fff;
    border-radius: 50%;
    content: "";
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    transition: all .8s;
    width: 0;
}

.btn-web:hover:before {
    opacity: 1;
    padding-top: 120%;
    width: 120%;
}

.btn-web:hover {
    color: #000;
}

.btn-web span,
.btn-web svg {
    position: relative;
    z-index: 1;
}

.btn-web.option-2 {
    border: 1px solid #333;
    color: #000;
    background: transparent;
}

.btn-web.option-2:before {
    background: #333;
}

.btn-web.option-2:hover {
    color: #FFF;
}

.btn-web.option-1 {
    border: 1px solid #f5f5f5;
    color: #fff;
    background: #1d1d1d;
    text-transform: uppercase;
}

.btn-web.option-1:before {
    background: #ffffff;
}

.btn-web.option-1:hover {
    color: #000;
}

.service-card .card-img {
    padding-bottom: 100%;
}

.service-card .card-name {
    font-size: 18px;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 47px;
}

.service-card .price-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 12px;
}

.service-card .price-wrap .price {
    font-size: 16px;
    font-weight: 500;
    color: #F00;
}

.service-card .price-wrap .price-old {
    color: #999;
}

.service-card {
    position: relative;
    background: #FFF;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 3px 12px;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.service-card .bag-sale {
    background: linear-gradient(93.01deg, #ff2310 15.48%, #d31100 92.66%);
    border-radius: 5px;
    padding: 0px 10px;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 16px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

.service-card .button-gr {
    margin-top: 10px;
}

.service-card .button-gr .add-to-cart {
    background-color: #333;
    color: #FFF;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card .button-gr .add-to-cart:hover {
    background-color: #000;
}

.service-card .button-gr .buy-now {
    background-color: transparent;
    color: #333;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 5px;
    border: 1px solid #333;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.service-card .button-gr .buy-now:hover {
    background-color: #333;
    color: #FFF;
}

.service-card .compare {
    position: absolute;
    text-decoration: underline;
    top: 15px;
    left: 15px;
    font-size: 16px;
}

.service-card .hethang {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 12px 40px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* news-card: styles moved to news-list.css (BEM) */

@media (max-width: 1100px) {
    .noi-dung table tr td {
        width: 50%;
    }

    .noi-dung img {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .noi-dung table tr td {
        width: 100% !important;
        display: block;
    }
}

@media (max-width: 768px) {
    .pagination .page-link {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .noi-dung h2 {
        font-size: 18px;
    }

    .noi-dung h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .noi-dung table td img {
        margin-bottom: 10px;
    }

    .breadcrumb {
        min-height: 220px;
    }

    .breadcrumb h1 {
        font-size: 26px;
    }

    .breadcrumb ul li a {
        font-size: 14px;
    }

    .breadcrumb ul li {
        font-size: 14px;
    }
}


/* ========== Home Collection Section =========== */
.home-collection-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.home-collection-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.home-collection-section .slick-arrow:hover svg path {
    fill: #fff;
}

.collection-header {
    text-align: center;
    margin-bottom: 35px;
    color: #FFF;
}

.collection-title {
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 600;
    margin-bottom: 22px;
    display: inline-block;
    position: relative;
    padding-bottom: 24px;
}


.collection-divider {
    display: none;
}

.collection-desc {
    max-width: 650px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

.collection-inner .slick-slide {
    margin: 0 7px;
}

.collection-inner .slick-list {
    margin: 0 -7px;
}

.collection-inner:not(.slick-initialized) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.collection-box {
    position: relative;
    overflow: hidden;
    flex: 0 0 25%;
    max-width: 25%;
}

.collection-inner.slick-initialized .collection-box {
    flex: none;
    max-width: none;
}

.collection-img {
    padding-bottom: 142%;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.4;
    transition: all 0.5s ease;
    z-index: 2;
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}


.collection-box:hover .collection-overlay {
    opacity: 0.7;
    background: linear-gradient(180deg, rgba(200, 169, 110, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.collection-box:hover .collection-content {
    opacity: 1;
    transform: translateY(0);
}

.collection-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.collection-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.5;
}

.collection-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .home-collection-section {
        padding: 40px 0;
    }

    .collection-header {
        margin-bottom: 35px;
    }
}

@media (max-width: 575px) {
    .collection-content {
        padding: 12px;
    }

    .collection-name {
        font-size: 14px;
    }
}


/* ========== Home Features Section =========== */
.home-features-section {
    overflow: visible !important;
    position: relative;
    padding: 50px 0 50px;
}

.home-features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(37 42 87 / 50%);
}

.features-header {
    text-align: center;
}

.features-title {
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 600;
    color: #ffffff;
    display: inline-block;
    position: relative;
    padding: 0 0 24px;
}


.features-divider {
    display: none;
}

.features-grid {
    overflow: visible;
    /* Quan trọng: cho phép shadow/transform hiển thị */
    padding: 20px 25px 0px;
    /* Tránh bị cắt khi hover translateY */
}

.features-grid {
    margin: 0 44px;
    /* Tăng từ 22px lên 44px — bằng đúng kích thước nút */
}

/* Wrapper bên ngoài cần overflow visible */
.home-features-section .ctnr {
    overflow: visible !important;
}

.features-grid.slick-initialized .slick-slide {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.features-grid .feature-box {
    margin-bottom: 30px;
}

.features-grid.slick-initialized .slick-slide .feature-box {
    margin-bottom: 24px !important;
}

.features-grid.slick-initialized .slick-slide .feature-box:last-child {
    margin-bottom: 0 !important;
}

.features-grid.slick-initialized .feature-box {
    margin: 0;
    height: auto;
}

.features-grid.slick-initialized .slick-slide {
    padding: 10px 12px;
}

/* Slick arrows for features grid moved to global */

.feature-box {
    background: #0000004f;
    padding: 40px 25px;
    text-align: center;
    border-radius: 15px;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03); */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(200, 169, 110, 0.05) 0%, rgba(200, 169, 110, 0) 100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.feature-box:hover::before {
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(200, 169, 110, 0.3);
    box-shadow: 0 25px 50px rgba(200, 169, 110, 0.12);
}

.feature-img {
    padding: 22px;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1e6d0;
    transition: all 0.5s ease;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); */
}

.feature-img:hover img {
    transform: rotate(360deg);
}

.feature-box:hover .feature-img {
    border-color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(200, 169, 110, 0.15);
}

.feature-name {
    font-size: 26px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1em;
}

.feature-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #FFF;
    margin: 0;
    transition: all 0.3s ease;
}


#featuresSlider .slick-dots {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        gap: 20px;
        margin: 0;
        padding: 20px 0 0;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-features-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 35px 20px;
    }

    .feature-img {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }

    .features-grid.slick-initialized .slick-slide {
        padding: 10px 0;
        margin: 0 6px;
    }

    .features-grid.slick-initialized .slick-list {
        padding: 0;
        margin: 0 -6px;
    }
}

/* ==========================================
   SHARED PREMIUM BANNER COMPONENT STYLES
   ========================================== */
.premium-banner {
    min-height: 280px;
    background-color: #F8F9FA;
    overflow: hidden;
    padding: 80px 0;
    display: flex;
    align-items: center;
    position: relative;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.premium-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 12%);
    z-index: 1;
}

.premium-banner .ctnr {
    position: relative;
    z-index: 2;
}

.premium-banner-left {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-banner-left h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
}

.premium-banner-left .desc {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .premium-banner {
        min-height: 280px;
        padding: 60px 0;
        background-attachment: scroll !important;
    }

    .premium-banner-left {
        max-width: 100%;
        padding: 0 20px;
        text-align: center;
        align-items: center;
        margin: 0 auto;
    }

    .premium-banner-left h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .premium-banner {
        min-height: 220px;
        padding: 40px 0;
    }

    .premium-banner-left h1 {
        font-size: 26px;
    }
}

/* ==========================================
   SHARED PREMIUM TRUST BAR COMPONENT STYLES
   ========================================== */
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px 10px;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: transform 0.3s ease;
    width: 100%;
    padding: 10px 25px;
}

.trust-bar-item:hover {
    transform: translateY(-3px);
}

@media (min-width: 992px) {
    .trust-bar-item:not(:last-child) {
        border-right: 1px solid #eaeaea;
    }
}

.trust-bar-icon {
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trust-bar-item:hover .trust-bar-icon {
    color: var(--color-3, #9a6d28);
    /* Warm premium gold accent on hover */
    transform: scale(1.08);
}

.trust-bar-icon svg,
.trust-bar-icon img {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    transition: all 0.3s ease;
}

.trust-bar-content {
    display: flex;
    flex-direction: column;
}

.trust-bar-title {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0 !important;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.trust-bar-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
    margin: 0 !important;
}

/* Responsive styles */
@media (max-width: 991px) {
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
        padding: 30px 20px;
    }

    .trust-bar-item {
        justify-content: center;
        padding: 10px 15px;
    }

    .trust-bar-item:nth-child(odd) {
        border-right: 1px solid #eaeaea;
    }
}

@media (max-width: 576px) {
    .trust-bar-grid {
        grid-template-columns: 1fr;
        gap: 25px 0;
        padding: 25px 20px;
    }

    .trust-bar-item {
        justify-content: flex-start;
        padding: 5px 10px;
    }

    .trust-bar-item:nth-child(odd) {
        border-right: none;
    }
}

/* ==========================================
   SHARED BREADCRUMBS LIST COMPONENT STYLES
   ========================================== */
.breadcrumbs-list {
    /* align-items: center; */
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #888888;
}

.breadcrumbs-list li {
    display: inline;
}

.breadcrumbs-list li a {
    color: #555555;
    /* display: flex; */
    align-items: center;
    transition: color 0.3s ease;
}

.breadcrumbs-list li a:hover {
    color: #080808;
}

.breadcrumbs-list .home-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    transform: translateY(2px);
}

.breadcrumbs-list .separator {
    color: #cccccc;
    user-select: none;
}

.breadcrumbs-list .active {
    color: #999999;
}

/* Style chung cho các tiêu đề (Section Title) */
.title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 18px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c8bfae;
    /* Gold accent */
    border-radius: 99px;
}

/* User Profile Dropdown Styling */
.user-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.user-dropdown-wrapper .active-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    background-color: #2ec153;
    /* Active green */
    border: 1.5px solid #fff;
    border-radius: 50%;
    z-index: 2;
}

.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
    transition: transform 0.2s, border-color 0.2s;
}

.user-avatar-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8bfae, #a39580);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, background 0.2s;
    user-select: none;
}

.user-dropdown-wrapper:hover .user-avatar-img {
    transform: scale(1.05);
    border-color: #41250f;
}

.user-dropdown-wrapper:hover .user-avatar-initials {
    transform: scale(1.05);
    background: linear-gradient(135deg, #41250f, #6b4020);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    z-index: 1002;
    transform-origin: top right;
    transform: scale(0.9) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.user-dropdown-wrapper:hover .user-dropdown-menu {
    transform: scale(1) translateY(5px);
    opacity: 1;
    pointer-events: auto;
}

.user-dropdown-menu .user-info {
    padding: 10px 18px 12px;
    display: flex;
    flex-direction: column;
}

.user-dropdown-menu .user-name {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    line-height: 1.2;
}

.user-dropdown-menu .user-email {
    font-size: 12px;
    color: #888888;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-menu .divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.06);
    margin: 5px 0;
}

.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #444444;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.user-dropdown-menu li a:hover {
    background-color: #f7f5f0;
    color: #41250f;
}

.user-dropdown-menu li a svg {
    color: #888888;
    transition: color 0.2s;
}

.user-dropdown-menu li a:hover svg {
    color: #41250f;
}

/* Premium Product Attributes Selector Modal */
.attr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.attr-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 1190px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.attr-modal-overlay.active .attr-modal-container {
    transform: translateY(0);
}

.attr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f7f5f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #41250f;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.attr-modal-close:hover {
    background: #41250f;
    color: #ffffff;
    transform: rotate(90deg);
}

.attr-modal-body {
    display: flex;
    gap: 0;
    padding: 0;
    align-items: stretch;
    min-height: 500px;
    width: 100%;
}

.attr-modal-img-wrap {
    width: 48%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: #fdfcf9;
}

.attr-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.attr-modal-info {
    width: 52%;
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    box-sizing: border-box;
}

.attr-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.attr-modal-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.attr-price-now {
    font-size: 22px;
    font-weight: 700;
    color: #41250f;
    font-family: 'Playfair Display', serif;
}

.attr-price-old {
    font-size: 16px;
    font-weight: 500;
    color: #888888;
    text-decoration: line-through;
    font-family: 'Playfair Display', serif;
}

.attr-badge-sale {
    font-size: 11px;
    font-weight: 700;
    background: #d9534f;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(217, 83, 79, 0.2);
}

.attr-modal-specs {
    background: #fdfcf9;
    border: 1px solid rgba(65, 37, 15, 0.05);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    padding-bottom: 6px;
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-label {
    color: #888888;
    font-weight: 500;
}

.spec-value {
    color: #41250f;
    font-weight: 600;
    text-align: right;
}

.attr-groups-list {
    margin-bottom: 24px;
}

.attr-group {
    margin-bottom: 20px;
}

.attr-group:last-child {
    margin-bottom: 0;
}

.attr-group-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
}

.attr-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attr-chip {
    padding: 8px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: #444444;
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.attr-chip:hover {
    border-color: #41250f;
    color: #41250f;
    background: #f7f5f0;
}

.attr-chip.active {
    border-color: #41250f;
    background: #41250f;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(65, 37, 15, 0.2);
}

.attr-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    flex-shrink: 0;
}

.attr-qty-btn {
    border: none;
    background: transparent;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #41250f;
    transition: background 0.2s;
}

.attr-qty-btn:hover {
    background: #f7f5f0;
}

.attr-qty-input {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    outline: none;
}

.attr-modal-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.attr-submit-btn {
    flex-grow: 1;
    padding: 12px 28px;
    background: #41250f;
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.attr-submit-btn:hover {
    background: #5d3616;
}

.attr-submit-btn:active {
    transform: scale(0.97);
}

.attr-validation-alert {
    color: #d9534f;
    font-size: 12.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* Media query for responsive design on smaller screens */
@media (max-width: 768px) {
    .attr-modal-container {
        width: 92%;
        max-width: 460px;
    }

    .attr-modal-body {
        flex-direction: column;
        min-height: auto;
    }

    .attr-modal-img-wrap {
        width: 100%;
        height: 240px;
    }

    .attr-modal-info {
        width: 100%;
        padding: 24px;
    }

    .attr-modal-title {
        font-size: 18px;
    }

    .attr-modal-price {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .attr-groups-list {
        margin-bottom: 16px;
    }

    .attr-modal-actions {
        gap: 12px;
    }
}


.card {
    /* width: 300px; */
    /* background: #fff; */
    /* border: 0.5px solid rgba(0, 0, 0, 0.1); */
    border-radius: 20px;
    /* overflow: hidden; */
    /* position: relative; */
    transition: transform 0.35s cubic-bezier(.22, .68, 0, 1.3);
    cursor: default;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
}

.badge-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #1a1a1a;
    color: #f0ede6;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    z-index: 2;
}

.badge-sale {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

.img-wrap {
    /* width: 100%; */
    /* height: 240px; */
    /* background: #e8e2d9; */
    overflow: hidden;
    display: flex;
    margin: 20px auto 20px;
    align-items: center;
    justify-content: center;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.card:hover .img-wrap img {
    transform: scale(1.05);
}

/* Placeholder SVG nếu không có ảnh thật */
.img-wrap svg {
    width: 100%;
    height: 100%;
}

.wishlist-btn {
    position: absolute;
    top: 202px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}

.wishlist-btn:hover {
    background: #f5f2ec;
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 17px;
    color: #888;
    transition: color 0.2s;
}

.wishlist-btn.active i {
    color: #c0392b;
}

.card-body {
    padding: 16px 18px 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 13px;
    color: #d4a017;
}

.rating-count {
    font-size: 12px;
    color: #888;
}

.card-body .price-row {
    margin-bottom: 5px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-now {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.price-old {
    font-size: 14px;
    color: #bbb;
    text-decoration: line-through;
}

.add-btn {
    width: 100%;
    padding: 12px 0;
    background: #1a1a1a;
    color: #f0ede6;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
}

.add-btn:hover {
    background: #333;
}

.add-btn:active {
    transform: scale(0.98);
}

.add-btn.added {
    background: #1a6b3c;
}

.add-btn i {
    font-size: 16px;
}
