﻿/* =========================
   PRODUCT DETAIL - CLEAN CSS (MERGED FINAL)
   ========================= */

/* ===== COMMON ===== */
.anvu-pd-wrap {
    padding: 0px 0 22px;
}

.anvu-max-1200 {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 10px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
}

.anvu-blue {
    color: #1a73e8;
    font-weight: 800;
}

.anvu-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.anvu-box-placeholder {
    padding: 14px;
}

.anvu-box-title {
    font-weight: 800;
    color: #111827;
}

.anvu-box-note {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
}

.anvu-pd-slot,
.anvu-pd-left,
.anvu-pd-right {
    min-width: 0;
}

/* =========================
   BREADCRUMB - PREMIUM
   ========================= */
.anvu-breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    margin-bottom: 14px;
    padding: 9px 16px;
    border: 1px solid #e8edf3;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
    font-size: 12px;
    line-height: 0.5;
    overflow: hidden;
}

    .anvu-breadcrumb::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 1px;
        background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,0));
        pointer-events: none;
    }

    .anvu-breadcrumb a,
    .anvu-bc-current,
    .anvu-bc-sep {
        position: relative;
        z-index: 1;
    }

    /* Link */
    .anvu-breadcrumb a {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        min-width: 0;
        padding: 6px 10px;
        border-radius: 10px;
        color: #475467;
        font-weight: 500;
        text-decoration: none;
        transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

        .anvu-breadcrumb a:hover {
            color: #1a73e8;
            background: #eef6ff;
            box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.08);
        }

/* Separator */
.anvu-bc-sep {
    flex: 0 0 auto;
    color: #c0c7d2;
    font-size: 13px;
    font-weight: 700;
    user-select: none;
}

/* Current item */
.anvu-bc-current {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 10px;
    background: #eef2f7;
    color: #111827;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.04);
    word-break: break-word;
}

/* Nếu breadcrumb dài, item cuối được ưu tiên không bị xấu */
.anvu-breadcrumb > .anvu-bc-current:last-child {
    flex: 0 1 auto;
}

/* Ẩn list schema giữ nguyên */
.anvu-breadcrumb > ol.d-none {
    display: none !important;
}

/* Tablet */
@media (max-width: 991.98px) {
    .anvu-breadcrumb {
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 13px;
        gap: 6px;
    }

        .anvu-breadcrumb a {
            padding: 5px 8px;
            border-radius: 9px;
        }

    .anvu-bc-current {
        padding: 5px 10px;
        border-radius: 9px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .anvu-breadcrumb {
        flex-wrap: nowrap;
        gap: 6px;
        padding: 5px 10px;
        border-radius: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

        .anvu-breadcrumb::-webkit-scrollbar {
            display: none;
        }

        .anvu-breadcrumb a,
        .anvu-bc-current,
        .anvu-bc-sep {
            flex: 0 0 auto;
            white-space: nowrap;
        }

        .anvu-breadcrumb a {
            max-width: 220px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .anvu-bc-current {
        max-width: 260px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* ===== Title row ===== */
.anvu-pd-title-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 12px;
}

.anvu-pd-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    text-transform:uppercase; 
    margin-left:10px
}

/* ===== Badges ===== */
.anvu-pd-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.anvu-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

    .anvu-pill i {
        font-size: 12px;
    }

.anvu-pill-blue {
    background: #e8f2ff;
    color: #1a73e8;
}

.anvu-pill-red {
    background: #ffe8ea;
    color: #e11d48;
}

.anvu-pill-gray {
    background: #f3f4f6;
    color: #4b5563;
}

.anvu-pill-link {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    text-decoration: none;
}

    .anvu-pill-link:hover {
        border-color: #1a73e8;
        color: #1a73e8;
    }

/* =========================
   PRODUCT DETAIL LAYOUT
   ========================= */
.anvu-pd-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 455px);
    gap: 16px;
    align-items: start;
}

.anvu-pd-slot-gallery {
    grid-column: 1;
    grid-row: 1;
}

.anvu-pd-slot-right {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-width: 0;
}

.anvu-pd-slot-commit {
    grid-column: 1;
    grid-row: 2;
}

.anvu-pd-slot-tabs {
    grid-column: 1;
    grid-row: 3;
}

.anvu-pd-slot-reviews {
    grid-column: 1 / -1;
    grid-row: 4;
}

.anvu-pd-slot-review-form {
    grid-column: 1 / -1;
    grid-row: 5;
}

.anvu-pd-right-stack {
    display: grid;
    gap: 16px;
    align-items: start;
    min-width: 0;
}



.anvu-pd-recent-wrap {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .anvu-pd-detail-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .anvu-pd-slot-gallery,
    .anvu-pd-slot-right,
    .anvu-pd-slot-commit,
    .anvu-pd-slot-tabs,
    .anvu-pd-slot-reviews,
    .anvu-pd-slot-review-form {
        grid-column: auto;
        grid-row: auto;
    }

    .anvu-box-sticky {
        position: static;
        top: auto;
    }

    .anvu-pd-right-stack {
        gap: 14px;
    }
}

/* =========================
   GALLERY
   ========================= */
.anvu-gallery {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #eef2f7;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}

.anvu-gallery-main {
    position: relative;
    height: 452px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

/* Main media frame */
.anvu-g-main-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    cursor: zoom-in;
}

    .anvu-g-main-img img {
        display: block;
        max-height: 100%;
        margin: 0 auto;
    }

#anvuGMainImg,
#anvuGMainVideo {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
}

#anvuGMainImg {
    object-fit: contain;
}

#anvuGMainVideo {
    display: none;
    background: #000;
    object-fit: cover;
}

.anvu-g-video-wrap {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
}

    .anvu-g-video-wrap iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.anvu-g-img {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

img.anvu-g-img[src*="img.youtube.com"] {
    object-fit: cover;
}

/* Gallery nav */
.anvu-g-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .anvu-g-btn i {
        color: #9ca3af;
        font-size: 18px;
    }

    .anvu-g-btn.prev {
        left: 14px;
    }

    .anvu-g-btn.next {
        right: 14px;
    }

.anvu-g-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background: #e5e7eb;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.anvu-g-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    display: none;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    align-items: center;
    justify-content: center;
}

    .anvu-g-play i {
        color: #fff;
        font-size: 22px;
    }

/* Thumbs */
.anvu-gallery-thumbs-wrap {
    position: relative;
    width: 100%;
    margin-top: 12px;
    padding-right: 44px;
    overflow: hidden;
}

.anvu-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .anvu-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

.anvu-g-thumb {
    flex: 0 0 calc((100% - (7 * 8px)) / 8);
    max-width: calc((100% - (7 * 8px)) / 8);
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

    .anvu-g-thumb img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

    .anvu-g-thumb.active {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
    }

.anvu-thumb-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.anvu-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .anvu-thumb-play i {
        width: 26px;
        height: 26px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, .45);
        color: #fff;
        font-size: 12px;
    }

.anvu-g-mini-next {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .anvu-g-mini-next i {
        color: #111827;
    }

/* =========================
   MODAL GALLERY
   ========================= */
.anvu-gm-modal {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #fff;
}

.anvu-gm-close {
    position: absolute;
    right: 14px;
    top: 10px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
    cursor: pointer;
}

    .anvu-gm-close i {
        font-size: 16px;
        color: #111827;
    }

.anvu-gm-main {
    position: relative;
    height: 72vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.anvu-gm-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

    .anvu-gm-img img {
        max-width: 70%;
        max-height: 82%;
        object-fit: contain;
    }

.anvu-gm-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .anvu-gm-btn i {
        font-size: 18px;
        color: #9ca3af;
    }

    .anvu-gm-btn.prev {
        left: 26px;
    }

    .anvu-gm-btn.next {
        right: 26px;
    }

.anvu-gm-count {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 12px;
    background: #e5e7eb;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.anvu-gm-thumbs {
    padding: 10px 14px 14px;
    background: #fff;
}

.anvu-gm-thumbtrack {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
}

    .anvu-gm-thumbtrack::-webkit-scrollbar {
        height: 6px;
    }

    .anvu-gm-thumbtrack::-webkit-scrollbar-thumb {
        background: #e5e7eb;
        border-radius: 999px;
    }

.anvu-gm-thumb {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    padding: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

    .anvu-gm-thumb img {
        width: 100%;
        height: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

    .anvu-gm-thumb.active {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
    }

/* =========================
   COMMITMENTS
   ========================= */
.anvu-commit {
    padding: 16px 16px 10px;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    background: #fff;
}

.anvu-commit-title {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.anvu-commit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #eef2f7;
}

.anvu-commit-item {
    display: flex;
    gap: 12px;
    padding: 14px 10px;
    border-bottom: 1px solid #eef2f7;
}

    .anvu-commit-item:nth-child(odd) {
        border-right: 1px solid #eef2f7;
    }

.anvu-commit-item-full {
    grid-column: 1 / -1;
    border-right: none !important;
}

.anvu-commit-ico {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .anvu-commit-ico i {
        color: #1a73e8;
        font-size: 18px;
    }

.anvu-commit-txt {
    font-size: 14px;
    line-height: 1.35;
    color: #111827;
}

.anvu-commit-link {
    margin-left: 4px;
    color: #1a73e8;
    font-weight: 700;
    text-decoration: none;
}

    .anvu-commit-link:hover {
        text-decoration: underline;
    }

.anvu-commit-item-title {
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anvu-commit-item-desc {
    line-height: 1.6;
    color: #444;
}

    .anvu-commit-item-desc .l {
        margin-left: 4px;
        font-weight: 500;
    }

/* =========================
   TABS / SPEC / INFO
   ========================= */
.anvu-pd-tabs {
    padding: 14px;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    background: #fff;
}

.anvu-tabs-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.anvu-tab-btn {
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

    .anvu-tab-btn.active {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #1a73e8;
    }

 

    .anvu-tab-content.active {
        display: block;
    }

.anvu-spec-image {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

    .anvu-spec-image img {
        display: block;
        max-width: 100%;
        height: auto;
    }

.anvu-spec-table {
    border-top: 1px solid #eef2f7;
}

.anvu-spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
}

.anvu-spec-label {
    color: #374151;
    font-weight: 600;
}

.anvu-spec-value {
    color: #111827;
}

.anvu-info-text {
    padding: 15px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

    .anvu-info-text h2,
    .anvu-info-text h3,
    .anvu-info-text h4 {
        font-size: 18px;
    }

    .anvu-info-text img {
        max-width: 100%;
        height: auto !important;
    }

#anvu-info-anchor {
    scroll-margin-top: 90px;
}

/* =========================
   BUYBOX
   ========================= */
.anvu-pd-buybox {
    overflow: hidden;
}

.anvu-buy-banner img {
    width: 100%;
    display: block;
}

.anvu-buy-meta {
    padding: 10px 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    font-size: 13px;
    color: #374151;
}

    .anvu-buy-meta > div,
    .anvu-buy-meta > p,
    .anvu-buy-meta > span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .anvu-buy-meta b {
        color: #111827;
    }

/* Region price */
.anvu-region-price {
    padding: 0 14px;
}

.anvu-region-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 6px;
}
.anvu-region-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

    .anvu-region-card.is-disabled {
        opacity: .55;
        pointer-events: none;
    }

.anvu-region-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
}

.anvu-region-card.bac .anvu-region-head {
    background: #f97316;
}

.anvu-region-card.trung .anvu-region-head {
    background: #0ea5e9;
}

.anvu-region-card.nam .anvu-region-head {
    background: #22c55e;
}

.anvu-region-body {
    padding: 10px;
}

.anvu-region-card .anvu-price-line {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px;
    border: 1px solid #fee2e2;
    background: #fff5f5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.anvu-region-card .anvu-price-new {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    color: #ef4444;
    white-space: normal;
    word-break: break-word;
}

.anvu-region-card .anvu-price-sub {
    display: flex;
    align-items: center;
    gap: 10px;
}

.anvu-region-card .anvu-price-old {
    font-size: 13px;
    line-height: 1.2;
    color: #6b7280;
    text-decoration: line-through;
    white-space: nowrap;
}

.anvu-region-card .anvu-price-save {
    padding: 2px 8px;
    border-radius: 999px;
    background: #fee2e2;
    color: #ef4444;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.anvu-price-note {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
}

/* Config */
.anvu-config {
    padding: 0 14px;
}

.anvu-config-title {
    margin-bottom: 10px;
    font-weight: 900;
    color: #111827;
}

.anvu-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.anvu-config-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

    .anvu-config-item input {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

    .anvu-config-item.active {
        border-color: #f87171;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, .10);
    }

        .anvu-config-item.active .anvu-config-check {
            display: flex;
        }

    .anvu-config-item.disabled {
        opacity: .45;
        pointer-events: none;
    }

.anvu-config-thumb {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .anvu-config-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.anvu-config-thumb-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f2f3f5, #ffffff);
}

.anvu-config-name {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
}

.anvu-config-price {
    font-size: 12px;
    font-weight: 900;
    color: #ef4444;
}

.anvu-config-check {
    position: absolute;
    right: 8px;
    top: 8px;
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #1a73e8;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Promo */
.anvu-km-wrap {
    padding: 0 14px 14px;
}

.anvu-km-head {
    margin-top: 8px;
    padding: 12px;
    border-radius: 14px;
    background: #fb923c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.anvu-km-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.anvu-km-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .20);
    display: flex;
    align-items: center;
    justify-content: center;
}

.anvu-km-title {
    font-weight: 900;
    letter-spacing: .2px;
}

.anvu-km-sub {
    font-size: 12px;
    opacity: .95;
}

.anvu-km-right {
    min-width: 170px;
    text-align: right;
    color: #fff;
}

.anvu-count-title {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 800;
    opacity: .95;
}

.anvu-count-sub {
    margin-top: 4px;
    font-size: 11px;
    opacity: .95;
}

.anvu-digital {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .35);
    font-weight: 900;
}

.anvu-dig {
    width: 34px;
    padding: 4px 0;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.anvu-sep {
    font-weight: 900;
}

.anvu-km-box {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #fde68a;
    border-radius: 14px;
    background: #fff;
}

.anvu-km-box-title {
    padding: 12px 12px 0;
    font-weight: 900;
    color: #111827;
}

.anvu-km-box-note {
    padding: 2px 12px 10px;
    font-size: 12px;
    color: #6b7280;
}

.anvu-km-list a {
    color: #1a73e8;
    font-weight: 800;
    text-decoration: none;
}

    .anvu-km-list a:hover {
        text-decoration: underline;
    }

.anvu-km-foot {
    padding: 10px 12px;
    border-top: 1px solid #fde68a;
    background: #fff7ed;
    color: #b45309;
    font-size: 12px;
}

/* Promo list wrapper */
ol.anvu-km-list {
    margin: 0;
    padding: 0 12px 10px;
    list-style: none;
}

    ol.anvu-km-list > ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        ol.anvu-km-list > ul > li {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 9px 0;
            border-bottom: 1px solid rgba(0, 0, 0, .08);
            color: #344054;
            font-size: 14px;
            line-height: 1.35;
        }

            ol.anvu-km-list > ul > li:last-child {
                border-bottom: 0;
            }

            ol.anvu-km-list > ul > li > .n {
                flex: 0 0 28px;
                width: 24px;
                height: 24px;
                margin-top: 1px;
                border-radius: 999px;
                background: #2f7cf6;
                color: #fff;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                font-weight: 700;
                line-height: 1;
            }

            ol.anvu-km-list > ul > li > div {
                flex: 1 1 auto;
                min-width: 0;
                margin: 0;
            }

/* Gift list */
.anvu-km-gift {
    padding: 6px 12px 12px;
    border-top: 1px solid #f3f4f6;
}

.anvu-km-gift-title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 900;
    color: #111827;
}

.anvu-km-gift-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.anvu-km-gift-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

    .anvu-km-gift-item:hover {
        cursor: pointer;
        border-color: #6b7280;
    }

.anvu-km-gift-img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .anvu-km-gift-img img {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

.anvu-km-gift-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    color: #111827;
}

/* Ship line / CTA / contact */
.anvu-shipline {
    padding: 0 14px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    font-weight: 800;
}

    .anvu-shipline a {
        color: #1a73e8;
        text-decoration: none;
    }

        .anvu-shipline a:hover {
            text-decoration: underline;
        }

.anvu-cta {
    padding: 0 14px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.anvu-cta-cart {
    padding: 12px 10px;
    border: 1px solid #93c5fd;
    border-radius: 12px;
    background: #fff;
    color: #1a73e8;
    font-weight: 900;
}

.anvu-cta-buy {
    padding: 12px 10px;
    border: 0;
    border-radius: 12px;
    background: #f97316;
    color: #fff;
    font-weight: 900;
}

.anvu-cta-install {
    width: calc(100% - 28px);
    margin: 0 14px 12px;
    padding: 12px;
    border: 0;
    border-radius: 12px;
    background: #3b82f6;
    color: #fff;
    font-weight: 900;
    text-align: center;
}

.anvu-cta-sub {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    opacity: .95;
}

.anvu-contact-grid {
    padding: 0 14px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.anvu-contact-item {
    padding: 10px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

    .anvu-contact-item span {
        display: block;
        margin-top: 2px;
        font-size: 12px;
        font-weight: 700;
        opacity: .95;
    }

    .anvu-contact-item:nth-child(1) {
        background: #2563eb;
    }

    .anvu-contact-item:nth-child(2) {
        background: #60a5fa;
    }

    .anvu-contact-item:nth-child(3) {
        background: #3b82f6;
    }

    .anvu-contact-item:nth-child(4) {
        background: #93c5fd;
    }

    .anvu-contact-item i {
        margin-right: 8px;
    }

.anvu-eta {
    margin: 10px 14px 0;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .anvu-eta i {
        margin-top: 2px;
        color: #1a73e8;
    }

.anvu-eta-title {
    font-weight: 900;
    color: #111827;
}

.anvu-eta-sub {
    margin-top: 2px;
    font-size: 12px;
    color: #374151;
}

/* =========================
   ADDRESS MODAL
   ========================= */
#anvuAddressModal .modal-dialog {
    max-width: 760px;
}

.anvu-addr-modal {
    overflow: hidden;
    border: 0;
    border-radius: 16px;
}

.anvu-addr-head {
    position: relative;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anvu-addr-title {
    font-size: 18px;
    font-weight: 900;
    color: #111827;
}

.anvu-addr-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .anvu-addr-close:hover {
        background: #f3f4f6;
    }

.anvu-addr-body {
    padding: 14px 18px 0;
    background: #fff;
}

.anvu-addr-picked {
    padding-bottom: 10px;
}

.anvu-addr-picked-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.anvu-addr-picked-label {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
}

.anvu-addr-reset {
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

    .anvu-addr-reset:hover {
        text-decoration: underline;
    }

.anvu-addr-step {
    position: relative;
    padding-left: 36px;
}

.anvu-addr-dotline {
    position: absolute;
    left: 13px;
    top: 6px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: #e5e7eb;
}

.anvu-addr-step-row {
    position: relative;
    padding: 8px 0 12px;
}

.anvu-addr-dot {
    position: absolute;
    left: -27px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #9ca3af;
}

.anvu-addr-step-row:first-child .anvu-addr-dot {
    background: #1a73e8;
}

.anvu-addr-step-title {
    font-size: 15px;
    font-weight: 900;
    color: #111827;
}

.anvu-addr-step-sub {
    margin-top: 2px;
    font-size: 13px;
    color: #94a3b8;
}

.anvu-addr-form {
    margin-top: 6px;
}

.anvu-addr-form-label {
    margin-bottom: 8px;
    font-weight: 900;
    color: #111827;
}

.anvu-addr-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

    .anvu-addr-input:focus {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
    }

    .anvu-addr-input.is-invalid {
        border-color: #ef4444 !important;
        box-shadow: none !important;
    }

.anvu-addr-error {
    margin-top: 8px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
}

.anvu-addr-searchbar {
    position: relative;
    margin-top: 12px;
}

.anvu-addr-search {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

    .anvu-addr-search:focus {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
    }

.anvu-addr-searchbar i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.anvu-addr-hint {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
}

.anvu-addr-list {
    margin-top: 8px;
    max-height: 200px;
    overflow: auto;
    padding-right: 6px;
    border-top: 1px solid #eef2f7;
}

.anvu-addr-item {
    padding: 14px 10px;
    border-bottom: 1px solid #eef2f7;
    cursor: pointer;
}

    .anvu-addr-item:hover {
        background: #f8fafc;
    }

    .anvu-addr-item .t {
        font-size: 15px;
        font-weight: 900;
        color: #111827;
    }

    .anvu-addr-item .s {
        margin-top: 2px;
        font-size: 13px;
        color: #94a3b8;
    }

.anvu-addr-foot {
    padding: 14px 18px 18px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

.anvu-addr-confirm {
    width: 100%;
    padding: 14px 12px;
    border: 0;
    border-radius: 12px;
    background: #2f80ed;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

    .anvu-addr-confirm:hover {
        filter: brightness(.98);
    }

.anvu-addr-list::-webkit-scrollbar {
    width: 8px;
}

.anvu-addr-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.anvu-addr-list::-webkit-scrollbar-track {
    background: transparent;
}

/* overlay fix */
.anvu-snow,
.snow,
.overlay,
.bg-overlay {
    pointer-events: none !important;
}

/* =========================
   ALSO BUY SLIDER
   ========================= */
.anvu-also {
    padding: 14px;
    border: 1px solid #eef2f7;
    border-radius: 3px;
    background: #fff;
}

.anvu-also-head {
    margin-bottom: 10px;
}

.anvu-also-title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: #111827;
}

.anvu-also-slider {
    position: relative;
}

.anvu-also-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 6px 15px;
    scrollbar-width: none;
}

    .anvu-also-track::-webkit-scrollbar {
        display: none;
    }

.anvu-also-card {
    flex: 0 0 calc((100% - (14px * 4)) / 5);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff;
    display: block;
    color: inherit;
    text-decoration: none;
}

.anvu-also-top {
    position: relative;
    height: 260px;
    padding: 14px 14px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.anvu-also-img {
    display: block;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.anvu-also-icons {
    position: absolute;
    right: 10px;
    top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.anvu-also-ico {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7280;
}

    .anvu-also-ico i {
        color: #9ca3af;
    }

.anvu-also-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .10);
}

    .anvu-also-badge.orange {
        background: #f97316;
    }

    .anvu-also-badge.purple {
        background: #6d28d9;
    }

.anvu-also-tag {
    position: absolute;
    left: 12px;
    bottom: 44px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.anvu-also-name {
    min-height: 42px;
    padding: 8px 14px 0;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.anvu-also-spec {
    margin: 8px 14px 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    display: inline-block;
}

.anvu-also-sub {
    padding: 6px 14px 0;
    color: #f97316;
    font-size: 12px;
    font-weight: 800;
}

.anvu-also-price {
    padding: 10px 14px 0;
}

.anvu-also-new {
    color: #ef4444;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.anvu-also-old-row {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.anvu-also-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 700;
}

.anvu-also-off {
    color: #ef4444;
    font-size: 12px;
    font-weight: 900;
}

.anvu-also-meta {
    padding: 10px 14px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.anvu-star {
    color: #111827;
    font-weight: 900;
}

    .anvu-star i {
        color: #f59e0b;
    }

.anvu-dot {
    color: #cbd5e1;
}

.anvu-also-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .anvu-also-nav i {
        color: #9ca3af;
        font-size: 16px;
    }

    .anvu-also-nav.prev {
        left: 6px;
    }

    .anvu-also-nav.next {
        right: 6px;
    }

    .anvu-also-nav[disabled] {
        opacity: .4;
        cursor: default;
    }

/* =========================
   GIFT MODAL PREVIEW
   ========================= */
.anvu-gift-modal {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
}

.anvu-gift-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.anvu-gift-main {
    position: relative;
    height: calc(70vh - 110px);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.anvu-gift-stage {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .anvu-gift-stage img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        user-select: none;
        -webkit-user-drag: none;
    }

.anvu-gift-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .anvu-gift-nav.prev {
        left: 16px;
    }

    .anvu-gift-nav.next {
        right: 16px;
    }

.anvu-gift-caption {
    padding: 12px 18px 18px;
    text-align: center;
}

.anvu-gift-title {
    margin-bottom: 6px;
    font-weight: 600;
}

.anvu-gift-sub {
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.anvu-gift-link {
    display: inline-block;
    margin-left: 6px;
    font-size: 13px;
}

/* =========================
   MISC
   ========================= */
.anvu-fly-img {
    position: fixed;
    z-index: 999999;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    pointer-events: none;
    will-change: transform, opacity;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

.anvu-cart-bump {
    transform: scale(1.15);
    transition: transform 150ms ease;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1199.98px) {
    .anvu-also-card {
        flex-basis: calc((100% - (14px * 3)) / 4);
    }
}

@media (max-width: 991.98px) {
    .anvu-pd-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .anvu-pd-badges {
        justify-content: flex-start;
    }

    .anvu-pd-detail-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .anvu-pd-slot-gallery,
    .anvu-pd-slot-buybox,
    .anvu-pd-slot-commit,
    .anvu-pd-slot-tabs,
    .anvu-pd-slot-reviews,
    .anvu-pd-slot-review-form {
        grid-column: auto;
        grid-row: auto;
    }

    .anvu-box-sticky {
        position: static;
        top: auto;
    }

    .anvu-gallery-main {
        height: 380px;
    }

    .anvu-gm-img img {
        max-width: 86%;
    }

 

    .anvu-km-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .anvu-km-right {
        min-width: 0;
        width: 100%;
        text-align: left;
    }

    .anvu-also-track {
        padding: 6px 30px;
    }

    .anvu-also-card {
        flex-basis: calc((100% - (14px * 2)) / 3);
    }
}

@media (max-width: 767.98px) {
    .anvu-region-card .anvu-price-new{font-size:16px}
    .anvu-spec-row {
        grid-template-columns: 100px 1fr;
    }
    .anvu-commit-grid {
        grid-template-columns: 1fr;
    }

    .anvu-commit-item:nth-child(odd) {
        border-right: none;
    }

    .anvu-g-thumb {
        flex-basis: calc((100% - (5 * 8px)) / 6);
        max-width: calc((100% - (5 * 8px)) / 6);
    }

    .anvu-buy-meta {
        gap: 6px 12px;
    }

    .anvu-km-gift-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .anvu-also-card {
        flex-basis: calc((100% - 14px) / 2);
    }
}

@media (max-width: 575.98px) {
    .anvu-max-1200 {
        padding: 12px 8px;
        border-radius: 14px;
    }

    .anvu-pd-detail-grid {
        gap: 12px;
    }

    .anvu-gallery,
    .anvu-commit,
    .anvu-pd-tabs {
        border-radius: 16px;
    }

    .anvu-gallery-main {
        height: 320px;
    }

    .anvu-g-btn {
        width: 40px;
        height: 40px;
    }

        .anvu-g-btn.prev {
            left: 10px;
        }

        .anvu-g-btn.next {
            right: 10px;
        }

    .anvu-gm-main {
        min-height: 420px;
    }

    .anvu-tabs-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .anvu-tab-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .anvu-config-grid {
        grid-template-columns: 1fr;
    }

    .anvu-cta {
        grid-template-columns: 1fr;
    }

    .anvu-contact-grid {
        grid-template-columns: 1fr;
    }

    .anvu-km-gift-list {
        grid-template-columns: 1fr;
    }

    .anvu-km-gift-item {
        padding: 10px;
    }

    .anvu-km-gift-img {
        width: 54px;
        height: 54px;
    }

    .anvu-also-top {
        height: 220px;
    }

    #anvuAddressModal .modal-dialog {
        margin: 10px;
    }

    .anvu-addr-body {
        padding: 12px 12px 0;
    }

    .anvu-addr-foot {
        padding: 12px;
    }

    .anvu-addr-list {
        max-height: 45vh;
    }
}
/* =========================
   INFO PREVIEW / XEM THÊM
   ========================= */
.anvu-info-preview {
    --collapsed-height: 220px;
    position: relative;
    border-radius: 14px;
    background: #fff;
}

    .anvu-info-preview[data-collapsed-height="220"] {
        --collapsed-height: 220px;
    }

.anvu-info-text {
    font-size: 14px;
    line-height: 1.75;
    color: #374151;
    transition: max-height .35s ease;
}

.anvu-info-preview.is-collapsed .anvu-info-text {
    max-height: var(--collapsed-height);
    overflow: hidden;
}

.anvu-info-preview.is-expanded .anvu-info-text {
    max-height: none;
    overflow: visible;
}

/* nội dung html bên trong */
.anvu-info-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.anvu-info-text h2,
.anvu-info-text h3,
.anvu-info-text h4 {
    color: #111827;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 12px;
}

.anvu-info-text h2 {
    font-size: 22px;
}

.anvu-info-text h3 {
    font-size: 20px;
}

.anvu-info-text h4 {
    font-size: 18px;
}

.anvu-info-text p,
.anvu-info-text ul,
.anvu-info-text ol,
.anvu-info-text table,
.anvu-info-text blockquote {
    margin-bottom: 14px;
}

.anvu-info-text table {
    width: 100%;
    border-collapse: collapse;
}

    .anvu-info-text table th,
    .anvu-info-text table td {
        border: 1px solid #e5e7eb;
        padding: 10px;
        vertical-align: top;
    }

/* lớp mờ dưới cùng */
.anvu-info-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 54px;
    height: 96px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}

.anvu-info-preview.is-collapsed .anvu-info-fade {
    opacity: 1;
}

.anvu-info-preview.is-expanded .anvu-info-fade {
    opacity: 0;
}

/* vùng nút */
.anvu-info-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    background: #f3f4f6;
    border-radius: 0 0 14px 14px;
}

.anvu-info-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #1a73e8;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    padding: 10px 16px;
}

    .anvu-info-toggle i {
        font-size: 13px;
        transition: transform .25s ease;
    }

.anvu-info-preview.is-expanded .anvu-info-toggle i {
    transform: rotate(180deg);
}

/* khi nội dung ngắn thì ẩn cả vùng actions */
.anvu-info-preview.is-short .anvu-info-fade,
.anvu-info-preview.is-short .anvu-info-actions {
    display: none;
}

@media (max-width: 767.98px) {
    .anvu-info-text {
        font-size: 14px;
        line-height: 1.7;
    }

        .anvu-info-text h2 {
            font-size: 20px;
        }

        .anvu-info-text h3 {
            font-size: 18px;
        }

        .anvu-info-text h4 {
            font-size: 17px;
        }

    .anvu-info-fade {
        height: 86px;
    }

    .anvu-info-toggle {
        font-size: 14px;
    }
}


/*sản phẩm đã xem*/

/* =========================
   RIGHT SIDEBAR - RECENT VIEWED
   ========================= */
.anvu-pd-slot-recent {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
}

.anvu-pd-slot-reviews {
    grid-column: 1 ;
    grid-row: 5;
}

.anvu-pd-slot-review-form {
    grid-column: 1 / -1;
    grid-row: 6;
}

@media (max-width: 991.98px) {
    .anvu-pd-slot-recent,
    .anvu-pd-slot-reviews,
    .anvu-pd-slot-review-form {
        grid-column: auto;
        grid-row: auto;
    }
}
.anvu-recent-box {
    padding: 14px;
    border: 1px solid #e9edf3;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 26px rgba(16, 24, 40, 0.06);
}

.anvu-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.anvu-recent-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    color: #1f2937;
}

.anvu-recent-clear {
    border: 0;
    background: transparent;
    padding: 0;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s ease;
}

    .anvu-recent-clear:hover {
        color: #667085;
    }

.anvu-recent-list {
    display: grid;
    gap: 14px;
}

.anvu-recent-item {
    position: relative;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    background: #f8f8f8;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .anvu-recent-item:hover {
        transform: translateY(-2px);
        border-color: #cfd8e3;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

.anvu-recent-link {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px 18px 18px 16px;
    text-decoration: none;
    color: inherit;
}

.anvu-recent-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

    .anvu-recent-thumb img {
        display: block;
        width: 72px;
        height: 112px;
        object-fit: contain;
    }

.anvu-recent-body {
    min-width: 0;
    padding-right: 34px;
}

.anvu-recent-name {
    margin: 0 0 12px;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.anvu-recent-price {
    color: #ef4444;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .2px;
}

.anvu-recent-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #98a2b3;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .anvu-recent-remove:hover {
        background: #667085;
        transform: scale(1.05);
    }

    .anvu-recent-remove i {
        font-size: 14px;
        line-height: 1;
    }

/* compact desktop vừa */
@media (max-width: 1199.98px) {
    .anvu-recent-title {
        font-size: 18px;
    }

    .anvu-recent-link {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;
        padding: 16px 16px 16px 14px;
    }

    .anvu-recent-thumb img {
        width: 64px;
        height: 102px;
    }

    .anvu-recent-name {
        font-size: 16px;
    }

    .anvu-recent-price {
        font-size: 17px;
    }
}

/* tablet + mobile */
@media (max-width: 991.98px) {
    .anvu-recent-box {
        border-radius: 16px;
        padding: 12px;
    }

    .anvu-recent-title {
        font-size: 17px;
    }

    .anvu-recent-list {
        gap: 12px;
    }

    .anvu-recent-item {
        border-radius: 16px;
    }

    .anvu-recent-link {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }
    .anvu-region-grid {
        gap: 3px;
    }

    .anvu-region-head {
        font-size: 10px
    }
    .anvu-recent-thumb img {
        width: 56px;
        height: 88px;
    }

    .anvu-recent-body {
        padding-right: 30px;
    }

    .anvu-recent-name {
        margin-bottom: 8px;
        font-size: 15px;
    }

    .anvu-recent-price {
        font-size: 16px;
    }

    .anvu-recent-remove {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
}

/* mobile nhỏ */
@media (max-width: 575.98px) {
    .anvu-recent-head {
        margin-bottom: 12px;
    }

    .anvu-recent-title {
        font-size: 16px;
    }

    .anvu-recent-clear {
        font-size: 12px;
    }

    .anvu-recent-link {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .anvu-recent-thumb img {
        width: 50px;
        height: 80px;
    }

    .anvu-recent-name {
        font-size: 14px;
        line-height: 1.4;
    }

    .anvu-recent-price {
        font-size: 15px;
    }
}