/* Minimalist Google Cloud & KIYOVN CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root, html {
  color-scheme: light !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
}

body {
  color-scheme: light !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  :root, html, body {
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
  }
}

/* Triệt tiêu 100% tất cả viền mờ đen, viền xám và đổ bóng trên toàn bộ trang web */
*, *::before, *::after {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  text-shadow: none !important;
  border-color: transparent !important;
}

/* Loại bỏ hoàn toàn mọi viền xám trên các form, khung, nút */
input, select, textarea, button, hr {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Header: Di chuyển tự nhiên cùng trang web, không đứng im */
#navbar, #navbar.has-border {
  position: relative;
  z-index: 50;
  background-color: #ffffff !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: none !important;
  transition: none !important;
}

/* Product Hero Card - 100% Thuần Trắng, Không Khung Viền, Không Viền Mờ Đen, Không Chuyển Màu Xám */
.product-hero-card,
.product-hero-card:hover,
.product-hero-card:active,
.product-hero-card:focus {
  position: relative;
  overflow: visible !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: none !important;
  transform: none !important;
  -webkit-transform: none !important;
}

.product-visual-box,
.product-visual-box:hover,
.product-visual-box:active {
  position: relative;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Image Hover Dynamics inside Product Card - 100% Loại Bỏ Viền Mờ Đen Silhouette & Hiệu Ứng Bật */
.product-hero-card .product-physics-img {
  cursor: grab;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.product-hero-card:hover .product-physics-img {
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.product-hero-card .product-physics-img:active {
  cursor: grabbing;
}

/* All Buttons, Links, Inputs: 100% Phẳng, Không Viền Mờ, Không Đổ Bóng, Không Hiệu Ứng Bật/Nhảy */
button,
a,
input,
select,
textarea,
[role="button"],
.product-hero-card a,
.product-hero-card button {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  outline: none !important;
  outline-offset: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

button:hover,
button:active,
button:focus,
button:focus-visible,
a:hover,
a:active,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
.product-hero-card a:hover,
.product-hero-card a:active,
.product-hero-card button:hover,
.product-hero-card button:active {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  outline: none !important;
  outline-offset: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Card hover: 100% Phẳng, Không Nhấc Lên, Không Đổi Vị Trí */
.product-card,
.product-card:hover {
  transform: none !important;
  -webkit-transform: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Active Filter Tab */
.tab-btn.active {
  background-color: #1a73e8;
  color: #ffffff;
}

/* KHÔNG ĐƯỢC THAY ĐỔI CON TRỎ CHUỘT: Luôn giữ con trỏ default tuyệt đối trên tất cả ảnh */
img,
picture,
svg,
.hl-card,
.hl-card img,
#hl-track,
#hl-track img,
#hl-track.is-dragging,
.product-physics-img,
.product-physics-img:hover,
.product-physics-img:active,
.product-physics-img.is-dragging,
.product-visual-box {
  cursor: default !important;
}

/* 2 SẢN PHẨM HERO: HIỆN CON TRỎ BÀN TAY (POINTER) TRÊN TOÀN BỘ KHUNG, ẢNH, TIÊU ĐỀ, MÔ TẢ, BADGE */
.product-hero-card,
.product-hero-card *,
.product-hero-card .product-visual-box,
.product-hero-card .product-physics-img,
.product-hero-card .product-physics-img:hover,
.product-hero-card .product-physics-img:active,
.product-hero-card h2,
.product-hero-card p,
.product-hero-card span,
.product-card-clickable,
.product-card-clickable * {
  cursor: pointer !important;
}

.product-hero-card,
.product-hero-card:hover {
  transform: none !important;
  -webkit-transform: none !important;
}

.product-hero-card h2 {
  transition: color 0.2s ease;
}

/* Modal scale animation */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-up {
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Ẩn thanh cuộn mặc định CHỈ TRÊN MÀN HÌNH MÁY TÍNH (>= 1024px) để hiển thị Canvas Scrollbar UI */
@media (min-width: 1024px) {
  *::-webkit-scrollbar,
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  :root, html, body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
}

/* Custom Canvas Scrollbar UI (chỉ dùng trên máy tính desktop >= 1024px) */
#canvas-scrollbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 10px;
  height: 100vh;
  z-index: 999999;
  cursor: default;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

/* Triệt tiêu 100% khả năng bôi đen và GIỮ CON TRỎ MẶC ĐỊNH trên tất cả ảnh */
img, picture, svg, .hl-card, .hl-card img, #hl-track, #hl-track img, .product-visual-box {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  cursor: default !important;
}

/* Đảm bảo ảnh không bao giờ chạm mép trình duyệt và luôn có độ sâu 0.0001px để giữ render GPU */
#hl-track,
.hl-card,
.hl-card img {
  transform: translate3d(0, 0, 0.0001px);
  -webkit-transform: translate3d(0, 0, 0.0001px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#hl-track {
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  will-change: transform, scroll-position;
  scroll-behavior: auto !important;
  padding-left: max(1.5rem, 4vw) !important;
  padding-right: max(3.5rem, 10vw) !important;
}

.hl-card {
  user-select: none;
  -webkit-user-select: none;
  flex-shrink: 0;
  contain: paint;
  margin: 0 0.0001px;
  cursor: default !important;
}

.hl-card img {
  pointer-events: auto !important; /* Cho phép nhận click để có thể rơi khi spam click 4 CPS */
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  image-rendering: -webkit-optimize-contrast;
  display: block;
  cursor: default !important;
}

/* Product Images Elastic Physics */
.product-visual-box {
  cursor: default !important;
  overflow: visible !important;
}

.product-physics-img {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  touch-action: none !important;
}

.product-physics-img.is-dragging {
  cursor: grabbing !important;
}

/* TRÌNH DUYỆT ĐIỆN THOẠI (< 1024px): Hiển thị thanh cuộn mặc định chuẩn của hệ điều hành (iOS / Android) */
@media (max-width: 1023px) {
  html {
    scrollbar-width: auto !important;
    -ms-overflow-style: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body {
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100% !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #canvas-scrollbar {
    display: none !important;
    pointer-events: none !important;
  }
}

/* Canvas Text Physics (Overlays navbar, 100% anti-selection on dropped items, normal selection elsewhere) */
#text-physics-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999990;
}

[data-canvas-dropping="true"],
[data-canvas-dropping="true"] *,
.canvas-text-hidden,
.canvas-text-hidden * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

[data-canvas-dropping="true"]::selection,
[data-canvas-dropping="true"] *::selection,
.canvas-text-hidden::selection,
.canvas-text-hidden *::selection {
  background: transparent !important;
  color: transparent !important;
}


/* Anti-text selection when interacting with or dragging any image */
body.is-image-interacting,
body.is-image-interacting * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

body.is-image-interacting::selection,
body.is-image-interacting *::selection {
  background: transparent !important;
  color: inherit !important;
}

.product-physics-img,
.product-visual-box,
.product-hero-card {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* Brand Logo Cursor & Hover */
.brand-logo-link,
.brand-logo-link img,
.brand-logo-link * {
  cursor: pointer !important;
}
