/* =========================================
   기본 설정
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;

  font-family:
    Arial,
    "Noto Sans KR",
    sans-serif;

  background-color: #ffffff;
  color: #333333;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}


/* =========================================
   상단 헤더
========================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background-color: #2f3039;
  border-bottom: 1px solid #5b5c66;
}

.header-inner {
  width: min(1450px, 92%);
  min-height: 108px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* =========================================
   로고
========================================= */

.logo {
  display: flex;
  align-items: center;

  gap: 12px;
}

.logo-image {
  width: 56px;
  height: 56px;

  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;

  color: #ffffff;
}

.logo-text strong {
  font-size: 16px;
  line-height: 1.05;
  letter-spacing: 3px;
}

.logo-text span {
  margin-top: 7px;
  font-size: 12px;
}


/* =========================================
   상단 메뉴
========================================= */

.navigation {
  display: flex;
  align-items: stretch;

  border: 1px solid #72727f;
}

.search-box {
  display: flex;
}

.search-box input {
  width: 190px;
  min-height: 38px;

  padding: 8px 12px;

  border: 0;
  outline: 0;

  background-color: transparent;
  color: #ffffff;
}

.search-box input::placeholder {
  color: #dddddf;
}

.navigation > a,
.dropdown-button {
  min-width: 90px;
  min-height: 38px;

  padding: 10px 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-left: 1px solid #72727f;

  background-color: transparent;
  color: #ffffff;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.navigation > a:hover,
.dropdown:hover .dropdown-button {
  background-color: #fbbd24;
  color: #292a33;
}


/* =========================================
   제품 드롭다운
========================================= */

.dropdown {
  position: relative;
}

.dropdown-button {
  height: 100%;
}

.dropdown-arrow {
  margin-left: 7px;
  font-size: 11px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  z-index: 1001;

  width: 180px;

  display: none;

  border: 1px solid #72727f;

  background-color: #2f3039;

  box-shadow:
    0 12px 24px
    rgba(0, 0, 0, 0.25);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  min-height: 43px;

  padding: 11px 17px;

  display: flex;
  align-items: center;

  border-bottom: 1px solid #52535d;

  color: #ffffff;

  font-size: 13px;
  font-weight: 600;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover {
  background-color: #fbbd24;
  color: #292a33;
}


/* =========================================
   영상 배너
========================================= */

.category-hero {
  position: relative;

  width: 100%;
  height: 330px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #111111;

  overflow: hidden;
}

.category-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background-color:
    rgba(15, 16, 25, 0.42);
}

.category-hero h1 {
  position: relative;
  z-index: 2;

  color: #fbbd24;

  font-size:
    clamp(50px, 6vw, 78px);

  letter-spacing: 12px;
  text-align: center;

  text-shadow:
    3px 3px 0
    rgba(40, 40, 48, 0.85);
}


/* =========================================
   대표 제품 슬라이더
========================================= */

.featured-section {
  padding: 25px 0 28px;

  background-color: #3b3a55;
  color: #ffffff;
}

.featured-section > h2 {
  width: min(1150px, 90%);

  margin: 0 auto 15px;

  font-family:
    Georgia,
    serif;

  font-size: 18px;
  letter-spacing: 1px;
}

.featured-box {
  position: relative;

  width: min(1150px, 90%);
  min-height: 310px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(30, 30, 45, 0.35);

  background-color: #3b3a55;
}

.featured-product {
  width: 220px;
  height: 305px;

  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 0;

  background-color: #f8f7ff;

  cursor: zoom-in;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.featured-product:hover {
  transform: scale(1.02);

  box-shadow:
    0 12px 25px
    rgba(0, 0, 0, 0.22);
}

.featured-product img {
  width: 100%;
  height: 270px;

  object-fit: contain;
}

.featured-product p {
  width: 100%;

  padding: 7px;

  color: #8f6daa;

  text-align: right;
  font-size: 11px;
}

.slider-arrow {
  position: absolute;
  top: 50%;

  width: 34px;
  height: 86px;

  border: 0;

  background-color: #5d5b7d;
  color: #dddded;

  font-size: 34px;

  transform: translateY(-50%);

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.slider-arrow:hover {
  background-color: #fbbd24;
  color: #343447;
}

.slider-arrow-left {
  left: 0;
}

.slider-arrow-right {
  right: 0;
}

.featured-dots {
  min-height: 24px;

  margin-top: 12px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 7px;
}

.featured-dot {
  width: 8px;
  height: 8px;

  padding: 0;

  border: 1px solid #ffffff;
  border-radius: 50%;

  background-color: transparent;

  cursor: pointer;
}

.featured-dot.active {
  background-color: #ffffff;
}


/* =========================================
   노란색 구분선
========================================= */

.yellow-line {
  width: 100%;
  height: 24px;

  background-color: #fbbd24;
}


/* =========================================
   제품 전체 영역
========================================= */

.product-area {
  padding: 70px 0 45px;

  background-color: #ffffff;
}

.product-layout {
  width: min(1100px, 90%);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    190px
    minmax(0, 1fr);

  gap: 45px;

  align-items: start;
}


/* =========================================
   왼쪽 사이드바
========================================= */

.sidebar h2 {
  margin-bottom: 10px;

  font-size: 39px;
  line-height: 1;

  text-shadow:
    2px 3px 2px
    rgba(0, 0, 0, 0.35);
}

.sidebar h2::after {
  content: "";

  width: 100%;
  height: 3px;

  margin-top: 8px;

  display: block;

  background-color: #343447;
}

.sidebar-menu {
  border: 1px solid #6f8790;

  background-color: #30313b;
  color: #ffffff;
}

.sidebar-title {
  padding: 12px 15px;

  border-bottom:
    1px solid #565864;

  font-size: 16px;
}

.sidebar-menu a {
  padding: 10px 15px;

  display: block;

  font-size: 18px;
  font-weight: 700;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  color: #fbbd24;
}


/* =========================================
   제품 목록
========================================= */

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 35px 16px;
}


/* =========================================
   제품 카드
========================================= */

.category-product-card {
  min-width: 0;
}

.category-product-image {
  position: relative;

  width: 100%;
  height: 220px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  background-color: #ffffff;

  overflow: hidden;
  cursor: zoom-in;
}

.category-product-image img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  transition:
    transform 0.25s ease;
}

.category-product-card:hover img {
  transform: scale(1.04);
}

.image-zoom-mark {
  position: absolute;
  right: 10px;
  bottom: 10px;

  padding: 5px 8px;

  border-radius: 3px;

  background-color:
    rgba(47, 48, 57, 0.8);

  color: #ffffff;

  font-size: 10px;

  opacity: 0;

  transition: opacity 0.2s ease;
}

.category-product-image:hover .image-zoom-mark {
  opacity: 1;
}

.category-product-name {
  min-height: 34px;

  padding: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #676684;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
}


/* =========================================
   문의하기 버튼
========================================= */

.inquiry-button-wrap {
  padding-top: 45px;

  text-align: center;
}

.inquiry-button {
  min-width: 92px;

  padding: 8px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid #9696ab;

  border-radius: 13px;

  background-color: #4e4d68;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;
}

.inquiry-button:hover {
  background-color: #fbbd24;
  color: #343447;
}


/* =========================================
   푸터
========================================= */

.footer {
  padding: 35px 0 65px;

  background-color: #2f3039;
  color: #ffffff;
}

.footer-container {
  width: min(1100px, 90%);

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 80px;
}

.footer h3 {
  margin-bottom: 20px;

  font-size: 14px;
  letter-spacing: 1px;
}

.footer p {
  margin-bottom: 12px;

  font-size: 13px;
  line-height: 1.5;
}

.footer a {
  text-decoration: underline;
}

.footer a:hover {
  color: #fbbd24;
}


/* =========================================
   이미지 확대 모달
========================================= */

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;

  display: none;

  align-items: center;
  justify-content: center;
}

.image-modal.open {
  display: flex;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;

  background-color:
    rgba(10, 10, 15, 0.86);

  cursor: zoom-out;
}

.image-modal-content {
  position: relative;
  z-index: 1;

  width: min(1050px, 94%);
  height: min(820px, 90vh);

  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-box {
  width: min(760px, 78vw);
  height: min(720px, 82vh);

  padding: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: #ffffff;

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.45);
}

.modal-image-box img {
  width: 100%;
  height: calc(100% - 70px);

  object-fit: contain;
}

.modal-image-box h2 {
  margin-top: 12px;

  color: #343447;

  font-size: 20px;
}

.modal-image-box p {
  margin-top: 5px;

  color: #777783;

  font-size: 12px;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;

  z-index: 3;

  width: 46px;
  height: 46px;

  border: 0;
  border-radius: 50%;

  background-color: #ffffff;
  color: #292a33;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}

.modal-close:hover {
  background-color: #fbbd24;
}

.modal-arrow {
  position: absolute;
  top: 50%;

  z-index: 2;

  width: 52px;
  height: 90px;

  border: 0;

  background-color:
    rgba(91, 90, 122, 0.92);

  color: #ffffff;

  font-size: 42px;

  transform: translateY(-50%);

  cursor: pointer;
}

.modal-arrow:hover {
  background-color: #fbbd24;
  color: #343447;
}

.modal-arrow-left {
  left: 0;
}

.modal-arrow-right {
  right: 0;
}


/* =========================================
   태블릿
========================================= */

@media (max-width: 1000px) {

  .header-inner {
    flex-direction: column;

    padding: 18px 0;
  }

  .navigation {
    width: 100%;
  }

  .search-box {
    flex: 1;
  }

  .search-box input {
    width: 100%;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 100%;
  }

  .sidebar-menu {
    display: grid;

    grid-template-columns:
      repeat(3, 1fr);
  }

  .sidebar-title {
    grid-column: 1 / -1;
  }

  .sidebar-menu a {
    text-align: center;
  }

  .modal-arrow-left {
    left: 5px;
  }

  .modal-arrow-right {
    right: 5px;
  }
}


/* =========================================
   모바일
========================================= */

@media (max-width: 700px) {

  .header-inner {
    width: 92%;
  }

  .navigation {
    display: grid;

    grid-template-columns:
      repeat(2, 1fr);
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .navigation > a,
  .dropdown-button {
    width: 100%;

    border-top:
      1px solid #72727f;
  }

  .dropdown-menu {
    right: 0;
  }

  .category-hero {
    height: 250px;
  }

  .category-hero h1 {
    font-size: 39px;
    letter-spacing: 6px;
  }

  .featured-box {
    min-height: 290px;
  }

  .featured-product {
    width: 190px;
    height: 270px;
  }

  .featured-product img {
    height: 235px;
  }

  .sidebar h2 {
    font-size: 32px;
  }

  .sidebar-menu {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 30px 12px;
  }

  .category-product-image {
    height: 200px;
  }

  .footer-container {
    grid-template-columns: 1fr;

    gap: 30px;

    text-align: center;
  }

  .image-modal-content {
    width: 98%;
    height: 88vh;
  }

  .modal-image-box {
    width: 86vw;
    height: 72vh;

    padding: 15px;
  }

  .modal-arrow {
    width: 38px;
    height: 70px;

    font-size: 32px;
  }

  .modal-close {
    top: -5px;
    right: 5px;

    width: 40px;
    height: 40px;
  }
}


/* =========================================
   작은 모바일
========================================= */

@media (max-width: 480px) {

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-product-image {
    height: 290px;
  }

  .sidebar-menu {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    width: 30px;
  }

  .modal-image-box {
    width: 90vw;
    height: 68vh;
  }
}/* =========================================
   대표 상품 슬라이드 전환 효과
========================================= */

.featured-box {
  overflow: hidden;
}

.featured-product {
  opacity: 1;
  transform: translateX(0) scale(1);
  will-change: transform, opacity;

  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
}

.featured-product.slide-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.featured-product.slide-exit-left {
  opacity: 0;
  transform: translateX(-90px) scale(0.96);
}

.featured-product.slide-exit-right {
  opacity: 0;
  transform: translateX(90px) scale(0.96);
}

.featured-product.slide-enter-right {
  opacity: 0;
  transform: translateX(90px) scale(0.96);
  transition: none;
}

.featured-product.slide-enter-left {
  opacity: 0;
  transform: translateX(-90px) scale(0.96);
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .featured-product {
    transition: opacity 0.15s ease;
  }

  .featured-product.slide-exit-left,
  .featured-product.slide-exit-right,
  .featured-product.slide-enter-left,
  .featured-product.slide-enter-right {
    transform: none;
  }
}