/* ===============================================
   MAIN PAGE - BASE STYLES
   Desktop-First Approach (1200px and above)
   All responsive overrides in MainResponsive.css
   =============================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.5;
}

.page-wrapper {
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===============================================
   BANNER SECTION
   =============================================== */
.banner-section {
  position: relative;
  margin-top: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #dbeafe 50%, #f1f5f9 100%);
}

.banner-background {
  position: absolute;
  inset: 0;
  background-image: url('/resources/productpage/main-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100px;
}

.banner-title {
  height: auto;
  margin: 0px auto;
}

.banner-section .banner-background .banner-title h1 {
  font-size: 48px;
  color: #ffff;
  text-align: center;
}

/* ===============================================
   CATEGORY GROUP SECTION
   =============================================== */
.category-group {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  padding: 8px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* 슬라이딩 인디케이터 배경 */
.category-indicator {
  position: absolute;
  height: calc(100% - 16px);
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 42px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
  box-shadow:
    0 4px 12px rgba(30, 41, 59, 0.25),
    0 2px 4px rgba(30, 41, 59, 0.1);
  pointer-events: none;
}

/* 주력상품 활성화시 인디케이터 색상 */
.category-indicator.featured-active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow:
    0 4px 16px rgba(249, 115, 22, 0.35),
    0 2px 4px rgba(249, 115, 22, 0.15);
}

.category-btn {
  position: relative;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 42px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  z-index: 1;
  white-space: nowrap;
}

.category-btn:hover {
  color: #1e293b;
}

.category-btn:active {
  transform: scale(0.97);
}

.category-btn.active {
  color: #ffffff;
  font-weight: 600;
}

/* 주력상품 버튼 */
.category-btn2 {
  position: relative;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f97316;
  background: transparent;
  border: none;
  border-radius: 42px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  z-index: 1;
  white-space: nowrap;
}

/* 주력상품 버튼 앞 아이콘 */
.category-btn2::before {
  content: '★';
  font-size: 12px;
  transition: transform 0.3s ease;
}

.category-btn2:hover {
  color: #ea580c;
}

.category-btn2:hover::before {
  transform: scale(1.2) rotate(15deg);
}

.category-btn2:active {
  transform: scale(0.97);
}

.category-btn2.active {
  color: #ffffff;
}

.category-btn2.active::before {
  transform: scale(1.1);
  animation: starPulse 1.5s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.25) rotate(10deg); }
}



/* ===============================================
   PRODUCTS SECTION
   =============================================== */
.products-section {
  padding: 6rem 2rem;
  background-color: #f8fafc;
}

.product-image {
  position: relative;
  height: 18rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ===============================================
   PRODUCTS SECTION NEW (4-Column Grid)
   =============================================== */
.products-section-new {
  padding: 6rem 2rem;
  background: #ffffff;
  background: -webkit-linear-gradient(to bottom, #ffffff, #f9fafc);
  background: linear-gradient(to bottom, #ffffff, #f9fafc);
}

.product-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card-new {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.product-card-new:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.product-image-placeholder {
  /* aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  position: relative; */
  width: 100%;
  height: auto;
  aspect-ratio: 389 / 341;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder-icon {
  width: 4rem;
  height: 4rem;
  color: #64748b;
}

.product-content-new {
  padding: 1.5rem;
}

.product-title-new {
  width: 100%;
  height: auto;
  margin-top: 30px;
}

.product-card-new .product-title-new h3{
  font-size: 30px;
  color: #000000;
  text-align: center;
  display: block;
  margin-block-start: 1.33em;
  margin-block-end: 1.33em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

.product-card-new .product-title-new p {
  font-size: 16px;
  color: #000000;
  text-align: center;
  margin-top: 14px;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

.product-description-new {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}


/* 반응형 */
/* 중간 크기 (태블릿): 2열 */
@media (max-width: 1024px) {
    .product-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 작은 크기 (모바일): 1열 */
@media (max-width: 768px) {
    .product-grid-new {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 1400px) {
    .banner-title {
        width: 92%;
    }
}


@media (max-width: 768px) {
    .banner-section .banner-background .banner-title h1 {
      font-size: 5.8vw;
    }

    .category-group {
      gap: 6px;
      padding: 6px;
      border-radius: 35px;
      margin-top: 40px;
    }

    .category-indicator {
      height: calc(100% - 12px);
      border-radius: 30px;
    }

    .category-btn {
      font-size: 12px;
      padding: 10px 16px;
      border-radius: 30px;
    }

    .category-btn2 {
      font-size: 12px;
      padding: 10px 16px;
      border-radius: 30px;
    }

    .category-btn2::before {
      font-size: 10px;
    }
}

@media (max-width: 480px) {
    .category-group {
      gap: 4px;
      padding: 5px;
      border-radius: 28px;
    }

    .category-indicator {
      height: calc(100% - 10px);
      border-radius: 24px;
    }

    .category-btn {
      font-size: 11px;
      padding: 8px 12px;
      border-radius: 24px;
    }

    .category-btn2 {
      font-size: 11px;
      padding: 8px 12px;
      border-radius: 24px;
    }

    .category-btn2::before {
      font-size: 9px;
    }
}


    

/* ===============================================
   주력상품 (FEATURED PRODUCTS) SECTION
   =============================================== */
.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Hero Section */
.featured-hero {
    width: 100%;
    height: 100vh;
    min-height: 850px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.featured-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2 & 5. Text Section */
.featured-text {
    width: 100%;
    padding: 80px 20px;
    background-color: #fff;
}

.featured-text__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.featured-text__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.featured-text__description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 3. Three Split Section */
.featured-three-split {
    width: 100%;
    height: auto;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 60px;
    background-color: #ffffff;
}

.featured-three-split__left {
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    border-radius: 12px;
}

.featured-three-split__left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-three-split__right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.featured-three-split__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.featured-three-split__text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.featured-three-split__text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.featured-three-split__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.featured-three-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. Four Split Section */
.featured-four-split {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 0 16px;
    margin-top: 60px;
    background-color: #ffffff;
}

.featured-four-split__item {
    width: 100%;
    height: auto;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.featured-four-split__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-four-split__item--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.featured-four-split__item--text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.featured-four-split__item--text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 6 & 8. Second Hero Section (Left Image, Right Text) */
.featured-second-hero {
    width: 100%;
    padding: 100px 20px;
    background-color: white;
}

.featured-second-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-second-hero__image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-second-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-second-hero__image:hover img {
    transform: scale(1.05);
}

.featured-second-hero__content {
    padding: 20px 0;
}

.featured-second-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.featured-second-hero__description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
}

/* 7. Full Width Image Section (Hero 스타일) */
.featured-full-image {
    width: 100%;
    height: 90vh;
    min-height: 750px;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    background-color: #ffffff;
}

.featured-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===============================================
   주력상품 반응형
   =============================================== */
@media (max-width: 1024px) {
    .featured-hero {
        height: 85vh;
        min-height: 650px;
    }

    .featured-three-split {
        height: auto;
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .featured-three-split__left {
        height: 350px;
        min-height: auto;
    }

    .featured-three-split__right {
        grid-template-rows: auto auto;
        gap: 16px;
    }

    .featured-three-split__image {
        height: 280px;
    }

    .featured-four-split {
        height: auto;
        min-height: auto;
        margin-top: 40px;
    }

    .featured-four-split__item {
        min-height: 250px;
    }

    .featured-four-split__item--text {
        height: auto;
        min-height: 200px;
    }

    .featured-second-hero__container {
        gap: 40px;
    }

    .featured-second-hero__title {
        font-size: 2rem;
    }

    .featured-full-image {
        height: 75vh;
        min-height: 580px;
        margin: 40px 0;
    }
}

@media (max-width: 768px) {
    /* Hero 이미지 - 전체가 보이도록 */
    .featured-hero {
        height: auto;
        min-height: auto;
        padding: 0;
    }

    .featured-hero img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .featured-text {
        padding: 50px 20px;
    }

    .featured-text__title {
        font-size: 1.75rem;
    }

    .featured-text__description {
        font-size: 1rem;
    }

    .featured-three-split {
        padding: 0 12px;
        gap: 12px;
        margin-bottom: 30px;
    }

    .featured-three-split__left {
        height: auto;
    }

    .featured-three-split__left img {
        height: auto;
        object-fit: contain;
    }

    .featured-three-split__text {
        padding: 24px;
    }

    .featured-three-split__text h3 {
        font-size: 1.5rem;
    }

    .featured-three-split__image {
        height: auto;
    }

    .featured-three-split__image img {
        height: auto;
        object-fit: contain;
    }

    .featured-four-split {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 0 12px;
        gap: 12px;
        margin-top: 30px;
    }

    .featured-four-split__item {
        min-height: auto;
        height: auto;
    }

    .featured-four-split__item img {
        height: auto;
        object-fit: contain;
    }

    .featured-four-split__item--text {
        padding: 24px;
        min-height: 150px;
    }

    .featured-second-hero {
        padding: 50px 20px;
    }

    .featured-second-hero__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .featured-second-hero__title {
        font-size: 1.75rem;
    }

    .featured-second-hero__description {
        font-size: 1rem;
    }

    /* 전체 이미지(7번) - 전체가 보이도록 */
    .featured-full-image {
        height: auto;
        min-height: auto;
        margin: 30px 0;
    }

    .featured-full-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
} 