/* TECHNOVA — Trang chủ cửa hàng công nghệ */

.home-tech {
    --tech-dark: #102C57;
    --tech-primary: #00AEEF;
    --tech-secondary: #007BFF;
    --tech-accent: #8A2BE2;
    --tech-surface: #f0f6ff;
    --tech-border: #e8eef8;
    --tech-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tech-radius: 16px;
    background: #f8faff;
}

/* ── Hero ── */
.home-tech .hero-area {
    padding: 0;
    background: none;
}

.home-tech .hero-area.hero-area--full {
    margin-top: 0 !important;
}

.home-tech .hero-area .slider-head {
    border-radius: var(--tech-radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(16, 44, 87, 0.12);
}

/* ── Hero full-width (1 ảnh, full chiều rộng) ── */
.home-tech .hero-area--full {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    background: none;
}

.home-tech .hero-area--full .slider-head {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.home-tech .hero-slider--single .single-slider {
    min-height: 520px;
    border-radius: 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.home-tech .hero-slider--single .single-slider > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.home-tech .hero-slider--single .single-slider .content {
    max-width: 620px;
    padding: 48px 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

.home-tech .hero-area .hero-slider .single-slider {
    min-height: 520px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.home-tech .hero-area .hero-slider .single-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(16, 44, 87, 0.88) 0%, rgba(16, 44, 87, 0.55) 45%, rgba(0, 123, 255, 0.25) 100%);
    z-index: 1;
}

.home-tech .hero-area .hero-slider .single-slider .content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 48px 40px !important;
}

.home-tech .hero-area .hero-slider .single-slider .content .tech-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 174, 239, 0.2);
    border: 1px solid rgba(0, 174, 239, 0.45);
    color: #7ddfff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.home-tech .hero-area .hero-slider .single-slider .content h2 {
    color: #fff !important;
    font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.home-tech .hero-area .hero-slider .single-slider .content h2 span {
    display: block;
    color: var(--tech-primary) !important;
    font-size: 0.55em !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
    background: none !important;
}

.home-tech .hero-area .hero-slider .single-slider .content p {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px !important;
}

.home-tech .hero-area .hero-slider .single-slider .content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-tech .hero-area .hero-slider .single-slider .content .btn-hero-primary {
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent)) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.home-tech .hero-area .hero-slider .single-slider .content .btn-hero-outline {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    backdrop-filter: blur(6px);
}

.home-tech .hero-area .tns-controls {
    display: none !important;
}

.home-tech .hero-small-banner {
    border-radius: var(--tech-radius) !important;
    overflow: hidden;
    min-height: 195px;
    box-shadow: 0 8px 28px rgba(16, 44, 87, 0.1);
    position: relative;
}

.home-tech .hero-small-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 44, 87, 0.75), rgba(0, 123, 255, 0.45));
    z-index: 1;
}

.home-tech .hero-small-banner .content {
    position: relative;
    z-index: 2;
}

.home-tech .hero-small-banner.style2 {
    background-color: var(--tech-dark) !important;
}

.home-tech .hero-small-banner.style2::before {
    background: linear-gradient(135deg, rgba(16, 44, 87, 0.9), rgba(138, 43, 226, 0.5));
}

.home-tech .hero-small-banner .content h2 {
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

.home-tech .hero-small-banner .content h3,
.home-tech .hero-small-banner .content p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.home-tech .home-hero-banner {
    margin-bottom: 16px;
}

.home-tech .home-hero-banner:last-child {
    margin-bottom: 0;
}

/* ── USP strip ── */
.home-tech .tech-usp-strip {
    background: var(--tech-dark);
    padding: 0;
    margin-top: -1px;
}

.home-tech .tech-usp-strip ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-tech .tech-usp-strip li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease;
}

.home-tech .tech-usp-strip li:last-child {
    border-right: none;
}

.home-tech .tech-usp-strip li:hover {
    background: rgba(0, 174, 239, 0.08);
}

.home-tech .tech-usp-strip .usp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-tech .tech-usp-strip .usp-icon i {
    font-size: 20px;
    color: #fff;
}

.home-tech .tech-usp-strip h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
}

.home-tech .tech-usp-strip span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

/* ── Section headers ── */
.home-tech .tech-section {
    padding: 56px 0;
}

.home-tech .tech-section--alt {
    background: #fff;
}

.home-tech .tech-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.home-tech .tech-section-header .section-title,
.home-tech .section-title.section-title--animate {
    margin-bottom: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    width: auto;
    max-width: none;
}

.home-tech .tech-section-header .section-title h2,
.home-tech .section-title.section-title--animate h2 {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: var(--tech-dark) !important;
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    text-align: left !important;
}

.home-tech .tech-section-header .section-title p,
.home-tech .section-title.section-title--animate p {
    color: #5a6478;
    margin: 0;
    font-size: 0.95rem;
    text-align: left !important;
}

.home-tech .tech-section-header .section-title h2::before,
.home-tech .section-title.section-title--animate h2::before {
    display: none !important;
}

.home-tech .tech-link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tech-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.2s ease;
}

.home-tech .tech-link-more:hover {
    gap: 10px;
    color: var(--tech-primary);
}

/* ── Categories ── */
.home-tech .tech-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-tech .tech-cat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: var(--tech-radius);
    padding: 20px;
    text-decoration: none;
    transition: transform 0.25s var(--tech-ease), box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    position: relative;
}

.home-tech .tech-cat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.home-tech .tech-cat-card:hover {
    transform: translateY(-4px);
    border-color: #cce5ff;
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.12);
}

.home-tech .tech-cat-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--tech-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.home-tech .tech-cat-card:hover .tech-cat-card__icon {
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent));
}

.home-tech .tech-cat-card__icon i {
    font-size: 26px;
    color: var(--tech-secondary);
    transition: color 0.25s ease;
}

.home-tech .tech-cat-card:hover .tech-cat-card__icon i {
    color: #fff;
}

.home-tech .tech-cat-card__thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--tech-surface);
}

.home-tech .tech-cat-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-tech .tech-cat-card__body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--tech-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.home-tech .tech-cat-card__body span {
    font-size: 12px;
    color: var(--tech-secondary);
    font-weight: 600;
}

/* ── Product cards ── */
.home-tech .tech-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-tech .tech-product-card {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: var(--tech-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s var(--tech-ease), box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-tech .tech-product-card:hover {
    transform: translateY(-4px);
    border-color: #cce5ff;
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.12);
}

.home-tech .tech-product-card__image {
    position: relative;
    aspect-ratio: 1;
    background: var(--tech-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.home-tech .tech-product-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.home-tech .tech-product-card:hover .tech-product-card__image img {
    transform: scale(1.04);
}

.home-tech .tech-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--tech-accent), #6a1fd4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.home-tech .tech-product-card__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-tech .tech-product-card__cat {
    font-size: 11px;
    font-weight: 600;
    color: var(--tech-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.home-tech .tech-product-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--tech-dark);
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.home-tech .tech-product-card__title a {
    color: inherit;
}

.home-tech .tech-product-card__title a:hover {
    color: var(--tech-secondary);
}

.home-tech .tech-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.home-tech .tech-product-card__price .current {
    font-size: 16px;
    font-weight: 800;
    color: var(--tech-secondary);
}

.home-tech .tech-product-card__price .old {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
}

/* ── Flash sale ── */
.home-tech .tech-flash-sale {
    background: linear-gradient(135deg, var(--tech-dark) 0%, #0a2044 60%, #1a3a6e 100%);
    border-radius: var(--tech-radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.home-tech .tech-flash-sale::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.home-tech .tech-flash-sale__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.home-tech .tech-flash-sale__header i {
    font-size: 28px;
    color: #ff6b35;
}

.home-tech .tech-flash-sale__header h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.home-tech .tech-flash-sale__header span {
    background: linear-gradient(135deg, #ff6b35, #ff4757);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.home-tech .tech-countdown {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.home-tech .tech-countdown.box-head {
    display: flex;
}

.home-tech .tech-countdown .box {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 8px;
    text-align: center;
}

.home-tech .tech-countdown .box h1 {
    color: var(--tech-primary);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.home-tech .tech-countdown .box h2 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 6px 0 0;
    letter-spacing: 0.05em;
}

.home-tech .tech-flash-product {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.home-tech .tech-flash-product img {
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}

.home-tech .tech-flash-product h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.home-tech .tech-flash-product h4 a {
    color: #fff;
}

.home-tech .tech-flash-product h4 a:hover {
    color: var(--tech-primary);
}

.home-tech .special-offer .single-product {
    border-radius: 14px;
    border: 1px solid var(--tech-border);
    overflow: hidden;
    background: #fff;
}

.home-tech .special-offer .single-product .product-image {
    background: var(--tech-surface);
    padding: 12px;
}

.home-tech .special-offer .single-product .product-image img {
    object-fit: contain !important;
    max-height: 140px;
    width: auto !important;
    margin: 0 auto;
    display: block;
}

.home-tech .special-offer .single-banner.right {
    border-radius: var(--tech-radius);
    overflow: hidden;
}

.home-tech .special-offer .single-banner.right .content h2 {
    color: #fff !important;
}

/* ── Product ranking columns ── */
.home-tech .tech-rank-col {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: var(--tech-radius);
    padding: 24px;
    height: 100%;
}

.home-tech .tech-rank-col__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--tech-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--tech-surface);
}

.home-tech .tech-rank-col__title i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.home-tech .tech-rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4fa;
    transition: background 0.2s ease;
}

.home-tech .tech-rank-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.home-tech .tech-rank-item:hover {
    background: var(--tech-surface);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 10px;
}

.home-tech .tech-rank-item__num {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--tech-surface);
    color: var(--tech-secondary);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-tech .tech-rank-item:first-child .tech-rank-item__num {
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent));
    color: #fff;
}

.home-tech .tech-rank-item__thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--tech-surface);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.home-tech .tech-rank-item__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-tech .tech-rank-item__info {
    flex: 1;
    min-width: 0;
}

.home-tech .tech-rank-item__info h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-tech .tech-rank-item__info h5 a {
    color: var(--tech-dark);
}

.home-tech .tech-rank-item__info h5 a:hover {
    color: var(--tech-secondary);
}

.home-tech .tech-rank-item__info .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--tech-secondary);
}

/* ── Brands ── */
.home-tech .tech-brands {
    background: #fff;
    border-top: 1px solid var(--tech-border);
    border-bottom: 1px solid var(--tech-border);
    padding: 48px 0;
}

.home-tech .tech-brands h3 {
    color: var(--tech-dark);
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-tech .tech-brands .brands-logo-carousel .tns-item {
    padding-right: 16px;
}

.home-tech .tech-brand-card {
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 12px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-tech .tech-brand-card:hover {
    border-color: #cce5ff;
    box-shadow: 0 8px 22px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.home-tech .tech-brand-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.home-tech .tech-brand-card__logo {
    display: block;
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.home-tech .tech-brand-card:hover .tech-brand-card__logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

.home-tech .tech-brand-card__name {
    font-size: 15px;
    font-weight: 800;
    color: var(--tech-dark);
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.2;
}

/* ── Blog ── */
.home-tech .blog-section .single-blog {
    border-radius: var(--tech-radius);
    border-color: var(--tech-border);
    background: #fff;
}

.home-tech .blog-section .single-blog .blog-content .category {
    color: var(--tech-primary) !important;
}

.home-tech .blog-section .single-blog .blog-content h4 a {
    color: var(--tech-dark) !important;
}

.home-tech .blog-section .single-blog .blog-content .button .btn {
    background: transparent !important;
    border: 1px solid var(--tech-border) !important;
    color: var(--tech-dark) !important;
    border-radius: 8px !important;
}

.home-tech .blog-section .single-blog .blog-content .button .btn:hover {
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent)) !important;
    border-color: transparent !important;
    color: #fff !important;
}

/* ── Services bar (cuối trang) ── */
.home-tech .tech-services-bar {
    background: #fff;
    border-top: 1px solid var(--tech-border);
    padding: 40px 0 48px;
    margin-bottom: 0;
}

.home-tech .tech-services-bar__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-tech .tech-services-bar__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    float: none;
    width: auto;
    text-align: left;
    background: var(--tech-surface);
    border: 1px solid var(--tech-border);
    border-radius: 14px;
    padding: 20px 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-tech .tech-services-bar__item:hover {
    transform: translateY(-3px);
    border-color: #cce5ff;
    box-shadow: 0 8px 22px rgba(0, 123, 255, 0.1);
}

.home-tech .tech-services-bar__icon {
    flex-shrink: 0;
    line-height: 1;
}

.home-tech .tech-services-bar__icon i {
    font-size: 32px;
    color: var(--tech-secondary);
}

.home-tech .tech-services-bar__text h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--tech-dark);
    margin: 0 0 4px;
    line-height: 1.35;
}

.home-tech .tech-services-bar__text span {
    display: block;
    font-size: 12px;
    color: #5a6478;
    line-height: 1.45;
}

/* ══════════════════════════════════════
   Animations — trang chủ sinh động
   ══════════════════════════════════════ */

@keyframes homeFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes homeFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes homeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes homeKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes homeGlowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.45;
    }
    50% {
        transform: translate(20px, -15px) scale(1.08);
        opacity: 0.7;
    }
}

@keyframes homeShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes homeIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes homePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
    }
}

@keyframes homeLineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 56px;
        opacity: 1;
    }
}

@keyframes homeCountdownPop {
    0% { transform: scale(1); }
    35% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes homeBadgeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.35); }
    50% { box-shadow: 0 0 16px 4px rgba(0, 174, 239, 0.25); }
}

/* Hero: nền zoom nhẹ + orb sáng */
.home-tech .hero-area--full .slider-head {
    position: relative;
}

.home-tech .hero-slider--single .single-slider {
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .home-tech .hero-glow {
        position: absolute;
        border-radius: 50%;
        filter: blur(60px);
        pointer-events: none;
        z-index: 2;
    }

    .home-tech .hero-glow--1 {
        width: 280px;
        height: 280px;
        top: 10%;
        right: 8%;
        background: rgba(0, 174, 239, 0.35);
        animation: homeGlowFloat 9s ease-in-out infinite;
    }

    .home-tech .hero-glow--2 {
        width: 220px;
        height: 220px;
        bottom: 15%;
        left: 5%;
        background: rgba(138, 43, 226, 0.3);
        animation: homeGlowFloat 11s ease-in-out infinite reverse;
        animation-delay: 1.5s;
    }

    .home-tech .hero-slider--single .single-slider::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.06) 45%,
            transparent 60%
        );
        background-size: 200% 100%;
        animation: homeShimmer 7s linear infinite;
        z-index: 1;
        pointer-events: none;
    }

    .home-tech .home-hero-item {
        opacity: 0;
        animation: homeFadeUp 0.9s var(--tech-ease) forwards;
    }

    .home-tech .home-hero-content .tech-hero-badge.home-hero-item {
        animation: homeFadeUp 0.9s var(--tech-ease) 0.1s forwards,
            homeBadgeGlow 3s ease-in-out 1.2s infinite;
    }

    .home-tech .home-hero-content h2.home-hero-item {
        animation-delay: 0.28s;
    }

    .home-tech .home-hero-content p.home-hero-item {
        animation-delay: 0.42s;
    }

    .home-tech .home-hero-content .hero-actions.home-hero-item {
        animation-delay: 0.56s;
    }

    .home-tech .btn-hero-primary {
        transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    }

    .home-tech .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 123, 255, 0.35) !important;
    }

    .home-tech .btn-hero-outline:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.2) !important;
    }
}

/* USP icons nhẹ nhàng */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-usp-strip .usp-icon {
        animation: homeIconFloat 4s ease-in-out infinite;
    }

    .home-tech .tech-usp-strip li:nth-child(2) .usp-icon {
        animation-delay: 0.6s;
    }

    .home-tech .tech-usp-strip li:nth-child(3) .usp-icon {
        animation-delay: 1.2s;
    }

    .home-tech .tech-usp-strip li:nth-child(4) .usp-icon {
        animation-delay: 1.8s;
    }
}

/* Tiêu đề section — gạch gradient chạy vào (canh trái) */
.home-tech .section-title--animate {
    text-align: left !important;
}

.home-tech .section-title--animate h2 {
    position: relative;
    display: inline-block;
    text-align: left;
}

.home-tech .section-title--animate h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--tech-primary), var(--tech-accent));
    width: 0;
    opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-section-header.home-reveal--visible .section-title--animate h2::after {
        animation: homeLineGrow 0.7s var(--tech-ease) 0.25s forwards;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-tech .tech-section-header.home-reveal--visible .section-title--animate h2::after {
        width: 56px;
        opacity: 1;
    }
}

.home-tech .tech-link-more i {
    transition: transform 0.25s ease;
}

.home-tech .tech-link-more:hover i {
    transform: translateX(4px);
}

/* Card danh mục & sản phẩm — shine khi hover */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-cat-card,
    .home-tech .tech-product-card {
        position: relative;
        overflow: hidden;
    }

    .home-tech .tech-cat-card::before,
    .home-tech .tech-product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent
        );
        transform: skewX(-18deg);
        transition: left 0.55s ease;
        z-index: 3;
        pointer-events: none;
    }

    .home-tech .tech-cat-card:hover::before,
    .home-tech .tech-product-card:hover::before {
        left: 140%;
    }

    .home-tech .tech-cat-card__icon i {
        transition: transform 0.35s var(--tech-ease);
    }

    .home-tech .tech-cat-card:hover .tech-cat-card__icon i {
        transform: scale(1.15) rotate(-6deg);
    }

    .home-tech .tech-product-card__badge {
        animation: homeBadgeGlow 2.5s ease-in-out infinite;
    }
}

/* Flash sale */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-flash-sale {
        animation: homeFadeIn 1s ease 0.2s both;
    }

    .home-tech .tech-flash-sale__header span {
        animation: homePulse 2s ease-in-out infinite;
    }

    .home-tech .tech-flash-sale__header i {
        animation: homeIconFloat 2s ease-in-out infinite;
    }

    .home-tech .home-countdown-box.home-countdown-tick h1 {
        animation: homeCountdownPop 0.45s var(--tech-ease);
    }
}

/* Blog cards */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .blog-section .single-blog {
        transition: transform 0.35s var(--tech-ease), box-shadow 0.35s ease, border-color 0.35s ease;
    }

    .home-tech .blog-section .single-blog:hover {
        transform: translateY(-6px);
    }

    .home-tech .blog-section .single-blog .blog-img img {
        transition: transform 0.5s var(--tech-ease);
    }

    .home-tech .blog-section .single-blog:hover .blog-img img {
        transform: scale(1.06);
    }
}

/* Brand carousel */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-brand-card {
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .home-tech .tech-brands .brands-logo-carousel .item:hover .tech-brand-card {
        transform: translateY(-4px) scale(1.02);
    }
}

/* Rank list */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-rank-item {
        transition: transform 0.25s ease, background 0.25s ease;
    }

    .home-tech .tech-rank-item:hover {
        transform: translateX(4px);
    }
}

/* Services bar */
@media (prefers-reduced-motion: no-preference) {
    .home-tech .tech-services-bar__item:hover .tech-services-bar__icon i {
        transform: scale(1.1);
        transition: transform 0.25s ease;
    }
}

/* Scroll reveal */
.home-tech .home-reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition:
        opacity 0.85s var(--tech-ease),
        transform 0.85s var(--tech-ease);
}

.home-tech .home-reveal.home-reveal--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-tech .home-reveal--stagger:nth-child(1) { transition-delay: 0s; }
.home-tech .home-reveal--stagger:nth-child(2) { transition-delay: 0.08s; }
.home-tech .home-reveal--stagger:nth-child(3) { transition-delay: 0.16s; }
.home-tech .home-reveal--stagger:nth-child(4) { transition-delay: 0.24s; }
.home-tech .home-reveal--stagger:nth-child(5) { transition-delay: 0.32s; }
.home-tech .home-reveal--stagger:nth-child(6) { transition-delay: 0.4s; }

.home-tech .home-reveal--offer:nth-child(1) { transition-delay: 0s; }
.home-tech .home-reveal--offer:nth-child(2) { transition-delay: 0.07s; }
.home-tech .home-reveal--offer:nth-child(3) { transition-delay: 0.14s; }
.home-tech .home-reveal--offer:nth-child(4) { transition-delay: 0.21s; }
.home-tech .home-reveal--offer:nth-child(5) { transition-delay: 0.28s; }
.home-tech .home-reveal--offer:nth-child(6) { transition-delay: 0.35s; }

.home-tech .home-reveal--blog:nth-child(1) { transition-delay: 0s; }
.home-tech .home-reveal--blog:nth-child(2) { transition-delay: 0.1s; }
.home-tech .home-reveal--blog:nth-child(3) { transition-delay: 0.2s; }

.home-tech .home-reveal--ship:nth-child(1) { transition-delay: 0.05s; }
.home-tech .home-reveal--ship:nth-child(2) { transition-delay: 0.15s; }
.home-tech .home-reveal--ship:nth-child(3) { transition-delay: 0.25s; }
.home-tech .home-reveal--ship:nth-child(4) { transition-delay: 0.35s; }

/* Tắt animation nếu user chọn giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
    .home-tech .home-reveal,
    .home-tech .home-hero-item,
    .home-tech .hero-slider--single .single-slider,
    .home-tech .hero-glow,
    .home-tech .tech-usp-strip .usp-icon,
    .home-tech .tech-flash-sale,
    .home-tech .tech-flash-sale__header span,
    .home-tech .tech-product-card__badge {
        animation: none !important;
        transition: none !important;
    }

    .home-tech .home-reveal {
        opacity: 1;
        transform: none;
    }

    .home-tech .hero-slider--single .single-slider::after {
        display: none;
    }

    .home-tech .tech-section-header.home-reveal--visible .section-title--animate h2::after {
        width: 56px;
        opacity: 1;
    }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .home-tech .hero-slider--single .single-slider,
    .home-tech .hero-area .hero-slider .single-slider {
        min-height: 360px;
    }

    .home-tech .hero-slider--single .single-slider .content {
        padding: 36px 0 !important;
    }
    .home-tech .tech-usp-strip ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-tech .tech-usp-strip li:nth-child(2) {
        border-right: none;
    }

    .home-tech .tech-usp-strip li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .home-tech .tech-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-tech .tech-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-tech .tech-services-bar__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-tech .hero-slider--single .single-slider,
    .home-tech .hero-area .hero-slider .single-slider {
        min-height: 300px;
    }

    .home-tech .hero-slider--single .single-slider .content {
        padding: 28px 0 !important;
    }
}

@media (max-width: 575px) {
    .home-tech .tech-usp-strip ul,
    .home-tech .tech-cat-grid,
    .home-tech .tech-services-bar__list {
        grid-template-columns: 1fr;
    }

    .home-tech .tech-usp-strip li {
        border-right: none !important;
    }

    .home-tech .tech-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-tech .tech-section {
        padding: 40px 0;
    }

    .home-tech .hero-area .hero-slider .single-slider .content {
        padding: 32px 24px !important;
    }
}
