/* 예시파일 */

:root {
  --layout-color: #fff;
}

@charset 'utf-8';
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap'); */
@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Pretendard-Bold';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
:root {
  --whole-color: #fff;
  --background-color: #f5f6f8;
  --point-color: #f92626 !important;
  --point-color-secondary: #2869f7;
  --black-color: #111;
  --dark-gray-color: #262626;
  --empty-color: #f5f6f8;
  --default-color: #ddd;
  --blue-gray-color: #3f434c;
  --gray-color: #999;
  --gray-font-color: #828282;
  --tooltip-bg-color: #f7f7f7;
  --default-font-color: #181818;
}

.header {
  min-height: 60px;
  /* background-color: #000; */
}
.header--sub {
  border-bottom: 1px solid #eee;
  background-color: #ebe9e9;
}
.header__title {
 font-size: 1.1rem;
 text-align: left;  
 padding-left: 50px;
 width: 85%;
 font-weight: 500;

}
.heder__mypage-btn {
  position: absolute;
  top: 50%;
  right: 55px;
  transform: translateY(-50%);
  max-width: 100%;
}
html,
body {
  font-family: 'Pretendard-Regular';
  font-size: 1rem;
  line-height: 1.2rem;
  margin: 0;
  padding: 0;
  width: 100%; /* 강제적으로 width 제한 */
  box-sizing: border-box;
}
p,
span {
  font-family: 'Pretendard-Regular';
}
.grid-product-item__title {
  -webkit-line-clamp: 2 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  margin: 8px 0 4px 0;
  overflow: hidden;
  width: 100%;
  word-break: break-all;
  color: #212B36;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2rem;
}
/* span {
  font-family: 'Pretendard-Regular';
  font-size: 1rem;
  line-height: 1.2rem;
} */
/* App.css 또는 글로벌 스타일에 */
body.stop-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.header__left-btn,
.header__cart-btn,
.header__cancel-btn {
  max-width: 100%;
  right: 20px;
  top: 30px;
}
.header__logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Pretendard-Bold';
}
.header__logo_img {
  width: 2rem;
  height: 2rem;
}
.header__left-btn-home {
  position: absolute;
  left: 50px;
  top: 0;
}
.sign-in-open-id {
  margin-top: 20px;
}
@media (min-width: 1001px) {
  .page .layout-tab-container {
      width: 500px;
      left: initial;
      right: initial;
      transform: none;
  }
}
@media (max-width: 1001px) {
  .page .layout-tab-container {
    transform: translateX(-50%);
  }
}
/* 하단 메뉴 4개 */
.page .layout-tab-container {
  left: 50%;
  width: 100%;
  max-width: 500px;
}
.layout-tab-container {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 800;
  display: block;
  width: 100%;
  transition: transform 0.3s;
}
.layout-tab-container > .inner {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d9d9db;
  max-width: 940px;
  margin: 0 auto;
  background-color: #fff;
  padding-top: 10px;
}
.layout-tab-container .tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 0 7px 0;
}
.layout-tab-container .tab-item > .icon {
  overflow: hidden;
  position: relative;
  display: block;
  height: 33px;
  width: 32px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.layout-tab-container .tab-item > .txt {
  display: block;
  font-size: 11px;
  line-height: 15px;
  font-weight: 400;
  color: #444444;
}

.hidden {
  display: none!important;
}

.button {
  background-color: #FEE500; /* Green */
  border: none;
  color: black;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin: 4px 2px; 
  padding: 12px 28px;
  border-radius: 10px;
  width:49%
}

/* tailwind용 테스트 */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.w-full {
  width: 100%;
}
.left-0 {
  left: 0px;
}
.bottom-0 {
  bottom: 0px;
}
.absolute {
  position: absolute;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.pt-8 {
  padding-top: 2rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: start;
}
.flex-1 {
  flex: '1 0 auto',
}
.flex {
  display: flex;
}
.flex-direction-col {
  flex-direction: column;
}
.flex-direction-row {
  flex-direction: row;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.relative {
  position: relative!important;
}
.opacity-100 {
  opacity: 1;
}

.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68);
}
.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: flex-start;
}
.text-center {
  text-align: center;
}
.w-10 {
  width: 2.8rem;
  height: 2.8rem;
  border: solid 2px var(--point-color); 
}

.img-border {
  border: solid 2px #000;
  border-radius: 50%;
}
.h-10 {
  height: 3rem;
}
.overflow-hidden {
  overflow: hidden;
}
.w-screen {
  width: 100vw;
}
.h-screen {
  height: 100%;
}
.overflow-y-auto {
  overflow-y: auto;
}
.h-48 {
  height: 12rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.rounded-full {
  border-radius: 9999px;
}
.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.text-xs {
  font-size: 0.85rem;
  line-height: 1rem;
}
.text-lg {
  font-size: 1.2rem;
  line-height: 1.4rem;
}
.text-xl {
  font-size: 1.7rem;
  line-height: 2rem;
}
.text-danger {
  color: var(--point-color);
}
.chatMessageInput {
  background-color: black;
  font-size: 0.9rem;
  line-height: 1.3rem; 
  border-color: rgb(209 213 219 );
  border-width: 1px;
  border-radius: 9999px;
  color: white;
}
.chatFocus{
  position: fixed;
  bottom:10px
}
.chatMessageHistory {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  padding-left: 0.5rem;
  overflow-y: auto;
  height: 12rem;
  margin-bottom: 5rem;
}
.chatMessageInputWidth {
  width:86%;
}
.chatProductImgCount {
    position: absolute;
    color: rgb(255 255 255);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
    top: -0.25rem;
    right: -0.25rem;
}
.cs {
  font-size: 1rem;
}
.shopping-basket__count{
   bottom: 15px;
}
.fab-top-down {
  bottom: 8rem;
}
.shopping-basket__countlive {
  right: 18px;
  bottom: 55px;
  position: absolute;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--point-color);
  border-radius: 50%;
  vertical-align: top;
  text-align: center;
  color: #fff;
  font-size: 12px;
 }
 .mute-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  background-color: rgba(153, 153, 153, 0.2);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: white;
  width: 60%;
}
.mute-text {
  margin-top: 8px;
  font-size: 14px;
}
.broadcast-indicator {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-color: rgba(153, 153, 153, 0.43);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  color: white;
  width: 60%;
}
.video-layout {
  align-items: center;
  background: linear-gradient(180deg,#111 49.95%,#29235e);
  color: #fff;
  /* display: flex;
  flex-direction: column; */
  /* height: 80%; */
  height: calc(var(--vh, 1vh)*100);  
  /* height: 100dvh;   */
  max-width: 100vw; 
  min-height: max(568px,calc(var(--vh, 1vh)*100));
  min-width: 360px;
  overflow: hidden;
  overflow-y: hidden; 
  transition: opacity 0.3s ease;
  /* overflow: hidden auto; */
  /* scroll-snap-type: y mandatory */
}

.video-layout>.wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  min-width: 360px;
  width: 100%;
  position: relative;
  /* width: 25vh;
  width: calc(var(--vh, 1vh)* 25);
  width: 56.25dvh; */
  overflow: auto;
  height: calc(var(--vh, 1vh)*100);  
  transition: opacity 0.3s ease;
  /* height: 100dvh;   */
  
}

.video-layout .live-video {
  background-color: #111;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  height: 100%;
  height: calc(var(--vh, 1vh)*100);  
  height: 100dvh;  
  position: absolute;
  width: 100%;
  overflow: auto;

}
.wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}
.wrapper.visible {
  opacity: 1;
  pointer-events: auto;
}
.contents-area {
  flex-shrink: 0;
  height: 100%;
  height: calc(var(--vh, 1vh)* 100);
  /* height: 100dvh; */
  overflow: clip clip;
  position: relative;
  width: 100%;

}
.contents-items {
  background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 48.56%, transparent 81.52%, rgba(0, 0, 0, .65));
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  position: relative;
  transition: opacity .2s linear;
  width: calc(100% + 2px);
  z-index: 2;
}
.seller-description {
  font-size: 0.8rem;
  line-height: 1.5;
}
.content-top {
  display: flex;
  flex-direction: column;
  pointer-events: visible;
}
.content-top .seller-info {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.content-top .seller-info .left {
  overflow: hidden;
}

.content-top .seller-info .right {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.notice-content {
  font-size: 0.9rem;
  line-height: 1.1rem;
  margin : 7px 0px;
}

.notice-content * {
  all: revert;
  font-size: inherit;
  line-height: inherit;
  margin: inherit;
}
.content-top .seller-info .left .content-info {
  display: flex;
  flex-grow: 1;
  gap: 8px;
  padding: 20px 10px;
}

.content-top .seller-info .left .content-info .info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}
.content-top .seller-info .left .content-info .info .seller {
  align-items: center;
  display: flex;
  margin-top: 6px;
}
.content-top .seller-info .left .content-info .info .title {
  font-size: 1rem;
  font-weight: 500;
  line-height: normal;
  overflow: hidden;
  padding: 0px 10px;
  /* text-overflow: ellipsis; */

  /* text-shadow: 0 1px 1px rgba(0, 0, 0, .5); */
  /* white-space: nowrap;  */
}
.content-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 16px;
  z-index: 1;
}
.content-header .left {
  align-items: center;
  display: flex;
  gap: 10px;
}
.count-button {
  color: rgb(255 255 255);
  font-weight: 500;
  font-size: 0.8em;
  line-height: 0.7rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  background-color: rgb(83, 83, 83);
  border-radius: 20px;
  
}
.content-header .left .live-button {
  position: absolute;
  color: rgb(255 255 255);
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 0.8rem;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  background-color: rgb(239 68 68);
  top: 3rem;
  left: 1.2rem;
  margin-top: 0.1rem;
}
.content-header .left .view-count {
  align-items: center;
  display: flex;
  gap: 1px;
}
.content-header .right {
  display: flex;
  gap: 12px;
}
.live-logo {
  font-size: 1.1rem;
  /* padding-top: 3px; */
}
.contents-bottom {
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
  pointer-events: visible;
}
.contents-bottom .bottom-items {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 21px 30px 17px;
}
.contents-bottom .left , .contents-bottom .right {
  display: flex;

}

.contents-bottom .chat-input {
  align-items: center;
  /* border: 1px solid hsla(0, 0%, 100%, .7); */
  border-radius: 22px;
  display: flex;
  /* gap: 16px; */
  height: 40px;
  padding: 8px 16px;
  position: relative;
  width: 100%;
  background-color: rgb(255, 255, 255, 0.15);
}
.contents-body .notice-box{
  /* justify-content: center; */
  /* margin-left: 50px; */
  align-items: center; 
  /* border: 1px solid hsla(0, 0%, 100%, .7); */
  border-radius: 22px;
  display: flex;
  /* gap: 16px; */
  height: 35px;
  margin-left: 12px;
  margin-top: 10px;
  padding: 5px; 
  position: relative;
  width: 75%;
  background-color: rgb(255, 255, 255, 0.15);
}
.contents-body {
  flex-direction: column;
  display: flex;
  margin-top: auto;
  justify-content: center;
  align-items: start;
}
.contents-body .chat-box {
  align-items: flex-end;
  display: flex
;
  max-height: max(160px, 23vh);
  max-width: 480px;
  position: relative;
  width: 100%;
}

.contents-body .chat-box .message-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: none;
  width: 100%;
}

.contents-body .chat-box .message-list .message-item {
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px rgba(0, 0, 0, .2);
}
.contents-body .contents-mid-area {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  max-width: 480px;
  padding-left: 16px;
  pointer-events: visible;
  width: calc(100% - 60px);
  z-index: 1;
}

.chatHandle-txt {
  color: blanchedalmond;
}

.chatType-seller-txt {
  color:aquamarine
}
.primary {
  background-color:#2869f7 ;  /* Green */
  color: white;
}

.text-pink-500 {
  color: #F92626;
}

.live-video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.live-order-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 하단에 정렬 */

  
}
.title-modal--test {
  width: 100%;
  max-width: 600px;
  background: white;
  border-radius: 12px 12px 0 0; /* 위쪽만 둥글게 */
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
  /* padding: 20px; */
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 80vh; /* 최대 높이 제한 */
  overflow-y: auto; /* 내부 스크롤 */
}

.title-modal__header {
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  /* background-color: #f1f1f1; */
  border-bottom: 1px solid #ccc;
}
.title-modal__content {
  flex: 1; /* 컨텐츠가 넘칠 경우 남은 공간을 차지하도록 설정 */
  padding: 16px;
  overflow-y: auto; /* 세로 스크롤 활성화 */
  max-height: 60vh; 
  min-height: 40vh;
}
.title-modal__footer {
  padding: 16px;
  background-color: #f1f1f1;
  border-top: 1px solid #ccc;
  text-align: right;
}
.thumb-item-all{
  position: relative; 
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 15px;
}
.product-thumb-item {
  width: 100%;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 25px 25px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeInOut 3s;
  width:80%;
  text-align:center;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%,100px); }
  10% { opacity: 1; transform: translate(-50%,0px); }
  90% { opacity: 1; transform: translate(-50%,10px); }
  100% { opacity: 0; transform: translate(-50%,0px); }
}

.liverOderModal__buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8571428571rem;
  gap: 1.1428571429rem;
}
.btn--dark-live {
  border: 0;
  color: #fff;
  background-color: var(--blue-gray-color);
  height:48px;
}
.btn--caution-live {
  border: 0;
  color: #fff;
  background-color: var(--point-color);
  height:48px;
}

.modal {
  border-radius:10px;
}
.modal__content {
  min-height: 150px;
  padding: 1.0714285714rem;
}
.modal__btns {
  border-top: 0px solid;
}
.select-box {
  padding: 5px;
  border-radius: 1px;
}

.live-item .thumb-item{
  padding:5px 5px;
}
.sign-in {
  padding: 0px 20px ;
}
.sign-in-open-id {
  margin-top: 5px;
}
.open-id-sign-in__list {
  margin-top: 5px;
}
.open-id-sign-in__link {
  border-radius: 10px;
  font-weight:600;
}
.open-id-sign-in__item.type-kakao-sync button {
  border-radius: 10px;
  font-weight:600;
  animation: pulsing 2s infinite;
}
@keyframes pulsing {
  0%, 100% { transform: scale(0.98)}
  50% {transform: scale(1.03)}
}
@supports not (-webkit-touch-callout:none) {
  .content-bottom .left[data-shrink=false] {
      flex-basis: 48px;
      max-width: 48px;
      opacity: 1;
  }
}
.bottom-left-root {
  display: flex;
  position: relative;
}
.totalSaleProduct-button {
  display: flex;
  flex-shrink: 0;
  height: 44px;
  position: relative;
  width: 44px;
}
.totalSaleProduct-button .thumbnails {
  background-color: #fff;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 50px;
  border: 2px solid #fff;
  border-radius: 6px;
  display: flex;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.totalSaleProduct-button .label {
    bottom: -6px;
    font-size: 11px;
    font-weight: 600;
    left: 50%;
    position: absolute;
    text-shadow: 0 0 4px rgba(0, 0, 0, .3);
    transform: translate(-50%, 100%);
    white-space: nowrap;
   
}
.bottom-left-root .count-style {
  background-color: #e83c3b;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  min-height: 17px;
  padding: 0 6px;
  height:18px;
  position: absolute;
  right:-6px;
  top:-7px;
  
}

.liveBuy-control-box {
  margin-top: 12px;
  min-width: 285px;
  transform-origin: bottom left;
}
.default-control-box {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  position: relative;
  width: 100%;
  border-radius: 20px 20px 0 0;
}
.auction-control-countdown {
  flex-shrink: 0;
  height: 74px;
  position: relative;
  width: 61px;
}
/* 📁 src/assets/modal-transition.css */
.modal-fade-enter {
  opacity: 0;
  transform: scale(0.95);
}

.modal-fade-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

.modal-fade-exit {
  opacity: 1;
  transform: scale(1);
}

.modal-fade-exit-active {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}
.buy-btn {
  width: 80px;
  height: 40px;
  border: 0px;
  color: white;
  background-color: forestgreen;
  border-radius: 20px;
}
.product-img {
  width: 60px;
  height:60px;
  border-radius: 10px;
  border: solid 1px var(--gray-color)
}
/* .css-1lt5qva-MuiCardContent-root {
  padding: 10px 15px 0px 10px!important;
} */
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.player_frame {
  width: 90%;
  aspect-ratio: 9 / 15;
  background-color: #000;
  border-radius: 5px 5px 40px 5px;
  overflow: hidden;
  margin: 5%;
  color: white;
}
.player_container {
  margin-top: 15px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 50px 0px;
  position: relative;
}
/* .live-button {
  color: rgb(255 255 255);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  background-color: rgb(239 68 68);
  top: -0.25rem;
  right: -0.25rem;
  margin-left: 10px;
  margin-top: 10px;
} */
.my-page-button{
  border: 1px solid white;
  padding: 5px 15px;
  border-radius: 20px;
  margin-left: 10px;
}
.category-nav-sign-in {
  color:white;
}
.category-nav-sign-in {
  background-color: black;
}
/* .css-1bgh5s-MuiAutocomplete-root {
  width: auto!important;
} */
.total-sort {
  top: 60px;
}
/* src/components/SecretGalleryListPage/SecretGalleryListPage.css or your main CSS file */

.flex-gallery-list {
  display: flex; /* Use Flexbox */
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  gap: 5px; /* Adjust the gap between items as needed */
  justify-content: space-between; /* Distribute space between items */
}

/* Target the direct children (the ProductThumb components) */
.flex-gallery-list > div { /* Adjust the selector if ProductThumb renders a different root element */
  flex: 1 1 calc(100% - 8px); /* Default: 2 items per row (50% width minus half the gap) */
  max-width: calc(100% - 8px); /* Ensure max width respects the flex basis */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Example Media Query for different screen sizes */
@media (min-width: 600px) {
  .flex-gallery-list > div {
    flex: 1 1 calc(33.333% - 11px); /* 3 items per row on larger screens */
    max-width: calc(33.333% - 11px);
  }
}

@media (min-width: 900px) {
  .flex-gallery-list > div {
    flex: 1 1 calc(25% - 12px); /* 4 items per row on even larger screens */
    max-width: calc(25% - 12px);
  }
}
.breadcrumb {
  font-size: 1.1rem;
}
.breadcrumb__section {
  padding: 15px 10px;
}
.category-menu__link {
  font-size: 1rem;
  padding: 10px 15px;
}
.category-menu__list .category-menu__link {
  font-size: 0.9rem;
  
}
.live__like-btn {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 4px;
  padding: 2px;
  position: absolute;
  top: 0;
  right: 0;
}
/* Ensure ProductThumb itself doesn't override the width */
.flex-gallery-list > div  { /* Target the Card inside ProductThumb */
  flex: 1 1 calc(50% - 5px);
  max-width: calc(50% - 5px);
}
:where(.thumb-GALLERY,.thumb-CART) {
  padding: 10px;
}
.product-thumb-price {
  font-size: 1.2rem;
}
.right-center-absolute {
  position: absolute;
  right: 0.8rem; /* right-2 */
  top: 55%;      /* top-1/2 */
  transform: translateY(-50%); /* -translate-y-1/2 */
}
.product-section__title {
  font-size: 1.2rem;
}
.product-summary {
 padding: 1rem;
}
.product-summary__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 5px;
}
.product-summary__off-percent{
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 5px;
}
.product-section {
  margin-top: 20px;
}
.product-detail .tabs {
  top: 60px;
}
.thumb-item__media {
  border-radius: 10px;
}
.thumb-item {
  margin-bottom: 10px;
}
.thumb-item__info {
  margin-bottom: 10px;
  padding: 0px 10px;
}
.product-thumb-price-info-price {
  font-size: 0.9rem;
  text-decoration: line-through;
}
.product-thumb-rate {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--point-color);
  margin-right: 10px;
}
.product-thumb-title {
  margin-bottom: 0px;
}
.product-thumb-discount-price-info {
  font-size: 0.9rem;
  text-decoration: line-through;
}
.product-thumb-price-info {
  font-size: 1rem;
  font-weight: 600;
  color: #000
}
.portal {
  z-index: 100!important;
}

.control-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  
}

.control-buttons-vertical .control-btn {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.control-buttons-vertical .control-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.rightBottom {
  position: fixed;
  right: 13px;
  bottom: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1000;
}

.rightBottom .control-btn {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  /* justify-content: start; */
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.rightBottom .control-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.buy-btn {
  background-color: #000;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  height: 100%;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  width: 80px;
}
.now-btn {
  background-color: var(--point-color);
  color: white;
  padding: 10px 15px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  height: 100%;
  font-size: 1rem;
  width: 80px;
  text-align: center;
}
.buy-btn:hover {
  background-color: #333;
}

.buy-btn.sold-out {
  background-color: #ccc;
  cursor: not-allowed;
}

.buy-btn.warning {
  background-color: #ff9800;
}

.buy-btn.warning:hover {
  background-color: #f57c00;
}

.video-layout.keyboard-visible {
  height: auto !important;
  min-height: 100vh;
  overflow-y: auto;
}
.contents-bottom .keyboard-visible {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  z-index: 1000;
}

@supports (padding: max(0px)) {
  .contents-bottom.keyboard-visible {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

.product-thumb-item-live img {
  /* max-width: 80px;
  max-height: 80px; */
  min-width: 60px;
  min-height: 60px;
  object-fit: cover;
}

.my-orders {
  padding: 10px;
  font-size: 1rem;
}
.my-orders__link {
  padding: 1rem 0.1rem;
}
.snackbar {
  background-color: var(--point-color-secondary);
  color: white;
  padding: 10px 20px;
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 9999;
  
}
.pay-method-btn {
  padding: 20px 10px;
}


