* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "SVN-Gilroy", sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --root-font-size: 1vw;
}
  .product-card__content_main{
   border-bottom-left-radius: 1.25rem;  /* Rounds the bottom-left corner */
  border-bottom-right-radius: 1.25rem;
}

html {
    position: relative;
    font-size: var(--root-font-size);
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    background: #fff;
}
.service-benefits__item-icon{
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 639.98px) {
    :root {
        --root-font-size: 4.267vw;
    }
    .product-card__content_main{
  border-bottom-left-radius: 0.75rem;  /* Rounds the bottom-left corner */
  border-bottom-right-radius: 0.75rem;
}
}

@media screen and (min-width: 1920px) {
    :root {
        --root-font-size: 17px;
    }
}


/* Toàn bộ scrollbar */
/*html::-webkit-scrollbar {*/
/*  width: 0.5rem;*/
/*}*/



body.hidden__scrollbar {
    overflow: hidden;
}

body[data-scroll-locked] {
    overflow: hidden !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
}

section {
    position: relative;
}

a {
    display: block;
    text-decoration: none;
}

button {
    cursor: pointer;
    display: flex;
    border: none;
}

.global-message-scroll__word {
    display: inline-block;
    will-change: color, font-weight;
}


:root {}

.r--write-review.r--modal {
	font-family: 'SVN-Gilroy';
}

/* ===================================================================
   UX dùng chung cho video TikTok (Plyr) — áp cho cả 3 section:
   media-channels, customer-review, featured-video-section.
   Các rule nhắm .plyr chỉ có hiệu lực ở trang có Plyr (homepage +
   Đại sứ Kingtech), vô hại ở trang khác. Đây là CSS cho thư viện bên
   thứ 3 (Plyr dùng px nội bộ) nên dùng px là hợp lệ với rule rem-only.
   =================================================================== */

/* Phóng to controls cho dễ thao tác mobile + desktop (req 8). */
.plyr {
    --plyr-control-icon-size: 20px;
    --plyr-control-spacing: 12px;
    --plyr-range-thumb-height: 15px;
    --plyr-range-track-height: 6px;
    --plyr-font-size-base: 16px;
    --plyr-font-size-time: 14px;
}

/* Nút play/pause lớn ở giữa khi pause: to hơn + vùng tap rộng (req 3, 8). */
.plyr__control--overlaid {
    padding: calc(var(--plyr-control-spacing) * 1.6);
    background: var(--plyr-color-main, #09b8b3);
}
.plyr__control--overlaid svg {
    width: 26px;
    height: 26px;
}

/* Nền tối nhẹ khi đang pause (req 3) — nằm TRÊN video, DƯỚI nút overlaid +
   control bar nên không chặn thao tác. Section chỉ gắn Plyr khi đang phát, nên
   lớp này chỉ xuất hiện đúng lúc người dùng pause. */
.plyr--video:not(.plyr--playing)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
    border-radius: inherit;
}

/* Fullscreen giống YouTube: contain + nền đen, không crop (req 7). !important để
   thắng object-fit: cover đang set trong CSS từng section. */
.plyr--fullscreen-active,
.plyr:fullscreen {
    background: #000;
}
.plyr--fullscreen-active video,
.plyr:fullscreen video,
video:fullscreen {
    object-fit: contain !important;
    background: #000;
}
