/* BASIC css start */
  /* 색상 팔레트 */
  :root {
    --penm-navy-900: #2c344e;
    --penm-navy-800: #3f4b6f;
    --penm-navy-700: #403F6F;
    --penm-navy-100: #e4eaff;
    --penm-navy-150: #c8d5ff;
    --penm-white: #ffffff;
    --penm-shadow: 0 10px 24px rgba(44,52,78,0.18);
  }
/* 모바일에서만 노출 */
.penm-m-header, .penm-m-nav, .penm-m-drawer { display:none; }
@media (max-width: 1024px){
  .penm-top-utility, .penm-header, .penm-nav-bar { display:none !important; } /* PC 헤더/네비 숨김 */
  .penm-m-header, .penm-m-nav, .penm-m-drawer { display:block; }
}

/* ===== 헤더 ===== */
.penm-m-header{
  position:sticky; top:0; z-index:3000;
  display:flex; align-items:center; justify-content:space-between;
  height:56px; padding:0 10px;
  background:#ffffff; border-bottom:1px solid #eaeef6;
}
.penm-m-left, .penm-m-right{ display:flex; gap:4px; align-items:center; }

/* 아이콘 버튼/링크 공통 */
.penm-m-icon-btn,
.penm-m-icon-link{
  width:38px; height:38px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:20px; color:#2c344e; background:#fff; border:none; text-decoration:none;
}

/* 장바구니 뱃지 */
.penm-m-cart{ position:relative; }
.penm-m-badge{
  position:absolute; top:-2px; right:-2px; min-width:18px; height:18px;
  display:flex; align-items:center; justify-content:center;
  padding:0 4px; border-radius:9px; font-size:11px; font-weight:700;
  background:#f2a4b3; color:#fff;
}

/* 요청한 로고 스타일(그대로) */
.penm-m-logo{ margin:0; }
.penm-m-logo a{ display:block; height:40px; }
.penm-m-logo img{ height:40px; width:auto; display:block; }

/* ===== 가로 네비 ===== */
.penm-m-nav{
  position:sticky; top:56px; z-index:2999;
  display:flex; align-items:center; gap:6px;
  padding:0 6px; height:44px; background:#3f4b6f;
}
.penm-m-nav .penm-m-nav-list{
  display:flex; gap:10px; overflow-x:auto; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; flex:1 1 auto;
}
.penm-m-nav .penm-m-nav-list::-webkit-scrollbar{ display:none; }
.penm-m-nav .penm-m-nav-list li{ flex:0 0 auto; }
.penm-m-nav .penm-m-nav-list a{
  display:block; color:#e4eaff; text-decoration:none;
  padding:0 10px; line-height:28px; border-radius:14px; font-weight:700; font-size:14px;
  white-space:nowrap;
}
.penm-m-nav .penm-m-nav-list a:hover{ background:#2c344e; color:#ffffff; }
.penm-m-nav-toggle{
  flex:0 0 auto; width:36px; height:36px; border:none; border-radius:8px;
  background:#2c344e; color:#ffffff; font-size:16px;
}

/* ===== Drawer 공통 ===== */
body.penm-no-scroll{ overflow:hidden; }
.penm-m-drawer{ position:fixed; inset:0; z-index:3500; pointer-events:none; }
.penm-m-drawer__backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.35); opacity:0; transition:opacity .2s ease;
}
.penm-m-drawer__panel{
  position:absolute; inset:0 0 0 auto; width:100%; max-width:560px;
  background:#fff; transform:translateX(100%); transition:transform .25s ease;
  display:flex; flex-direction:column;
}
.penm-m-drawer.penm-is-open{ pointer-events:auto; }
.penm-m-drawer.penm-is-open .penm-m-drawer__backdrop{ opacity:1; }
.penm-m-drawer.penm-is-open .penm-m-drawer__panel{ transform:translateX(0); }

/* Drawer 상단바 */
.penm-m-drawer__topbar{
  display:flex; align-items:center; justify-content:space-between;
  height:52px; padding:0 14px; border-bottom:1px solid #e4eaff; background:#ffffff;
}
.penm-m-home{ color:#2c344e; font-weight:700; display:flex; gap:8px; align-items:center; }
.penm-m-close{ background:none; border:none; font-size:22px; color:#2c344e; }

/* 아코디언 목록 */
.penm-m-accordion{ list-style:none; margin:0; padding:8px 0 24px; overflow:auto; }
.penm-m-row{
  display:flex; align-items:center; justify-content:space-between;
  width:100%; padding:16px 16px; border-bottom:1px solid #eef2fa;
  font-size:16px; font-weight:700; color:#2c344e; text-align:left; background:#f9fafe;
}
.penm-m-accordion > li > .penm-m-row:hover{ background:#e4eaff; color:#2c344e; }
.penm-m-accordion .penm-has-children .penm-m-row{ background:#ffffff; }
.penm-m-accordion-btn{ border:none; background:none; cursor:pointer; }
.penm-m-accordion-btn i{ transition:transform .2s ease; color:#777; }

.penm-m-sub{ display:none; background:#fff; }
.penm-m-sub li a{
  display:block; padding:14px 18px; border-bottom:1px solid #f0f3fb;
  color:#2c344e; font-size:15px; font-weight:500; text-decoration:none;
}
.penm-m-sub li a:hover{ background:#f7f9ff; }

/* 열림 상태 표시 */
.penm-has-children.penm-is-open > .penm-m-accordion-btn{
  color:#3f4b6f;
  border-left:4px solid #c8d5ff; padding-left:12px;
}
.penm-has-children.penm-is-open > .penm-m-accordion-btn i{
  transform:rotate(180deg); color:#3f4b6f;
}

/* 모션 최소화 */
@media (prefers-reduced-motion: reduce){
  .penm-m-drawer__panel, .penm-m-drawer__backdrop, .penm-m-accordion-btn i{ transition:none; }
}
/* ===================== 두 번째 햄버거(카탈로그)   카테고리 영역만 ===================== */
/* 오버레이 */
.penm-m-catalog{
  position:fixed; inset:0; background:#ffffff; z-index:5000;
  transform:translateX(100%); transition:transform .25s ease;
}
.penm-m-catalog.is-open{ transform:translateX(0); }

/* 헤더 */
.penm-m-cat-header{
  height:52px; display:flex; align-items:center; justify-content:space-between;
  padding:0 14px; border-bottom:1px solid #e9ecf4;
  background:#403F6F; color:#ffffff;
}
.penm-m-cat-header strong{ font-size:16px; font-weight:700; }
.penm-m-cat-close{
  background:transparent; border:0; padding:0; width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; line-height:1; appearance:none; -webkit-appearance:none; box-shadow:none;
}
.penm-m-cat-close i{ color:#fff; }

/* 레이아웃 */
.penm-m-cat-body{ display:flex; height:calc(100% - 52px); }

/* 왼쪽 탭 */
.penm-m-cat-aside{
  width:92px; background:#f7f8fc; border-right:1px solid #e9ecf4;
  padding:0; overflow-y:auto;
}
.penm-m-cat-tab{
  display:block; width:100%; padding:12px 10px; margin:0;
  text-align:left; font-size:13px; color:#2c344e;
  background:transparent; border:0; border-bottom:1px solid #e9ecf4;
}
.penm-m-cat-tab.is-active{
  background:transparent; color:#3f4b6f; font-weight:700;
  border-left:3px solid #3f4b6f; padding-left:7px; /* 보더만큼 보정 */
}

/* 패널 */
.penm-m-cat-panels{ flex:1; overflow:auto; }
.penm-m-cat-panel{ display:none; padding:12px 14px 24px; }
.penm-m-cat-panel.is-active{ display:block; }

/* ===== 카테고리 메인 행(아코디언/링크 공통)“선만 있는” 라인 스타일 ===== */
.penm-m-cat-row,
a.penm-m-cat-link{
  display:flex; align-items:center; gap:8px;
  width:100%; box-sizing:border-box;
  padding:14px 12px;
  background:transparent; color:#2c344e; text-decoration:none;
  border:0; border-bottom:1px solid #e9ecf4; border-radius:0;
  text-align:left; /* 안전장치 */
}
.penm-m-cat-title{
  flex:1; display:block; text-align:left;
  font-size:15px; font-weight:700;
}
/* 토글 아이콘은 항상 맨 우측 */
.penm-m-cat-icon{
  margin-left:auto; color:#3f4b6f;
  transition:transform .2s ease, color .2s ease;
}

/* 열림 강조(하단 라인만 살짝 강조) */
.penm-m-acc.is-open .penm-m-cat-row{ border-color:#c8d5ff; }
.penm-m-acc.is-open .penm-m-cat-icon{ transform:rotate(180deg); color:#2c344e; }

/* 아코디언 본문   항목들도 “선만 있는” 스타일 */
.penm-m-acc{ margin:0; }
.penm-m-acc-body{ display:none; padding:0 0 4px; }
.penm-m-acc.is-open .penm-m-acc-body{ display:block; }
.penm-m-acc-body li a{
  display:block; padding:12px 12px; font-size:14px; color:#2c344e; text-decoration:none;
  background:transparent; border:0; border-bottom:1px solid #eef1f6; border-radius:0;
}
.penm-m-acc-body li:last-child a{ border-bottom:0; }
 
/* ========== 전체브랜드: 가나다 칩 & 리스트 ========== */
.penm-m-az-filter{
  position:sticky; top:0; z-index:1; background:#ffffff;
  padding:8px 0 10px; margin-bottom:6px;
}
.penm-m-az-chip{
  display:inline-block; padding:6px 10px; margin:4px 4px 6px 0;
  font-size:13px; border:1px solid #c8d5ff; border-radius:14px;
  background:#e4eaff; color:#2c344e; text-decoration:none;
}
.penm-m-az-chip.is-active{ background:#3f4b6f; border-color:#3f4b6f; color:#ffffff; }

.penm-m-brand-block{ padding:10px 0 4px; border-top:1px solid #eef1f6; }
.penm-m-brand-block h4{ margin:8px 0; font-size:14px; color:#3f4b6f; }
.penm-m-brand-list{ display:flex; flex-wrap:wrap; gap:6px 14px; padding-bottom:6px; }
.penm-m-brand-list li a{ font-size:14px; color:#2c344e; text-decoration:none; }

/* ========== 나라별 브랜드 ========== */
.penm-flag{ height:18px; width:auto; vertical-align:-3px; margin-right:6px; }
.penm-m-country-filter{ margin-bottom:6px; }

/* ========== 인기 브랜드 ========== */
.penm-m-pop-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.penm-m-pop-item{ display:block; text-align:center; color:#2c344e; font-size:13px; text-decoration:none; }
.penm-m-pop-item figure{
  height:74px; background:#ffffff; border:1px solid #e9ecf4; border-radius:8px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.penm-m-pop-item img{ max-width:90%; max-height:90%; object-fit:contain; }
.penm-m-pop-item span{ display:block; margin-top:6px; }

/* === 2번째 햄버거 메뉴바 아이콘 === */
.penm-m-right a.penm-m-catalog-open i,
.penm-header-right a.penm-m-catalog-open i{
  font-size: 22px;
  line-height: 1;
}

/* === 2번째 햄버거 오버레이 닫기 아이콘 === */
.penm-m-cat-close i{
  font-size: 22px;
  line-height: 1;
}

/* ======================== 모바일 메인배너 슬라이더 ============================== */
.penm-m-main-slider {
  padding: 0;
  margin: 0;
  background: var(--penm-white, #fff);
  overflow-x: clip; /* 지원 없으면 hidden */
}

/* 컨테이너: 뷰포트에 정확히 맞춘 풀블리드 + 정사각 프레임 */
.penm-m-slider-container {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  margin-left: -50vw;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: var(--penm-white, #fff);
}
.penm-m-slider-container::before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1 정사각 */
}

/* 트랙: 스크롤-스냅 + 네이티브 스와이프 */
.penm-m-slider-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain; /* 상위로 스와이프 전파 방지 */
  scrollbar-width: none;          /* Firefox */
}
.penm-m-slider-track::-webkit-scrollbar { display: none; } /* WebKit */

/* 각 슬라이드 */
.penm-m-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  background: #f4f6fb;
  overflow: hidden;
}
.penm-m-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 450×450 원본 권장 */
  display: block;
  image-rendering: auto;
  filter: saturate(1.02) contrast(1.02);
}

/* 좌우 버튼 없음 */
.penm-m-slider-nav { display: none !important; }

/* 인디케이터: 동그라미 */
.penm-m-indicators {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 6px 8px;
  pointer-events: auto;
}
.penm-m-indicator {
  appearance: none;
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--penm-navy-150, #c8d5ff);
  opacity: .6;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.penm-m-indicator.penm-m-indicator-active {
  background: var(--penm-navy-700, #2c344e);
  opacity: 1;
  transform: scale(1.15);
}

/* 초소형 기기 보정 */
@media (max-width: 360px) {
  .penm-m-indicators { bottom: 10px; gap: 7px; }
}

/*--------------펜마스터 컬렉션 섹션 -----------------*/
/* 섹션 기본 */
.penm-m-collection{ background:#fff; padding:56px 0; border-top:1px solid #eef0f4; }
.penm-m-collection-container{ padding:0 16px; max-width:800px; margin:0 auto; }

/* 헤더: PC 스타일 중앙정렬 + 간격 */
.penm-m-collection-header{ text-align:center; margin-bottom:24px; }
.penm-m-collection-title{
  font-size:22px; font-weight:800; color:var(--penm-navy-900); letter-spacing:-0.5px;
}
.penm-m-collection-sub{
  margin-top:8px; font-size:13px; color:#7a7f90; letter-spacing:0.2px;
}

/* ===== 탭: 정렬/간격만, 스크롤/스냅/오버플로우 제거 ===== */
.penm-m-tabs{
  display:flex; justify-content:center; align-items:center;
  flex-wrap:wrap; gap:20px;
  padding:0; margin:12px 0 18px; border-bottom:none; overflow:visible;
}
.penm-m-tabs::-webkit-scrollbar{ display:none; } /* 혹시 남아있어도 제거 */

.penm-m-tab{
  background:none; border:none; padding:10px 0;
  color:#7c8192; font-size:14px; font-weight:700; letter-spacing:-0.2px;
  position:relative; cursor:pointer;
}
.penm-m-tab.penm-m-active{ color:var(--penm-navy-700); }
.penm-m-tab.penm-m-active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--penm-navy-700);
}

/* 탭 콘텐츠 온/오프 */
.penm-m-pane{ display:none; }
.penm-m-pane.penm-m-active{ display:block; }

/* ===== 상품: 2열 × 2행(마크업 4개만 넣기) ===== */
.penm-m-product-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:14px 12px;
}

/* 직선 디자인 유지(카드/둥근모서리/그림자 금지) */
.penm-m-product-item{ display:block; }
.penm-m-thumb{
  display:block; position:relative; background:#fff; aspect-ratio:1/1;
  overflow:hidden; border:1px solid #eef0f4; border-radius:0;
}
.penm-m-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.penm-m-badge{
  position:absolute; top:8px; right:8px; background:var(--penm-navy-700);
  color:#fff; font-size:11px; font-weight:800; padding:4px 6px; line-height:1;
  border:1px solid rgba(0,0,0,0.06);
}

.penm-m-info{ padding-top:8px; text-align:left; }
.penm-m-brand{ font-size:11px; font-weight:700; color:#8a90a3; letter-spacing:0.4px; text-transform:uppercase; }
.penm-m-name{
  margin-top:4px; font-size:14px; font-weight:700; color:#222; letter-spacing:-0.2px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; min-height:38px;
}
.penm-m-price{ margin-top:4px; display:flex; gap:6px; align-items:baseline; }
.penm-m-price-origin{ font-size:12px; color:#a0a6b6; text-decoration:line-through; }
.penm-m-price-sale{ font-size:16px; font-weight:800; color:var(--penm-navy-700); letter-spacing:-0.2px; }

/* 전체보기 버튼 */
.penm-m-more{ margin-top:16px; }
.penm-m-more-btn{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 12px;
  box-sizing: border-box;
  border: 1px solid var(--penm-navy-150);
  background: transparent;
  color: var(--penm-navy-800);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.2px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.penm-m-more-btn i{ margin-left:6px; }

/* 초소형 단말 보정 */
@media (max-width:360px){
  .penm-m-collection-container{ padding:0 12px; }
  .penm-m-collection-title{ font-size:20px; }
  .penm-m-tab{ font-size:13px; }
  .penm-m-name{ font-size:13px; min-height:36px; }
  .penm-m-price-sale{ font-size:15px; }
}

/*======================모바일 핫 브랜드 섹션=========================*/
  .penm-m-hot{ background:#fff; padding:56px 0; border-top:1px solid #eef0f4; }
  .penm-m-hot-container{ max-width:800px; margin:0 auto; padding:0 16px; }

  /* 헤더: PC 톤 중앙 정렬 */
  .penm-m-hot-header{ text-align:center; margin-bottom:22px; }
  .penm-m-hot-title{ font-size:22px; font-weight:800; color:var(--penm-navy-900); letter-spacing:-0.5px; }
  .penm-m-hot-sub{ margin-top:8px; font-size:13px; color:#7a7f90; letter-spacing:0.2px; }

  /* 둥근 테두리 탭 */
  .penm-m-hot-tabs{
    display:flex; flex-wrap:wrap; justify-content:center; gap:10px 12px;
    margin:10px 0 18px;
  }
  .penm-m-hot-tab{
    background:#fff;
    color:#6f7586;
    border:1px solid var(--penm-navy-150);
    border-radius:9999px;           /* 둥근 테두리 */
    padding:8px 14px;
    font-size:13px; font-weight:700; letter-spacing:-0.2px;
    cursor:pointer;
  }
  .penm-m-hot-tab.penm-m-active{
    background:var(--penm-navy-700);
    color:#fff;
    border-color:var(--penm-navy-700);
  }

  /* 탭 콘텐츠 on/off */
  .penm-m-hot-pane{ display:none; }
  .penm-m-hot-pane.penm-m-active{ display:block; }

  /* ====== 상품 2×2 (필요 시 기존 클래스 재사용) ====== */
  .penm-m-product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px 12px; }
  .penm-m-product-item{ display:block; }
  .penm-m-thumb{ display:block; position:relative; background:#fff; aspect-ratio:1/1; overflow:hidden; border:1px solid #eef0f4; }
  .penm-m-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
  .penm-m-badge{ position:absolute; top:8px; right:8px; background:var(--penm-navy-700); color:#fff; font-size:11px; font-weight:800; padding:4px 6px; line-height:1; border:1px solid rgba(0,0,0,0.06); }
  .penm-m-info{ padding-top:8px; text-align:left; }
  .penm-m-brand{ font-size:11px; font-weight:700; color:#8a90a3; letter-spacing:0.4px; text-transform:uppercase; }
  .penm-m-name{ margin-top:4px; font-size:14px; font-weight:700; color:#222; letter-spacing:-0.2px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; min-height:38px; }
  .penm-m-price{ margin-top:4px; display:flex; gap:6px; align-items:baseline; }
  .penm-m-price-origin{ font-size:12px; color:#a0a6b6; text-decoration:line-through; }
  .penm-m-price-sale{ font-size:16px; font-weight:800; color:var(--penm-navy-700); letter-spacing:-0.2px; }

  /* 전체보기 버튼 래퍼 (버튼 자체는 .penm-m-more-btn 재사용) */
  .penm-m-hot-more{ margin-top:16px; }
  
  
  /*======================모바일 신상품 섹션=========================*/
    .penm-m-new{ background:#fff; padding:56px 0; border-top:1px solid #eef0f4; }
  .penm-m-new-container{ max-width:800px; margin:0 auto; padding:0 16px; }

  /* 헤더: 중앙 정렬, 직선 */
  .penm-m-new-header{ text-align:center; margin-bottom:22px; }
  .penm-m-new-title{ font-size:22px; font-weight:800; color:var(--penm-navy-900); letter-spacing:-0.5px; }
  .penm-m-new-sub{ margin-top:8px; font-size:13px; color:#7a7f90; letter-spacing:0.2px; }

  /* 더보기 링크 (텍스트 링크, 가운데) */
  .penm-m-new-more{
    display:inline-flex; align-items:center; gap:6px;
    margin-top:14px;
    color:var(--penm-navy-700); text-decoration:none; font-weight:800; letter-spacing:-0.2px;
  }
  .penm-m-new-more i{ font-size:12px; }

  /* 상품 그리드: 2×2 */
  .penm-m-product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px 12px; }

  /* 상품 아이템(직선/무카드) */
  .penm-m-product-item{ display:block; }
  .penm-m-thumb{
    display:block; position:relative; background:#fff; aspect-ratio:1/1;
    overflow:hidden; border:1px solid #eef0f4; border-radius:0;
  }
  .penm-m-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

  /* 배지 */
  .penm-m-badge{
    position:absolute; top:8px; right:8px; line-height:1;
    padding:4px 6px; font-size:11px; font-weight:800; color:#fff;
    border:1px solid rgba(0,0,0,0.06); background:var(--penm-navy-700);
  }
  .penm-m-badge-new{ background:var(--penm-navy-700); }

  /* 정보 */
  .penm-m-info{ padding-top:8px; text-align:left; }
  .penm-m-brand{ font-size:11px; font-weight:700; color:#8a90a3; letter-spacing:0.4px; }
  .penm-m-name{
    margin-top:4px; font-size:14px; font-weight:700; color:#222; letter-spacing:-0.2px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; min-height:38px;
  }
  .penm-m-price{ margin-top:4px; display:flex; gap:6px; align-items:baseline; }
  .penm-m-price-sale{ font-size:16px; font-weight:800; color:var(--penm-navy-700); letter-spacing:-0.2px; }

  /* 초소형 단말 보정 */
  @media (max-width:360px){
    .penm-m-new-container{ padding:0 12px; }
    .penm-m-new-title{ font-size:20px; }
    .penm-m-name{ font-size:13px; min-height:36px; }
    .penm-m-price-sale{ font-size:15px; }
  }
  
  /*============================== 모바일 MD's PICK=========================================== */
  /* 섹션 배경 */
  .penm-m-mdpick{ background:var(--penm-navy-700); padding:48px 0; }
  .penm-m-mdpick-container{ max-width:900px; margin:0 auto; padding:0 16px; }

  /* 헤더 */
  .penm-m-mdpick-header{ text-align:center; color:#fff; margin-bottom:28px; }
  .penm-m-md-title{ font-size:22px; font-weight:800; color:#e4eaff; letter-spacing:-0.5px; }
  .penm-m-md-sub{ margin-top:8px; font-size:13px; color:#c8d5ff; line-height:1.5; letter-spacing:0.2px; }
  .penm-m-md-viewall{
    display:inline-block; margin-top:14px; padding:10px 22px;
    color:#fff; text-decoration:none; border:1px solid #fff; font-weight:700; letter-spacing:-0.2px;
  }

  /* 슬라이더 박스: 밝은 배경, 여백 최소화(세로 과다 방지) */
  .penm-m-md-slider{
    position:relative; background:var(--penm-navy-100);
    padding:8px 12px 12px; /* 하단은 진행바 공간 */
    border-top:1px solid rgba(255,255,255,.15);
    border-bottom:1px solid rgba(255,255,255,.15);
  }

  /* 트랙: 가로 스와이프 + 스냅 */
  .penm-m-md-track{
    display:flex; gap:12px; overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; scroll-behavior:smooth;
    scrollbar-width:none;
  }
  .penm-m-md-track::-webkit-scrollbar{ display:none; }

  /* 카드: 1.7~1.9장 보이는 폭 */
  .penm-m-md-card{ flex:0 0 58%; scroll-snap-align:start; }
  @media (max-width:390px){ .penm-m-md-card{ flex-basis:62%; } }
  @media (max-width:360px){ .penm-m-md-card{ flex-basis:66%; } }

  /* 썸네일: 정사각 비율 제거, 고정 높이로 세로 낭비 방지 */
  .penm-m-md-thumb{
    position:relative; display:block; background:#fff;
    height:180px; overflow:hidden; border:1px solid #eef0f4;
  }
  @media (max-width:390px){ .penm-m-md-thumb{ height:165px; } }
  @media (max-width:360px){ .penm-m-md-thumb{ height:160px; } }
  .penm-m-md-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

  /* 원형 프리뷰(PC 톤 유지) */
  .penm-m-md-preview{
    position:absolute; right:10px; bottom:10px; width:40px; height:40px;
    background:rgba(64,63,111,.9); border-radius:50%; display:flex; align-items:center; justify-content:center;
  }
  .penm-m-md-preview i{ color:#fff; font-size:18px; }

  /* 정보 */
  .penm-m-md-info{ margin-top:8px; text-align:left; color:#222; }
  .penm-m-md-name{
    font-size:14px; font-weight:600; line-height:1.35; margin-bottom:4px;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .penm-m-md-price{ color:#222; font-size:15px; font-weight:700; line-height:1.4; }
  .penm-m-md-price-unit{ font-size:12px; font-weight:400; }
  .penm-m-md-price del{ color:#999; font-size:13px; font-weight:400; margin-left:6px; }
  .penm-m-md-discount{ color:var(--penm-navy-700); font-size:14px; font-weight:800; margin-right:6px; }

  /* 진행 표시바(얇게) */
  .penm-m-md-scrollbar{
    position:absolute; left:12px; right:12px; bottom:6px; height:2px;
    background:rgba(64,63,111,.25);
  }
  .penm-m-md-scrollbar-thumb{ height:100%; width:20%; background:#403F6F; }
  
  
  .penm-m-header .penm-m-icon-link{ position: relative; overflow: visible; }

.penm-m-header .penm-m-cart i{
  position: relative; z-index: 1;      /* 아이콘을 하단 레이어로 고정 */
  display: block; line-height: 1;      /* 라인박스 영향 제거 */
  font-size: 20px; color: #2c344e;
}

/* 모바일 전용 배지 위치/레이어 확정 */
.penm-m-header .penm-m-cart .penm-m-badge{
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: #f2a4b3; color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;                           /* 아이콘보다 위 */
}

.penm-m-header .penm-cart-count,
.penm-m-header .penm-coupon-badge{ display: none !important; }

.penm-m-header .penm-m-cart::before,
.penm-m-header .penm-m-cart::after{ content: none !important; }

/* 모바일 전용 코드 끝 */


        /* 상단 유틸리티 바 */
        .penm-top-utility {
            background-color: white;
            border-bottom: 1px solid #e4eaff;
            color: #333;
            padding: 8px 0;
            font-size: 14px;
        }

        .penm-top-utility .penm-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .penm-top-left span {
            margin-right: 25px;
            /* font-weight: 500; */
        }

        .penm-top-right {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .penm-top-right .penm-menu-item {
            position: relative;
        }

        .penm-top-right a {
            color: #333;
            text-decoration: none;
            /* font-weight: 400; */
            font-size: 14px;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .penm-top-right a:hover {
            color: #403F6F;
        }

        /* 쿠폰 뱃지 */
        .penm-coupon-badge {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(45deg, #3f4b6f, #2c344e);
            color: white;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: bold;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            animation: float 2s ease-in-out infinite;
            z-index: 1500;
            margin-top: 5px;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-3px); }
        }

        /* 장바구니 카운트 */
        .penm-cart-count {
            background-color: #2c344e;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        /* 마이페이지 드롭다운 */
        .penm-mypage-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
            min-width: 100px;
            margin-top: 8px;
        }

        .penm-menu-item:hover .penm-mypage-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .penm-mypage-dropdown a {
            display: block;
            padding: 8px 18px;
            color: #333;
            font-size: 13px;
            border-bottom: 1px solid #c8d5ff;
        }

        .penm-mypage-dropdown a:hover {
            background-color: #f8f8f8;
            color: #403F6F;
        }

        .penm-mypage-dropdown a:last-child {
            border-bottom: none;
            border-radius: 0 0 8px 8px;
        }

        .penm-mypage-dropdown a:first-child {
            border-radius: 8px 8px 0 0;
        }

        /* 메인 헤더 */
        .penm-header {
            background-color: #f5f5f5;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 999;
        }

        .penm-header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 15px;
            padding-bottom: 25px;
            padding-left: 20px;
            padding-right: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        /* 회원가입 이벤트 배너 - 좌측 */
        .penm-signup-event {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            padding: 5px;
        }

        /* 이벤트 이미지 */
        .penm-event-image img {
            width: 120px;
            height: 66px;
            background-size: contain;
            flex-shrink: 0;
            border-radius: 6px;
            transition: transform 0.3s ease;
        }

        .penm-event-image:hover {
            transform: rotate(-3deg);
        }

        /* 이벤트 텍스트 */
        .penm-event-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
            align-items: center;
            text-align: center;
        }

        .penm-event-title {
            font-size: 15px;
            font-weight: bold;
            color: #403F6F;
            line-height: 1.2;
        }

        .penm-event-subtitle {
            font-size: 13px;
            color: #2c344e;
            font-weight: 500;
            white-space: nowrap;
        }

        /* 로고 - 중앙 */
        .penm-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .penm-logo img {
            height: 120px;
            width: auto;
            max-width: 400px;
        }

        /* 우측 여백 확보 */
        .penm-header-right {
            width: 200px;
        }

        /* 모바일 메뉴 버튼 */
        .penm-mobile-menu-btn {
            display: none;
            position: absolute;
            right: 20px;
            background: none;
            border: none;
            font-size: 28px;
            color: #403F6F;
            cursor: pointer;
        }

    
        /* 검색 모달 */
        .penm-search-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .penm-search-modal.active {
            display: flex;
        }

        .penm-search-box-container {
            background: white;
            padding: 40px;
            max-width: 600px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .penm-search-title {
            text-align: center;
            margin-bottom: 30px;
            font-size: 24px;
            color: #403F6F;
            font-weight: 700;
        }

        .penm-search-input-container {
            position: relative;
            margin-bottom: 20px;
        }

        .penm-search-input {
            width: 100%;
            padding: 15px 20px;
            font-size: 18px;
            border: 2px solid #e4eaff;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .penm-search-input:focus {
            border-color: #403F6F;
        }

        .penm-search-button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            color: #403F6F;
            border: none;
            /* padding: 8px 15px; */
            cursor: pointer;
            font-size: 20px;
        }

        .penm-search-close {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: #666;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .penm-search-close:hover {
            color: #403F6F;
        }
        .penm-brand-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
        }

        .penm-brand-column {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .penm-brand-country {
            border-left: 3px solid #403F6F;
            padding-left: 20px;
        }

        .penm-brand-country h4 {
            color: #403F6F;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e4eaff;
        }

        .penm-brand-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .penm-brand-list li {
            margin-bottom: 0;
        }

        .penm-brand-list a {
            color: #666;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: block;
            padding: 5px 0;
            line-height: 1.4;
        }

        .penm-brand-list a:hover {
            color: #403F6F;
            padding-left: 12px;
            font-weight: 600;
        }
/* ========== 네비게이션 메뉴 바 스타일 시작 ========== */ 
.penm-nav-scope, .penm-nav-scope a { font-size: 0; line-height: 1.25; }
* { -webkit-font-smoothing: antialiased; text-size-adjust: none; }
li, p, ul { margin: 0; padding: 0; }
a { background: none; color: #000; font-size: 12px; text-decoration: none; }
img { border: 0; }
li { list-style: none; }

/* 컨테이너 */
.penm-nav-container { margin: 0 auto; position: relative; width: 1320px; }

/* 상단 네이비 바 */
.penm-nav-bar {
  background-color: #403F6F;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #a7a7a7;
  color: #fff;
  height: 50px;
  position: relative;
}

/* 좌측 '전체 카테고리' / 우측 검색 */
.penm-nav-bar .penm-nav-toggle { left: 0; position: absolute; top: 0; width: 140px; }
.penm-nav-bar .penm-nav-search { position: absolute; right: 0; top: 0; }

/* 버튼 크기 */
.penm-nav-bar .penm-nav-toggle .penm-nav-toggle-btn,
.penm-nav-bar .penm-nav-search a {
  display: block; height: 50px; line-height: 50px; text-align: center;
}
.penm-nav-bar .penm-nav-toggle .penm-nav-toggle-btn {
  width: 140px; 
  box-sizing: border-box;
  background-color: #e4eaff;
  border: 1px solid #d8dbea;
  display: grid; 
  grid-template-columns: 1fr 20px;
  align-items: center
  padding: 0 8px; 
  color: #2c344e; 
  font-weight: 700;
}
.penm-nav-bar .penm-nav-search a { width: 50px; color: #ffffff; }

.penm-nav-bar .penm-nav-toggle i,
.penm-nav-bar .penm-nav-search i,
a, img { vertical-align: middle; }
.penm-nav-bar .penm-nav-search i { font-size: 26px; }
.penm-nav-bar .penm-nav-toggle i { font-size: 20px; }
.penm-nav-bar .penm-nav-toggle .penm-nav-catlabel { font-size: 16px; font-weight: 500; padding: 0 4px; }
.penm-nav-bar .penm-nav-toggle .penm-nav-catlabel{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width: 0;
  line-height:1;
}

.penm-nav-bar .penm-nav-toggle .penm-nav-toggle-btn i{
  justify-self: end;
  width: 20px;
  text-align: center;
  transition: transform .18s ease;
}


/* 전체카테고리: .is-open 이 붙어있을 때 메가메뉴 표시 */
.penm-nav-bar .penm-nav-mega { display: none; left: 0; position: absolute; top: 0; }
.penm-nav-bar .penm-nav-toggle.is-open .penm-nav-mega { display: block; }
.penm-nav-bar .penm-nav-toggle.is-open .penm-nav-toggle-btn i{
  transform: rotate(45deg);
}

/* 메가메뉴 패널(브랜드 레일 140 만큼 오른쪽에서 시작) */
.penm-nav-bar .penm-nav-mega .penm-nav-mega-box{
  background-color: #fff; border: 1px solid #ddd;
  height: 600px; max-height: 600px;
  position: absolute; top: 50px; left: 140px; right: 0; width: 1220px;
  z-index: 150;
}
.penm-nav-bar .penm-nav-mega #penm-nav-close {
  background-color: #e4eaff; color: #2c344e; cursor: pointer;
  font-size: 16px; height: 51px; line-height: 50px; text-align: center;
  position: relative; left: 0; width: 140px; z-index: 10;
}
.penm-nav-bar .penm-nav-mega .penm-nav-mega-inner { overflow: hidden; padding: 0 0 0 34px; }
.penm-nav-bar .penm-nav-mega .penm-nav-columns .penm-nav-col-brands,
.penm-nav-bar .penm-nav-mega .penm-nav-columns .penm-nav-col-stationery,
.penm-nav-bar .penm-nav-mega .penm-nav-columns .penm-nav-col-categories { display: inline-block; position: relative; vertical-align: top; }
.penm-nav-bar .penm-nav-mega .penm-nav-columns .penm-nav-col-brands { width: 50%; }
.penm-nav-bar .penm-nav-mega .penm-nav-columns .penm-nav-col-stationery { width: 16%; }
.penm-nav-bar .penm-nav-mega .penm-nav-columns .penm-nav-col-categories { width: 34%; }

/* 메가 내부 기본 블록(기존 명칭 유지) */
.penm-nav-block { color: #777; float: left; font-size: 13px; margin-right: 20px; padding: 0 34px 30px 0; width: 160px; }
.penm-nav-block .penm-nav-block-title { border-bottom: 1px solid #ddd; font-size: 14px; font-weight: 700; margin: 12px 0 4px; padding-bottom: 8px; text-align: left; }
.penm-nav-block .penm-nav-block-title img {
    width: 14px;
    height: auto;
}
.penm-nav-block .penm-nav-title-spaced { margin-top: 25px; }
.penm-nav-block .penm-nav-block-links { text-align: left; }
.penm-nav-block .penm-nav-block-links div a { color: #777; display: block; font-size: 14px; height: 20px; line-height: 20px; padding: 3px 0 3px 5px; }
.penm-nav-block .penm-nav-block-links div a:hover { background-color: #f1f1f1; color: #111; }

/* 가운데 1차 메뉴(좌 130 / 우 50 여백 확보하는 안전안) */
.penm-nav-bar .penm-nav-primary { height: 50px; margin: 0 50px 0 140px; position: relative; text-align: center; width: auto; }
.penm-nav-bar .penm-nav-mega .penm-nav-columns::after,
.penm-nav-bar .penm-nav-primary::after { clear: both; content: ""; display: block; }

.penm-nav-bar .penm-nav-primary .penm-nav-primary-item { display: inline-block; padding: 0 30px; position: relative; }
.penm-nav-bar .penm-nav-primary .penm-nav-primary-item > a { color: #fff; font-size: 16px; font-weight: 700; line-height: 50px; }
.penm-nav-bar .penm-nav-primary .penm-nav-primary-item > a:hover { border-bottom: 1px solid #c8d5ff; }

/* 1차 메뉴의 드롭다운(좌측 정렬 + 경계선) */
.penm-nav-bar .penm-nav-primary .penm-nav-submenu{
  text-align: left; background-color: #fff; border: 1px solid #ddd;
  display: none; position: absolute; top: 50px; left: 50%; margin-left: -75px;
  width: 150px; z-index: 200;
}
.penm-nav-bar .penm-nav-primary .penm-nav-submenu li { font-size: 13px; line-height: 24px; }
.penm-nav-bar .penm-nav-primary .penm-nav-submenu li + li{ border-top: 1px solid #e4eaff; }
.penm-nav-bar .penm-nav-primary .penm-nav-submenu li > a{
  display: block; padding: 8px 12px; font-size: 15px; line-height: 24px;
}
.penm-nav-bar .penm-nav-primary .penm-nav-primary-item:hover > .penm-nav-submenu,
.penm-nav-bar .penm-nav-primary .penm-nav-primary-item:focus-within > .penm-nav-submenu{ display: block !important; }

/* ========== 좌측 '인기브랜드' 레일 ========== */
.penm-nav-brandrail .penm-nav-rail { display: block; left: 0; position: absolute; top: 50px; width: 140px; z-index: 120; }
.penm-nav-rail .penm-nav-rail-list > li{
  background:#ffffff; border:1px solid #cfd6e5; border-top:0; height:48px; position: relative;
}
.penm-nav-rail .penm-nav-rail-list > li:not(.penm_top_brand_title) {
  height: 48px;
}
.penm-nav-rail .penm-nav-rail-list > li:not(.penm_top_brand_title) > a{
  display: block;
  width: 100%;
  height: 100%;            /* 클릭 영역을 li 전체 높이로 */
}
.penm-nav-rail .penm-nav-rail-list > li:not(.penm_top_brand_title) > a .penm-nav-label{
  height: 100%;
  box-sizing: border-box;
  padding: 0 12px;         /* 좌우 여백 유지 */
  display: flex;           /* 중앙 정렬 핵심 */
  align-items: center;     /* 수직 가운데 */
  justify-content: center; /* 수평 가운데 (좌우 동일) */
}.penm-nav-rail .penm-nav-rail-list > li:not(.penm_top_brand_title) .penm-nav-label > span{
  line-height: 1;
  display: inline-block;
}
.penm-nav-rail .penm-nav-rail-list > li .penm-nav-label > span{ font-size: 14px; text-align: center; color:#2c344e; }
.penm-nav-rail .penm-nav-rail-list > li:hover{ background:#3f4b6f; border-color:#3f4b6f; cursor: pointer; }
.penm-nav-rail .penm-nav-rail-list > li:hover .penm-nav-label > span{ color:#ffffff; }

/* 레일 타이틀(인기브랜드) */
.penm_top_brand_title{
  background:#3f4b6f !important; border:1px solid #3f4b6f !important; color:#ffffff !important;
  height:48px; display:flex; align-items:center;
}
.penm_top_brand_title > a{ display:block; width:100%; }
.penm_top_brand_title:hover { background-color: #2c344e !important; cursor: pointer; }
.penm_top_brand_title .penm-nav-label{ width:100%; box-sizing:border-box; display:flex; align-items:center; justify-content:center; padding:0 12px; text-align:center; }
.penm_top_brand_title .penm-nav-label > span{ color:#ffffff !important; font-weight:700; }
.penm-brand-toggle-icon{ margin-left:10px; transition: transform .2s ease; color:#ffffff; } /* 아이콘 색 대비 확보 */
.penm-nav-rail-list.penm-rail-collapsed > li:not(.penm_top_brand_title){ display:none; }
.penm-nav-rail-list.penm-rail-collapsed .penm-brand-toggle-icon{ transform:rotate(180deg); }

/* ========== ★ 레거시 브랜드 팝업 스타일 제거(무효화) ========== */
/* (중요) 레거시 팝업 레이아웃/보이기 규칙은 삭제했으며, 새 디자인만 사용 */

/* ========== 새 브랜드 팝업 디자인(브랜드 레일용) ========== */
/* 기본: 보이되 투명/비활성 → hover 시 활성화 */
.penm-nav-rail .penm-nav-rail-list > li .penm-nav-pop{
  position: absolute; left: 140px; top: 0; width: 320px;
  background: #ffffff; border: 1px solid #ddd;
  z-index: 1000;
  opacity: 0; transform: translateY(-5px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
/* li 전체 hover 시 팝업 표시 (display 토글 없이 트랜지션만) */
.penm-nav-rail .penm-nav-rail-list > li:hover .penm-nav-pop{
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

.penm-nav-pop-box { background: #ffffff; position: relative; }

/* 1) 브랜드 헤더 */
.penm-nav-pop-titlewrap{
  padding: 8px 15px 6px 15px; border-bottom: 1px solid #eee; position: relative;
}
.penm-nav-pop-title{ font-size: 18px; font-weight: 700; color: #333; margin-bottom: 2px; line-height: 1.2; display: block; }
.penm-nav-pop-desc{ font-size: 12px; color: #666; line-height: 1.2; margin: 0; padding: 0; border: none; display: block; }
.penm-nav-pop-more{
  position: absolute; top: 8px; right: 15px;
  font-size: 11px; color: #666; text-decoration: none; padding-top: 0;
}
.penm-nav-pop-more:hover{ color: #25a2d0; }

/* 2) 카테고리 메뉴(가로 그리드) */
.penm-nav-category-section{ padding: 6px 15px; border-bottom: 1px solid #eee; }
.penm-nav-category-grid{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px 8px; }
.penm-nav-category-item{ font-size: 12px; }
.penm-nav-category-item a{
  display: block; padding: 2px 6px; color: #555; text-decoration: none;
  transition: all .15s ease; line-height: 1.35; font-size: 13px;
}
.penm-nav-category-item a::before{ content: '·'; color: #c8d5ff; font-weight: bold; margin-right: 4px; }
.penm-nav-category-item a:hover{ color: #c8d5ff; background-color: #f8f9fa; }

/* 3) 브랜드 이미지 */
.penm-nav-image-section{ padding: 6px 15px; border-bottom: 1px solid #eee; text-align: center; }
.penm-nav-brand-image{
  width: 100%; height: 120px; border: 1px solid #f0f0f0; background: #fafafa;
  display: flex; align-items: center; justify-content: center;
}
.penm-nav-brand-image img{ max-width: 90%; max-height: 100%; object-fit: contain; }

/* 4) 추천 태그 */
.penm-nav-pop .penm-nav-tags{
  padding: 10px 15px 10px 15px; border-top: none; position: relative; padding-top: 10px;
  width: 100%; right: auto; bottom: auto; text-align: left; font-weight: 400;
}
.penm-nav-pop .penm-nav-tags p{ margin: 0; display: flex; flex-wrap: wrap; gap: 8px 6px; }
.penm-nav-pop .penm-nav-tags a{ text-decoration: none; margin-left: 0; }
.penm-nav-pop .penm-nav-tags a span{
  background: #f5f5f5; 
  color: #666; 
  padding: 3px 8px; 
  font-size: 12px;
  border: 1px solid #e0e0e0; 
  transition: all .15s ease; 
  white-space: nowrap;
  line-height: 1.4; 
  border-radius: 0; 
  margin-left: 0;
  display: inline-flex;
  align-items: center;
}
.penm-nav-pop .penm-nav-tags a span:hover{ background: #e8f4f8; color: #c8d5ff; border-color: #c8d5ff; }
.penm-nav-bar .penm-nav-toggle .penm-nav-toggle-btn{
  display: grid;
  grid-template-columns: 1fr 20px;
  align-items: center;
  height: 50px;
  line-height: 1;
  text-align: left;
  padding: 0 8px;
  box-sizing: border-box;
}

.penm-nav-bar .penm-nav-toggle .penm-nav-catlabel{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1;
  font-size: 16px;
  font-weight: 500;
  padding: 0 4px;
}

.penm-nav-bar .penm-nav-toggle .penm-nav-toggle-btn i{
  justify-self: end;
  width: 20px; 
  line-height: 1;
  text-align: center;
  transform-origin: 50% 50%;
  transition: transform .18s ease;
}

.penm-nav-bar .penm-nav-toggle.is-open .penm-nav-toggle-btn i{
  transform: rotate(45deg);
}

/* ========== 스크롤 시 상단 고정(네비 바만) ========== */
.penm-nav-bar{
  position: sticky; position: -webkit-sticky; top: 0; z-index: 2000;
}
/* ========== 네비게이션 메뉴 바 스타일 끝 ========== */     
  
  
    /* ========== 푸터 스타일 시작 ========== */
        .penm-footer {
            background-color: #f8f8f8;
            border-top: 1px solid #e0e0e0;
            margin-top: 80px;
        }

        .penm-footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 푸터 상단 네비게이션 */
        .penm-footer-top {
            border-bottom: 1px solid #e0e0e0;
            padding: 20px 0;
            background-color: #f0f0f0;
        }

        .penm-footer-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: flex-start;
        }

        .penm-footer-nav a {
            font-size: 13px;
            color: #666;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .penm-footer-nav a:hover {
            color: #3f4b6f;
        }

        /* 푸터 메인 영역 */
        .penm-footer-main {
            padding: 40px 0;
        }

        .penm-footer-content {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 50px;
        }

        /* 고객센터 정보 */
        .penm-cs-title,
        .penm-bank-title,
        .penm-info-title {
            font-size: 16px;
            font-weight: 700;
            color: #403F6F;
            margin-bottom: 15px;
        }

        .penm-cs-phone {
            font-size: 24px;
            font-weight: 700;
            color: #3f4b6f;
            margin-bottom: 10px;
        }

        .penm-cs-hours p {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
            margin-bottom: 3px;
        }

        /* 계좌이체 정보 */
        .penm-bank-info p {
            font-size: 13px;
            color: #666;
            line-height: 1.4;
            margin-bottom: 3px;
        }

        /* 쇼핑정보 링크 */
        .penm-info-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .penm-info-links a {
            font-size: 13px;
            color: #666;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .penm-info-links a:hover {
            color: #3f4b6f;
        }

        /* 푸터 하단 영역 */
        .penm-footer-bottom {
            border-top: 1px solid #e0e0e0;
            padding: 30px 0;
            background-color: #f0f0f0;
        }

        .penm-footer-company-info {
            margin-bottom: 15px;
        }

        .penm-footer-company-info p {
            font-size: 12px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 5px;
        }

        .penm-footer-copyright p {
            font-size: 11px;
            color: #999;
            line-height: 1.4;
            margin-bottom: 3px;
            text-align: center;
        }

        /* 푸터 모바일 반응형 */
        @media (max-width: 768px) {
            .penm-footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .penm-cs-phone {
                font-size: 20px;
            }

            .penm-footer-nav {
                gap: 15px;
            }

            .penm-footer-nav a {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .penm-footer-main {
                padding: 30px 0;
            }

            .penm-footer-bottom {
                padding: 20px 0;
            }

            .penm-footer-container {
                padding: 0 15px;
            }

            .penm-cs-phone {
                font-size: 18px;
            }

            .penm-footer-nav {
                gap: 10px;
            }
        }
        /* ========== 푸터 스타일 끝 ========== */

        /* 공통 섹션 스타일 */
        .penm-section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .penm-section-header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .penm-section-title {
            font-size: 36px;
            font-weight: 700;
            color: #403F6F;
            margin-bottom: 15px;
        }

        .penm-section-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 20px;
        }

        .penm-more-btn {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            color: #403F6F;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .penm-more-btn:hover {
            color: #3f4b6f;
        }

        .penm-more-btn i {
            margin-left: 5px;
            font-size: 12px;
        }

        /* ========== 메인 섹션들 시작 ========== */

/* HOT Brand 섹션 */
.penm-hot-brand-section {
    background-color: #fafafa;
    padding: 80px 0;
    border-bottom: 1px solid #f0f0f0;
}

.penm-brand-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.penm-brand-tag {
    padding: 10px 20px;
    border: 1px solid #e4eaff;
    border-radius: 25px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.penm-brand-tag:hover,
.penm-brand-tag.penm-active {
    background-color: #403F6F;
    color: white;
    border-color: #403F6F;
}

.penm-brand-product-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.penm-brand-product-grid.penm-active {
    display: grid;
}

.penm-section-more {
    text-align: center;
    margin-top: 40px;
}

.penm-more-link {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #403F6F;
    color: #403F6F;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.penm-more-link:hover {
    background-color: #403F6F;
    color: white;
}

/* 추천 상품 섹션(펜마스터 컬렉션) */
.penm-recommend-section {
   background-color: #fafafa;
   padding: 100px 0;
}

.penm-recommend-tabs {
   display: flex;
   justify-content: center;
   gap: 40px;
   margin-bottom: 50px;
}

.penm-tab-btn {
   background: none;
   border: none;
   padding: 15px 0;
   color: #666;
   font-size: 18px;
   font-weight: 600;
   cursor: pointer;
   position: relative;
   transition: color 0.3s ease;
   letter-spacing: -0.5px;
}

.penm-tab-btn:hover,
.penm-tab-btn.penm-active {
   color: #403F6F;
}

.penm-tab-btn.penm-active::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 3px;
   background-color: #403F6F;
}

.penm-tab-pane {
   display: none;
}

.penm-tab-pane.penm-active {
   display: block;
}

.penm-product-grid-2row {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 20px;
}
.penm-product-item,
.penm-product-info {
  min-width: 0;
}

/* 인기상품 섹션 */
.penm-popular-section {
   background-color: #ffffff;
   padding: 100px 0;
}

.penm-new-section {
   background-color: #ffffff;
   padding: 100px 0;
}

.penm-product-grid {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 20px;
}

/* 모든 상품 아이템 - 카드 없는 깔끔한 디자인 */
.penm-product-item {
   transition: all 0.3s ease;
}

.penm-product-item:hover {
   transform: translateY(-5px);
}

/* 모든 상품 썸네일 */
.penm-product-thumb {
   position: relative;
   overflow: hidden;
   aspect-ratio: 1;
   background-color: #ffffff;
   margin-bottom: 15px;
}

.penm-product-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.penm-product-item:hover .penm-product-img {
   transform: scale(1.05);
}

/* 모든 배지 스타일 */
.penm-product-badge {
   position: absolute;
   top: 12px;
   right: 12px;
   padding: 8px 12px;
   font-size: 14px;
   font-weight: 700;
   color: #ffffff;
}

.penm-badge-popular {
   background-color: #3f4b6f;
}

.penm-badge-new {
   background-color: #403F6F;
}

.penm-badge-sale {
   background-color: #403F6F;
}

/* 모든 상품 정보 */
.penm-product-info {
   text-align: left;
}
.penm-product-info img,
.penm-product-price img {
  max-width: 100%;
  height: auto;
}

.penm-brand-name {
   font-size: 14px;
   font-weight: 600;
   color: #999;
   margin-bottom: 8px;
   letter-spacing: 0.5px;
   text-transform: uppercase;
}

.penm-product-name {
   font-size: 18px;
   font-weight: 600;
   color: #333;
   margin-bottom: 12px;
   line-height: 1.4;
   letter-spacing: -0.5px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.penm-product-price {
   display: flex;
   flex-direction: column;
   gap: 4px;
}

.penm-original-price {
   font-size: 15px;
   color: #999;
   text-decoration: line-through;
   font-weight: 400;
}

.penm-sale-price {
   font-size: 20px;
   font-weight: 700;
   color: #403F6F;
   letter-spacing: -0.5px;
}
.penm-product-name,
.penm-product-price,
.penm-product-price span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}



        /* 인기상품 섹션 */
        /* .penm-popular-section {
            background-color: #ffffff;
            padding: 100px 0;
        }

        .penm-new-section {
            background-color: #fafafa;
            padding: 100px 0;
        }

        .penm-product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .penm-product-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .penm-badge-popular {
            background-color: #3f4b6f;
        }

        .penm-badge-new {
            background-color: #403F6F;
        }

        .penm-badge-sale {
            background-color: #e4eaff;
            color: #403F6F;
        } */

        /* 고객 후기 섹션 */
        .penm-review-section {
            background-color: #fafafa;
            padding: 80px 0;
        }

        .penm-review-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .penm-review-item {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .penm-review-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .penm-review-image {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }

        .penm-review-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .penm-review-item:hover .penm-review-photo {
            transform: scale(1.05);
        }

        .penm-review-content {
            padding: 20px;
        }

        .penm-review-stars {
            margin-bottom: 12px;
        }

        .penm-review-stars i {
            color: #FFD700;
            margin-right: 2px;
            font-size: 14px;
        }

        .penm-review-text {
            font-size: 14px;
            line-height: 1.5;
            color: #333;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .penm-review-author {
            font-size: 13px;
            font-weight: 600;
            color: #403F6F;
            margin-bottom: 4px;
        }

        .penm-review-product {
            font-size: 11px;
            color: #999;
        }

        .penm-review-bottom {
            text-align: center;
            margin-top: 40px;
        }

        .penm-review-more-btn {
            display: inline-block;
            padding: 15px 40px;
            background-color: #403F6F;
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(64, 63, 111, 0.2);
        }

        .penm-review-more-btn:hover {
            background-color: #3f4b6f;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(64, 63, 111, 0.3);
        }

        /* 모바일 반응형 */
        @media (max-width: 768px) {
            .penm-section-container {
                margin-left: auto;
            }
            .penm-section-title {
                font-size: 28px;
            }

            .penm-section-subtitle {
                font-size: 14px;
            }

            .penm-more-btn {
                position: static;
                transform: none;
                display: inline-block;
                margin-top: 10px;
            }

            .penm-popular-section,
            .penm-new-section,
            .penm-service-section,
            .penm-review-section {
                padding: 60px 0;
            }

            .penm-brand-story-section {
                padding: 80px 0;
            }

            .penm-product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .penm-brand-story-content {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            .penm-story-title {
                font-size: 32px;
            }

            .penm-service-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }

            .penm-review-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .penm-review-image {
                height: 180px;
            }

            .penm-review-content {
                padding: 18px;
            }

            .penm-review-text {
                font-size: 13px;
                -webkit-line-clamp: 2;
            }

            .penm-review-more-btn {
                padding: 12px 30px;
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .penm-section-container {
                padding: 0 15px;
            }

            .penm-section-header {
                margin-bottom: 35px;
            }

            .penm-product-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .penm-service-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .penm-story-title {
                font-size: 28px;
            }

            .penm-story-desc {
                font-size: 14px;
            }
            .penm-review-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .penm-review-image {
                height: 160px;
            }

            .penm-review-content {
                padding: 15px;
            }

            .penm-review-text {
                font-size: 12px;
            }

            .penm-review-author {
                font-size: 12px;
            }

            .penm-review-product {
                font-size: 10px;
            }

            .penm-review-more-btn {
                padding: 10px 25px;
                font-size: 13px;
            }
        }
        /* ================= 후기 섹션: 모바일 반응형 오버라이드 ================= */
@media (max-width: 768px) {
  /* 헤더(중앙정렬 + 통일된 크기) */
  .penm-review-section .penm-section-header {
    text-align: center;
    margin-bottom: 24px;
  }
  .penm-review-section .penm-section-title {
    font-size: 22px;      /* 다른 모바일 섹션과 통일 */
    font-weight: 800;
    letter-spacing: -0.5px;
  }
  .penm-review-section .penm-section-subtitle {
    font-size: 13px;      /* 통일 */
    letter-spacing: 0.2px;
  }
  .penm-review-section .penm-more-btn {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 12px;
  }

  /* 카드 2×2 */
  .penm-review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .penm-review-image { height: 180px; }
  .penm-review-content { padding: 18px; }
  .penm-review-text {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .penm-review-more-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .penm-review-section .penm-section-container { padding: 0 15px; }
  .penm-review-section .penm-section-header { margin-bottom: 35px; }
  .penm-review-section .penm-section-title { font-size: 20px; }  /* 초소형에서만 20 */
  .penm-review-section .penm-section-subtitle { font-size: 13px; }

  /* 480 이하에서도 2×2 유지 */
  .penm-review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .penm-review-image { height: 160px; }
  .penm-review-content { padding: 15px; }
  .penm-review-text { font-size: 12px; }
  .penm-review-author { font-size: 12px; }
  .penm-review-product { font-size: 10px; }
  .penm-review-more-btn { padding: 10px 25px; font-size: 13px; }
}
        
        

        /* 카테고리 메뉴 섹션 */
        .penm-category-section {
            background-color: #ffffff;
            padding: 80px 20px;
            border-bottom: 1px solid #f0f0f0;
        }

        .penm-category-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .penm-category-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr); /* 8열 → 6열로 변경 */
            /* grid-template-rows: repeat(2, 1fr); 2행 명시적 설정 */
            gap: 30px 20px; /* 행 간격 30px, 열 간격 20px */
            justify-items: center;
            max-width: 900px; /* 최대 너비 제한으로 적절한 간격 유지 */
            margin: 0 auto;
        }

        .penm-category-item {
            text-align: center;
        }

        .penm-category-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
        }

        .penm-category-link:hover {
            transform: translateY(-5px);
        }

        .penm-category-icon {
            width: 100px; /* 80px → 100px로 증가 */
            height: 100px; /* 80px → 100px로 증가 */
            border-radius: 50%;
            background-color: #f8f6f4;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px; /* 15px → 18px로 증가 */
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #f0ede9;
        }

        .penm-category-icon::before {
            display: none;
        }

        .penm-category-icon .category-icon-img {
            font-size: 38px; /* 32px → 38px로 증가 */
            color: #403F6F;
            transition: all 0.3s ease;
        }
        .category-icon-img {
            width: 80px;
            height: auto;
        }

        .penm-category-link:hover .penm-category-icon {
            transform: scale(1.05);
            background-color: #f5f2ee;
            box-shadow: 0 4px 12px rgba(64, 63, 111, 0.15);
            border-color: #f0ede9;
        }

        .penm-category-link:hover .penm-category-icon .category-icon-img {
            color: #3f4b6f;
        }

        .penm-category-name {
            font-size: 16px; /* 14px → 16px로 증가 */
            font-weight: 500;
            color: #403F6F;
            transition: color 0.3s ease;
            letter-spacing: -0.5px; /* 글자 간격 조정으로 더 세련되게 */
        }

        .penm-category-link:hover .penm-category-name {
            color: #3f4b6f;
            font-weight: 600;
        }

        /* 모바일 반응형 */
        @media (max-width: 768px) {
          .penm-category-section {
            padding: 40px 12px;
          }

          /* 4열 × 3행 */
          .penm-category-grid {
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 18px 12px;
            max-width: 520px; /* 필요 없으면 100%로 바꿔도 OK */
          }

          .penm-category-icon {
            width: 64px;
            height: 64px;
            margin-bottom: 8px;
          }

          /* 이미지 아이콘 축소 */
          .category-icon-img {
            width: 44px;
            height: auto;
          }

          .penm-category-name {
            font-size: 13px;
            letter-spacing: -0.3px;
          }
        }

        @media (max-width: 480px) {
          .penm-category-section {
            padding: 32px 10px;
          }

          /* 작은 모바일도 4열 유지 */
          .penm-category-grid {
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 14px 8px;
            max-width: 100%;
          }

          .penm-category-icon {
            width: 56px;
            height: 56px;
            margin-bottom: 8px;
          }

          .category-icon_img { /* 오타 방지용 예비 선택자: 쓰지 않으면 삭제 가능 */
            width: 38px;
          }
          .category-icon-img {
            width: 38px;
            height: auto;
          }

          .penm-category-name {
            font-size: 12px;
            letter-spacing: -0.2px;
          }
        }

        /* 메인 배너 슬라이더 */
        .penm-main-slider {
            position: relative;
            width: 100%;
            height: 600px;
            overflow: hidden;
            background-color: #f8f8f8;
        }

        .penm-slider-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .penm-slider-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .penm-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .penm-slide.penm-slide-active {
            opacity: 1;
        }

        .penm-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .penm-slide-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 600px;
            padding: 0 20px;
        }

        .penm-slide-content h2 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            line-height: 1.2;
        }

        .penm-slide-content p {
            font-size: 18px;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
            line-height: 1.4;
        }

        .penm-slide-btn {
            display: inline-block;
            padding: 15px 35px;
            background-color: #ED7458;
            color: white;
            text-decoration: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .penm-slide-btn:hover {
            background-color: #8E7C68;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        /* 슬라이더 네비게이션 */
        .penm-slider-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 30px;
            z-index: 3;
            pointer-events: none;
        }

        .penm-slider-prev,
        .penm-slider-next {
            background-color: rgba(255,255,255,0.2);
            border: 2px solid rgba(255,255,255,0.3);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 18px;
            pointer-events: all;
            backdrop-filter: blur(10px);
        }

        .penm-slider-prev:hover,
        .penm-slider-next:hover {
            background-color: rgba(237, 116, 88, 0.8);
            border-color: rgba(237, 116, 88, 1);
            transform: scale(1.1);
        }

        /* 슬라이더 인디케이터 */
        .penm-slider-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            z-index: 3;
        }

        .penm-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.5);
            background-color: transparent;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .penm-indicator.penm-indicator-active,
        .penm-indicator:hover {
            background-color: white;
            border-color: white;
        }

        /* 모바일 반응형 */
        @media (max-width: 768px) {
            .penm-main-slider {
                height: 400px;
            }

            .penm-slide-content h2 {
                font-size: 32px;
                margin-bottom: 15px;
            }

            .penm-slide-content p {
                font-size: 16px;
                margin-bottom: 25px;
            }

            .penm-slide-btn {
                padding: 12px 28px;
                font-size: 14px;
            }

            .penm-slider-nav {
                padding: 0 20px;
            }

            .penm-slider-prev,
            .penm-slider-next {
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            .penm-main-slider {
                height: 350px;
            }

            .penm-slide-content {
                padding: 0 15px;
                max-width: 400px;
            }

            .penm-slide-content h2 {
                font-size: 28px;
            }

            .penm-slide-content p {
                font-size: 14px;
            }

            .penm-slide-btn {
                padding: 10px 24px;
                font-size: 13px;
            }

            .penm-slider-prev,
            .penm-slider-next {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }

            .penm-slider-indicators {
                bottom: 20px;
                gap: 12px;
            }

            .penm-indicator {
                width: 10px;
                height: 10px;
            }
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #ffffff;
        }

/* ================= 프로모션 배너 섹션================= */

/* ===== 모바일 전용 기본 레이아웃 ===== */
.penm-mobile-promo .penm-offset-container{
  width:100%; max-width:none; margin:0;
}
.penm-mobile-promo .penm-offset-grid{
  display:flex; flex-direction:column; gap:12px;
}

/* 공통 카드 틀 */
.penm-mobile-promo .penm-card,
.penm-mobile-promo .penm-hero{
  position:relative; overflow:hidden; border-radius:0;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}
.penm-mobile-promo .penm-card img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .35s ease;
}
.penm-mobile-promo .penm-card:hover img{ transform:scale(1.02); }

/* 1) 상단 와이드 (PC 배너 1140x290 → 동일 비율 유지) */
.penm-mobile-promo .penm-wide{
  display:block; width:100%; aspect-ratio:1140 / 290; /* "H 3.93:1 */
}

/* 2) 슬라이드 (5:4 고정, 스와이프 전용) */
.penm-mobile-promo #penm-hero{
  width:100%; aspect-ratio:5 / 4; /* 500x400 */
}
.penm-mobile-promo #penm-hero .penm-sub-slider-container{
  position:relative; width:100%; height:100%; overflow:hidden;
  /* 수직 스크롤 허용 + 가로 제스처만 잡기 */
  touch-action: pan-y;
}
.penm-mobile-promo #penm-hero .penm-sub-slider-wrapper{
  display:flex; height:100%; transition:transform .45s ease;
}
.penm-mobile-promo #penm-hero .penm-sub-slide{
  flex:0 0 100%; height:100%; position:relative;
}
.penm-mobile-promo #penm-hero .penm-sub-slide a{
  display:block; width:100%; height:100%;
}
.penm-mobile-promo #penm-hero .penm-sub-slide img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* 인디케이터 */
.penm-mobile-promo #penm-hero .penm-sub-slider-indicators{
  position:absolute; bottom:12px; left:50%; transform:translateX(-50%);
  display:flex; gap:4px; z-index:10;
}
.penm-mobile-promo #penm-hero .penm-sub-indicator{
  width:14px; height:3px; background:#cfcfcf; border:0; cursor:pointer;
  transition:width .25s ease, background .25s ease;
}
.penm-mobile-promo #penm-hero .penm-sub-indicator.penm-sub-active{
  width:24px; background:rgba(0,0,0,.75);
}

/* 3) 정사각 2장 */
.penm-mobile-promo .penm-sq-pair{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.penm-mobile-promo .penm-sq-pair .penm-card{
  aspect-ratio:1 / 1; display:block; width:100%;
}

/* 시각 숨김 텍스트 */
.penm-mobile-promo .sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
  
  /* MD's PICK 메인 섹션 */
        .penm-mdpick-section {
            background-color: #403F6F; /* 네이비 테마색 배경 */
            padding: 60px 20px;
            margin: 0 auto;
        }

        .penm-mdpick-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 20% 80%;
            gap: 25px;
            align-items: center;
        }

        /* 좌측 텍스트 영역 */
        .penm-mdpick-text-area {
            text-align: left;
            color: #ffffff;
            padding-left: 0px;
        }

        .penm-mdpick-title {
            font-size: 36px;
            font-weight: 700;
            color: #e4eaff;
            margin-bottom: 15px; /* 20px에서 15px로 감소 */
            letter-spacing: -1.5px; /* -1px에서 -1.5px로 증가 */
        }

        .penm-mdpick-subtitle {
            font-size: 18px; /* 16px에서 18px로 증가 */
            font-weight: 300; /* 400에서 300으로 변경 */
            color: #c8d5ff;
            margin-bottom: 35px; /* 40px에서 35px로 감소 */
            line-height: 1.6; /* 1.5에서 1.6으로 증가 */
            letter-spacing: -0.5px; /* 글자 간격 추가 */
        }

        .penm-mdpick-view-all {
            display: inline-block;
            background-color: transparent; /* 배경색 제거 */
            color: #ffffff;
            padding: 12px 30px; /* 16px 40px에서 12px 30px로 감소 */
            font-size: 16px;
            font-weight: 500; /* 600에서 500으로 변경 */
            text-decoration: none;
            border: 1px solid #ffffff; /* 2px에서 1px로 감소, 색상도 변경 */
            transition: all 0.3s ease;
            letter-spacing: -0.3px; /* 글자 간격 추가 */
        }

        .penm-mdpick-view-all:hover {
            background-color: #ffffff;
            color: #403F6F;
            border-color: #ffffff;
        }

        /* 우측 슬라이더 영역 - 밝은 배경색 적용 */
        .penm-mdpick-slider-area {
            position: relative;
            padding: 30px;
            background-color: #e4eaff; /* 밝은 네이비로 변경 */
            margin-left: 20px;
        }

        .penm-mdpick-swiper {
            overflow: hidden;
            position: relative;
        }

        .penm-mdpick-swiper-wrapper {
            display: flex;
            transition: transform 0.3s ease;
            padding-right: 50px; /* 우측 여백 추가로 마지막 상품까지 완전히 보이도록 */
        }

        .penm-mdpick-slide {
            flex: 0 0 25%;
            padding: 0 10px;
            position: relative;
        }

        /* 상품 썸네일 - 가로세로 모두 고정 크기 */
        .penm-mdpick-thumb {
            position: relative;
            overflow: hidden;
            background-color: #ffffff;
            margin-bottom: 15px;
            width: 100%;
            height: 250px; /* 고정 높이 */
            max-width: 250px; /* 최대 가로 크기 제한 추가 */
            aspect-ratio: 1/1; /* 정사각형 비율 강제 */
        }

        .penm-mdpick-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 비율 유지하며 컨테이너 크기에 맞춤 */
            display: block;
            transition: transform 0.5s ease;
        }

        .penm-mdpick-thumb:hover img {
            transform: scale(1.1);
        }

        /* 장바구니 미리보기 버튼 */
        .penm-mdpick-preview {
            position: absolute;
            bottom: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background-color: rgba(64, 63, 111, 0.9);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .penm-mdpick-preview i {
            color: #ffffff;
            font-size: 18px;
        }

        .penm-mdpick-thumb:hover .penm-mdpick-preview {
            display: flex;
        }

        .penm-mdpick-preview:hover {
            background-color: #e4eaff;
        }

        .penm-mdpick-preview:hover i {
            color: #403F6F;
        }

        /* 상품 정보 - 깔끔한 검정색 폰트 */
        .penm-mdpick-info {
            text-align: left;
        }

        .penm-mdpick-name {
            color: #333333; /* 깔끔한 검정색 */
            font-size: 15px;
            font-weight: 500;
            line-height: 1.4;
            margin-bottom: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 200px; /* 상품명 최대 너비 제한 */
        }

        .penm-mdpick-price {
            color: #222222; /* 진한 검정색 */
            font-size: 18px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 5px;
        }

        .penm-mdpick-price .penm-price-unit {
            font-size: 14px;
            font-weight: 400;
        }

        .penm-mdpick-price del {
            color: #999999; /* 회색으로 취소선 */
            font-size: 14px;
            font-weight: 400;
            margin-left: 8px;
        }

        .penm-mdpick-discount {
            color: #403F6F; /* 네이비 테마색으로 강조 */
            font-size: 16px;
            font-weight: 700;
            margin-right: 8px;
        }

        /* 슬라이더 네비게이션 버튼 */
        .penm-mdpick-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .penm-mdpick-nav-btn:hover {
            background-color: #ffffff;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }

        .penm-mdpick-nav-btn i {
            font-size: 20px;
            color: #403F6F;
        }

        .penm-mdpick-prev {
            left: 0px;
        }

        .penm-mdpick-next {
            right: 0px;
        }

        .penm-mdpick-nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* 진행 표시바 - 밝은 배경에 맞게 조정 */
        .penm-mdpick-scrollbar {
            position: absolute;
            bottom: -15px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: rgba(64, 63, 111, 0.2); /* 네이비 계열로 변경 */
        }

        .penm-mdpick-scrollbar-thumb {
            height: 100%;
            background-color: #403F6F; /* 진한 네이비로 변경 */
            transition: all 0.3s ease;
        }

        /* 반응형 디자인 */
        @media (max-width: 768px) {
            .penm-mdpick-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .penm-mdpick-title {
                font-size: 28px;
            }

            .penm-mdpick-subtitle {
                font-size: 14px;
            }

            .penm-mdpick-slider-area {
                margin-left: 0;
                padding: 25px 20px;
            }

            .penm-mdpick-slide {
                flex: 0 0 50%;
            }

            .penm-mdpick-thumb {
                height: 150px;
            }

            .penm-mdpick-nav-btn {
                width: 40px;
                height: 40px;
            }

            .penm-mdpick-nav-btn i {
                font-size: 16px;
            }
        }

        @media (max-width: 480px) {
            .penm-mdpick-section {
                padding: 40px 15px;
            }

            .penm-mdpick-slider-area {
                padding: 20px 15px;
            }

            .penm-mdpick-slide {
                flex: 0 0 100%;
            }

            .penm-mdpick-thumb {
                height: 180px;
            }

            .penm-mdpick-title {
                font-size: 24px;
            }
        }
        
/* ===== 모바일 검색 모달 (전체 화면) ===== */
.penm-m-search-modal{
  position: fixed;
  inset: 0;
  z-index: 3000;
  background:#fff;
  display:none;                 /* 기본 숨김 */
}
.penm-m-search-modal.is-open{ display:block; }

.penm-m-search-wrap{
  height:100%;
  width:100%;
  padding:20px 18px 30px;
  box-sizing:border-box;
}

/* 상단 헤더 */
.penm-m-search-header{
  position:relative;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.penm-m-search-title{
  font-size:20px;               /* 필요하면 18~20 조절 */
  font-weight:600;
  letter-spacing:-0.5px;
  color:#111;
}
.penm-m-search-close{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:0;
  font-size:28px;
  color:#666;
  line-height:1;
  cursor:pointer;
}

/* ===== 입력 영역: 밑줄형 + 아이콘 겹치기 ===== */
.penm-m-search-field{
  position: relative;
  margin:28px 6px 0;
}

/* 인풋: 한 줄, 오른쪽에 아이콘 자리 확보 */
.penm-m-search-input{
  width:100% !important;
  border:0 !important;
  border-bottom:2px solid #e1e1e1 !important;
  padding:12px 44px 12px 0 !important;  /* 아이콘 공간 확보 */
  font-size:18px !important;
  outline:none !important;
  background:#fff !important;
  box-sizing:border-box;
}
.penm-m-search-input:focus{
  border-bottom-color:#bdbdbd !important;
}

/* 검색 버튼(링크): 아이콘만, 배경/테두리 없음 */
.penm-m-search-button{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:transparent;
  border:0;
  color:#444 !important;
  border-radius:0;
  cursor:pointer;
}
.penm-m-search-button i{ font-size:22px; line-height:1; }
.penm-m-search-button:hover{ color:#403F6F !important; }

/* 자동완성 레이어가 밑줄과 겹치지 않도록 간격 */
.penm-m-search-autocomplete{
  position:relative;
  margin-top:12px;
  z-index:1;
}
.penm-m-search-autocomplete *{ max-width:100%; }

/* 데스크톱에서는 숨김(모바일 전용) */
@media (min-width: 769px){
  .penm-m-search-modal{ display:none !important; }
}


.penm-m-md-track { touch-action: pan-x; }
.penm-m-md-scrollbar, .penm-m-md-scrollbar-thumb { touch-action: none; }
/* BASIC css end */

