/* 
======================================================
    CHEESE HISTORY MODERN STOREFRONT THEME
    "Clean, Modern & Friendly" Design Language
    Inspired by Naver Shopping / Modern E-commerce
======================================================
*/

:root {
  /* Color Palette - Modern & Friendly */
  --primary: #ff4d00;      /* Vibrant Orange (Cheese/Store Identity) */
  --primary-hover: #e64500;
  --gold: #ff4d00;         /* Alias for script compatibility */
  --secondary: #e11d21;    /* Red (From Logo Collar) */
  --bg-main: #ffffff;      /* Clean White Background */
  --bg-faint: #f8f9fa;     /* Light Gray for sections */
  --text-main: #1a1a1a;    /* Near Black for readability */
  --text-muted: #666666;   /* Gray for descriptions */
  --text-light: #999999;   /* Lighter Gray */
  --border-color: #eee;    /* Soft borders */
  
  /* Naver Shopping-ish Accents */
  --nav-bg: #ffffff;
  --search-border: #ff4d00;
  
  /* Fonts - Optimized for Korean & English Mixing */
  --font-heading: 'Noto Sans KR', 'Pretendard', 'Inter', -apple-system, sans-serif;
  --font-body: 'Noto Sans KR', 'Pretendard', 'Inter', -apple-system, sans-serif;

  /* Misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.2s ease-in-out;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: auto;
  max-width: 100%; /* Prevent children from stretching parents beyond viewport */
}

/* 더블탭 줌 방지 (JS touchend preventDefault 대신 CSS로 처리) */
a, button, [role="button"], .nav-links li, .nav-main-item {
  touch-action: manipulation;
}

html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Utils */
.mo-only { display: none !important; }
@media (max-width: 768px) {
    .mo-only { display: block !important; }
    .pc-only { display: none !important; }
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
  will-change: opacity;
}

.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature Specific Scroll Effects */
.feature-image {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.feature-series-section.reverse .feature-image {
  transform: translateX(40px);
}
.feature-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out 0.2s; /* 살짝 늦게 시작 */
}
.feature-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary-glow {
  background: var(--primary);
  color: white;
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-glow:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 77, 0, 0.4);
}

.btn-outline {
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid var(--border-color);
  color: var(--text-main);
  transition: var(--transition);
}

.btn-outline:hover {
  background: #f8f9fa;
  border-color: #ddd;
}

/* ====================================
    Navigation
==================================== */
.glass-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* [추가] 데스크탑에서 드로어 오버레이가 클릭을 방해하지 않도록 기본적으로 숨김 */
.drawer-overlay {
  display: none;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 40px; /* 로고와 메뉴 사이의 넉넉한 공간 */
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #111;
  cursor: pointer;
  padding: 4px;
}

/* Updated Brand Logo Style */
.brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img {
  height: 40px; /* Resize as needed */
  width: auto;
}

.brand span {
  color: var(--primary);
}

/* Search Bar (Naver Style) */
.nav-search {
  flex: 1;
  max-width: 500px;
  margin: 0 40px;
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 2px 2px 2px 20px;
  background: white;
}

.nav-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  padding: 8px 0;
}

.btn-search {
  background: var(--primary);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
}

.nav-links li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary);
  background: #fff5f0;
}

.nav-btn {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--primary-hover);
}

/* ====================================
    Hero Section
==================================== */
.hero-section {
  background: linear-gradient(180deg, #fff5f0 0%, #ffffff 100%);
  height: calc(100vh - 70px); /* Fill the screen */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 100%;
  top: -50%;
  left: -20%;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.03) 0%, transparent 60%);
  z-index: 1;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  text-align: center; /* Center align for simple, direct message */
  max-width: 800px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center; /* Center actions */
  margin-top: 40px;
}

.hero-image-v2 {
  flex: 1.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-image-v2 img {
  width: 100%;
  display: block;
}

.subtitle {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1a1a1a;
  word-break: break-all;
  overflow-wrap: break-word;
}

.description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

.btn-secondary {
  background: #f1f1f1;
  color: #333;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ====================================
    Products Grid
==================================== */
.collection-section {
  padding: 60px 24px;
  background: var(--bg-faint);
}

.listing-container {
  padding: 60px 24px 120px !important; /* Plenty of space before footer */
  background: #f8f9fa;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); /* 2 columns on desktop */
  gap: 24px;
  max-width: 1400px; /* Expand for density */
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: row; 
  min-height: 200px; /* Compact height */
}

.btn-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 10;
  transition: transform 0.2s;
}

.btn-wish:hover {
  transform: scale(1.1);
}

.btn-wish.active {
  color: #ff4d00;
}

.btn-wish-detail {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 12px;
}

.btn-wish-detail:hover {
  background: #fff;
  border-color: #ddd;
  transform: translateY(-2px);
}

.btn-wish-detail.active {
  background: #fff5f0;
  border-color: #ffe0d6;
}



.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.product-image {
  width: 200px; /* Compact width for density */
  height: auto;
  background: #fdfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem; /* Adjusted for smaller size */
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.02) 100%);
  z-index: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Professional look for items */
  padding: 15px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-info {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
  line-height: 1.4;
}

.product-info p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.original-price {
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 500;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discount-rate {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ff4d00; /* Vibrant Orange/Red for discount */
}

.final-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #000;
}

.product-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.btn-buy-v2 {
  flex: 1;
  background: var(--primary);
  color: white;
  padding: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ====================================
    Feature Series Section
==================================== */
.feature-series-section {
  padding: 80px 24px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.feature-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-series-section.reverse .feature-container {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-image img {
  width: 100%;
  display: block;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.2;
}

.feature-content h2 span {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.feature-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.feature-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-link:hover {
  text-decoration: underline;
}

/* ====================================
    Quick Categories Section
==================================== */
.quick-category-section {
  padding: 100px 24px;
  background: white;
  text-align: center;
}

.quick-category-section .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-category-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.cat-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  text-align: left;
}

.cat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 77, 0, 0.1);
  border-color: rgba(255, 77, 0, 0.2);
}

.cat-card .icon {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.cat-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.cat-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ====================================
    Storefront Specific Animations
==================================== */
.story-section {
  padding: 100px 24px;
  background: #fff5f0;
  text-align: center;
}

.story-container {
  max-width: 800px;
  margin: 0 auto;
}

.story-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.story-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

/* ====================================
    Footer
==================================== */
footer {
  background: #333;
  color: #fff;
  padding: 60px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.link-group h4 {
  margin-bottom: 20px;
  font-size: 1rem;
}

.link-group a {
  display: block;
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: 0.2s;
}

.link-group a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

/* Auth Modal Styles - Premium Refresh */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000; /* 모바일 드로어(2000)보다 높게 설정 */
  backdrop-filter: blur(8px);
  padding: 20px;
}

.auth-modal-overlay.active {
  display: flex;
}

.auth-modal-content {
  background: #fff;
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.auth-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #666;
  transition: var(--transition);
}

.auth-close-btn:hover {
  background: #e5e5e5;
  color: #111;
}

.auth-modal-logo {
  height: 80px;
  margin-bottom: 12px;
}

/* Modern Segmented Tab Control */
.auth-tabs {
  display: flex;
  background: #f1f1f1;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #666;
  transition: var(--transition);
}

.auth-tab.active {
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111;
  margin-bottom: 12px;
}

.auth-title span {
  color: var(--primary);
}

.auth-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.auth-desc strong {
  display: block;
  margin-top: 8px;
  color: #111;
}

.btn-social {
  width: 100%;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #111;
  transition: var(--transition);
  background: #fff;
  margin-bottom: 24px;
}

.btn-social:hover {
  border-color: #ccc;
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-social img {
  width: 24px;
}

.auth-footnote {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
}

.auth-footnote a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Animations - Smoother Reveal */
.auth-modal-content {
  animation: modalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalReveal {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .auth-modal-content {
    padding: 40px 24px;
  }
}

/* ====================================
    Responsive Media Queries (Mobile Optimization)
==================================== */
@media (max-width: 1024px) {
  .nav-container, .hero-container, .section-container, .feature-container, .dashboard-container, .detail-page-container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-container {
    padding: 12px 16px;
    flex-wrap: wrap;
    align-items: center;
  }
  .brand-wrapper { order: 2; flex: 1; }
  .hamburger-btn { display: block; order: 1; margin-right: 10px; }
  .brand img {
    height: 30px;
  }
  .brand {
    font-size: 1.05rem;
  }
  .nav-search {
    order: 3;
    width: 100%;
    margin: 12px 0 0 0;
  }
  .search-input-wrapper {
    border-width: 1px;
    background: #fff;
  }
  .search-input-wrapper input {
    font-size: 0.95rem;
  }

  /* Side Drawer Overlay */
  .drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Side Drawer Content (Left Slide) */
  .nav-links {
    position: fixed;
    top: 0;
    left: -320px; /* Hide outside the left screen */
    width: 280px;
    height: 100vh;
    height: 100dvh; /* iOS Safari: URL 바 포함 실제 visible 높이 */
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 env(safe-area-inset-bottom, 40px) 0;
    margin: 0;
    box-shadow: 4px 0 25px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; /* keep flex, but off-screen */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.active {
    left: 0; /* Slide in */
  }
  
  .nav-links-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
  }
  .drawer-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
  }

  /* Drawer Log-out / Log-in prominent button */
  .drawer-auth-btn {
    background: #111 !important; /* Prominent dark tone */
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
    border: none;
    text-align: center;
    margin-left: auto; /* Push to right */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links li {
    width: 100%;
    padding: 0 16px;
    margin-bottom: 4px;
  }
  /* Desktop login button wrapper hidden in mobile */
  .desktop-login-li {
    display: none !important;
  }

  .nav-links li a, .nav-links li .nav-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 16px !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    color: #333;
    background: transparent;
    border-radius: 8px;
    border: none;
  }
  .nav-links li a:active, .nav-links li .nav-btn:active {
    background: #f8f9fa;
  }

  /* Hero Section - Full Height for Focus */
  .hero-section {
    height: calc(100vh - 60px);
    padding: 20px 0;
    margin: 0;
    background: linear-gradient(180deg, #fff5f0 0%, #ffffff 100%);
  }
  .hero-container {
    padding: 0 24px;
    height: 100%;
  }
  .hero-content .title {
    font-size: 2rem;
    word-break: break-all;
    overflow-wrap: break-word;
  }
  .hero-content .description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #555;
  }
  .hero-actions {
    gap: 12px;
  }
  .btn-primary-glow {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .btn-outline {
    padding: 14px 24px;
    font-size: 1rem;
    background: white;
  }
  .hero-image-v2 {
    max-width: 85%;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  }

  /* Quick Categories */
  .quick-category-section {
    padding: 50px 16px;
  }
  .quick-category-section h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  .category-grid {
    gap: 16px;
  }
  .cat-card {
    padding: 30px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .cat-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .cat-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .cat-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Products & Other Pages */
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-card {
    flex-direction: column; /* Stack on mobile */
    min-height: auto;
  }
  .product-image {
    width: 100%;
    height: 220px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 4rem;
  }
  .product-info {
    padding: 24px;
  }
  .product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .products-page-header {
    padding: 40px 20px !important;
  }
  .products-page-header .title {
    font-size: 1.8rem !important;
  }
  .products-page-header .description {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
  }

  /* Sidebar Grid for Mobile */
  .sidebar-menu {
    gap: 8px;
  }
  .menu-item a {
    border-radius: 12px;
    background: #f8f9fa;
  }
}

/* Premium Toast Notification */
.premium-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 5000;
    min-width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-toast.active { transform: translateX(0); }
.premium-toast.hide { opacity: 0; transform: translateY(20px); }

.toast-content { display: flex; align-items: flex-start; gap: 16px; }
.toast-icon { font-size: 1.5rem; }
.toast-text h4 { margin-bottom: 4px; font-size: 1rem; font-weight: 700; color: #111; }
.toast-text p { font-size: 0.9rem; color: #555; line-height: 1.4; }
.toast-close { background: none; border: none; font-size: 1.2rem; color: #aaa; cursor: pointer; padding: 0; }

/* Premium Global Modal (Alert/Confirm) */
.premium-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.premium-modal-overlay.active { display: flex; }

.premium-modal-card {
    background: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon { font-size: 3rem; margin-bottom: 20px; }
.modal-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; color: #111; }
.modal-desc { font-size: 1rem; color: #555; line-height: 1.6; margin-bottom: 32px; word-break: keep-all; overflow-wrap: break-word; }

.modal-btns { display: flex; gap: 12px; justify-content: center; }
.btn-confirm { 
    background: var(--primary); 
    color: #fff; 
    border: none; 
    padding: 12px 32px; 
    border-radius: 12px; 
    font-weight: 700; 
    cursor: pointer;
    transition: 0.2s;
}
.btn-confirm:hover { background: var(--primary-hover); }

.btn-cancel-modal { 
    background: #f1f1f1; 
    color: #666; 
    border: none; 
    padding: 12px 32px; 
    border-radius: 12px; 
    font-weight: 700; 
    cursor: pointer;
}

/* Detail Page Price System (Naver Style) */
.detail-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-original-price {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-discount-rate {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff4d00;
}

.detail-final-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #000;
}

/* ====================================
    Premium Detail Page Refresh
==================================== */
.detail-breadcrumb {
    font-size: 0.8rem;
    font-weight: 500;
    color: #bbb;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.benefit-card-v2 {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.02);
}

.benefit-title-v2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefit-list-v2 {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit-item-v2 {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #666;
}

.benefit-item-v2 span:last-child {
    color: #111;
    font-weight: 700;
}

.coupon-section-v2 {
    margin-top: 24px;
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
    border: 1px solid #ffd8c1;
    padding: 24px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.coupon-section-v2::before {
    content: 'COUPON';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 77, 0, 0.03);
    pointer-events: none;
}

.coupon-section-v2 .title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input-v2 {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.coupon-input-v2:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.btn-coupon-apply {
    padding: 0 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-coupon-apply:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.delivery-badge-v2 {
    background: #fff;
    border: 1px solid #eee;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #555;
    margin: 20px 0;
}

.delivery-badge-v2 strong {
    color: var(--primary);
}

.detail-icon-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    text-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Gradient Classes */
.gradient-gold { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.gradient-dark { background: linear-gradient(135deg, #232526 0%, #414345 100%); }
.gradient-wine { background: linear-gradient(135deg, #870000 0%, #190a05 100%); }

.detail-actions-v2 {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .detail-actions-v2 {
        flex-direction: column;
        gap: 10px;
    }
}

.btn-wish-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-wish-circle:hover {
    background: #fdfdfd;
    transform: scale(1.05);
}

.btn-wish-circle.active {
    background: #fff5f0;
    border-color: #ffd8c1;
    color: var(--primary);
}

.btn-buy-now {
    background: linear-gradient(135deg, #ff6b21 0%, #ff4d00 100%);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 77, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-buy-now:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 77, 0, 0.3);
}


.tab-menu-v2 {
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #eee;
    margin-top: 80px;
    padding-bottom: 0;
    position: sticky;
    top: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.tab-link-v2 {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #aaa;
    text-decoration: none;
    position: relative;
    transition: all 0.4s;
}

.tab-link-v2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: #111;
    transition: all 0.3s;
}

.tab-link-v2.active {
    color: #111;
}

.tab-link-v2.active::after {
    width: 100%;
}

.tab-link-v2:hover {
    color: #111;
}

/* Tab Content Display - Scroll Layout (Naver Shopping Style) */
.tab-pane-v2 {
    display: block;
    padding-top: 50px;
    margin-bottom: 60px;
    border-top: 1px solid #eee;
}

.tab-pane-v2:first-child {
    border-top: none;
    padding-top: 0;
}

/* ====================================
    Digital Product License UI
==================================== */
.license-options-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.license-options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.license-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.license-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #ddd;
}

.license-card.active {
    border-color: #ff4d00;
    background: #fff9f6;
    box-shadow: 0 12px 32px rgba(255, 77, 0, 0.12);
}

.license-card.active::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: #ff4d00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
    border: 3px solid white;
}

.license-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
}

.license-meta {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.license-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.02em;
}

.license-price.member-exclusive {
    color: #ff4d00;
}

/* Signup Promotion Banner Enhancement */
.signup-promo-banner {
    background: #111;
    border-radius: 20px;
    padding: 20px 24px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Action Buttons Refinement */
.btn-wish-action {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid #eee;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-wish-action:hover {
    background: #fdfdfd;
    border-color: #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.btn-wish-action.active {
    background: #fff5f0;
    border-color: #ffd8c1;
    color: #ff4d00;
}

.btn-buy-now {
    background: #ff4d00 !important;
    background: linear-gradient(135deg, #ff6b21 0%, #ff4d00 100%) !important;
    color: white;
    border: none;
    box-shadow: 0 15px 35px rgba(255, 77, 0, 0.25);
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(255, 77, 0, 0.35);
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-text span:first-child {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff5e00;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.promo-text span:last-child {
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-promo-signup {
    background: #ff5e00;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-promo-signup:hover {
    transform: scale(1.05);
}

/* ====================================
    Naver Shopping Style Extensions
==================================== */
.purchase-calculation-v2 {
    margin: 32px 0 24px;
    padding: 24px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.quantity-row-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.qty-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f8f8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-control button:hover {
    background: #eee;
}

.qty-control input {
    width: 45px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    background: #fff;
}

.total-price-row-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

.total-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Product Spec Table */
.product-spec-v2 {
    margin-bottom: 40px;
}

.spec-table-v2 {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #333;
    font-size: 0.88rem;
}

.spec-table-v2 th {
    width: 15%;
    padding: 14px 18px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    text-align: left;
    color: #666;
    font-weight: 500;
}

.spec-table-v2 td {
    width: 35%;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-weight: 400;
}

@media (max-width: 768px) {
    .detail-actions-v2 {
        display: flex !important;
        flex-direction: row !important; /* 모바일에서도 가로 배치 유지 */
        gap: 8px !important;
        padding: 0 4px;
    }
    .btn-wish-action {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.2rem !important;
        border-radius: 12px !important;
    }
    .btn-buy-now {
        flex: 1 !important;
        height: 56px !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
    }

    .license-card {
        padding: 16px !important;
    }

    .license-options-container {
        margin-bottom: 8px !important;
    }

    .license-options-title {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
  .products-page-header .title { font-size: 2rem !important; }
  .products-page-header { padding: 30px 16px !important; }
  .hero-content .title { font-size: 1.6rem !important; }
  .detail-top-grid, .detail-page-container { margin-bottom: 20px; }
  .detail-image-v2 { height: auto; max-height: 300px; }
  .price-v2 { font-size: 2rem; }
  
  /* 마케팅 효율을 위한 모바일 하단 하이라이트 */
  .btn-buy-now {
      animation: pulse-border 2s infinite;
  }
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 77, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

/* ====================================
    Auth Modal (Login/Signup)
==================================== */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal-content {
    background: white;
    width: 100%;
    max-width: 440px;
    padding: 50px 40px;
    border-radius: 32px;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.auth-modal-overlay.active .auth-modal-content {
    transform: translateY(0);
}

.auth-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-close-btn:hover {
    background: #eee;
    color: #111;
    transform: rotate(90deg);
}

.auth-modal-logo {
    height: 80px;
    margin-bottom: 12px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    color: #888;
    transition: all 0.2s;
}

.auth-tab.active {
    background: white;
    color: #ff4d00;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #111;
}

.auth-title span {
    color: #ff4d00;
}

.auth-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.auth-provider-btns {
    width: 100%;
}

.btn-social {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-social.google {
    background: white;
    border: 1.5px solid #eee;
    color: #111;
}

.btn-social.google:hover {
    background: #f8f9fa;
    border-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.btn-social img {
    width: 24px;
}

.auth-agreement {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.auth-agreement input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ff4d00;
    flex-shrink: 0;
    margin-top: 2px;
}
.auth-agreement label {
    cursor: pointer;
    line-height: 1.5;
    word-break: keep-all;
}
.auth-agreement a {
    color: #ff4d00;
    text-decoration: underline;
    font-weight: 700;
}

.auth-footnote {
    margin-top: 32px;
    font-size: 0.8rem;
    color: #999;
}

.auth-footnote a {
    color: #666;
    text-decoration: underline;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 77, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 0, 0); }
}

@media (max-width: 480px) {
    .auth-modal-content {
        padding: 40px 24px;
        max-width: calc(100% - 32px);
        border-radius: 24px;
    }
    .auth-title { font-size: 1.4rem; }
}

/* --- Review Photo Gallery Custom Scrollbar --- */
#review-photo-gallery {
    padding-bottom: 24px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

#review-photo-gallery::-webkit-scrollbar {
    height: 6px; /* 얇은 높이 */
}

#review-photo-gallery::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

#review-photo-gallery::-webkit-scrollbar-thumb {
    background: #dde0e3;
    border-radius: 10px;
    border: 1px solid #f8f9fa; /* 트랙과의 구분감 */
}

#review-photo-gallery:hover::-webkit-scrollbar-thumb {
    background: #c1c7cd; /* 호버 시 강조 */
}

#review-photo-gallery::-webkit-scrollbar-thumb:active {
    background: #adb5bd;
}