/* Common */
.font-noto {
  font-family: "Pretendard", sans-serif !important;
}

.technology-section h2 {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 32px;
}

.technology-section p {
  font-size: 1rem;
}

/* Technology List Grid */
.tech-list-grid {
  margin-bottom: 10px;
}

.tech-card {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.tech-card:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.tech-hero-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.tech-hero-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.tech-link-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.tech-card__img {
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  /* 모든 카드에서 동일 높이로 고정 */
  height: clamp(200px, 22vw, 280px);
}

@media (max-width: 768px) {
  .tech-card__img {
    height: clamp(300px, 22vw, 200px);
  }
}

.tech-card__img img {
  /* 가로가 넘치면 좌우를 잘라 숨김(센터 크롭) */
  width: auto;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tech-card__body {
  padding-top: 14px;
}

.tech-card__title {
  font-family: "Urbanist", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.35;
  min-height: 2.7em;
}

.tech-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}

.tech-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f36b00;
  flex: 0 0 5px;
}

.tech-card__cta {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tech-card:hover .tech-card__title {
  text-decoration: underline;
}

/* Technology Drawer (side layer popup) */
body.tech-drawer-open {
  overflow: hidden;
}

.tech-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.tech-drawer.is-open {
  pointer-events: auto;
}

.tech-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tech-drawer.is-open .tech-drawer__backdrop {
  opacity: 1;
}

.tech-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(1020px, 100%);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
  outline: none;
}

.tech-drawer.is-open .tech-drawer__panel {
  transform: translateX(0);
}

.tech-drawer__close {
  position: sticky;
  top: 12px;
  margin-left: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.tech-drawer__close span {
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.tech-drawer__content {
  padding: 28px 28px 40px;
}

.tech-drawer__title {
  font-family: "Urbanist", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 4px 0 18px;
}

.tech-drawer__media {
  background: #f0f0f0;
  overflow: hidden;
  padding: 0;
}

.tech-drawer__media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.tech-drawer__body {
  margin-top: 18px;
  color: #222;
  line-height: 1.7;
}

.tech-drawer__body p {
  margin: 0;
}

.dbtn-sm {
  display: inline-block;
  width: auto;
  padding: 0.5em 1em;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-family: "Pretendard", sans-serif;
}

.dbtn-sm i {
  margin-left: 5px;
}

.dbtn-md {
  display: inline-block;
  width: auto;
  padding: 0.6em 1.2em;
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: "Pretendard", sans-serif;
}

.dbtn-md i {
  margin-left: 5px;
}

.dbtn-lg {
  display: inline-block;
  width: auto;
  padding: 1em 1.5em;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: "Pretendard", sans-serif;
  letter-spacing: -1px;
}

.dbtn-lg i {
  margin-left: 10px;
}

.dbtn-default {
  color: #000;
  border: 1px solid #000;
}

.dbtn-default:hover {
  background-color: #f0f0f0;
  color: #333;
}

.dbtn-white {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.dbtn-white:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* Animation */
.fade-in-up {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  will-change: transform, opacity;
}

.fade-in-up.in-view {
  animation: fadeInUp 0.9s ease-out both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-700 {
  animation-delay: 0.7s;
}

.delay-800 {
  animation-delay: 0.8s;
}

.delay-900 {
  animation-delay: 0.9s;
}

.delay-1000 {
  animation-delay: 1s;
}

/* Product Card */
.pc__img-wrapper {
  min-height: 400px;
}

.pc__img {
  width: 100%;
  height: auto;
  min-height: 400px;
}

/* Product Detail - 상세페이지 옵션/선택옵션/총금액 */
.product-single__swatches .get_item_options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  margin-bottom: 1.875rem;
}

.product-single__swatches .get_item_options label {
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 3rem;
  text-transform: uppercase;
  margin: 0;
  color: #222;
}

.product-single__swatches .it_option {
  font-family: "Pretendard", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #222;
  background: #fff;
  border: 1px solid #222;
  border-radius: 0;
  padding: 0.5rem 2rem 0.5rem 0.8125rem;
  min-height: 2.75rem;
  min-width: 10rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23222' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.product-single__swatches .it_option:hover,
.product-single__swatches .it_option:focus {
  border-color: #000;
  outline: none;
}

.product-single__swatches .it_option:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.product-single__swatches .it_option option {
  font-weight: 500;
  padding: 0.5em;
}

.product-single__selected-options-title {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: #222;
}

#sit_sel_option {
  display: block;
  visibility: visible;
}

#sit_sel_option #sit_opt_added {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sit_sel_option .sit_opt_empty_msg {
  padding: 0.75rem 1rem;
  margin-bottom: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.875rem;
  color: #888;
  font-weight: 400;
  box-shadow: none;
}

#sit_sel_option .sit_opt_list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 0.875rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

#sit_sel_option .sit_opt_list:last-child {
  margin-bottom: 0;
}

#sit_sel_option .sit_opt_subj {
  flex: 1 1 100%;
  font-weight: 500;
  color: #222;
  min-width: 0;
  order: 1;
}

#sit_sel_option .sit_opt_list > div {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: 2;
  flex: 0 0 auto;
}

#sit_sel_option .sit_opt_list .frm_input,
#sit_sel_option .sit_opt_list input[name^="ct_qty"] {
  width: 3.5rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  text-align: center;
  font-size: 0.875rem;
  background: #fff;
}

#sit_sel_option .sit_opt_list button {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #222;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#sit_sel_option .sit_opt_list button.sit_qty_plus::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f067";
  font-size: 0.875rem;
  color: inherit;
}

#sit_sel_option .sit_opt_list button.sit_qty_minus::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f068";
  font-size: 0.875rem;
  color: inherit;
}

#sit_sel_option .sit_opt_list button:hover {
  background: #e8e8e8;
  border-color: #ccc;
}

#sit_sel_option .sit_opt_del {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#sit_sel_option .sit_opt_del::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f2ed";
  font-size: 1rem;
  line-height: 1;
  color: inherit;
}

#sit_sel_option .sit_opt_del:hover {
  color: #000;
}

#sit_sel_option .sit_opt_prc {
  font-weight: 600;
  color: #222;
  margin-left: auto;
  order: 3;
  flex: 0 0 auto;
}

#sit_tot_price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0 0;
  margin-top: 1rem;
  border-top: 1px solid #e4e4e4;
  font-size: 0.9375rem;
  color: #222;
}

#sit_tot_price .sit_tot_label {
  font-weight: 500;
}

#sit_tot_price .sit_tot_amount {
  font-size: 1.125rem;
  font-weight: 700;
}

#sit_tot_price span {
  margin-right: 0.25rem;
}
