:root {
  --body-font: "Open Sans", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --theme-color: #FF6B35;
  --theme-color2: #D94E1D;
  --theme-color3: #4CAF50;
  --theme-color4: #29862d;
  --khung: 50px;
  --bg: 80px;
} 

body {
  font-family: var(--body-font);
  font-style: normal;
  font-size: 16px;
  font-weight: normal;
  color: var(--body-text-color);
  line-height: 1.8;
  top: 0 !important;
  overflow-x: hidden;
}

a {
  color:  var(--color-dark);
  display: inline-block;
  text-decoration: none;
}

a,
a:active,
a:focus,
a:hover {
  outline: none;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  text-decoration: none;
}

a:hover {
  color: var(--color-blue);
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}
.bg{background: linear-gradient(90deg, #ff885d12 0%, #ffa98914 100%), #FFF;padding: var(--bg) 0 !important}
/* thông báo */
.wrapthongbao {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: #f8fafc;
            min-height: 100vh;
            display: flex;
            align-items: center;
            color: #1e293b;
            overflow-x: hidden;
        }

        .wrapthongbao .lux-hero-section { width: 100%; padding: 80px 0; }

        .wrapthongbao .lux-badge {
            background: rgba(79, 70, 229, 0.1);
            color: #4f46e5;
            padding: 10px 20px;
            border-radius: 100px;
            font-weight: 700;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 2rem;
            display: inline-block;
        }

        .wrapthongbao .lux-title {
            font-weight: 800;
            font-size: 3.8rem;
            letter-spacing: -0.04em;
            color: #0f172a;
            margin-bottom: 1.5rem;
        }

        .wrapthongbao .lux-subtitle {
            font-size: 1.25rem;
            color: #64748b;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Buttons Styles không copy*/
        .wrapthongbao .lux-btn {
            padding: 16px 32px;
            font-weight: 700;
            border-radius: 16px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: none;
            display: flex;
            align-items: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .wrapthongbao .lux-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .wrapthongbao .lux-btn-confirm-demo { background-color: #0ea5e9; color: white; }
        .wrapthongbao .lux-btn-primary { background-color: #4f46e5; color: white; }
        .wrapthongbao .lux-btn-success { background-color: #10b981; color: white; }
        .wrapthongbao .lux-btn-error { background-color: #ef4444; color: white; }
        /* end không copy */
        /* Modal Core CSS */
        .wrapthongbao .lux-modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(12px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .wrapthongbao .lux-modal-card {
            background: #ffffff;
            width: 100%;
            max-width: 460px;
            border-radius: 32px;
            padding: 48px 40px;
            text-align: center;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            animation: luxSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        @keyframes luxSlideUp {
            from { opacity: 0; transform: translateY(30px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        /* Loading Spinner */
        .wrapthongbao .lux-spinner-wrapper {
            display: flex; justify-content: center; margin-bottom: 24px;
        }

        .wrapthongbao .lux-spinner {
            width: 70px; height: 70px;
            border: 6px solid #f1f5f9;
            border-top: 6px solid #4f46e5;
            border-radius: 50%;
            animation: luxSpin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
        }

        @keyframes luxSpin { 100% { transform: rotate(360deg); } }

        /* Icons Styles */
        .wrapthongbao .lux-modal-icon-wrapper {
            width: 88px; height: 88px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 28px;
            font-size: 36px;
            transition: all 0.3s ease;
        }

        .wrapthongbao .lux-modal-body #lux-modal-title {
            font-weight: 800; font-size: 1.75rem;
            color: #0f172a; margin-bottom: 12px;
            letter-spacing: -0.02em;
        }

        .wrapthongbao .lux-modal-body p {
            color: #64748b; font-size: 1.1rem;
            line-height: 1.6; margin-bottom: 35px;
        }

        .wrapthongbao .lux-modal-footer {
            display: flex; gap: 16px; justify-content: center;
        }

        .wrapthongbao .lux-modal-btn {
            padding: 16px 24px;
            border-radius: 18px;
            font-weight: 700;
            transition: all 0.3s;
            cursor: pointer;
            border: none;
            flex: 1;
            font-size: 1rem;
        }

        .wrapthongbao .lux-modal-btn-confirm { background-color: #4f46e5; color: white; }
        .wrapthongbao .lux-modal-btn-confirm:hover { background-color: #4338ca; transform: translateY(-2px); }

        .wrapthongbao .lux-modal-btn-cancel { background-color: #f1f5f9; color: #64748b; }
        .wrapthongbao .lux-modal-btn-cancel:hover { background-color: #e2e8f0; color: #1e293b; }

        /* Contextual Colors */
        .wrapthongbao .lux-icon-success { background-color: #ecfdf5; color: #10b981; }
        .wrapthongbao .lux-icon-error { background-color: #fef2f2; color: #ef4444; }
        .wrapthongbao .lux-icon-warning { background-color: #fffbeb; color: #f59e0b; }
        .wrapthongbao .lux-icon-confirm { background-color: #f0f9ff; color: #0ea5e9; }

        /* Pulse Animation for Icons */
        .wrapthongbao .lux-modal-icon-wrapper i {
            animation: luxIconScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        @keyframes luxIconScale { from { transform: scale(0); } to { transform: scale(1); } }
        @media (max-width: 768px) {
            .wrapthongbao .lux-title { font-size: 2.2rem; }
            .wrapthongbao .lux-modal-card { padding: 40px 24px; border-radius: 24px; }
            .wrapthongbao .lux-modal-body h3 { font-size: 1.5rem; }
        }
        @media (max-width: 576px) {
            .wrapthongbao .lux-title { font-size: 1.8rem; }
            .wrapthongbao .lux-modal-footer { flex-direction: column-reverse; gap: 10px; }
            .wrapthongbao .lux-btn { width: 100%; justify-content: center; padding: 14px 20px; }
            .wrapthongbao .lux-modal-btn { width: 100%; }
            .wrapthongbao .lux-badge { font-size: 0.7rem; padding: 8px 16px; }
        }
/* reset content */
 .resetcontent *:not(.noreset):not(.noreset *) {
    box-sizing: border-box;
}

.resetcontent h1:not(.noreset *) {
    font-family: var(--heading-font);
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.25;
    font-weight: 800;
    font-size: 2.75rem !important;
    margin-top: 0;
    letter-spacing: -0.04em;
}

.resetcontent h2:not(.noreset *) {
    font-family: var(--heading-font);
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-size: 25px;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}

.resetcontent h2:not(.noreset *)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-color2));
    border-radius: 2px;
}

.resetcontent h3:not(.noreset *) {
    font-family: var(--heading-font);
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.25;
    font-size: 20px;
    font-weight: 700;
}

.resetcontent h4:not(.noreset *) {
    font-family: var(--heading-font);
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.25;
    font-size: 1.25rem !important;
    font-weight: 600;
}

.resetcontent p:not(.noreset *) {
    margin-bottom: 14px;
    font-size: 17px;
    color: #131313;
    line-height: 34px;
}

.resetcontent strong:not(.noreset *), 
.resetcontent b:not(.noreset *) {
    font-weight: 700;
    color: #1c1c1c;
    font-family: var(--heading-font);
}

.resetcontent a:not(.noreset *) {
    color: var(--theme-color) !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #ffc5b0;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 -2px 0 #ffc064;
}

.resetcontent a:not(.noreset *):hover {
    color: var(--theme-color) !important;
    box-shadow: inset 0 -20px 0 #ffe2b757;
    border-bottom-color: transparent;
}

.resetcontent ul:not(.noreset *), 
.resetcontent ol:not(.noreset *) {
    padding-left: 0;
    margin-bottom: 9px;
    list-style: none;
}

.resetcontent ul:not(.noreset *) li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0px;
    line-height: 32px;
    color: #131313;
}

.resetcontent ul:not(.noreset *) li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--theme-color3);
    box-shadow: 0 0 0 3px #d2ffd4;
}

.resetcontent ol:not(.noreset *) { 
    counter-reset: my-counter; 
}

.resetcontent ol:not(.noreset *) li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
}

.resetcontent ol:not(.noreset *) li::before {
    counter-increment: my-counter;
    content: counter(my-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-weight: 700;
}

.resetcontent img:not(.noreset *) {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resetcontent img:not(.noreset *):hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
}

.resetcontent figure:not(.noreset *) {
    margin: 2.5rem 0;
    width: 100%;
}

.resetcontent figcaption:not(.noreset *) {
    margin-top: 12px;
    text-align: center;
    font-size: 0.9rem !important;
    color: #64748b;
    font-style: italic;
}

.resetcontent blockquote:not(.noreset *) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.6;
}

.resetcontent .table-wrapper:not(.noreset *) {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 0 0 1px #e2e8f0;
    margin: 2rem 0;
}

.resetcontent table:not(.noreset *) {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.resetcontent th:not(.noreset *) {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.resetcontent td:not(.noreset *) {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem !important;
    color: #334155;
    vertical-align: middle;
}

.resetcontent .noidungbg:not(.noreset *) {
    background: #f8fafc;
    border-left: 4px solid #334155;
    padding: 2rem;
    border-radius: 4px 12px 12px 4px;
    margin-bottom: 2.5rem;
}

.resetcontent .myclass:not(.noreset *) {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    box-shadow: 0 4px 15px -3px rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0 !important;
    color: #1e40af;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.resetcontent iframe:not(.noreset *) {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* detail sản phẩm */
.wrap-detailhai { font-family: 'Plus Jakarta Sans', sans-serif; background-color: #f8f9fa; padding: 40px 0; color: #1a1a1a; }
        .wrap-detailhai .container-product { background: #ffffff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 40px; border: 1px solid rgba(0,0,0,0.02); }

        /* ================= GALLERY NGOÀI ================= */
        .wrap-detailhai .product-gallery-container { position: sticky; top: 20px; }
        .wrap-detailhai .swiper-main { width: 100%; height: 500px; border-radius: 8px; overflow: hidden; background: #000; border: 1px solid #f0f0f0; display: flex; align-items: center; }
        .wrap-detailhai .swiper-main .swiper-slide { display: flex; align-items: center; justify-content: center; background: #fff; width: 100%; height: 100%; }
        .wrap-detailhai .swiper-main .swiper-slide-video { background: #000; }
        .wrap-detailhai .swiper-main img { width: 100%; height: 100%; object-fit: contain; }
        
        .wrap-detailhai .plyr { width: 100%; height: 100%; }
        .wrap-detailhai .plyr__video-wrapper { height: 100%; }

        .wrap-detailhai .swiper-main .zoomable-img { cursor: zoom-in; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
        .wrap-detailhai .swiper-main .zoomable-img:hover { transform: scale(1.05); }
        
        .wrap-detailhai .swiper-thumbs { margin-top: 15px; height: 90px; position: relative; padding: 0 5px; }
        .wrap-detailhai .swiper-thumbs .swiper-slide { width: 90px; height: 90px; cursor: pointer; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: 0.6; transition: 0.3s; position: relative; }
        .wrap-detailhai .swiper-thumbs .swiper-slide-thumb-active { border-color: #ff4d2d; opacity: 1; transform: translateY(-2px); }
        .wrap-detailhai .swiper-thumbs img { width: 100%; height: 100%; object-fit: cover; }

        .wrap-detailhai .swiper-thumbs .swiper-button-next,
        .wrap-detailhai .swiper-thumbs .swiper-button-prev {
            width: 28px;
            height: 28px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            color: #ff4d2d;
            top: 50%;
            transform: translateY(-50%);
            margin-top: 0;
            z-index: 10;
        }
        .wrap-detailhai .swiper-thumbs .swiper-button-next::after,
        .wrap-detailhai .swiper-thumbs .swiper-button-prev::after { font-size: 12px; font-weight: 800; }
        .wrap-detailhai .swiper-thumbs .swiper-button-prev { left: 0px; }
        .wrap-detailhai .swiper-thumbs .swiper-button-next { right: 0px; }
        .wrap-detailhai .swiper-thumbs .swiper-button-disabled { display: none; }

        .wrap-detailhai .video-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255, 255, 255, 0.9); font-size: 24px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); pointer-events: none; z-index: 2; }

        /* ================= PRODUCT INFO ================= */
        .wrap-detailhai .badge-mall { background: linear-gradient(135deg, #d0011b 0%, #ff4d2d 100%); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; font-weight: 700; margin-right: 10px; box-shadow: 0 2px 5px rgba(208, 1, 27, 0.2); }
        .wrap-detailhai .product-title { font-size: 26px; font-weight: 700; line-height: 1.4; margin-bottom: 20px; color: #1a1a1a; letter-spacing: -0.5px; }
        .wrap-detailhai .stats-row { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
        .wrap-detailhai .stat-item { display: flex; align-items: center; font-size: 15px; color: #666666; }
        .wrap-detailhai .stat-rating { color: #ff4d2d; font-weight: 700; font-size: 18px; margin-right: 5px; border-bottom: 2px solid #ff4d2d; }
        .wrap-detailhai .stars { color: #ffc107; margin-right: 8px; }
        .wrap-detailhai .sold-count { color: #1a1a1a; font-weight: 700; margin-right: 4px; }
        
        .wrap-detailhai .flash-sale-banner { background: linear-gradient(90deg, #ff5722, #ff7b00); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border-radius: 8px 8px 0 0; color: white; }
        .wrap-detailhai .flash-sale-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-style: italic; font-size: 20px; text-transform: uppercase; }
        .wrap-detailhai .flash-sale-title i { font-size: 24px; color: #fffb00; }
        .wrap-detailhai .countdown-wrap { display: flex; align-items: center; gap: 8px; font-family: monospace; font-size: 16px; }
        .wrap-detailhai .countdown-label { font-size: 12px; font-weight: 600; text-transform: uppercase; font-family: 'Plus Jakarta Sans', sans-serif;}
        .wrap-detailhai .time-box { background: #1a1a1a; color: white; padding: 3px 8px; border-radius: 4px; font-weight: 700; min-width: 30px; text-align: center; letter-spacing: 1px;}
        
        .wrap-detailhai .price-section { background: #fff5f1; padding: 20px 30px; margin-bottom: 25px; display: flex; align-items: center; border-radius: 0 0 8px 8px; }
        .wrap-detailhai .old-price { text-decoration: line-through; color: #adb5bd; font-size: 18px; margin-right: 15px; }
        .wrap-detailhai .current-price { font-size: 36px; color: #ff4d2d; font-weight: 800; letter-spacing: -1px; }
        .wrap-detailhai .discount-label { background: #ff4d2d; color: #fff; font-size: 13px; padding: 4px 10px; font-weight: 700; border-radius: 20px; margin-left: 20px; text-transform: uppercase; }
        
        .wrap-detailhai .attr-row { display: flex; margin-bottom: 25px; align-items: flex-start; }
        .wrap-detailhai .attr-label { width: 120px; color: #888; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding-top: 10px; }
        .wrap-detailhai .attr-content { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; }
        
        .wrap-detailhai .brand-link { color: #2673dd; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; }
        .wrap-detailhai .brand-link:hover { color: #ff4d2d; text-decoration: underline; }

        .wrap-detailhai .option-btn { position: relative; padding: 10px 20px; border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); color: #444; }
        .wrap-detailhai .option-btn:hover { border-color: #ff4d2d; color: #ff4d2d; background: #fff5f1; }
        .wrap-detailhai .option-btn.active { border-color: #ff4d2d; color: #ff4d2d; background: #fff; box-shadow: 0 0 0 1px #ff4d2d; }
        .wrap-detailhai .option-btn.active::after { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; bottom: 0; right: 0; background: #ff4d2d; color: #fff; font-size: 10px; padding: 2px 4px; border-radius: 4px 0 4px 0; line-height: 1; }
        
        .wrap-detailhai .btn-quick-spec { background: none; border: none; color: #2673dd; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; padding: 0; margin-top: 12px; transition: 0.2s; cursor: pointer; text-decoration: none; }
        .wrap-detailhai .btn-quick-spec:hover { color: #ff4d2d; text-decoration: none; }
        .wrap-detailhai .qty-input { display: flex; align-items: center; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 2px; width: fit-content; }
        .wrap-detailhai .qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #fff; border: none; cursor: pointer; color: #1a1a1a; transition: 0.2s; }
        .wrap-detailhai .qty-btn:hover { color: #ff4d2d; }
        .wrap-detailhai .qty-val { width: 50px; background: transparent; border: none; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; text-align: center; font-weight: 600; font-size: 16px; outline: none; }
        .wrap-detailhai .action-btns { margin-top: 40px; display: flex; gap: 20px; }
        .wrap-detailhai .btn-cart { padding: 16px 30px; border: 1px solid #ff4d2d; background: #ffeee8; color: #ff4d2d; border-radius: 4px; font-weight: 600; flex: 1; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .wrap-detailhai .btn-cart:hover { background: #ffdfd4; }
        .wrap-detailhai .btn-buy { padding: 16px 60px; background: #ff4d2d; color: #fff; border: none; border-radius: 4px; font-weight: 600; flex: 1.5; transition: all 0.3s; }
        .wrap-detailhai .btn-buy:hover { background: #f03e1e; }

        /* ================= MODAL MEDIA ================= */
        .wrap-detailhai .modal-custom-product { max-width: 1000px; }
        .wrap-detailhai .modal-content { border-radius: 12px; border: none; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
        .wrap-detailhai .modal-close-shopee { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; z-index: 1000; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); color: #333; }
        .wrap-detailhai .modal-close-shopee:hover { background: #ff4d2d; color: #fff; }
        .wrap-detailhai .modal-left-view { background: #000; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 500px; position: relative; }
        .wrap-detailhai .modal-main-img { max-width: 100%; max-height: 550px; object-fit: contain; border-radius: 8px; background: #fff; }
        .wrap-detailhai .modal-main-video-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
        .wrap-detailhai .modal-right-info { padding: 30px; background: #fff; }
        
        /* === NÚT ĐIỀU HƯỚNG TRONG MODAL === */
        .wrap-detailhai .modal-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #333;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.2s;
        }
        .wrap-detailhai .modal-nav-btn:hover { background: #ff4d2d; color: #fff; }
        .wrap-detailhai .modal-prev { left: 20px; }
        .wrap-detailhai .modal-next { right: 20px; }

        .wrap-detailhai .modal-thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; max-height: 300px; overflow-y: auto; padding-right: 8px; scroll-behavior: smooth; }
        .wrap-detailhai .modal-thumb-item { aspect-ratio: 1/1; border-radius: 4px; overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; position: relative; }
        .wrap-detailhai .modal-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
        .wrap-detailhai .modal-thumb-item.active { border-color: #ff4d2d; }
        
        .wrap-detailhai .modal-thumb-grid::-webkit-scrollbar { width: 6px; }
        .wrap-detailhai .modal-thumb-grid::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
        .wrap-detailhai .modal-thumb-grid::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 10px; }
        .wrap-detailhai .modal-thumb-grid::-webkit-scrollbar-thumb:hover { background: #ff4d2d; }

        .wrap-detailhai .modal-info-box { margin-top: 30px; padding: 20px; background: #fbfbfb; border-radius: 8px; border: 1px dashed #e0e0e0; }

        /* ================= MODAL THÔNG SỐ KỸ THUẬT ================= */
        .wrap-detailhai #specsModal .modal-content { border-radius: 16px; padding: 10px 10px 20px 10px; }
        .wrap-detailhai #specsModal .modal-header { border-bottom: none; padding: 20px 24px 10px 24px; }
        .wrap-detailhai #specsModal .modal-title { font-size: 22px; font-weight: 700; color: #1a1a1a; }
        .wrap-detailhai #specsModal .btn-close { background-size: 14px; opacity: 0.5; transition: 0.2s; }
        .wrap-detailhai #specsModal .btn-close:hover { opacity: 1; }
        .wrap-detailhai #specsModal .modal-body { padding: 10px 24px 20px 24px; }
        .wrap-detailhai .spec-table-clean { width: 100%; }
        .wrap-detailhai .spec-table-clean td { padding: 12px 0; font-size: 15px; vertical-align: top; border-bottom: none; }
        .wrap-detailhai .spec-table-clean .spec-label { width: 40%; color: #555; font-weight: 400; padding-right: 15px; }
        .wrap-detailhai .spec-table-clean .spec-value { color: #1a1a1a; font-weight: 400; line-height: 1.5; }

        /* Animations */
        @keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        .wrap-detailhai .animate-entry { animation: slideInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
        .modal.fade .modal-dialog { transform: scale(0.95); transition: transform 0.3s ease-out; }
        .modal.show .modal-dialog { transform: scale(1); }
        @media (max-width: 768px) {
            .wrap-detailhai { padding: 15px 0; }
            .wrap-detailhai .container-product { padding: 15px; border-radius: 8px; }
            .wrap-detailhai .swiper-main { height: 350px; }
            .wrap-detailhai .modal-left-view { min-height: 300px; padding: 10px; }
            /* Thu nhỏ nút bấm prev/next trên mobile */
            .wrap-detailhai .modal-nav-btn { width: 32px; height: 32px; font-size: 14px; }
            .wrap-detailhai .modal-prev { left: 10px; }
            .wrap-detailhai .modal-next { right: 10px; }

            .wrap-detailhai .product-title { font-size: 18px; margin-bottom: 12px; }
            .wrap-detailhai .stats-row { gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
            .wrap-detailhai .stat-item { font-size: 13px; }
            .wrap-detailhai .flash-sale-title { font-size: 15px; }
            .wrap-detailhai .flash-sale-banner { padding: 8px 12px; }
            .wrap-detailhai .price-section { padding: 15px; flex-wrap: wrap; gap: 5px; }
            .wrap-detailhai .current-price { font-size: 24px; }
            .wrap-detailhai .old-price { font-size: 14px; }
            .wrap-detailhai .discount-label { margin-left: 0; font-size: 11px; padding: 2px 8px; }
            .wrap-detailhai .attr-row { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 15px; }
            .wrap-detailhai .attr-label { width: 100%; font-size: 12px; padding-top: 0; }
            .wrap-detailhai .option-btn { padding: 8px 15px; font-size: 13px; }
            .wrap-detailhai .action-btns { flex-direction: column; gap: 10px; margin-top: 25px; }
            .wrap-detailhai .btn-cart, .wrap-detailhai .btn-buy { padding: 12px; width: 100%; font-size: 15px; }
            .wrap-detailhai .countdown-label { display: none; }
            .wrap-detailhai .modal-thumb-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 200px;}
        }
        /* giỏ hàng */
        .wrapgiohang {
    background-color: #f8fafc;
    padding: 60px 0;
    color: #1e293b;
}
.wrapgiohang .cart-title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 40px;
}
.wrapgiohang .cart-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}
.wrapgiohang .cart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}
.wrapgiohang .min-w-0 {
    min-width: 0; /* Quan trọng: Ngăn không cho chữ dài đẩy vỡ layout flex */
}
.wrapgiohang .product-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.wrapgiohang .product-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e293b;
    line-height: 1.4;
    /* Cắt chữ nếu dài quá 2 dòng (Tùy chọn) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Attributes */
.wrapgiohang .product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.wrapgiohang .attr-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
}

/* Giá Tiền */
.wrapgiohang .cart-price-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wrapgiohang .price-row {
    display: flex;
    align-items: center;
}
.wrapgiohang .p-label {
    font-weight: 700;
    font-size: 14px;
    color: #475569;
    width: 45px;
    flex-shrink: 0;
}
.wrapgiohang .p-value {
    white-space: nowrap !important; /* QUAN TRỌNG: Cấm rớt dòng số tiền */
}

/* Các loại giá */
.wrapgiohang .txt-sale .p-value {
    font-weight: 800;
    color: #ef4444; 
    font-size: 18px;
}
.wrapgiohang .txt-normal .p-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 16px;
}
.wrapgiohang .txt-total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1; 
}
.wrapgiohang .txt-total .p-label {
    color: #0f172a;
}
.wrapgiohang .txt-total .p-value {
    font-weight: 800;
    color: #ef4444;
    font-size: 20px;
}

/* Nút số lượng */
.wrapgiohang .quantity-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.wrapgiohang .qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.wrapgiohang .qty-btn:hover { background: #4f46e5; color: #ffffff; }
.wrapgiohang .qty-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

/* Xóa */
.wrapgiohang .remove-item {
    color: #64748b;
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid #e2e8f0;
}
.wrapgiohang .remove-item:hover { background: #fee2e2; color: #ef4444; border-color: #fca5a5; }

/* Tóm tắt */
.wrapgiohang .summary-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 24px;
    padding: 35px;
    position: sticky;
    top: 40px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}
.wrapgiohang .summary-title { font-weight: 700; font-size: 20px; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.wrapgiohang .summary-item { display: flex; justify-content: space-between; margin-bottom: 15px; color: #cbd5e1; font-weight: 500; font-size: 15px; }
.wrapgiohang .summary-total { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 22px; font-weight: 800; color: #ffffff; }
.wrapgiohang .btn-checkout { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; border: none; padding: 16px; border-radius: 12px; width: 100%; font-weight: 700; margin-top: 25px; font-size: 16px; }

/* --- CSS DÀNH RIÊNG CHO MOBILE --- */
@media (max-width: 991px) {
    .wrapgiohang .summary-box { margin-top: 30px; }
}

@media (max-width: 576px) {
    .wrapgiohang { padding: 30px 0; }
    .wrapgiohang .cart-card { 
        padding: 15px; /* Thu hẹp padding của thẻ */
        border-radius: 16px;
    }
    
    /* Thu nhỏ Ảnh */
    .wrapgiohang .product-img { 
        width: 85px; 
        height: 85px; 
        border-radius: 10px;
    }
    
    /* Thu nhỏ Font Text chung */
    .wrapgiohang .product-name { 
        font-size: 14px; 
        margin-bottom: 6px;
    }
    .wrapgiohang .attr-tag {
        font-size: 12px;
        padding: 4px 10px;
        margin-bottom: 6px;
    }

    /* Thu nhỏ Khu vực Giá */
    .wrapgiohang .cart-price-info { gap: 4px; }
    .wrapgiohang .p-label { font-size: 13px; width: 40px; }
    .wrapgiohang .txt-sale .p-value { font-size: 15px; }
    .wrapgiohang .txt-normal .p-value { font-size: 14px; }
    .wrapgiohang .txt-total { padding-top: 6px; margin-top: 4px;}
    .wrapgiohang .txt-total .p-value { font-size: 16px; }

    /* Điều chỉnh Action (Số lượng & Xóa) trên Mobile */
    .wrapgiohang .cart-action-wrap {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f1f5f9;
        width: 100%;
    }
    .wrapgiohang .quantity-wrapper { padding: 4px; }
    .wrapgiohang .qty-btn { width: 30px; height: 30px; }
    .wrapgiohang .qty-input { width: 40px; font-size: 14px; }
    .wrapgiohang .remove-item { width: 38px; height: 38px; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.wrapgiohang .animate-item {
    animation: fadeInUp 0.5s ease forwards; 
    opacity: 0;
}
        /* responsive */
        @media (max-width: 1200px) {
           
        }

        @media (max-width: 1000px) {
          
        }

        @media (max-width: 992px) {
            .wrapcaidat .preview-panel { display: none; }
           
        }

        @media (max-width: 768px) {

        }

        @media (max-width: 576px) {
       }