﻿:root {
    --pc-blue: #075bd8;
    --pc-blue-dark: #06399f;
    --pc-ink: #071126;
    --pc-muted: #667085;
    --pc-line: #e6eaf0;
    --pc-soft: #f5f8fc;
    --pc-radius: 8px;
}

.pc-home .pc-product-card__name {
    height: 43px;
    min-height: 43px;
    max-height: 43px;
    font-size: 16px;
    line-height: 1.35;
}

.pc-home .pc-product-card__name a {
    max-height: 43px;
    font-size: inherit;
    line-height: inherit;
}

@media (max-width: 640px) {
    .pc-home .pc-product-card__name {
        height: 41px;
        min-height: 41px;
        max-height: 41px;
        font-size: 15px;
        line-height: 1.35;
    }

    .pc-home .pc-product-card__name a {
        max-height: 41px;
    }
}

.pc-home .pc-product-card__name {
    display: block;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 26px;
}

.pc-home .pc-product-card__name a {
    color: inherit;
    display: -webkit-box;
    max-height: 52px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 26px;
    text-decoration: none;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .pc-home .pc-product-card__name {
        height: 40px;
        min-height: 40px;
        max-height: 40px;
        font-size: 12px;
        line-height: 20px;
    }

    .pc-home .pc-product-card__name a {
        max-height: 40px;
        line-height: 20px;
    }
}

@media (min-width: 641px) and (max-width: 1199px) {
    .pc-home .pc-cat-grid {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: initial;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .pc-home .pc-cat-card {
        min-height: 138px;
        padding: 12px 8px;
        scroll-snap-align: none;
    }

    .pc-home .pc-cat-card__image {
        height: 66px;
        margin-bottom: 10px;
    }

    .pc-home .pc-cat-card img {
        max-height: 66px;
    }

    .pc-home .pc-cat-card h3 {
        font-size: 12px;
        line-height: 1.25;
    }

    .pc-home .pc-cat-card small {
        margin-top: 6px;
        font-size: 11px;
    }
}

.pc-cat-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 2px 2px 8px;
}

.pc-cat-slider .swiper-wrapper {
    align-items: stretch;
}

.pc-cat-slider .swiper-slide {
    display: flex;
    height: auto;
}

.pc-cat-slider .pc-cat-card {
    width: 100%;
    min-width: 0;
}

@media (min-width: 641px) and (max-width: 1199px) {
    .pc-cat-slider .pc-cat-card {
        min-height: 138px;
        padding: 12px 8px;
        scroll-snap-align: none;
    }

    .pc-cat-slider .pc-cat-card__image {
        height: 66px;
        margin-bottom: 10px;
    }

    .pc-cat-slider .pc-cat-card img {
        max-height: 66px;
    }

    .pc-cat-slider .pc-cat-card h3 {
        font-size: 12px;
        line-height: 1.25;
    }

    .pc-cat-slider .pc-cat-card small {
        margin-top: 6px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .pc-cat-slider {
        padding-bottom: 10px;
    }

    .pc-cat-slider .pc-cat-card {
        min-height: 156px;
        padding: 14px;
    }
}

.pc-home .pc-post-card h3 {
    display: -webkit-box;
    min-height: 48px;
    max-height: 48px;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 1.34;
    text-overflow: ellipsis;
}

.pc-home .pc-post-card h3 a {
    color: inherit;
    display: block;
    text-decoration: none;
}

@media (max-width: 640px) {
    .pc-home .pc-post-card h3 {
        min-height: 42px;
        max-height: 42px;
        font-size: 16px;
        line-height: 1.32;
    }
}

@media (min-width: 641px) and (max-width: 1199px) {
    .pc-home .pc-cat-grid {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: initial;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .pc-home .pc-cat-card {
        min-height: 138px;
        padding: 12px 8px;
        scroll-snap-align: none;
    }

    .pc-home .pc-cat-card__image {
        height: 66px;
        margin-bottom: 10px;
    }

    .pc-home .pc-cat-card img {
        max-height: 66px;
    }

    .pc-home .pc-cat-card h3 {
        font-size: 12px;
        line-height: 1.25;
    }

    .pc-home .pc-cat-card small {
        margin-top: 6px;
        font-size: 11px;
    }
}

body.home .global-header-container,
body.home .global-header-block,
body.home .mobile-header,
body.ts-virtual-page .global-header-container,
body.ts-virtual-page .global-header-block,
body.ts-virtual-page .mobile-header {
    display: none !important;
}

body.home,
body.ts-virtual-page {
    background: #fff;
    color: var(--pc-ink);
    overflow-x: hidden;
    overflow-x: clip;
}

.pc-home,
.pc-home * {
    box-sizing: border-box;
}

.pc-home a {
    color: inherit;
    text-decoration: none;
}

.pc-shell {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.pc-site-head {
    background: #fff;
    border-bottom: 1px solid var(--pc-line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.pc-topbar {
    border-bottom: 1px solid var(--pc-line);
    font-size: 13px;
}

.pc-topbar .pc-shell,
.pc-topbar__left,
.pc-topbar__right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.pc-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    font-weight: 600;
}

.pc-topbar i,
.pc-nav i {
    font-size: 13px;
}

.pc-mainhead {
    display: grid;
    grid-template-columns: 250px 1fr 310px;
    align-items: center;
    gap: 18px;
    padding: 22px 0 16px;
}

.pc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pc-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.pc-brand strong {
    display: block;
    color: #172036;
    font-size: 26px;
    line-height: 1;
}

.pc-brand strong::first-letter,
.pc-brand strong {
    color: var(--pc-blue);
}

.pc-brand small {
    display: block;
    color: #6b7280;
    font-size: 11px;
    margin-top: 5px;
}

.pc-search {
    display: grid;
    grid-template-columns: 142px minmax(160px, 1fr) 132px;
    height: 52px;
    border: 1px solid #cfd7e3;
    border-radius: var(--pc-radius);
    overflow: visible;
    background: #fff;
}

.pc-search input,
.pc-search button {
    border: 0;
    background: transparent;
    font: inherit;
}

.pc-search__cat {
    border-right: 1px solid var(--pc-line) !important;
    font-weight: 700;
}

.pc-search input {
    padding: 0 18px;
    min-width: 0;
}

.pc-search__submit {
    margin: 3px;
    border-radius: 6px !important;
    background: var(--pc-blue) !important;
    color: #fff;
    font-weight: 700 !important;
}

.pc-head-actions {
    display: flex;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
    text-align: center;
}

.pc-head-actions a {
    position: relative;
    display: grid;
    place-items: center;
    gap: 5px;
    min-width: 76px;
    min-height: 54px;
    font-size: 13px;
}

.pc-head-actions i {
    font-size: 24px;
}

.pc-cart-link b {
    position: absolute;
    top: 1px;
    right: 22px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--pc-blue);
    color: #fff;
    font-size: 12px;
}

.pc-nav {
    display: flex;
    align-items: center;
    gap: 42px;
    height: 48px;
    font-weight: 700;
}

.pc-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.pc-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.pc-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.pc-nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 60;
    display: grid;
    gap: 2px;
    width: 280px;
    padding: 10px;
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.pc-nav-item.is-open .pc-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pc-nav-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    height: auto;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--pc-ink);
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
}

.pc-nav-submenu a:hover {
    background: #f1f6ff;
    color: var(--pc-blue);
}

.pc-nav-submenu a span {
    min-width: 0;
}

.pc-nav-submenu__all {
    margin-top: 4px;
    background: #eef5ff;
    color: var(--pc-blue) !important;
    font-weight: 800;
}

.pc-nav .is-active {
    color: var(--pc-blue);
}

.pc-mobile-menu {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--pc-blue);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.pc-mobile-menu i {
    opacity: 0;
}

.pc-mobile-menu::before,
.pc-mobile-menu::after,
.pc-mobile-menu span {
    content: "";
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translateX(-50%);
    transition: top .22s ease, transform .22s ease, opacity .16s ease;
}

.pc-mobile-menu::before {
    top: 13px;
}

.pc-mobile-menu span {
    top: 19px;
}

.pc-mobile-menu::after {
    top: 25px;
}

.pc-mobile-menu.is-open::before {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.pc-mobile-menu.is-open span {
    opacity: 0;
}

.pc-mobile-menu.is-open::after {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

.pc-mobile-menu--head {
    display: none;
}

.pc-home-main {
    padding: 18px 0 32px;
}

.pc-hero-grid {
    display: grid;
    grid-template-columns: 266px minmax(0, 1fr);
    gap: 20px;
}

.pc-hero-column {
    min-width: 0;
}

.pc-side-cats {
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    overflow: visible;
    background: #fff;
    position: relative;
    z-index: 50;
}

.pc-side-cats__title,
.pc-side-cats > .pc-side-cat-flyout:last-child {
    border-radius: inherit;
}

.pc-side-cats__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 15px 18px;
    background: var(--pc-blue);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
}

.pc-side-cats a {
    min-height: 43px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #edf0f5;
    font-size: 14px;
}

.pc-side-cats span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.pc-side-cats a:hover,
.pc-side-cats a.is-active {
    color: var(--pc-blue);
    background: #f7faff;
}

.pc-side-cats a.is-active {
    box-shadow: inset 3px 0 0 var(--pc-blue);
    font-weight: 700;
}

.pc-side-cat-flyout--service a.is-active {
    position: relative;
    overflow: hidden;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pc-side-cat-flyout--service a.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .45s ease;
}

.pc-side-cat-flyout--service a.is-active:hover {
    color: var(--pc-blue);
    background: #eef6ff;
    box-shadow: inset 4px 0 0 var(--pc-blue), 0 5px 14px rgba(7, 91, 216, .14);
    transform: translateX(3px);
}

.pc-side-cat-flyout--service a.is-active:hover::after {
    transform: translateX(120%);
}

.pc-side-cat-flyout--service a.is-active:hover > span > i,
.pc-side-cat-flyout--service a.is-active:hover > i {
    color: var(--pc-blue);
}

.pc-hero {
    position: relative;
    min-height: 486px;
    overflow: hidden;
    border-radius: var(--pc-radius);
    color: #fff;
    background:
        radial-gradient(circle at 58% 62%, rgba(70, 204, 255, .95), transparent 11%),
        linear-gradient(115deg, rgba(4, 10, 35, .98) 0 36%, rgba(20, 31, 109, .94) 55%, rgba(4, 7, 19, .98) 100%);
}

.pc-hero::before,
.pc-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% 5% 44%;
    height: 4px;
    transform: rotate(-15deg);
    background: linear-gradient(90deg, transparent, #266cff, #ff1fd2, transparent);
    box-shadow: 0 -42px 0 rgba(38, 108, 255, .55), 0 38px 0 rgba(255, 31, 210, .45), 0 78px 0 rgba(38, 108, 255, .55);
}

.pc-hero::after {
    inset: 12% -12% auto 50%;
    transform: rotate(22deg);
    opacity: .7;
}

.pc-hero__content {
    position: relative;
    z-index: 2;
    width: min(52%, 540px);
    padding: 78px 0 70px 104px;
}

.pc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 6px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.pc-hero__eyebrow b {
    padding: 8px 14px;
    background: rgba(0,0,0,.35);
}

.pc-hero__eyebrow {
    background: #2d7df0;
    padding-right: 14px;
}

.pc-hero h2 {
    margin: 18px 0 6px;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 900;
}

.pc-hero p {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.pc-hero ul {
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
    color: #dbe7ff;
    font-size: 16px;
    line-height: 1.9;
}

.pc-hero li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: #3c93ff;
    box-shadow: 0 0 0 2px rgba(60,147,255,.22);
}

.pc-hero__cta {
    display: flex;
    align-items: center;
    gap: 22px;
}

.pc-hero__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 52px;
    border-radius: 6px;
    background: var(--pc-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.pc-hero__cta span {
    color: #d5e4ff;
    font-size: 14px;
}

.pc-hero__cta strong {
    display: block;
    color: #2d90ff;
    font-size: 30px;
    line-height: 1.15;
}

.pc-hero__device {
    position: absolute;
    z-index: 1;
    right: 8%;
    top: 27%;
    width: 36%;
    transform: perspective(900px) rotateY(-13deg) rotateX(4deg);
}

.pc-laptop-screen {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    border: 8px solid #1b2130;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 50%, #ff32d6, #121737 38%, #050715);
    color: rgba(255,255,255,.9);
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 900;
    box-shadow: 0 24px 50px rgba(0,0,0,.45);
}

.pc-laptop-base {
    height: 42px;
    margin: -2px -32px 0;
    transform: skewX(-24deg);
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, #151927, #30384a 55%, #101522);
    box-shadow: 0 18px 28px rgba(0,0,0,.48);
}

.pc-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
}

.pc-hero__arrow--left { left: 28px; }
.pc-hero__arrow--right { right: 28px; }

.pc-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 3;
    display: flex;
    gap: 16px;
    transform: translateX(-50%);
}

.pc-hero__dots i {
    width: 22px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
}

.pc-hero__dots i:last-child {
    background: #fff;
}

.pc-hero--banners {
    min-height: auto;
    aspect-ratio: 2048 / 855;
    background: #020617;
}

.pc-hero--banners::before,
.pc-hero--banners::after {
    display: none;
}

.pc-hero__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.pc-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.pc-hero__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.pc-hero__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.pc-hero--banners .pc-hero__arrow {
    z-index: 3;
    background: rgba(5, 11, 24, .5);
    color: #fff;
    backdrop-filter: blur(8px);
}

.pc-hero--banners .pc-hero__arrow:hover {
    background: rgba(7, 91, 216, .86);
}

.pc-hero--banners .pc-hero__dots {
    z-index: 3;
}

.pc-hero--banners .pc-hero__dots i {
    opacity: .65;
}

.pc-hero--banners .pc-hero__dots i.is-active {
    width: 26px;
    background: #fff;
    opacity: 1;
}

.pc-hero-banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.pc-hero-banner {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3f9;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
    aspect-ratio: 3 / 1;
}

.pc-hero-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.045);
    transition: transform .22s ease;
}

.pc-hero-banner picture {
    display: block;
    width: 100%;
    height: 100%;
}

.pc-hero-banner:hover img {
    transform: scale(1.065);
}

.pc-benefits,
.pc-bottom-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 22px;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: #fff;
}

.pc-benefits > div,
.pc-benefits article,
.pc-bottom-benefits article,
.pc-bottom-benefits > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 80px;
    padding: 12px;
}

.pc-benefits > div + div,
.pc-benefits article + article {
    border-left: 1px solid var(--pc-line);
}

.pc-benefits i,
.pc-bottom-benefits i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--pc-blue);
    font-size: 22px;
}

.pc-benefits strong,
.pc-benefits small,
.pc-bottom-benefits strong,
.pc-bottom-benefits span {
    display: block;
}

.pc-benefits strong,
.pc-bottom-benefits strong {
    font-size: 14px;
}

.pc-benefits small,
.pc-bottom-benefits span {
    color: var(--pc-muted);
    font-size: 13px;
    margin-top: 4px;
}

.pc-bottom-benefits p {
    margin: 0;
}

.pc-bottom-benefits > div strong,
.pc-bottom-benefits > div span {
    display: block;
}

.pc-section {
    margin-top: 34px;
}

.pc-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.pc-section__head h2 {
    margin: 0;
    font-size: 22px;
    text-transform: uppercase;
}

.pc-section__head a {
    color: var(--pc-blue);
    font-weight: 700;
    font-size: 14px;
}

.pc-video-showcase {
    position: relative;
    margin-top: 34px;
    padding: 24px;
    border: 0;
    background: transparent;
}

.pc-video-showcase::before {
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -2;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pc-video-showcase::after {
    position: absolute;
    inset: 0 calc(50% - 50vw);
    z-index: -1;
    content: "";
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(1px);
}

.pc-video-showcase > * {
    position: relative;
    z-index: 1;
}

.pc-video-showcase--tiktok::before {
    background-image: url('../images/home-banners/video-youtube-bg.png');
}

.pc-video-showcase + .pc-video-showcase {
    margin-top: 42px;
}

.pc-video-showcase--youtube {
    padding-block: 30px 34px;
}

.pc-video-showcase--youtube::before {
    background-image: url('../images/home-banners/video-tiktok-bg.png');
}

.pc-video-showcase__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.pc-video-showcase__head h2 {
    margin: 0;
    color: #162033;
    font-size: 25px;
    line-height: 1.2;
    text-transform: uppercase;
}

.pc-video-showcase__head p {
    margin: 7px 0 0;
    color: var(--pc-muted);
    font-size: 15px;
}

.pc-video-showcase__head a {
    flex: 0 0 auto;
    color: var(--pc-blue);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.pc-tiktok-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.pc-tiktok-card,
.pc-youtube-featured,
.pc-youtube-item {
    color: inherit;
}

.pc-video-thumb,
.pc-youtube-item__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 7px;
    background: #e8edf5;
}

.pc-video-thumb img,
.pc-youtube-item__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.pc-tiktok-card:hover img,
.pc-youtube-featured:hover img,
.pc-youtube-item:hover img {
    transform: scale(1.04);
}

.pc-tiktok-card .pc-video-thumb {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
}

.pc-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: rgba(15, 23, 42, .56);
    color: #fff;
    transform: translate(-50%, -50%);
}

.pc-video-play i {
    margin-left: 4px;
    font-size: 20px;
}

.pc-video-views,
.pc-video-duration,
.pc-youtube-item__thumb span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(5, 11, 24, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pc-video-views {
    right: auto;
    left: 8px;
}

.pc-video-views i {
    font-size: 9px;
}

.pc-tiktok-card strong,
.pc-youtube-featured strong,
.pc-youtube-item strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    color: #172033;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: break-word;
}

.pc-tiktok-card strong {
    height: 43px;
    min-height: 43px;
    max-height: 43px;
    margin-top: 14px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0;
}

.pc-youtube-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 28px;
    align-items: stretch;
}

.pc-youtube-featured .pc-video-thumb {
    aspect-ratio: 16 / 9;
}

.pc-youtube-featured > strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    min-height: auto;
    margin: 0;
    padding: 38px 20px 18px;
    background: linear-gradient(180deg, rgba(7, 17, 38, 0) 0%, rgba(7, 17, 38, .88) 100%);
    color: #fff;
    font-size: 18px;
    -webkit-line-clamp: 2;
}

.pc-youtube-featured {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.pc-youtube-featured .pc-video-thumb {
    height: 100%;
    min-height: 0;
}

.pc-youtube-featured .pc-video-duration {
    z-index: 3;
}

.pc-youtube-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    width: 102px;
    height: 72px;
    place-items: center;
    border-radius: 16px;
    background: #ed1b24;
    color: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 12px 30px rgba(237, 27, 36, .34);
}

.pc-youtube-play i {
    font-size: 44px;
}

.pc-youtube-list {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pc-youtube-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    min-height: 0;
    padding: 0 28px 0 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.pc-youtube-item__thumb {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px 0 0 8px;
}

.pc-youtube-item__thumb img {
    object-fit: cover;
    object-position: center;
}

.pc-youtube-item > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.pc-youtube-item strong {
    -webkit-line-clamp: 2;
    font-size: 16px;
    line-height: 1.35;
}

.pc-youtube-item small {
    display: block;
    margin-top: 6px;
    color: var(--pc-muted);
    font-size: 14px;
}

.pc-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.pc-cat-card,
.pc-product-card {
    position: relative;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: #fff;
    overflow: hidden;
}

.pc-cat-card {
    min-height: 196px;
    padding: 18px 18px 14px;
}

.pc-cat-card__image {
    display: grid;
    place-items: center;
    height: 104px;
    margin-bottom: 14px;
}

.pc-cat-card img {
    max-width: 100%;
    max-height: 104px;
    object-fit: contain;
}

.pc-cat-card h3,
.pc-cat-card small {
    display: block;
}

.pc-cat-card h3 {
    margin: 0;
    font-size: 15px;
}

.pc-cat-card small {
    margin-top: 9px;
    color: var(--pc-blue);
    font-weight: 700;
}

.pc-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.pc-category-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 2px 2px 8px;
}

.pc-category-slider .swiper-wrapper {
    align-items: stretch;
    flex-wrap: nowrap;
}

.pc-category-slider .swiper-slide {
    height: auto;
    display: flex;
}

.pc-category-slider .pc-product-card {
    width: 100%;
}

.pc-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--pc-line);
    border-radius: 50%;
    background: #fff;
    color: var(--pc-blue);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
    cursor: pointer;
    transform: translateY(-50%);
}

.pc-slider-nav--prev {
    left: 4px;
}

.pc-slider-nav--next {
    right: 4px;
}

.pc-slider-nav.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.pc-product-card {
    min-height: 336px;
    padding: 24px 16px 14px;
    overflow: visible;
    transition: box-shadow .2s ease, transform .2s ease;
}

.pc-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.pc-product-card__badge {
    position: absolute;
    left: 10px;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 22px;
    padding: 0 4px 2px 0;
    border-radius: 0;
    background-image: url("../images/discount-badge-ui-2025.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.pc-product-card__badge strong {
    margin-left: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.pc-icon-btn {
    display: grid;
    place-items: center;
    border: 1px solid var(--pc-line);
    border-radius: 6px;
    background: #fff;
    color: #606b7d;
}

.pc-product-card__heart {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
}

.pc-product-card__image {
    display: grid;
    place-items: center;
    height: 164px;
    margin-bottom: 14px;
}

.pc-product-card__image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.pc-product-card__image img[src$="/assets/images/logo.png"] {
    padding: 18px;
}

.pc-product-card__name {
    display: -webkit-box;
    margin: 0;
    min-height: 52px;
    max-height: 52px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.pc-product-card__name a {
    color: inherit;
    display: block;
    text-decoration: none;
}

.pc-product-card__name + p,
.pc-product-card__name + small,
.pc-product-card__name + span:not(.woocommerce-Price-amount),
.pc-product-card__meta,
.woocommerce-loop-product__excerpt {
    display: none !important;
}

.pc-product-card__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    margin-top: 11px;
}

.pc-product-card__price del {
    display: block;
    margin: 0;
    color: #9aa4b2;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.pc-product-card__price strong {
    min-width: 0;
}

.pc-product-card__price strong,
.pc-product-card__price strong .woocommerce-Price-amount {
    color: #395cd6;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.pc-product-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.pc-stars {
    color: #ffb800;
    font-size: 13px;
    white-space: nowrap;
}

.pc-stars em {
    color: #788294;
    font-style: normal;
}

.pc-stars--empty {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 600;
}

.pc-product-card__cart {
    width: 34px;
    height: 34px;
    background: #f4f7fb;
}

.pc-product-card .added_to_cart,
.pc-product-card .wc-forward {
    display: none !important;
}

.pc-post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pc-post-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.pc-post-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f4f7fb;
}

.pc-post-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keep the wide brand fallback fully visible inside the 16:9 post thumbnail. */
.pc-post-card__image img[src$="/assets/images/logo.png"] {
    object-fit: contain;
    padding: 18px 28px;
}

.pc-post-card__body {
    display: grid;
    gap: 9px;
    padding: 14px;
}

.pc-post-card time {
    color: var(--pc-blue);
    font-size: 12px;
    font-weight: 800;
}

.pc-post-card h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--pc-ink);
    font-size: 16px;
    line-height: 1.38;
}

.pc-post-card p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--pc-muted);
    font-size: 13px;
    line-height: 1.6;
}

.pc-post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pc-blue) !important;
    font-size: 13px;
    font-weight: 800;
}

.pc-flash-sale {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-top: 24px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 22px;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.18) 0 36px, transparent 37px),
        radial-gradient(circle at 78% 82%, rgba(255, 196, 87, 0.22) 0 46px, transparent 47px),
        repeating-linear-gradient(135deg, rgba(255,255,255,.09) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, #ff3d24 0%, #f05a18 48%, #c91917 100%);
    box-shadow: none;
}

.pc-flash-sale::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 0, rgba(255, 230, 128, 0.34), transparent 24%),
        linear-gradient(90deg, rgba(110, 9, 9, 0.18), transparent 42%);
    pointer-events: none;
}

.pc-flash-sale__head,
.pc-flash-sale__grid,
.pc-flash-sale__slider {
    position: relative;
    z-index: 1;
}

.pc-flash-sale__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    color: #fff;
}

.pc-flash-sale__head span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff7d6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pc-flash-sale__head h2 {
    margin: 7px 0 0;
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase;
}

.pc-flash-sale__head a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 6px;
    background: #fff;
    color: #d92717;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.pc-flash-sale__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.pc-flash-sale .pc-product-card {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 26px rgba(72, 12, 12, 0.12);
}

.pc-flash-sale__slider {
    padding-bottom: 10px;
}

.pc-flash-sale__slider .pc-slider-nav {
    border-color: rgba(255, 255, 255, .32);
}

.pc-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.pc-promo {
    min-height: 174px;
    position: relative;
    overflow: hidden;
    padding: 28px 190px 24px 28px;
    border-radius: var(--pc-radius);
    color: #fff;
    background: #084da8;
}

.pc-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 45%, rgba(255,255,255,.14), transparent 24%),
        linear-gradient(90deg, rgba(0,0,0,.28), transparent 58%);
    pointer-events: none;
}

.pc-promo--build { background: linear-gradient(135deg, #054f96, #031f54); }
.pc-promo--office { background: linear-gradient(135deg, #6822bf, #2d1380); }
.pc-promo--camera { background: linear-gradient(135deg, #075bd8, #043272); }

.pc-promo span,
.pc-promo strong,
.pc-promo small,
.pc-promo b {
    position: relative;
    z-index: 1;
    display: block;
}

.pc-promo span {
    color: #ffd84d;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.pc-promo--office span,
.pc-promo--camera span {
    color: #fff;
}

.pc-promo strong {
    margin-top: 2px;
    font-size: 22px;
    text-transform: uppercase;
}

.pc-promo small {
    margin-top: 8px;
    font-size: 14px;
}

.pc-promo small em {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
}

.pc-promo b {
    width: max-content;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 4px;
    background: #ffcf35;
    color: #071126;
    font-size: 12px;
    text-transform: uppercase;
}

.pc-promo--office b,
.pc-promo--camera b {
    background: #fff;
    color: #0d2b66;
}

.pc-promo-art {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 18px;
    display: block;
    pointer-events: none;
}

.pc-promo-art--pc {
    width: 118px;
    height: 118px;
    border: 8px solid #151b2a;
    border-radius: 10px;
    background:
        radial-gradient(circle at 72% 28%, #ff32d6 0 8px, transparent 9px),
        radial-gradient(circle at 72% 55%, #19d8ff 0 8px, transparent 9px),
        radial-gradient(circle at 72% 82%, #ff32d6 0 8px, transparent 9px),
        linear-gradient(135deg, #101827, #28344d);
    box-shadow: -78px 38px 0 -32px #1a2133, -84px 48px 0 -35px #7b43ff, 0 18px 28px rgba(0,0,0,.35);
}

.pc-promo-art--pc::before {
    content: "";
    position: absolute;
    left: -92px;
    bottom: -18px;
    width: 92px;
    height: 34px;
    border-radius: 5px;
    background: linear-gradient(90deg, #151b2a, #232d45);
    box-shadow: 0 10px 0 -4px #06a6ff;
}

.pc-promo-art--laptop {
    right: 26px;
    bottom: 30px;
    width: 155px;
    height: 92px;
    border: 7px solid #222a39;
    border-radius: 7px;
    background: linear-gradient(135deg, #f8fbff, #c9d7e8);
    transform: perspective(500px) rotateY(-10deg);
    box-shadow: 0 18px 24px rgba(0,0,0,.26);
}

.pc-promo-art--laptop::after {
    content: "";
    position: absolute;
    left: -22px;
    right: -26px;
    bottom: -24px;
    height: 22px;
    transform: skewX(-20deg);
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, #d7dce5, #929bad);
}

.pc-promo-art--camera {
    right: 28px;
    bottom: 22px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #101827 0 12px, #3a455a 13px 20px, transparent 21px),
        linear-gradient(#f7fbff, #d9e4ef);
    box-shadow: -76px 18px 0 -13px #edf4fb, 58px 12px 0 -12px #141923, 0 14px 26px rgba(0,0,0,.2);
}

.pc-promo-art--camera::before {
    content: "";
    position: absolute;
    left: 18px;
    top: -50px;
    width: 74px;
    height: 48px;
    border-radius: 28px 28px 12px 12px;
    background: linear-gradient(#f7fbff, #cbd8e7);
    box-shadow: inset 0 -10px 0 rgba(0,0,0,.06);
}

.pc-bottom-benefits {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 24px;
    background: #f5f9ff;
}

.pc-bottom-benefits article {
    min-height: 88px;
}

@media (max-width: 1199px) {
    .pc-shell {
        width: min(100% - 32px, 1024px);
    }

    .pc-topbar__right {
        display: none;
    }

    .pc-mainhead {
        grid-template-columns: 220px 1fr;
    }

    .pc-head-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 140px);
        justify-content: end;
    }

    .pc-hero-grid {
        grid-template-columns: 232px minmax(0, 1fr);
    }

    .pc-hero {
        min-height: 420px;
    }

    .pc-hero__content {
        width: 58%;
        padding: 56px 0 58px 74px;
    }

    .pc-hero__device {
        right: 5%;
        width: 34%;
    }

    .pc-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-flash-sale__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 641px) and (max-width: 1199px) {
    .pc-flash-sale__grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(248px, calc((100% - 32px) / 3));
        grid-template-columns: none;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pc-flash-sale__grid::-webkit-scrollbar {
        display: none;
    }

    .pc-flash-sale__grid .pc-product-card {
        scroll-snap-align: start;
        min-width: 0;
    }
}

@media (min-width: 901px) and (max-width: 1199px) {
    .pc-site-head {
        position: sticky;
        top: 0;
    }

    .pc-topbar .pc-shell {
        justify-content: flex-start;
        padding-right: 360px;
    }

    .pc-mainhead {
        padding-top: 16px;
    }

    .pc-head-actions {
        position: absolute;
        top: 0;
        right: max(16px, calc((100vw - 1024px) / 2));
        z-index: 3;
        grid-column: auto;
        grid-template-columns: repeat(3, max-content);
        align-items: center;
        justify-content: end;
        gap: 18px;
        width: auto;
        height: 40px;
    }

    .pc-head-actions a {
        display: inline-grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        align-items: center;
        place-items: center;
        gap: 7px;
        min-height: 40px;
        font-size: 13px;
        font-weight: 600;
    }

    .pc-head-actions i {
        font-size: 16px;
    }

    .pc-head-actions .pc-cart-link b {
        top: 1px;
        right: -8px;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .pc-nav {
        overflow: visible;
    }

    .pc-nav-submenu {
        width: 260px;
    }
}

@media (max-width: 900px) {
    .pc-site-head {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .pc-mainhead {
        grid-template-columns: 44px auto minmax(0, 1fr) 44px;
        gap: 10px;
        padding: 14px 0;
    }

    .pc-brand {
        justify-content: flex-start;
    }

    .pc-mobile-menu--head {
        display: grid;
        place-items: center;
        align-self: center;
    }

    .pc-head-actions {
        position: static;
        display: grid;
        grid-template-columns: 44px;
        justify-content: end;
        width: 44px;
        grid-column: auto;
    }

    .pc-head-actions a:not(.pc-cart-link) {
        display: none;
    }

    .pc-head-actions .pc-cart-link {
        display: grid;
        place-items: center;
        width: 44px;
        min-height: 44px;
        color: #071126;
    }

    .pc-head-actions .pc-cart-link i {
        font-size: 22px;
    }

    .pc-head-actions .pc-cart-link span {
        display: none;
    }

    .pc-head-actions .pc-cart-link b {
        top: 0;
        right: 0;
    }

    .pc-nav {
        overflow-x: auto;
        gap: 26px;
        height: 44px;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .pc-nav::-webkit-scrollbar {
        display: none;
    }

    .pc-nav .pc-mobile-menu {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
    }

    .pc-hero-grid {
        grid-template-columns: 1fr;
    }

    .pc-hero-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-side-cats {
        display: none;
    }

    .pc-side-cats::-webkit-scrollbar {
        display: none;
    }

    .pc-side-cats__title {
        display: none;
    }

    .pc-side-cats a {
        border: 1px solid var(--pc-line);
        border-radius: 8px;
        background: #fff;
    }

    .pc-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-benefits article + article {
        border-left: 0;
    }

    .pc-tiktok-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-youtube-layout {
        grid-template-columns: 1fr;
    }

    .pc-promo-grid {
        grid-template-columns: 1fr;
    }

    .pc-promo {
        padding-right: 210px;
    }

    .pc-flash-sale {
        padding: 18px;
    }

    .pc-flash-sale__head {
        align-items: flex-start;
    }

    .pc-bottom-benefits {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pc-shell {
        width: min(100% - 24px, 520px);
        max-width: calc(100vw - 24px);
        overflow-x: clip;
    }

    .pc-home,
    .pc-home-main,
    .pc-section {
        max-width: 100%;
        overflow-x: clip;
    }

    .pc-cat-slider,
    .pc-category-slider {
        width: 100%;
        max-width: calc(100vw - 24px);
        overflow: hidden;
        contain: layout paint;
    }

    .pc-cat-slider .swiper-wrapper,
    .pc-category-slider .swiper-wrapper {
        max-width: 100%;
    }

    .pc-cat-slider .swiper-slide,
    .pc-category-slider .swiper-slide {
        max-width: calc((100vw - 36px) / 2);
        min-width: 0;
    }

    .pc-bottom-benefits {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
    }

    .pc-bottom-benefits > div,
    .pc-bottom-benefits article {
        display: grid;
        justify-items: center;
        align-content: start;
        gap: 6px;
        min-height: 82px;
        padding: 8px 4px;
        text-align: center;
    }

    .pc-bottom-benefits i {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .pc-bottom-benefits strong {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 11px;
        line-height: 1.25;
    }

    .pc-bottom-benefits span {
        display: none !important;
    }

    .pc-topbar {
        display: none;
    }

    .pc-brand img {
        width: 34px;
        height: 34px;
    }

    .pc-brand strong {
        font-size: 18px;
    }

    .pc-brand span,
    .pc-brand small {
        display: none;
    }

    .pc-search {
        grid-template-columns: 1fr 46px;
        height: 42px;
        min-width: 0;
    }

    .pc-search input {
        padding: 0 12px;
        font-size: 13px;
    }

    .pc-search__cat {
        display: none;
    }

    .pc-search-cat {
        display: none;
    }

    .pc-search__submit {
        width: 40px;
        min-width: 40px;
        padding: 0;
        font-size: 0 !important;
    }

    .pc-search__submit i {
        font-size: 16px;
    }

    .pc-nav {
        gap: 18px;
        height: 42px;
        font-size: 13px;
    }

    .pc-site-head .pc-nav {
        display: none;
    }

    .pc-nav .pc-mobile-menu {
        display: none;
    }

    .pc-home-main {
        padding-top: 12px;
    }

    .pc-hero {
        min-height: 520px;
    }

    .pc-hero__content {
        width: 100%;
        padding: 34px 26px 0;
    }

    .pc-hero__eyebrow {
        font-size: 16px;
    }

    .pc-hero h2 {
        font-size: 34px;
    }

    .pc-hero p {
        font-size: 15px;
    }

    .pc-hero ul {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .pc-hero__cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .pc-hero__cta a {
        min-width: 132px;
        height: 46px;
        font-size: 15px;
    }

    .pc-hero__cta strong {
        font-size: 24px;
    }

    .pc-hero__device {
        right: 13%;
        top: auto;
        bottom: 70px;
        width: 70%;
    }

    .pc-hero__arrow {
        display: none;
    }

    .pc-benefits {
        grid-template-columns: 1fr;
    }

    .pc-hero-banners {
        gap: 0;
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        margin-top: 12px;
    }

    .pc-hero-banner {
        border-radius: 0;
        box-shadow: none;
    }

    .pc-benefits > div,
    .pc-benefits article,
    .pc-bottom-benefits article,
    .pc-bottom-benefits > div {
        justify-content: flex-start;
        min-height: 66px;
        padding-inline: 18px;
    }

    .pc-benefits {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(74px, 1fr);
        gap: 6px;
        overflow-x: auto;
        padding: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pc-benefits::-webkit-scrollbar {
        display: none;
    }

    .pc-benefits > div,
    .pc-benefits article {
        display: grid;
        justify-items: center;
        align-content: start;
        gap: 5px;
        min-height: 78px;
        padding: 7px 4px;
        border-left: 0;
        border-radius: 8px;
        background: #fff;
        scroll-snap-align: start;
        text-align: center;
    }

    .pc-benefits > div i,
    .pc-benefits article i {
        width: 39px;
        height: 39px;
        margin: 0;
        font-size: 14px;
    }

    .pc-benefits > div span,
    .pc-benefits article span {
        min-width: 0;
    }

    .pc-benefits > div strong,
    .pc-benefits article strong {
        display: -webkit-box;
        min-height: 32px;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 11px;
        line-height: 1.35;
    }

    .pc-benefits > div small,
    .pc-benefits article small {
        display: none;
    }

    .pc-bottom-benefits {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .pc-bottom-benefits > div,
    .pc-bottom-benefits article {
        display: grid;
        justify-items: center;
        align-content: start;
        gap: 6px;
        min-height: 82px;
        padding: 8px 4px;
        text-align: center;
    }

    .pc-bottom-benefits i {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .pc-bottom-benefits span {
        display: none !important;
    }

    .pc-section {
        margin-top: 28px;
    }

    .pc-section__head h2 {
        font-size: 18px;
    }

    .pc-video-showcase {
        margin-top: 18px;
        padding: 16px;
    }

    .pc-video-showcase--youtube {
        padding-block: 18px 22px;
    }

    .pc-video-showcase__head {
        align-items: flex-start;
        gap: 10px;
    }

    .pc-video-showcase__head h2 {
        font-size: 19px;
    }

    .pc-video-showcase__head p {
        font-size: 12px;
        line-height: 1.35;
    }

    .pc-video-showcase__head a {
        font-size: 12px;
    }

    .pc-tiktok-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(132px, 42%);
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pc-tiktok-grid::-webkit-scrollbar {
        display: none;
    }

    .pc-tiktok-card {
        scroll-snap-align: start;
    }

    .pc-video-play {
        width: 46px;
        height: 46px;
        border-width: 2px;
    }

    .pc-tiktok-card strong,
    .pc-youtube-featured strong,
    .pc-youtube-item strong {
        font-size: 13px;
    }

    .pc-tiktok-card strong {
        height: 36px;
        min-height: 36px;
        max-height: 36px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        line-height: 1.35;
    }

    .pc-youtube-list {
        grid-template-rows: none;
        gap: 9px;
    }

    .pc-youtube-item {
        grid-template-columns: 156px minmax(0, 1fr);
        min-height: 88px;
        gap: 10px;
        padding: 0 10px 0 0;
    }

    .pc-youtube-item__thumb {
        min-height: 88px;
        border-radius: 8px 0 0 8px;
    }

    .pc-youtube-item small {
        font-size: 11px;
    }

    .pc-youtube-play {
        width: 62px;
        height: 44px;
        border-radius: 10px;
    }

    .pc-youtube-play i {
        font-size: 24px;
    }

    .pc-youtube-featured .pc-video-thumb {
        min-height: 220px;
    }

    .pc-youtube-featured > strong {
        padding: 30px 14px 13px;
    }

    .pc-cat-grid,
    .pc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pc-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pc-post-card__body {
        gap: 7px;
        padding: 10px;
    }

    .pc-post-card h3 {
        min-height: 38px;
        font-size: 13px;
        line-height: 1.45;
    }

    .pc-post-card p {
        display: none;
    }

    .pc-post-card__link,
    .pc-post-card time {
        font-size: 11px;
    }

    .pc-flash-sale {
        margin-top: 20px;
        padding: 14px;
    }

    .pc-flash-sale__head {
        display: grid;
        gap: 12px;
        margin-bottom: 12px;
    }

    .pc-flash-sale__head h2 {
        font-size: 19px;
    }

    .pc-flash-sale__head a {
        width: max-content;
    }

    .pc-flash-sale__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pc-cat-card {
        min-height: 160px;
        padding: 14px;
    }

    .pc-cat-card__image {
        height: 78px;
    }

    .pc-product-card {
        min-height: 304px;
        padding: 20px 12px 14px;
    }

    .pc-product-card__image {
        height: 132px;
    }

    .pc-product-card__image img {
        max-height: 128px;
    }

    .pc-product-card__price strong,
    .pc-product-card__price strong .woocommerce-Price-amount {
        font-size: 15px;
    }

    .pc-product-card__price del,
    .pc-product-card__price del .woocommerce-Price-amount {
        font-size: 11px;
    }

    .pc-stars em {
        display: none;
    }

    .pc-promo {
        min-height: 150px;
        padding: 22px 142px 20px 22px;
    }

    .pc-promo-grid {
        gap: 8px;
        margin-top: 14px;
    }

    .pc-promo-grid .pc-promo--image {
        aspect-ratio: 2172 / 724;
    }

    .pc-promo span {
        font-size: 22px;
    }

    .pc-promo strong {
        font-size: 18px;
    }

    .pc-promo-art--pc {
        right: 14px;
        width: 92px;
        height: 92px;
    }

    .pc-promo-art--pc::before {
        left: -58px;
        width: 64px;
    }

    .pc-promo-art--laptop {
        right: 12px;
        width: 118px;
        height: 72px;
    }

    .pc-promo-art--camera {
        right: 18px;
        width: 68px;
        height: 68px;
    }

    .pc-promo-art--camera::before {
        top: -40px;
        width: 58px;
        height: 38px;
    }
}

.pc-promo-grid .pc-promo--image {
    min-height: auto;
    padding: 0;
    aspect-ratio: 2172 / 724;
    border: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.pc-promo-grid--count-2 .pc-promo--image {
    aspect-ratio: 1076 / 724;
}

.pc-promo-grid--count-3 .pc-promo--image {
    aspect-ratio: 704 / 724;
}

@media (max-width: 640px) {
    .pc-promo-grid .pc-promo--image {
        aspect-ratio: 2172 / 724;
    }
}

.pc-promo-grid .pc-promo--image::before,
.pc-promo-grid .pc-promo--image span,
.pc-promo-grid .pc-promo--image strong,
.pc-promo-grid .pc-promo--image small,
.pc-promo-grid .pc-promo--image b,
.pc-promo-grid .pc-promo--image .pc-promo-art {
    display: none;
}

.pc-promo-grid .pc-promo--image picture,
.pc-promo-grid .pc-promo--image img {
    display: block;
    width: 100%;
    height: 100%;
}

.pc-promo-grid .pc-promo--image img {
    border-radius: 8px;
    object-fit: cover;
}

.pc-hero-grid .pc-hero--banners {
    min-height: auto;
    aspect-ratio: 2048 / 855;
}

@media (max-width: 900px) {
    .pc-hero-grid .pc-hero--banners {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .pc-hero-grid {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        overflow: hidden;
    }

    .pc-hero-grid .pc-hero--banners {
        left: auto;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin-inline: 0;
        transform: none;
        border: 0;
        border-radius: 0;
        aspect-ratio: 2048 / 855;
    }

    .pc-hero-grid .pc-hero--banners .pc-hero__slide,
    .pc-hero-grid .pc-hero--banners .pc-hero__slide img {
        width: 100%;
        height: 100%;
    }

    .pc-hero-grid .pc-hero--banners .pc-hero__slide img {
        object-fit: cover;
        object-position: left center;
    }

    .pc-flash-sale {
        border-radius: 0;
    }

    .pc-cat-grid,
    .pc-product-grid,
    .pc-flash-sale__grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pc-cat-grid::-webkit-scrollbar,
    .pc-product-grid::-webkit-scrollbar,
    .pc-flash-sale__grid::-webkit-scrollbar {
        display: none;
    }

    .pc-cat-grid {
        grid-auto-columns: minmax(148px, 48%);
        padding-bottom: 4px;
    }

    .pc-product-grid,
    .pc-flash-sale__grid {
        grid-auto-columns: minmax(214px, 72%);
        padding: 2px 2px 10px;
    }

    .pc-cat-card,
    .pc-product-card {
        scroll-snap-align: start;
    }

    .pc-section__head {
        align-items: center;
        gap: 12px;
    }

    .pc-section__head a,
    .pc-flash-sale__head a {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .pc-flash-sale__grid {
        margin-inline: -2px;
    }
}

@media (max-width: 640px) {
    .pc-home .pc-product-grid,
    .pc-home .pc-flash-sale__grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 6px) / 2);
        grid-template-columns: none;
        grid-template-rows: repeat(2, minmax(0, auto));
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pc-home .pc-product-grid::-webkit-scrollbar,
    .pc-home .pc-flash-sale__grid::-webkit-scrollbar {
        display: none;
    }

    .pc-home .pc-product-card {
        min-height: 270px;
        padding: 18px 8px 10px;
        overflow: visible;
        scroll-snap-align: start;
    }

    .pc-home .pc-product-card__badge {
        left: 8px;
        top: 0;
        width: 68px;
        height: 20px;
        padding: 0 4px 2px 0;
        font-size: 9px;
    }

    .pc-home .pc-product-card__badge strong {
        font-size: 11px;
    }

    .pc-home .pc-product-card__heart {
        right: 8px;
        top: 8px;
        width: 30px;
        height: 30px;
    }

    .pc-home .pc-product-card__image {
        height: 116px;
        margin-bottom: 10px;
    }

    .pc-home .pc-product-card__image img {
        max-height: 112px;
    }

    .pc-home .pc-product-card__name {
        min-height: 40px;
        max-height: 40px;
        font-size: 12px;
        line-height: 1.32;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .pc-home .pc-product-card__price {
        gap: 5px;
        min-height: 22px;
    }

    .pc-home .pc-product-card__price strong,
    .pc-home .pc-product-card__price strong .woocommerce-Price-amount {
        font-size: 13px;
    }

    .pc-home .pc-product-card__price del,
    .pc-home .pc-product-card__price del .woocommerce-Price-amount {
        font-size: 10px;
    }

    .pc-home .pc-product-card__foot {
        margin-top: 8px;
    }

    .pc-home .pc-product-card__cart {
        width: 30px;
        height: 30px;
    }

    .ts-shop-page .pc-product-grid.pc-product-grid--archive {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: initial;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .ts-shop-page .pc-product-grid--archive .pc-product-card {
        scroll-snap-align: none;
    }
}

.pc-home .pc-product-card__name {
    display: block;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 26px;
}

.pc-home .pc-product-card__name a {
    color: inherit;
    display: -webkit-box;
    max-height: 52px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 26px;
    text-decoration: none;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .pc-home .pc-product-card__name {
        height: 40px;
        min-height: 40px;
        max-height: 40px;
        font-size: 12px;
        line-height: 20px;
    }

    .pc-home .pc-product-card__name a {
        max-height: 40px;
        line-height: 20px;
    }
}

@media (min-width: 641px) and (max-width: 1199px) {
    .pc-home .pc-cat-grid {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: initial;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .pc-home .pc-cat-card {
        min-height: 138px;
        padding: 12px 8px;
        scroll-snap-align: none;
    }

    .pc-home .pc-cat-card__image {
        height: 66px;
        margin-bottom: 10px;
    }

    .pc-home .pc-cat-card img {
        max-height: 66px;
    }

    .pc-home .pc-cat-card h3 {
        font-size: 12px;
        line-height: 1.25;
    }

    .pc-home .pc-cat-card small {
        margin-top: 6px;
        font-size: 11px;
    }
}

.pc-home .pc-cat-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 2px 2px 8px;
}

.pc-home .pc-cat-slider .swiper-wrapper {
    align-items: stretch;
}

.pc-home .pc-cat-slider .swiper-slide {
    display: flex;
    height: auto;
}

.pc-home .pc-cat-slider .pc-cat-card {
    width: 100%;
    min-width: 0;
}

@media (min-width: 641px) and (max-width: 1199px) {
    .pc-home .pc-cat-slider .pc-cat-card {
        min-height: 138px;
        padding: 12px 8px;
        scroll-snap-align: none;
    }

    .pc-home .pc-cat-slider .pc-cat-card__image {
        height: 66px;
        margin-bottom: 10px;
    }

    .pc-home .pc-cat-slider .pc-cat-card img {
        max-height: 66px;
    }

    .pc-home .pc-cat-slider .pc-cat-card h3 {
        font-size: 12px;
        line-height: 1.25;
    }

    .pc-home .pc-cat-slider .pc-cat-card small {
        margin-top: 6px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .pc-home .pc-cat-slider {
        width: 100%;
        max-width: calc(100vw - 24px);
        overflow: hidden;
        contain: layout paint;
        padding-bottom: 10px;
    }

    .pc-home .pc-cat-slider .swiper-wrapper {
        max-width: 100%;
    }

    .pc-home .pc-cat-slider .swiper-slide {
        max-width: calc((100vw - 36px) / 2);
        min-width: 0;
    }

    .pc-home .pc-cat-slider .pc-cat-card {
        min-height: 156px;
        padding: 14px;
    }
}

.pc-home .pc-product-card__name {
    height: 43px;
    min-height: 43px;
    max-height: 43px;
    font-size: 16px;
    line-height: 1.35;
}

.pc-home .pc-product-card__name a {
    max-height: 43px;
    font-size: inherit;
    line-height: inherit;
}

@media (max-width: 640px) {
    .pc-home .pc-product-card__name {
        height: 41px;
        min-height: 41px;
        max-height: 41px;
        font-size: 15px;
        line-height: 1.35;
    }

    .pc-home .pc-product-card__name a {
        max-height: 41px;
    }
}

.pc-video-showcase--tiktok .pc-tiktok-card strong {
    display: -webkit-box;
    height: 43px;
    min-height: 43px;
    max-height: 43px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: break-word;
    letter-spacing: 0;
}

@media (max-width: 640px) {
    .pc-video-showcase--tiktok .pc-tiktok-card strong {
        height: 41px;
        min-height: 41px;
        max-height: 41px;
        font-size: 15px;
    }
}

/* TikTok showcase: compact media rail with a dedicated channel panel. */
.pc-video-showcase--tiktok {
    padding: 24px;
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
    font-family: var(--ts-font-main, "Be Vietnam Pro", Arial, sans-serif);
}

.pc-video-showcase--tiktok::before {
    display: none;
}

.pc-tiktok-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.pc-tiktok-brand,
.pc-tiktok-head__actions {
    display: flex;
    align-items: center;
}

.pc-tiktok-brand {
    min-width: 0;
    gap: 13px;
}

.pc-tiktok-brand__icon {
    width: 56px;
    height: 56px;
    display: grid;
    flex: 0 0 56px;
    place-items: center;
    border-radius: 8px;
    background: #090b10;
    color: #fff;
    font-size: 30px;
    box-shadow: 3px 3px 0 #25f4ee, -3px -3px 0 #fe2c55;
}

.pc-tiktok-brand h2 {
    margin: 0;
    color: #121a2d;
    font-family: inherit;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
}

.pc-tiktok-brand p {
    margin: 4px 0 0;
    color: #596579;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.pc-tiktok-head__actions {
    flex: 0 0 auto;
    gap: 18px;
}

.pc-tiktok-promo > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pc-tiktok-promo > a:hover {
    background: #000;
    color: #fff;
}

.pc-tiktok-head__actions .pc-tiktok-follow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 16px 8px 10px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 999px;
    background:
        linear-gradient(#070b14, #070b14) padding-box,
        linear-gradient(135deg, #00f2ea, #ff0050) border-box;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(7, 11, 20, .14);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    white-space: nowrap;
}

.pc-tiktok-head__actions .pc-tiktok-follow i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #05070d;
    font-size: 15px;
    box-shadow: -2px 0 0 rgba(0, 242, 234, .75), 2px 0 0 rgba(255, 0, 80, .75);
}

.pc-tiktok-head__actions .pc-tiktok-follow:hover {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(7, 11, 20, .2);
}

.pc-tiktok-view-all {
    color: #0d6efd;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: nowrap;
}

.pc-tiktok-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: stretch;
}

.pc-video-showcase--tiktok .pc-tiktok-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.pc-video-showcase--tiktok .pc-tiktok-card {
    min-width: 0;
}

.pc-video-showcase--tiktok .pc-tiktok-card .pc-video-thumb {
    aspect-ratio: 4 / 5;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
}

.pc-video-showcase--tiktok .pc-tiktok-card strong {
    display: -webkit-box;
    margin-top: 10px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #162033;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0;
    text-overflow: ellipsis;
}

.pc-tiktok-promo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: block;
    min-height: 100%;
    padding: 24px 18px;
    border: 1px solid #f4d9e2;
    border-radius: 8px;
    background-color: #fff8fb;
    background-image: url('../images/home-banners/tiktok-follow-phone-v2.png');
    background-repeat: no-repeat;
    background-position: -28px center;
    background-size: auto 112%;
}

.pc-tiktok-promo::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, #fff8fb 0%, rgba(255, 248, 251, .98) 43%, rgba(255, 248, 251, .15) 76%, transparent 100%);
    content: '';
    pointer-events: none;
}

.pc-tiktok-promo__content {
    position: relative;
    z-index: 1;
    width: 76%;
}

.pc-tiktok-promo h3 {
    max-width: 165px;
    margin: 0 0 18px;
    color: #0f2450;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.pc-tiktok-promo ul {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pc-tiktok-promo li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #263751;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.pc-tiktok-promo li i {
    width: 21px;
    height: 21px;
    display: grid;
    flex: 0 0 21px;
    place-items: center;
    border-radius: 50%;
    background: #102651;
    color: #fff;
    font-size: 9px;
}

.pc-tiktok-promo__content > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 8px;
    background: #fe2c55;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(254, 44, 85, .2);
}

.pc-tiktok-promo__content > a:hover {
    background: #e51d49;
    color: #fff;
}

@media (max-width: 1100px) {
    .pc-tiktok-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-tiktok-promo {
        display: none;
    }
}

@media (max-width: 767px) {
    .pc-video-showcase--tiktok {
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .pc-tiktok-head {
        display: contents;
        margin-bottom: 16px;
    }

    .pc-tiktok-brand {
        order: 1;
        gap: 10px;
        width: 100%;
        min-width: 0;
        margin-bottom: 16px;
    }

    .pc-tiktok-brand > span:last-child {
        min-width: 0;
    }

    .pc-tiktok-brand__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 23px;
    }

    .pc-tiktok-brand h2 {
        font-size: 24px;
        line-height: 1.15;
    }

    .pc-tiktok-brand p {
        max-width: none;
        font-size: 13px;
        line-height: 1.4;
    }

    .pc-tiktok-layout {
        order: 2;
    }

    .pc-tiktok-head__actions {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
    }

    .pc-tiktok-head__actions .pc-tiktok-follow {
        display: none;
    }

    .pc-tiktok-view-all {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 8px 14px;
        border: 1px solid #e6eaf0;
        border-radius: 999px;
        background: #fff;
        font-size: 13px;
        text-decoration: none;
        white-space: nowrap;
    }

    .pc-video-showcase--tiktok .pc-tiktok-grid {
        grid-auto-columns: minmax(142px, 43%);
        grid-template-columns: none;
        gap: 11px;
        margin-right: -16px;
        padding-right: 16px;
    }

    .pc-video-showcase--tiktok .pc-tiktok-card strong {
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        margin-top: 8px;
        font-size: 15px;
        line-height: 1.4;
    }
}

/* TikTok infinite carousel */
.pc-video-showcase--tiktok {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(254, 44, 85, .09), transparent 28%),
        radial-gradient(circle at 94% 100%, rgba(37, 244, 238, .09), transparent 32%),
        #fff;
}

/* Home desktop: let the TikTok showcase span the viewport like Flash Sale. */
@media (min-width: 768px) {
    .pc-home-main > .pc-video-showcase--tiktok {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

.pc-tiktok-carousel {
    position: relative;
    overflow: visible;
    padding: 14px 44px 36px;
}

.pc-video-showcase--tiktok .pc-tiktok-grid {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: none;
    gap: 0;
    scroll-snap-type: none;
}

.pc-video-showcase--tiktok .pc-tiktok-card {
    height: auto;
    opacity: .62;
    transform: scale(.9);
    transition: transform .55s cubic-bezier(.2, .75, .2, 1), opacity .4s ease, filter .4s ease;
    filter: saturate(.72);
    will-change: transform;
}

.pc-video-showcase--tiktok .pc-tiktok-card:not(.swiper-slide-active) {
    cursor: pointer;
}

.pc-video-showcase--tiktok .pc-tiktok-card:not(.swiper-slide-active):hover {
    opacity: .92;
    filter: saturate(.94);
}

.pc-video-showcase--tiktok .pc-tiktok-card.swiper-slide-active {
    z-index: 3;
    opacity: 1;
    transform: scale(1.08);
    filter: saturate(1.08);
}

.pc-video-showcase--tiktok .pc-tiktok-card.swiper-slide-prev,
.pc-video-showcase--tiktok .pc-tiktok-card.swiper-slide-next {
    opacity: .88;
    transform: scale(.96);
    filter: saturate(.9);
}

.pc-video-showcase--tiktok .pc-tiktok-card .pc-video-thumb {
    aspect-ratio: 9 / 13;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
    transition: box-shadow .45s ease;
}

.pc-video-showcase--tiktok .swiper-slide-active .pc-video-thumb {
    box-shadow: 0 24px 45px rgba(15, 23, 42, .24), 0 0 0 2px rgba(254, 44, 85, .14);
}

.pc-tiktok-card__shade {
    position: absolute;
    inset: 28% 0 0;
    background: linear-gradient(180deg, transparent, rgba(3, 6, 14, .9));
    pointer-events: none;
}

.pc-tiktok-card__play {
    position: absolute;
    top: 43%;
    left: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(8, 12, 24, .34);
    color: #fff;
    font-size: 16px;
    opacity: .86;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(5px);
    transition: transform .3s ease, background .3s ease;
}

.pc-tiktok-card__play i { margin-left: 3px; }
.pc-tiktok-card:hover .pc-tiktok-card__play { background: #fe2c55; transform: translate(-50%, -50%) scale(1.08); }

.pc-tiktok-card__category,
.pc-tiktok-card__duration {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fe2c55, #d91573);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(254, 44, 85, .28);
}

.pc-tiktok-card__duration { right: 12px; left: auto; background: rgba(6, 10, 20, .7); }

.pc-tiktok-card__content {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    color: #fff;
}

.pc-video-showcase--tiktok .pc-tiktok-card .pc-tiktok-card__content strong {
    height: auto;
    min-height: 0;
    max-height: 48px;
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.pc-tiktok-card__tags { display: flex; gap: 6px; margin-top: 7px; overflow: hidden; }
.pc-tiktok-card__tags > span { color: #9efbf6; font-size: 11px; font-weight: 700; white-space: nowrap; }

.pc-tiktok-nav {
    position: absolute;
    top: 48%;
    z-index: 8;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #e6e9ef;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: #172033;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
    transform: translateY(-50%);
    transition: transform .2s ease, color .2s ease;
}

.pc-tiktok-nav:hover { color: #fe2c55; transform: translateY(-50%) scale(1.06); }
.pc-tiktok-nav--prev { left: 12px; }
.pc-tiktok-nav--next { right: 12px; }
.pc-tiktok-pagination { position: absolute; right: 0; bottom: 0 !important; left: 0; text-align: center; }
.pc-tiktok-pagination .swiper-pagination-bullet-active { width: 22px; border-radius: 5px; background: #fe2c55; }

@media (max-width: 767px) {
    .pc-tiktok-carousel {
        width: calc(100% + 32px);
        min-height: 300px;
        margin-right: -16px;
        margin-left: -16px;
        padding: 8px 16px 34px;
        overflow: hidden;
    }

    .pc-video-showcase--tiktok .pc-tiktok-grid {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: visible;
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        grid-template-columns: none;
        gap: 0;
        scroll-snap-type: none;
    }

    .pc-video-showcase--tiktok .pc-tiktok-card {
        display: block;
        height: auto;
        min-width: 0;
        opacity: .55;
        transform: scale(.92);
        scroll-snap-align: none;
    }
    .pc-video-showcase--tiktok .pc-tiktok-card.swiper-slide-active { opacity: 1; transform: scale(1); }
    .pc-tiktok-nav { display: none; }
    .pc-tiktok-card__play { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    .pc-video-showcase--tiktok .pc-tiktok-card,
    .pc-video-showcase--tiktok .pc-video-thumb img,
    .pc-tiktok-card__play { transition: none; }
}

/* YouTube tech showcase */
.pc-video-showcase--youtube.pc-youtube-tech {
    padding: 26px;
    overflow: hidden;
    border: 1px solid #dce7fb;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff 0%, #f4f8ff 62%, #eef5ff 100%);
    box-shadow: 0 12px 34px rgba(30, 64, 175, .08);
}

.pc-youtube-tech .pc-video-showcase__head { align-items: center; margin-bottom: 24px; }
.pc-youtube-brand { display: flex; align-items: center; min-width: 0; gap: 16px; }
.pc-youtube-brand__icon {
    display: grid;
    width: 60px;
    height: 52px;
    flex: 0 0 60px;
    place-items: center;
    border-radius: 14px;
    background: #f00;
    color: #fff;
    font-size: 31px;
    box-shadow: 0 10px 22px rgba(255, 0, 0, .22);
}
.pc-youtube-tech .pc-video-showcase__head h2 { color: #122067; font-size: 29px; text-transform: uppercase; }
.pc-youtube-tech .pc-video-showcase__head p { margin-top: 5px; color: #485874; }
.pc-youtube-tech .pc-video-showcase__head > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid #8db2fa;
    border-radius: 10px;
    background: rgba(255,255,255,.76);
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pc-youtube-tech .pc-video-showcase__head > a:hover { background: #1769e0; color: #fff; transform: translateY(-1px); }

.pc-youtube-tech .pc-youtube-layout { grid-template-columns: minmax(0, 1.2fr) minmax(420px, .9fr); gap: 28px; align-items: start; }
.pc-youtube-primary { min-width: 0; }
.pc-youtube-tech .pc-youtube-featured { border-radius: 12px; box-shadow: 0 12px 30px rgba(15, 23, 42, .14); }
.pc-youtube-tech .pc-youtube-featured .pc-video-thumb { height: auto; aspect-ratio: 16 / 8.2; }
.pc-youtube-tech .pc-youtube-play { width: 86px; height: 58px; border-radius: 15px; }
.pc-youtube-tech .pc-youtube-play i { margin-left: 4px; font-size: 27px; }
.pc-youtube-featured__info { padding: 16px 6px 12px; }
.pc-youtube-featured__info h3 { margin: 0; color: #111a31; font-size: 21px; line-height: 1.4; }
.pc-youtube-featured__info h3 a { color: inherit; text-decoration: none; }
.pc-youtube-featured__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.pc-youtube-featured__row small { flex: 0 0 auto; color: #77839a; font-size: 13px; }
.pc-youtube-tags { display: flex; min-width: 0; flex-wrap: wrap; gap: 6px; }
.pc-youtube-tags > span { padding: 5px 10px; border-radius: 999px; background: #e8edf6; color: #52617a; font-size: 11px; font-weight: 700; line-height: 1.2; }

.pc-youtube-tech .pc-youtube-list { display: grid; grid-template-rows: none; gap: 14px; }
.pc-youtube-tech .pc-youtube-item {
    position: relative;
    grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
    gap: 16px;
    min-height: 142px;
    padding: 0 34px 0 0;
    overflow: hidden;
    border: 1px solid rgba(222, 230, 242, .8);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pc-youtube-tech .pc-youtube-item:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 23, 42, .11); }
.pc-youtube-tech .pc-youtube-item__thumb {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    align-self: start;
    border-radius: 11px;
}
.pc-youtube-tech .pc-youtube-item__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pc-youtube-tech .pc-youtube-item > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.pc-youtube-tech .pc-youtube-item strong { font-size: 15px; line-height: 1.4; }
.pc-youtube-tech .pc-youtube-item small { margin-top: 8px; font-size: 12px; }
.pc-youtube-tech .pc-youtube-item .pc-youtube-tags { margin-top: 8px; }
.pc-youtube-tech .pc-youtube-item > i { position: absolute; top: 50%; right: 14px; color: #718096; font-size: 13px; transform: translateY(-50%); }

.pc-video-products { margin-top: 8px; padding: 16px; border-top: 1px solid #dce5f5; border-radius: 10px; background: rgba(255,255,255,.72); }
.pc-video-products h4 { margin: 0 0 13px; color: #14213b; font-size: 16px; }
.pc-video-products__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pc-video-product { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; padding: 10px; border: 1px solid #e5eaf3; border-radius: 10px; background: #fff; }
.pc-video-product__image { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 7px; background: #f7f8fb; }
.pc-video-product__image img { width: 100%; height: 100%; object-fit: contain; }
.pc-video-product__name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #1d293d; font-size: 12px; font-weight: 700; line-height: 1.35; }
.pc-video-product__price { display: block; margin: 4px 0 6px; color: #e31b36; font-size: 14px; font-weight: 800; }
.pc-video-product__price del { display: none; }
.pc-video-product__link { display: inline-flex; padding: 5px 10px; border: 1px solid #8bb1fa; border-radius: 6px; color: #1769e0; font-size: 11px; font-weight: 700; line-height: 1.2; text-decoration: none; }

@media (max-width: 1100px) {
    .pc-youtube-tech .pc-youtube-layout { grid-template-columns: 1fr; }
    .pc-youtube-tech .pc-youtube-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .pc-home .pc-video-showcase--youtube.pc-youtube-tech {
        box-sizing: border-box;
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 20px 16px 24px;
        border-width: 1px 0;
        border-style: solid;
        border-color: #dce7fb;
        border-radius: 0;
        background: linear-gradient(135deg, #fff 0%, #f4f8ff 62%, #eef5ff 100%);
        box-shadow: 0 12px 34px rgba(30, 64, 175, .08);
    }
    .pc-youtube-tech .pc-video-showcase__head { align-items: flex-start; }
    .pc-youtube-brand { gap: 11px; }
    .pc-youtube-brand__icon { width: 48px; height: 42px; flex-basis: 48px; border-radius: 10px; font-size: 24px; }
    .pc-youtube-tech .pc-video-showcase__head h2 { font-size: 21px; }
    .pc-youtube-tech .pc-video-showcase__head p { font-size: 12px; }
    .pc-youtube-tech .pc-video-showcase__head > a { width: 100%; justify-content: center; }
    .pc-youtube-tech .pc-youtube-featured .pc-video-thumb { aspect-ratio: 16 / 9; }
    .pc-youtube-featured__info { padding-right: 0; padding-left: 0; }
    .pc-youtube-featured__info h3 { font-size: 17px; }
    .pc-youtube-featured__row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .pc-video-products__grid { grid-template-columns: 1fr; }
    .pc-youtube-tech .pc-youtube-item {
        width: 100%;
        min-width: 0;
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 0;
        gap: 12px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scroll-snap-align: none;
    }
    .pc-youtube-tech .pc-youtube-item:hover { transform: none; box-shadow: none; }
    .pc-youtube-tech .pc-youtube-item > i { display: none; }
    .pc-youtube-tech .pc-youtube-item strong { font-size: 13px; }
    .pc-youtube-tech .pc-youtube-item .pc-youtube-tags > span { padding: 4px 7px; font-size: 9px; }

    /* Shared by Home and video archives: one card per row on mobile. */
    .pc-youtube-tech .pc-youtube-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
        max-height: none;
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

}

/* Disabled after restoring the previous YouTube layout. */
@media (width < 0px) {
/* YouTube showcase: featured story followed by a responsive latest-video rail. */
.pc-video-showcase--youtube {
    padding: 24px;
    scroll-margin-top: 150px;
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
    font-family: var(--ts-font-main, "Be Vietnam Pro", Arial, sans-serif);
}

.pc-video-showcase--youtube::before {
    display: none;
}

.pc-youtube-head,
.pc-youtube-latest-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pc-youtube-head {
    margin-bottom: 18px;
}

.pc-youtube-head h2,
.pc-youtube-latest-head h3 {
    margin: 0;
    color: #121a2d;
    font-family: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.pc-youtube-head h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.pc-youtube-head h2 b {
    font: inherit;
    letter-spacing: 0;
    word-spacing: 0;
}

.pc-youtube-head h2 span {
    width: 48px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #ff0033;
    color: #fff;
    font-size: 21px;
    box-shadow: 0 5px 12px rgba(255, 0, 51, .2);
}

.pc-youtube-head > a,
.pc-youtube-latest-head > a {
    color: #0d6efd;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.pc-youtube-spotlight {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 28px;
    align-items: center;
}

.pc-video-showcase--youtube .pc-youtube-featured {
    border-radius: 8px;
    background: #090d18;
}

.pc-video-showcase--youtube .pc-youtube-featured .pc-video-thumb {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.pc-video-showcase--youtube .pc-youtube-play {
    width: 72px;
    height: 72px;
    border: 3px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(9, 13, 24, .72);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.pc-video-showcase--youtube .pc-youtube-play i {
    margin-left: 4px;
    font-size: 27px;
}

.pc-youtube-spotlight__info {
    min-width: 0;
    padding-right: 18px;
}

.pc-youtube-spotlight__info h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #111827;
    font-family: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
}

.pc-youtube-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 12px 0 0;
    color: #687386;
    font-size: 14px;
    line-height: 1.45;
}

.pc-youtube-meta span + span::before {
    margin: 0 8px;
    content: '·';
}

.pc-youtube-description {
    display: -webkit-box;
    max-width: 620px;
    overflow: hidden;
    margin: 18px 0 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    color: #4b5565;
    font-size: 15px;
    line-height: 1.65;
}

.pc-youtube-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    margin-top: 20px;
    padding: 9px 18px;
    border-radius: 6px;
    background: #ed1b24;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.pc-youtube-watch:hover {
    background: #cf111a;
    color: #fff;
}

.pc-youtube-latest-head {
    margin: 26px 0 14px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

.pc-youtube-latest-head h3 {
    font-size: 21px;
    font-weight: 800;
}

.pc-youtube-latest-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.pc-youtube-latest-card {
    min-width: 0;
    color: inherit;
}

.pc-youtube-latest-card .pc-youtube-item__thumb {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 7px;
}

.pc-youtube-latest-card strong {
    display: -webkit-box;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
    margin-top: 10px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    color: #162033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0;
}

.pc-youtube-latest-card small {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #768196;
    font-size: 13px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .pc-youtube-spotlight {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .pc-youtube-spotlight__info {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .pc-video-showcase--youtube {
        padding: 16px;
    }

    .pc-youtube-head {
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .pc-youtube-head h2 {
        gap: 8px;
        font-size: 19px;
    }

    .pc-youtube-head h2 span {
        width: 38px;
        height: 28px;
        border-radius: 7px;
        font-size: 17px;
    }

    .pc-youtube-head > a,
    .pc-youtube-latest-head > a {
        font-size: 12px;
    }

    .pc-video-showcase--youtube .pc-youtube-featured .pc-video-thumb {
        min-height: 0;
    }

    .pc-video-showcase--youtube .pc-youtube-play {
        width: 58px;
        height: 58px;
    }

    .pc-youtube-spotlight__info h3 {
        font-size: 19px;
    }

    .pc-youtube-description {
        margin-top: 12px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        font-size: 14px;
    }

    .pc-youtube-watch {
        margin-top: 14px;
    }

    .pc-youtube-latest-head {
        margin-top: 22px;
    }

    .pc-youtube-latest-head h3 {
        font-size: 18px;
    }

    .pc-youtube-latest-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(210px, 72%);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        margin-right: -16px;
        padding: 0 16px 4px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .pc-youtube-latest-grid::-webkit-scrollbar {
        display: none;
    }

    .pc-youtube-latest-card {
        scroll-snap-align: start;
    }

    .pc-youtube-latest-card strong {
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        font-size: 15px;
        line-height: 1.4;
    }
}
}

/* Product card density pass: avoid orphaned title spacing on home cards. */
.pc-home .pc-product-card__image,
.pc-product-card__image {
    margin-bottom: 10px;
}

.pc-home .pc-product-card__name,
.pc-product-card__name {
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(1.3em * 2) !important;
}

.pc-home .pc-product-card__name a,
.pc-product-card__name a {
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(1.3em * 2) !important;
}

.pc-home .pc-product-card__price,
.pc-product-card__price {
    margin-top: 7px;
}

/* YouTube showcase mobile header pass. */
@media (max-width: 767px) {
    .pc-video-showcase--youtube .pc-video-showcase__head {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 16px;
    }

    .pc-video-showcase--youtube .pc-video-showcase__head h2 {
        max-width: 100%;
        font-size: 24px;
        line-height: 1.12;
        text-transform: none;
        text-wrap: balance;
    }

    .pc-video-showcase--youtube .pc-video-showcase__head p {
        max-width: 100%;
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.45;
    }

    .pc-video-showcase--youtube .pc-video-showcase__head a {
        width: fit-content;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        align-self: center;
        padding: 8px 14px;
        border: 1px solid #e6eaf0;
        border-radius: 999px;
        background: #fff;
        color: var(--pc-blue, #075bd8);
        font-size: 13px;
        font-weight: 800;
        line-height: 1.2;
        text-decoration: none;
        white-space: nowrap;
    }
}
