@font-face {
    font-family: 'Tsukushi Gothic D';
    src: url('TsukushiGothicPr5-D.otf') format('opentype');
    font-style: normal;
}
@font-face {
    font-family: 'Tsukushi Gothic B';
    src: url('TsukushiGothicPr5-B.otf') format('opentype');
    font-style: normal;
}
  
:root {
    /* font */
    --font-japan-bold: "筑紫ゴシックB";
    --font-japan: "筑紫ゴシックD";
    --font-roman: "Helvetica Neue Bold";
    --font-number: "DIN 2014 Demi";
    /* monotone */
    --color1: #333333;
    --color2: #383838;
    --color3: #404040;
    --color4: #b3b3b3;
    --color5: #f2f2f2;
    --color6: #221d1d;
    --color7: #EAE8DF;
    /* grown */
    --color7: #a37455;
    --color8: #b77432;
}

.text__japan_bold {
    font-family: 'Tsukushi Gothic B', sans-serif;
    font-weight: 550;
}

.text__japan {
    font-family: 'Tsukushi Gothic D', sans-serif;
}

.text__roman {
    font-family: "Helvetica Neue Bold", sans-serif;
}
.text__roman_bold {
    font-family: "Helvetica Neue Bold", sans-serif;
    font-weight: 550;
}
.text__number {
    font-family: var(--font-number);
}

.bg__color1 {
    background-color: var(--color1);
}
.bg__color2 {
    background-color: var(--color2);
}
.bg__color3 {
    background-color: var(--color3);
}
.bg__color4 {
    background-color: var(--color4);
}
.bg__color5 {
    background-color: var(--color5);
}
.bg__color6 {
    background-color: var(--color6);
}
.bg__color7 {
    background-color: var(--color7);
}
.bg__color8 {
    background-color: var(--color8);
}
[x-cloak] { display: none !important; }

@keyframes hoverLike {
    0% {
      transform: scale(1);
      background-color: transparent;
      color: white;
    }
    50% {
      transform: scale(1.1);
      background-color: white;
      color: black;
    }
    100% {
      transform: scale(1);
      background-color: transparent;
      color: white;
    }
  }
.float-glow {
    animation: hoverLike 2.5s ease-in-out infinite;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
}

/* Ẩn radio mặc định */
input[type="radio"].radio_custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #aaa; /* viền xám */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}
/* Tạo chấm bên trong */
input[type="radio"].radio_custom::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #aaa; /* màu xám khi chưa check */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: 0.1s ease-in-out;
}
input[type="radio"].radio_custom:checked {
    border: 1px solid #b77432; 
}
/* Khi checked thì scale ra đầy đủ */
input[type="radio"].radio_custom:checked::before {
    transform: translate(-50%, -50%) scale(1);
    background-color: #b77432;
}

input[type="checkbox"].radio_custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #aaa; /* viền xám */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}
/* Tạo chấm bên trong */
input[type="checkbox"].radio_custom::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #aaa; /* màu xám khi chưa check */
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: 0.1s ease-in-out;
}
input[type="checkbox"].radio_custom:checked {
    border: 1px solid #b77432; 
}
/* Khi checked thì scale ra đầy đủ */
input[type="checkbox"].radio_custom:checked::before {
    transform: translate(-50%, -50%) scale(1);
    background-color: #b77432;
}
.str_limit_1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;   /* số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.5rem;
}

/* list */
/* base item style — giữ vị trí relative để transform chính xác */
.list-item {
  position: relative;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
/* ENTER / LEAVE (tùy chọn: fade) */
.list-enter-active, .list-leave-active {
  transition: opacity 250ms ease;
}
.list-enter, .list-leave-to {
  opacity: 0;
}
/* MOVE (Vue tự thêm class .list-move khi item di chuyển) */
.list-move {
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}
/* Nếu muốn làm mượt hơn: thêm shadow / scale nhẹ khi di chuyển */
.list-move {
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms;
}
[v-cloak] {
  display: none;
}