﻿/* ==========================================================================
   COWAY SEGYE (肄붿썾??李⑺븳誘우쓬 ?由ъ젏) DESIGN SYSTEM & STYLE
   ========================================================================== */

:root {
  --primary: #0076c8;
  --primary-dark: #005a9e;
  --primary-light: #e6f4fd;
  --primary-hover: #0088e8;
  --secondary: #102a43;
  --accent-red: #eb3b5a;
  --accent-blue: #0284c7;
  --accent-green: #20bf6b;
  --accent-purple: #8854d0;
  --accent-orange: #fa8231;
  --dark: #1e293b;
  --text-main: #2d3748;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --bg-main: #edf2f7;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0076c8;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --font-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Outfit', 'Montserrat', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  padding-bottom: 76px; /* space for sticky bottom bar */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: 14px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-util-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 0;
}

.util-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-trust {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
}

.util-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.util-link {
  color: var(--text-muted);
  transition: color 0.2s;
}

.util-link:hover {
  color: var(--primary);
}

.admin-btn {
  color: #4a5568;
  font-weight: 600;
}

.util-bar {
  color: #cbd5e1;
}

/* ==========================================================================
   MAIN HEADER & LIVE SEARCH
   ========================================================================== */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  gap: 20px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo-text {
  font-family: var(--font-accent);
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.agency-title-box {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-color);
  padding-left: 10px;
}

.agency-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.agency-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Search Box */
.header-search-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 18px;
  transition: all 0.2s ease;
}

.search-box:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 118, 200, 0.15);
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.btn-search {
  background: var(--primary);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.btn-search:hover {
  background: var(--primary-dark);
}

.search-icon {
  width: 18px;
  height: 18px;
}

/* Search Autocomplete */
.search-autocomplete-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s;
}

.search-item:hover {
  background: #f0f7ff;
}

.search-thumb {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.search-info {
  flex: 1;
}

.search-model {
  font-size: 11px;
  color: var(--text-muted);
}

.search-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.search-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

/* Hotline */
.header-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotline-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon svg {
  width: 20px;
  height: 20px;
}

.hotline-info {
  display: flex;
  flex-direction: column;
}

.hotline-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.hotline-number {
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

/* GNB Navigation Bar */
.main-gnb-bar {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid var(--border-color);
}

.gnb-menu-list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
}

.gnb-menu-list::-webkit-scrollbar {
  display: none;
}

.gnb-item {
  flex: 1;
  text-align: center;
}

.gnb-link {
  display: block;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #4a5568;
  position: relative;
  transition: all 0.2s;
}

.gnb-link:hover, .gnb-item.active .gnb-link {
  color: var(--primary);
}

.gnb-item.active .gnb-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.event-link {
  color: var(--accent-red);
}

.hot-dot {
  font-size: 9px;
  background: var(--accent-red);
  color: #ffffff;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 2px;
  vertical-align: middle;
}

/* ==========================================================================
   OFFICIAL COWAY-STYLE WIDESCREEN HERO & SIGNATURE QUICK MENU
   ========================================================================== */
.hero-spotlight-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 40%, #f8fafc 100%);
  padding: 24px 0 32px;
}

/* 1. Full-Width Grand Hero Banner */
.hero-slider-wrap.official-widescreen {
  position: relative;
  width: 100%;
  min-height: 480px;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #0f172a;
}

.official-banner-slide {
  width: 100%;
  height: 500px;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 54px;
  box-sizing: border-box;
}

/* Semi-transparent dark/soft gradient overlay for high text legibility */
.slide-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.80) 42%, rgba(15, 23, 42, 0.35) 75%, transparent 100%);
  z-index: 1;
}

.official-slide-text {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: #ffffff;
  animation: slideTextFadeUp 0.6s ease-out;
}

@keyframes slideTextFadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Slide Badges */
.slide-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.badge-coway-autumn { background: rgba(239, 68, 68, 0.25); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.5); }
.badge-coway-berex  { background: rgba(245, 158, 11, 0.25); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.5); }
.badge-coway-blue   { background: rgba(2, 132, 199, 0.25); color: #7dd3fc; border: 1px solid rgba(2, 132, 199, 0.5); }
.badge-coway-purple { background: rgba(168, 85, 247, 0.25); color: #e9d5ff; border: 1px solid rgba(168, 85, 247, 0.5); }
.badge-coway-green  { background: rgba(16, 185, 129, 0.25); color: #a7f3d0; border: 1px solid rgba(16, 185, 129, 0.5); }

/* Slide Title */
.official-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 14px 0;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.highlight-text-sky    { color: #38bdf8; }
.highlight-text-amber  { color: #fbbf24; }
.highlight-text-purple { color: #c084fc; }
.highlight-text-green  { color: #34d399; }

/* Slide Desc */
.official-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0 0 26px 0;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.official-desc strong {
  color: #ffffff;
  font-weight: 700;
}

/* Button Group */
.slide-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-official-primary {
  padding: 13px 26px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  transition: all 0.2s ease;
}
.btn-official-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.65);
}
.btn-official-amber {
  padding: 13px 26px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  transition: all 0.2s ease;
}
.btn-official-purple {
  padding: 13px 26px;
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(147, 51, 234, 0.45);
  transition: all 0.2s ease;
}
.btn-official-green {
  padding: 13px 26px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
  transition: all 0.2s ease;
}
.btn-slide-sub {
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.btn-slide-sub:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Slider Controls */
.hero-slider-controls {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.slider-arrow {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.slider-arrow:hover {
  opacity: 1;
  transform: scale(1.15);
}
.slider-counter {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}
.slider-dots-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.slider-dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}
.slider-dot-item.active {
  width: 22px;
  border-radius: 10px;
  background: #38bdf8;
}

/* 2. Official Coway Signature Quick Category Navigation Bar */
.official-quick-nav-bar {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 20px;
  margin-top: 18px;
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  border: 1px solid #e2e8f0;
}
.quick-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-nav-item:hover, .quick-nav-item.active {
  background: #f0f9ff;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}
.quick-nav-item.highlight-btn {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  border-color: #fde047;
}
.quick-nav-item.highlight-btn:hover {
  background: #fef08a;
  border-color: #eab308;
}
.quick-nav-icon {
  font-size: 24px;
  line-height: 1;
}
.quick-nav-text {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.3px;
}

/* 3. Spotlight Best 3 Cards (Horizontal Showcase) */
.spotlight-showcase-section {
  margin-top: 24px;
}
.spotlight-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.spotlight-header-badge {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.spotlight-header-title {
  font-size: 21px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.5px;
}
.spotlight-view-more {
  font-size: 13.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: color 0.15s;
}
.spotlight-view-more:hover {
  color: #0369a1;
  text-decoration: underline;
}

.spotlight-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.spotlight-card-wide {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 18px 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px -3px rgba(15, 23, 42, 0.06);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.spotlight-card-wide:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(2, 132, 199, 0.18);
  border-color: #38bdf8;
}
.spotlight-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.spotlight-rank {
  font-size: 11px;
  font-weight: 900;
  background: #0f172a;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
}
.spotlight-card-body {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.spotlight-card-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 6px;
}
.spotlight-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.spotlight-card-wide:hover .spotlight-card-img img {
  transform: scale(1.08);
}
.spotlight-card-info {
  flex: 1;
  min-width: 0;
}
.spotlight-sub-cat {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.spotlight-card-info .spotlight-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-card-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}
.spotlight-card-info .price-label {
  font-size: 11px;
  color: #64748b;
}
.spotlight-card-info .price-val {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}
.spotlight-card-info .price-val small {
  font-size: 11px;
}
.spotlight-card-info .discount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.spotlight-card-info .disc-label {
  font-size: 11px;
  color: #0284c7;
  font-weight: 700;
}
.spotlight-card-info .disc-val.highlight {
  font-size: 16px;
  font-weight: 900;
  color: #dc2626;
}
.spotlight-card-info .disc-val small {
  font-size: 11px;
}
.btn-spotlight-quick {
  width: 100%;
  padding: 10px;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-spotlight-quick:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .official-quick-nav-bar {
    grid-template-columns: repeat(4, 1fr);
  }
  .spotlight-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero-slider-wrap.official-widescreen,
  .official-banner-slide {
    height: 440px;
    min-height: 440px;
    padding: 0 24px;
  }
  .official-title {
    font-size: 26px;
  }
  .official-desc {
    font-size: 13.5px;
  }
  .official-quick-nav-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 12px;
  }
  .spotlight-showcase-grid {
    grid-template-columns: 1fr;
  }
  .hero-slider-controls {
    right: 18px;
    bottom: 18px;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   POPULAR CATEGORIES (媛???멸린?덈뒗 二쇱슂 移댄뀒怨좊━)
   ========================================================================== */
.popular-cats-section {
  padding: 16px 0 24px;
}

.section-heading-popular {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.popular-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.cat-pill-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.cat-pill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.cat-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.cat-icon-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bg-blue { background: #e0f2fe; }
.bg-green { background: #dcfce7; }
.bg-purple { background: #f3e8ff; }
.bg-teal { background: #ccfbf1; }
.bg-pink { background: #ffe4e6; }
.bg-brown { background: #ffedd5; }

.cat-pill-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   CATEGORY SHOWCASES (?뺤닔湲? 怨듦린泥?젙湲? ?먯뼱而???
   ========================================================================== */
.category-showcase-section {
  padding: 24px 0 32px;
  scroll-margin-top: 110px;
}

.category-banner-header {
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.cat-water-header { background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%); }
.cat-air-header { background: linear-gradient(90deg, #059669 0%, #047857 100%); }
.cat-ac-header { background: linear-gradient(90deg, #7c3aed 0%, #6d28d9 100%); }
.cat-bidet-header { background: linear-gradient(90deg, #0891b2 0%, #0e7490 100%); }
.cat-bed-header { background: linear-gradient(90deg, #db2777 0%, #be185d 100%); }
.cat-massage-header { background: linear-gradient(90deg, #d97706 0%, #b45309 100%); }

.cat-badge-title {
  display: flex;
  flex-direction: column;
}

.cat-badge-title .en-sub {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.85;
}

.cat-badge-title h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.cat-subtabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.subtab-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}

.subtab-btn:hover, .subtab-btn.active {
  background: #ffffff;
  color: var(--secondary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.prod-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
  min-height: 22px;
}

.prod-model-code {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.prod-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 40px;
}

.prod-thumb-box {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #fbfcfe;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.prod-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .prod-thumb-box img {
  transform: scale(1.06);
}

.prod-price-box {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.prod-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
}

.prod-price-row.discount {
  margin-bottom: 0;
  padding-top: 4px;
  border-top: 1px dashed var(--border-color);
}

.prod-list-price {
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  text-decoration: line-through;
}

.prod-discount-price {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-red);
}

.prod-card-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn-card-detail {
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.2s;
}

.btn-card-detail:hover {
  background: #e2e8f0;
}

.btn-card-apply {
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.2s;
}

.btn-card-apply:hover {
  background: var(--primary-dark);
}

/* ==========================================================================
   MID PROMOTIONAL BREAKOUT BANNER
   ========================================================================== */
.mid-promo-banner-section {
  padding: 16px 0 24px;
}

.promo-wide-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.promo-tag {
  display: inline-block;
  background: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.promo-banner-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.promo-banner-text p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.btn-promo-action {
  background: #ffffff;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.2s;
}

.btn-promo-action:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.promo-banner-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   CUSTOMER REVIEWS (痍⑦뼢?寃?踰좎뒪??由щ럭)
   ========================================================================== */
.reviews-section {
  padding: 36px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 24px;
}

.section-title-wrap {
  margin-bottom: 28px;
}

.section-title-wrap .sub-label {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.section-title-wrap .main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
  margin: 4px 0 6px;
}

.section-title-wrap .desc {
  font-size: 14px;
  color: var(--text-muted);
}

.reviews-slider-container {
  position: relative;
  overflow: hidden;
  padding: 8px 4px;
}

.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 320px;
  max-width: 320px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  background: #ffffff;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.review-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.review-meta .author {
  color: var(--secondary);
  margin-left: 4px;
}

.review-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.review-snippet {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-prod-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.rev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: var(--secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: background 0.2s;
}

.rev-arrow:hover {
  background: #f1f5f9;
}

.rev-prev { left: 0; }
.rev-next { right: 0; }

/* ==========================================================================
   TRUST BENEFITS GRID
   ========================================================================== */
.trust-benefits-section {
  padding: 36px 0;
  background: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-item {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.b-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.b-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.b-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   STICKY QUICK CONSULTATION BAR (하단 고정 상담바 - 눈에 확 띄는 핑크 하이라이트 테마)
   ========================================================================== */
/* Old pink sticky bar cleaned */

.sticky-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-hotline {
  display: flex;
  flex-direction: column;
}

.sticky-hotline .hotline-title {
  font-size: 12px;
  color: #9f1239 !important;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.sticky-hotline .hotline-phone {
  color: #FCD34D !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.sticky-hotline .hotline-phone:hover {
  transform: scale(1.03);
  color: #ff2a70 !important;
}

.sticky-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 840px;
  justify-content: flex-end;
}

.form-input-group input {
  background: #ffffff !important;
  border: 1.5px solid #fbcfe8 !important; /* 부드러운 로즈핑크 기본 테두리 */
  color: #0f172a !important;
  padding: 10px 14px;
  border-radius: 10px;
  outline: none;
  font-size: 13.5px;
  font-weight: 600;
  width: 160px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-input-group input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* ★ 성함, 연락처, 관심제품 클릭 시 눈에 확 띄는 선명한 분홍색 테두리 & 광채 효과 ★ */
.form-input-group input:focus,
.sticky-form input:focus,
#quick-name:focus,
#quick-phone:focus,
#quick-product:focus {
  border-color: #ff2a70 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(255, 42, 112, 0.38), 0 2px 10px rgba(255, 42, 112, 0.25) !important;
  outline: none !important;
  transform: translateY(-1px);
}

.form-check-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #881337;
  font-weight: 700;
  white-space: nowrap;
}

.form-check-group input[type="checkbox"] {
  accent-color: #ff2a70 !important;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.btn-privacy-view {
  color: #e11d48;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.btn-sticky-submit {
  background: linear-gradient(135deg, #0064D2 0%, #0084FF 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 100, 210, 0.4) !important;
  transition: all 0.2s ease !important;
}
.btn-sticky-submit:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
}

.btn-sticky-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 42, 112, 0.65) !important;
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-lg { width: 100%; max-width: 880px; }
.modal-md { width: 100%; max-width: 580px; }

.modal-close {
  position: sticky;
  top: 8px;
  float: right;
  margin: 8px 8px 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--secondary);
}

/* =====================================================
   Product Detail Modal X Close Button (Fixed Position)
   Always visible at top-right corner regardless of scroll
   ===================================================== */
.modal-close-fixed {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 99999;
  transition: all 0.2s;
  line-height: 1;
}

.modal-overlay.open .modal-close-fixed {
  display: flex !important;
}

.modal-close-fixed:hover {
  background: #ef4444;
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}



.modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-body {
  padding: 24px;
}

/* Product Detail Modal Content Layout */
.product-detail-layout {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-xl {
  width: 96% !important;
  max-width: 1280px !important;
  border-radius: 16px;
  max-height: 94vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.detail-top-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
}

@media (max-width: 768px) {
  .detail-top-grid {
    grid-template-columns: 1fr;
  }
}

.detail-img-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  position: relative;
}

.detail-img-box img {
  max-width: 100%;
  max-height: 270px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.detail-img-box:hover img {
  transform: scale(1.03);
}

.detail-img-cert {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.cert-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #bae6fd;
}

.cert-pill.gold {
  color: #b45309;
  background: #fef3c7;
  border-color: #fde68a;
}

.detail-info-box {
  display: flex;
  flex-direction: column;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.detail-model {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.detail-tagline {
  font-size: 13.5px;
  color: #0369a1;
  background: #f0f9ff;
  border-left: 3px solid var(--primary);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
  line-height: 1.45;
  font-weight: 600;
}

/* Color Chips */
.color-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-chip-label {
  cursor: pointer;
}

.color-chip-label input[type="radio"] {
  display: none;
}

.color-chip-btn {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  transition: all 0.2s;
}

.color-chip-label input[type="radio"]:checked + .color-chip-btn {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.detail-options-group {
  margin-bottom: 14px;
}

.option-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.period-pill-group {
  display: flex;
  gap: 6px;
}

.period-btn {
  flex: 1;
  padding: 8px 6px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s;
}

.period-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.detail-calc-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 14px 0 16px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #475569;
  margin-bottom: 5px;
}

.calc-row.final {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed #94a3b8;
  font-size: 16px;
  font-weight: 900;
  color: #0284c7;
}

.detail-action-btns {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  margin-top: auto;
}

.btn-detail-phone {
  background: #f1f5f9;
  color: var(--secondary);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid #cbd5e1;
  transition: background 0.2s;
}

.btn-detail-phone:hover {
  background: #e2e8f0;
}

.btn-detail-order {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: background 0.2s, transform 0.1s;
}

.btn-detail-order:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Features Block */
.detail-section-block {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.detail-section-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .detail-features-grid {
    grid-template-columns: 1fr;
  }
}

.detail-feature-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-main);
}

.feat-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-text {
  font-weight: 600;
  color: #334155;
}

/* Full Specs Table */
.detail-full-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.detail-full-specs-table th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  width: 22%;
  vertical-align: middle;
}

.detail-full-specs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  color: #1e293b;
  font-weight: 500;
  vertical-align: middle;
}

.spec-energy-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #86efac;
}

/* Trust Banner */
.detail-trust-banner {
  margin-top: 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}

@media (max-width: 640px) {
  .detail-trust-banner {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-pill {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Forms */
.form-row {
  margin-bottom: 14px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-label.required::after {
  content: ' *';
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  outline: none;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
}

.gender-radio-group {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
}

.gender-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.form-terms-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 18px;
}

.link-terms {
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

.btn-submit-apply {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.1s;
}

.btn-submit-apply:hover {
  background: var(--primary-dark);
}

/* Event Modal */
.event-modal-content {
  padding: 30px;
}

.event-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.event-badge {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 8px;
}

.event-hero-header h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--secondary);
}

.event-hero-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.event-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.event-benefit-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.e-num {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}

.e-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 2px;
}

.e-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-event-apply {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}

/* Privacy Modal Scroll */
.terms-scroll-body {
  max-height: 380px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
}

.terms-scroll-body p {
  margin-bottom: 12px;
}

.btn-close-gray {
  background: #e2e8f0;
  color: var(--secondary);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}

/* Toast Popup */
.toast-popup {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #111827;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.toast-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Selected Product Summary in Modal */
.selected-product-summary {
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.summary-thumb {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.summary-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--secondary);
}

.summary-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-red);
  margin-top: 2px;
}

/* Search results container */
.search-result-section {
  padding: 20px 0 30px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
}

.search-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.search-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
}

.btn-clear-search {
  background: #e2e8f0;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .spotlight-cards-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .popular-cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 120px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .header-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 4px;
  }
  .spotlight-cards-wrap {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .popular-cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .category-banner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .promo-wide-banner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .sticky-flex {
    flex-direction: column;
    gap: 8px;
  }
  .sticky-form {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .form-input-group input {
    width: 100%;
  }
  .form-input-group {
    flex: 1;
  }
  .btn-sticky-submit {
  background: linear-gradient(135deg, #0064D2 0%, #0084FF 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 100, 210, 0.4) !important;
  transition: all 0.2s ease !important;
}
.btn-sticky-submit:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
}
}

@media (max-width: 480px) {
  .brand-logo-text {
    font-size: 26px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .slide-content-banner {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }
  .slide-text {
    max-width: 100%;
  }
  .slide-img-box {
    width: 100%;
    margin-top: 14px;
  }
  .slide-img-box img {
    max-height: 180px;
  }
}

/* ============================================
   COUNTDOWN PROMO BAR
============================================ */
.countdown-promo-bar {
  background: linear-gradient(90deg, #0052cc 0%, #0891b2 50%, #0052cc 100%);
  background-size: 200% 100%;
  animation: shimmer-bar 3s linear infinite;
  color: #fff;
  padding: 10px 16px;
  position: relative;
  z-index: 200;
}
@keyframes shimmer-bar {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.countdown-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.countdown-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.3px;
  white-space: nowrap;
}
.countdown-digits {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 4px 10px;
  min-width: 44px;
}
.cd-unit span {
  font-size: 18px;
  font-weight: 900;
  font-family: 'Montserrat', 'Outfit', sans-serif;
  line-height: 1;
}
.cd-unit small {
  font-size: 9px;
  opacity: .8;
  margin-top: 1px;
  font-weight: 600;
}
.cd-sep {
  font-size: 18px;
  font-weight: 900;
  margin-top: -6px;
  opacity: .6;
}
.cd-cta-btn {
  padding: 8px 18px;
  background: #fff;
  color: #0052cc;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  font-family: var(--font-family, sans-serif);
}
.cd-cta-btn:hover { transform: scale(1.04); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.cd-close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.cd-close-btn:hover { color: #fff; }
@media (max-width: 640px) {
  .countdown-promo-bar { padding: 8px 12px; }
  .cd-unit span { font-size: 14px; }
  .countdown-label { font-size: 12px; }
}

/* util-link quiz style */
.quiz-link { color: #fbbf24 !important; font-weight: 700; }

/* ============================================
   FLOATING CONTACT BUTTONS (DOCK)
============================================ */
.floating-contact-wrap {
  position: fixed;
  right: 24px;
  bottom: 84px; /* Cleanly above bottom consult bar (64px) */
  z-index: 10040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.float-btn {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, opacity 0.25s ease;
  user-select: none;
}

/* Kakao 1:1 Button */
.float-kakao {
  width: 58px;
  height: 58px;
  background: #fee500;
  color: #191919;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(254, 229, 0, 0.4);
  animation: kakaoPulse 3s infinite ease-in-out;
}
.float-kakao:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 25px rgba(254, 229, 0, 0.6), 0 0 0 3px rgba(254, 229, 0, 0.7);
}
.float-kakao .float-icon {
  font-size: 24px;
  line-height: 1;
}
.float-kakao .float-label {
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  color: #191919;
  margin-top: 1px;
}

@keyframes kakaoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(254, 229, 0, 0.65), 0 0 0 3px rgba(254, 229, 0, 0.4);
  }
}

/* Scroll to Top Button - Stacks below Kakao, NEVER overlaps */
.float-top {
  width: 44px;
  height: 44px;
  background: #1e293b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7) translateY(8px);
  transition: all 0.25s ease;
  pointer-events: none;
}
.float-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.float-top:hover {
  background: #0284c7;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}
@media (max-width: 640px) {
  .floating-contact-wrap { right: 12px; bottom: 20px; }
  .float-btn { width: 48px; height: 48px; }
  .float-icon { font-size: 18px; }
  .float-label { display: none; }
}

/* ============================================
   AI QUIZ MODAL
============================================ */
.quiz-modal-card {
  max-width: 520px !important;
  padding: 0 !important;
  overflow: hidden;
}
.quiz-header {
  background: linear-gradient(135deg, #0052cc, #0891b2);
  color: #fff;
  padding: 28px 32px 24px;
  text-align: center;
}
.quiz-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.quiz-header h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.quiz-header p  { font-size: 13px; opacity: .85; }

.quiz-step { padding: 28px 32px; }
.quiz-step.hidden { display: none; }
.quiz-step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: .5px;
}
.quiz-progress {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0052cc, #0891b2);
  border-radius: 4px;
  transition: width .4s ease;
}
.quiz-question {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quiz-opt {
  padding: 14px 12px;
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  transition: all .2s;
  font-family: var(--font-family, sans-serif);
}
.quiz-opt:hover {
  border-color: #0052cc;
  background: #eff6ff;
  color: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,82,204,.15);
}
@media (max-width: 480px) { .quiz-options { grid-template-columns: 1fr; } }

/* Quiz Result */
#quiz-result { padding: 28px 32px; text-align: center; }
.quiz-result-icon { font-size: 48px; margin-bottom: 8px; }
.quiz-result-title { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.quiz-result-card {
  display: flex;
  gap: 16px;
  background: var(--bg-main);
  border: 2px solid #0052cc;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  margin-bottom: 20px;
}
.quiz-rec-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 4px;
}
.quiz-rec-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.quiz-rec-name  { font-size: 14px; font-weight: 800; color: var(--dark); }
.quiz-rec-price { font-size: 18px; font-weight: 900; color: #0052cc; }
.quiz-rec-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.quiz-rec-tags  { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.quiz-rec-tags span {
  font-size: 10px;
  font-weight: 700;
  background: #eff6ff;
  color: #0052cc;
  padding: 2px 8px;
  border-radius: 20px;
}
.quiz-result-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-quiz-apply {
  padding: 14px 20px;
  background: linear-gradient(135deg, #0052cc, #0891b2);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  font-family: var(--font-family, sans-serif);
}
.btn-quiz-apply:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,82,204,.3); }
.btn-quiz-retry {
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-family, sans-serif);
}
.btn-quiz-retry:hover { background: var(--bg-main); color: var(--text-main); }





/* ========================================================
   COWAY OFFICIAL UPGRADE STYLES (2026 OFFICIAL LINEUP)
   ======================================================== */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  cursor: pointer !important;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12) !important;
  border-color: #38bdf8 !important;
}

.prod-card-top {
  padding: 20px 20px 10px 20px;
}

.prod-card-bottom {
  padding: 10px 20px 20px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.prod-tagline {
  font-size: 13px;
  color: #64748b;
  margin: 6px 0 12px 0;
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prod-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.btn-card-detail {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}

.btn-card-detail:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-card-apply {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.btn-card-apply:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.detail-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.btn-detail-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
  text-decoration: none;
}

.btn-detail-apply:hover {
  opacity: 0.94;
  transform: translateY(-2px);
}

.btn-detail-call {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 2px solid #0284c7;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
}

.btn-detail-call:hover {
  background: #0284c7;
  color: #ffffff;
}

@media (max-width: 640px) {
  .detail-action-btns {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
   COWAY OFFICIAL DETAIL PAGE & RICH GRAPHIC PDP ENHANCEMENTS
   =================================================================== */

.modal-xl {
  width: 96% !important;
  max-width: 1280px !important;
  border-radius: 16px;
  max-height: 94vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.detail-top-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 860px) {
  .detail-top-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.detail-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-main-img-wrap {
  width: 100%;
  height: 380px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.detail-main-img-wrap img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.detail-thumbs-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
}

.detail-thumb-btn {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.detail-thumb-btn:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.detail-thumb-btn.active {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

.detail-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Tabs Bar */
.detail-tabs-bar {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid #e2e8f0;
  margin-top: 32px;
  padding: 0;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 20;
}

.detail-tab-btn {
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.detail-tab-btn:hover {
  color: #0284c7;
}

.detail-tab-btn.active {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

.detail-tab-panel {
  display: none;
  padding: 24px 0;
  animation: fadeIn 0.25s ease-out;
}

.detail-tab-panel.active {
  display: block;
}

/* Official Coway PDP Graphic Container */
.pdp-detail-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.6;
  color: #1e293b;
}

.pdp-detail-container img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

.pdp-detail-container table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse;
}

.pdp-detail-container section,
.pdp-detail-container div {
  max-width: 100%;
  box-sizing: border-box;
}

.pdp-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: #64748b;
  font-size: 15px;
}

.spinner-circle {
  width: 44px;
  height: 44px;
  border: 4px solid #e2e8f0;
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pdp-fallback-notice {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 12px;
  color: #64748b;
  font-size: 15px;
}

/* Full Specs Table */
.detail-full-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.detail-full-specs-table th {
  width: 25%;
  background: #f8fafc;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.detail-full-specs-table td {
  padding: 14px 18px;
  font-size: 14px;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.detail-full-specs-table tr:hover {
  background: #f1f5f9;
}

/* Guide Cards */
.guide-detail-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.guide-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: #cbd5e1;
}

.guide-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.guide-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #1e293b;
}

.guide-text p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}


/* Phone consultation display card (Non-clickable) */
.detail-phone-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  margin-top: 8px;
  user-select: all;
}

.phone-banner-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.phone-banner-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
}

.phone-banner-num {
  font-size: 22px;
  font-weight: 900;
  color: #15803d;
  letter-spacing: 0.5px;
  font-family: inherit;
}

.phone-banner-desc {
  font-size: 12px;
  color: #15803d;
  opacity: 0.9;
}

/* Color chip button with color dot */
.color-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.color-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-chip-btn:hover {
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.color-chip-btn.active {
  border-color: #0284c7;
  background: #f0f9ff;
  color: #0369a1;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-block;
  flex-shrink: 0;
}

/* Apply Modal Selected Product Card */
.apply-selected-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 20px;
}

.apply-prod-thumb {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 4px;
  flex-shrink: 0;
}

.apply-prod-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.apply-prod-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.apply-prod-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apply-prod-specs {
  font-size: 13px;
  color: #475569;
}

.apply-prod-price {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 600;
}

.apply-prod-price .price-val {
  color: #0284c7;
  font-weight: 800;
  font-size: 15px;
}

/* Feature Images Story Stream */
.pdp-feature-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.pdp-feature-img-card {
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.pdp-feature-img-card img {
  width: 100% !important;
  height: auto !important;
  display: block;
}


/* Kitchen category banner header */
.cat-kitchen-header {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #f59e0b 100%);
}

/* Isolated PDP iframe styling for crystal-clear original rendering */
.pdp-official-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-coway-official-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-coway-official-link:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.pdp-isolated-frame {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  min-height: 1200px;
  background: #ffffff;
  display: block;
}

/* Floating Right-Side Sticky CTA for Product Detail Modal */
.detail-floating-cta {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 10050;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.25) inset;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatingBounce 2.5s infinite ease-in-out;
  user-select: none;
}

.detail-floating-cta:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.65), 0 0 0 2px rgba(255, 255, 255, 0.45) inset;
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

.floating-cta-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.floating-cta-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-cta-body {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-cta-sub {
  font-size: 11px;
  color: #bae6fd;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.floating-cta-main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  line-height: 1.2;
}

.floating-cta-arrow {
  font-size: 14px;
  background: rgba(255, 255, 255, 0.25);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

@keyframes floatingBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .detail-floating-cta {
    right: 14px;
    bottom: 20px;
    padding: 11px 16px;
  }
  .floating-cta-sub {
    font-size: 10px;
  }
  .floating-cta-main {
    font-size: 14px;
  }
}

/* Specifications Table Styling */
.spec-detail-container {
  width: 100%;
  padding: 10px 0;
}

.spec-table-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0284c7;
}

.spec-table-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.spec-table-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.detail-full-specs-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.detail-full-specs-table tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.detail-full-specs-table tr:hover {
  background: #f8fafc;
}

.detail-full-specs-table tr:last-child {
  border-bottom: none;
}

.detail-full-specs-table th {
  width: 240px;
  min-width: 180px;
  padding: 14px 20px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  text-align: left;
  border-right: 1px solid #e2e8f0;
  vertical-align: top;
}

.detail-full-specs-table td {
  padding: 14px 22px;
  color: #1e293b;
  line-height: 1.6;
  vertical-align: top;
}

@media (max-width: 768px) {
  .detail-full-specs-table th {
    width: 130px;
    min-width: 110px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .detail-full-specs-table td {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ===================================================================
   COWAY OFFICIAL PACKAGE PROMO & EVENT MODAL STYLING
   =================================================================== */

/* Package Hero & Section */
.package-promo-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px 32px;
  border-radius: 16px;
  margin-bottom: 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.pkg-hero-tag {
  display: inline-block;
  background: #0284c7;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.package-promo-hero h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.package-promo-hero h2 strong {
  color: #38bdf8;
}

.package-promo-hero p {
  font-size: 15px;
  color: #cbd5e1;
  margin: 0 0 24px 0;
}

.pkg-quick-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pkg-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.pkg-nav-btn:hover, .pkg-nav-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* Package Why Grid */
.package-why-box, .package-benefit-banners, .package-guide-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 32px;
}

.pkg-section-title {
  margin-bottom: 24px;
  text-align: center;
}

.pkg-section-title .sub-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pkg-section-title h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.pkg-section-title p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.pkg-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pkg-why-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid #f1f5f9;
}

.why-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.pkg-why-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.pkg-why-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Package Benefit Visuals */
.pkg-banner-flex {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.pkg-benefit-visual {
  flex: 1;
  text-align: center;
}

.pkg-benefit-visual img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Package Guide Steps */
.pkg-guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.guide-step-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.step-num {
  font-size: 12px;
  font-weight: 900;
  color: #16a34a;
  margin-bottom: 6px;
}

.guide-step-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #14532d;
  margin: 0 0 6px 0;
}

.guide-step-card p {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
  line-height: 1.4;
}

/* Rich Event Modal */
.event-full-modal {
  max-width: 1100px !important;
  max-height: 92vh !important;
}

.event-tabs-bar {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  gap: 10px;
}

.event-tab-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  padding: 12px 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.event-tab-btn:hover {
  color: #0284c7;
}

.event-tab-btn.active {
  color: #0284c7;
  border-bottom-color: #0284c7;
}

/* Ongoing Events Grid */
.event-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.event-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.event-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.event-img-wrap {
  width: 100%;
  height: 160px;
  background: #f1f5f9;
  overflow: hidden;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card-date {
  font-size: 12px;
  color: #0284c7;
  font-weight: 700;
  margin-bottom: 6px;
}

.event-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.4;
  flex: 1;
}

.btn-event-card-apply {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-event-card-apply:hover {
  background: #0284c7;
  color: #ffffff;
}

/* Announcements Table */
.announcements-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.announcements-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.announcements-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
}

.announcements-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.announce-title-cell strong {
  color: #0f172a;
}

.badge-announce-done {
  display: inline-block;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Alliance Cards Grid */
.alliance-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.alliance-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.2s;
}

.alliance-card-item:hover {
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.1);
}

.card-img-wrap {
  width: 80px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-info-wrap {
  flex: 1;
}

.card-discount-tag {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.card-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.card-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.card-badge-row {
  display: flex;
  gap: 4px;
}

.c-badge {
  font-size: 10px;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 5px;
  border-radius: 3px;
}

@media (max-width: 860px) {
  .pkg-why-grid {
    grid-template-columns: 1fr;
  }
  .pkg-banner-flex {
    flex-direction: column;
  }
  .pkg-guide-steps {
    grid-template-columns: 1fr 1fr;
  }
}


/* ==========================================================================
   MOBILE CONSULT STICKY BAR & CARD MODAL ENHANCEMENTS
   ========================================================================== */
.alliance-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #0284c7;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 175px !important;
  }

  .sticky-consult-bar {
    padding: 10px 12px 12px 12px !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 60%, #e0f2fe 100%) !important;
    box-shadow: 0 -4px 20px rgba(2, 132, 199, 0.16) !important;
    border-top: 2.5px solid #0284c7 !important;
  }

  .sticky-flex {
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .sticky-hotline {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .sticky-hotline .hotline-title {
    font-size: 11.5px !important;
    color: #475569 !important;
    font-weight: 700 !important;
  }

  .sticky-hotline .hotline-phone {
  color: #FCD34D !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

  .sticky-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sticky-form .form-input-group:nth-child(1) {
    grid-column: 1 / 2 !important;
  }

  .sticky-form .form-input-group:nth-child(2) {
    grid-column: 2 / 3 !important;
  }

  .sticky-form .form-input-group:nth-child(3) {
    grid-column: 1 / 2 !important;
  }

  .sticky-form .btn-sticky-submit {
  background: linear-gradient(135deg, #0064D2 0%, #0084FF 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 100, 210, 0.4) !important;
  transition: all 0.2s ease !important;
}
.btn-sticky-submit:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
}

  .sticky-form .form-check-group {
    grid-column: 1 / -1 !important;
    font-size: 11px !important;
    margin-top: 2px !important;
    justify-content: center !important;
    color: #475569 !important;
    font-weight: 600 !important;
  }

  .form-input-group input {
    width: 100% !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 6px 12px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    -webkit-appearance: none !important;
    border-radius: 8px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }

  .form-input-group input:focus {
    border-color: #0284c7 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
  }
}

/* PDP Overflow & Right Clip Prevention */

.pdp-detail-container {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.pdp-isolated-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 1200px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  display: block !important;
  margin: 0 auto !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.pdp-official-header-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  margin-bottom: 16px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  font-size: 14px !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}


/* 제휴카드 상세 모달을 이벤트 모달 및 모든 요소의 맨 앞으로 올림 */
#cardDetailModal {
  z-index: 10050 !important;
}
#cardDetailModal .modal-card,
.card-detail-modal-card {
  z-index: 10051 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
  position: relative !important;
}


/* ==========================================================================
   ENHANCED MODAL & MOBILE UX (고객 편의성 & 전환율 극대화)
   ========================================================================== */
/* 성공 모달 최상단 노출 */
#successModal {
  z-index: 10070 !important;
}
#successModal .modal-card {
  z-index: 10071 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
  text-align: center;
}

/* 상세 모달 내 상단 플로팅 닫기 버튼 보장 */
#productDetailModal .modal-close {
  position: sticky;
  top: 8px;
  float: right;
  margin: 8px 8px 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

#productDetailModal .modal-close:hover {
  background: #0284c7 !important;
  transform: scale(1.08) !important;
}

/* 모바일 전용 상세 모달 뷰 최적화 */
@media (max-width: 768px) {
  .modal-xl {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  
  .product-detail-layout {
    padding: 14px 12px 90px 12px !important;
  }
  
  .detail-top-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .detail-title {
    font-size: 20px !important;
  }
  
  .detail-main-img-wrap {
    height: 280px !important;
  }
  
  .detail-floating-cta {
    right: 12px !important;
    bottom: 16px !important;
    padding: 11px 18px !important;
    font-size: 14px !important;
    border-radius: 30px !important;
  }
  
  .floating-cta-main {
    font-size: 14px !important;
  }
}


/* ==========================================================================
   COWAY OFFICIAL FULL-SCREEN FULL-WIDTH DETAIL PAGE EXPERIENCE
   (코웨이 공식몰 스타일: 화면 전체 가로폭 100% 꽉 채움 레이아웃)
   ========================================================================== */
#productDetailModal {
  padding: 0 !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  overflow-x: hidden !important;
}

#productDetailModal .modal-card.modal-xl {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  height: 100vh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
}

/* 상단 우측 고정 닫기 버튼 */
#productDetailModal .modal-close {
  position: sticky;
  top: 8px;
  float: right;
  margin: 8px 8px 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

#productDetailModal .modal-close:hover {
  background: #0284c7 !important;
  transform: rotate(90deg) scale(1.1) !important;
}

/* 상단 제품 옵션/스펙 영역 (중앙 정렬 1280px) */
.product-detail-layout {
  padding: 0 !important;
  gap: 0 !important;
}

.detail-top-grid {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 36px 20px 24px 20px !important;
}

.detail-tabs-bar {
  max-width: 1240px !important;
  margin: 0 auto 0 auto !important;
  padding: 0 20px !important;
}

/* 🌟 공식 상품 상세 스토리 & 이미지 설명 영역: 화면 100vw 전체 꽉 채움 */
#tab-panel-story {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.pdp-detail-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.pdp-official-header-bar {
  max-width: 1240px !important;
  margin: 20px auto !important;
  padding: 14px 24px !important;
}

.pdp-isolated-frame {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 1400px !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 auto !important;
  display: block !important;
  box-shadow: none !important;
}

/* 스펙 및 배송안내 탭은 가독성을 위해 1240px 중앙 정렬 */
#tab-panel-spec,
#tab-panel-guide {
  max-width: 1240px !important;
  margin: 30px auto !important;
  padding: 0 20px !important;
}


/* ==========================================================================
   OFFICIAL COWAY ORDER CHIP & FORM STYLES
   ========================================================================== */
.order-chip {
  padding: 10px 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.order-chip:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.order-chip.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

@media (max-width: 640px) {
  #orderPeriodChips {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #orderManageChips {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   COWAY OFFICIAL ORDER SYSTEM ENHANCEMENTS
   - Management Type Cards (자가관리 / 방문관리)
   - Quantity Stepper
   - Benefit Banners & Modals
========================================== */

.order-manage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.order-qty-stepper button:hover {
  background: #e2e8f0 !important;
  color: #0284c7 !important;
}

.order-qty-stepper button:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  #orderManageOptions {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .order-chip-group {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ==========================================================================
   MOBILE STICKY QUICK BAR & FLOATING WIDGET OPTIMIZATION
   ========================================================================== */
.mobile-sticky-quick-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px !important;
  }
  .mobile-sticky-quick-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    z-index: 1200;
    padding: 7px 10px;
    gap: 8px;
    box-sizing: border-box;
  }
  .mobile-sticky-quick-bar .ms-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
  }
  .mobile-sticky-quick-bar .ms-btn:active {
    transform: scale(0.96);
  }
  .mobile-sticky-quick-bar .ms-call {
    background: #0284c7;
    color: #ffffff;
  }
  .mobile-sticky-quick-bar .ms-kakao {
    background: #fee500;
    color: #191919;
  }
  .mobile-sticky-quick-bar .ms-apply {
    background: #0f172a;
    color: #ffffff;
  }
  .mobile-sticky-quick-bar .ms-icon {
    font-size: 16px;
  }
  /* 모바일에서 기존 플로팅 버튼들이 하단바에 가려지지 않도록 위로 조정 */
  .floating-contact-wrap { right: 14px !important; bottom: 80px !important; }
}


/* ==========================================================================
   COWAY OFFICIAL LIFESTYLE HERO SLIDER STYLES
   ========================================================================== */
.slide-content-banner {
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

.slide-overlay-fresh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 42%, rgba(255, 255, 255, 0.35) 68%, rgba(255, 255, 255, 0.0) 100%);
  pointer-events: none;
  z-index: 1;
}

.fresh-text {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.fresh-title {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a !important;
  line-height: 1.32;
  margin-bottom: 12px;
  letter-spacing: -0.6px;
}

.text-coway-blue {
  color: #0284c7 !important;
}

.text-coway-teal {
  color: #0d9488 !important;
}

.text-coway-amber {
  color: #b45309 !important;
}

.fresh-desc {
  font-size: 14px;
  color: #475569 !important;
  line-height: 1.65;
  margin-bottom: 24px;
}

.fresh-desc strong {
  color: #0f172a;
}

.badge-blue {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
}

.badge-teal {
  background: #ccfbf1 !important;
  color: #0f766e !important;
  border: 1px solid #99f6e4 !important;
}

.badge-amber {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}

.btn-fresh-blue {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-fresh-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
}

.btn-fresh-teal {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35) !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-fresh-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45) !important;
}

.btn-fresh-amber {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35) !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-fresh-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45) !important;
}

@media (max-width: 768px) {
  .slide-content-banner {
    padding: 30px 20px;
    min-height: 320px;
  }
  .slide-overlay-fresh {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 65%, rgba(255, 255, 255, 0.70) 100%);
  }
  .fresh-text {
    max-width: 100%;
    text-align: center;
  }
  .fresh-title {
    font-size: 23px;
  }
  .fresh-desc {
    font-size: 13px;
  }
}


.text-coway-rose {
  color: #e11d48 !important;
}
.badge-rose {
  background: #ffe4e6 !important;
  color: #be123c !important;
  border: 1px solid #fecdd3 !important;
}
.btn-fresh-rose {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-fresh-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45) !important;
}

/* 부드러운 페이드 전환 애니메이션 */
.slide.hero-slide {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}
.slide.hero-slide.active {
  display: block;
  opacity: 1;
}


/* ==========================================================================
   LIVE REALTIME CONSULTATION TICKER BAR
   ========================================================================== */
.live-consult-bar {
  background: linear-gradient(90deg, #09131f 0%, #0f2238 50%, #09131f 100%);
  color: #f1f5f9;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  position: relative;
  z-index: 200;
}

.live-consult-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.live-label {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.live-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}

.live-dot-sep {
  color: rgba(255, 255, 255, 0.3);
}

.live-stat-text {
  font-size: 12px;
  color: #94a3b8;
}

.live-highlight-green {
  color: #4ade80;
  font-weight: 800;
}

.live-highlight-cyan {
  color: #38bdf8;
  font-weight: 800;
}

.live-ticker-container {
  flex: 1;
  overflow: hidden;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.live-ticker-track {
  width: 100%;
}

.ticker-slide {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  white-space: nowrap;
  animation: ticker-fade 0.5s ease-in-out;
}

@keyframes ticker-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ticker-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ticker-content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-content strong {
  color: #ffffff;
}

.ticker-time {
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}

.live-cta-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}
.live-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.5);
}

/* ==========================================================================
   BACKGROUND TONE-DOWN & HERO EMPHASIS (배경 차분하게 + 메인화면 입체 강조)
   ========================================================================== */
body {
  background-color: #eef2f6 !important;
}

.main-content {
  background: #eef2f6;
}

.hero-spotlight-section {
  background: linear-gradient(180deg, #e2e8f0 0%, #eef2f6 100%);
  padding: 24px 0 20px;
}

/* 메인 배너 슬라이더를 배경 위에서 환하게 입체감 있게 띄우는 섀도우 & 보더 */
.hero-slider-wrap {
  background: #ffffff;
  border-radius: 18px !important;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.08) !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
}

/* 우측 스포트라이트 카드도 배경 위에서 정갈하게 돋보이도록 조정 */
.spotlight-card {
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.07) !important;
}

@media (max-width: 900px) {
  .live-consult-flex {
    flex-wrap: wrap;
    gap: 8px;
  }
  .live-ticker-container {
    width: 100%;
    order: 3;
    padding: 0;
  }
  .live-cta-btn {
    display: none;
  }
}

/* ==========================================================================
   LIVE REALTIME CONSULTATION TICKER BAR (최상단 항시 고정 & 네온 하이라이트)
   ========================================================================== */
.live-consult-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 44px !important;
  background: linear-gradient(90deg, #021a38 0%, #03396c 35%, #005b96 70%, #021a38 100%) !important;
  color: #ffffff !important;
  border-bottom: 2px solid #38bdf8 !important;
  box-shadow: 0 4px 22px rgba(2, 132, 199, 0.45) !important;
  z-index: 2500 !important; /* 모달(2000) 위에서도 항시 최상단 노출 */
  display: flex !important;
  align-items: center !important;
}

body {
  padding-top: 44px !important; /* 고정 바 높이만큼 바디 밀기 */
}

.main-header {
  top: 44px !important; /* 스티키 헤더가 라이브 바 바로 아래에 부착 */
}

.live-consult-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  height: 100%;
}

.live-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #22c55e, 0 0 18px #4ade80;
  animation: pulse-green-bright 1.5s infinite;
}

@keyframes pulse-green-bright {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.live-label {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 7px;
  border-radius: 4px;
}

.live-divider {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.live-dot-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 3px;
}

.live-stat-text {
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 500;
}

.live-highlight-green {
  color: #4ade80 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
  padding: 0 2px;
}

.live-highlight-cyan {
  color: #fde047 !important; /* 눈에 확 띄는 골드 옐로우 */
  font-size: 15px !important;
  font-weight: 900 !important;
  text-shadow: 0 0 12px rgba(253, 224, 71, 0.7);
  padding: 0 2px;
}

.live-ticker-container {
  flex: 1;
  overflow: hidden;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-ticker-track {
  width: 100%;
}

.ticker-slide {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #f8fafc;
  white-space: nowrap;
  animation: ticker-fade 0.45s ease-in-out;
}

.ticker-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.ticker-content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.ticker-content strong {
  color: #38bdf8;
  font-weight: 800;
}

.ticker-time {
  font-size: 11px;
  color: #94a3b8;
  flex-shrink: 0;
}

.live-consult-cta-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  padding: 7px 15px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.5) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.live-consult-cta-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.7) !important;
}

@media (max-width: 900px) {
  .live-consult-bar {
    height: 40px !important;
  }
  body {
    padding-top: 40px !important;
  }
  .main-header {
    top: 40px !important;
  }
  .live-stat-text {
    font-size: 11px;
  }
  .live-ticker-container {
    display: none; /* 모바일에서는 카운터에 집중 */
  }
  .live-consult-cta-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }
}

/* ==========================================================================
   OFFICIAL COWAY HERO SLIDER & THEMES SYSTEM (공식몰 100% 동일 구현)
   ========================================================================== */

/* 1. Widescreen Hero Section */
.official-hero-section {
  position: relative;
  width: 100%;
  background: #f7f9fa;
  overflow: hidden;
  user-select: none;
}

.official-hero-container {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  height: 520px;
  display: flex;
  align-items: center;
}

.official-slider-track {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.official-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.98);
  cursor: pointer;
  z-index: 1;
}

.official-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.official-media-box {
  width: 100%;
  height: 100%;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.official-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.official-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 45%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}

/* Slide Text Caption */
.official-slide-caption {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 620px;
  z-index: 5;
  color: #ffffff;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.official-sub-copy {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.official-main-copy {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.official-btn-wrap {
  margin-top: 10px;
}

.official-btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.25s ease;
  user-select: none;
}

.official-btn-more:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #111111;
}

.official-btn-more .arrow-sym {
  transition: transform 0.25s ease;
}

.official-btn-more:hover .arrow-sym {
  transform: translateX(4px);
}

/* Arrow Navigation Buttons */
.official-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.official-arrow-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.official-arrow-btn.prev { left: 32px; }
.official-arrow-btn.next { right: 32px; }

/* Progress bar & Play Toggle */
.official-slider-control {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 9999px;
}

.official-progress-bar-wrap {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.official-progress-bar {
  width: 0%;
  height: 100%;
  background: #007aff;
  transition: width 0.1s linear;
}

.official-play-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s;
  padding: 0;
}

.official-play-toggle:hover {
  opacity: 1;
}

/* 2. Official Quick Menu Pills */
.official-quick-menu-section {
  background: #ffffff;
  padding: 24px 0 28px 0;
  border-bottom: 1px solid #edf0f3;
}

.official-quick-menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 10px;
}

.official-quick-menu-list::-webkit-scrollbar {
  display: none;
}

.official-quick-pill {
  background: #f6f8fa;
  border: 1px solid #e7ebef;
  border-radius: 9999px;
  padding: 8px 16px 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  flex-shrink: 0;
  white-space: nowrap;
}

.official-quick-pill:hover {
  background: #ffffff;
  border-color: #007aff;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.12);
  transform: translateY(-2px);
}

.pill-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pill-badge.badge-blue { background: #e8f3ff; color: #007aff; }
.pill-badge.badge-cyan { background: #e6f9fa; color: #00a2ae; }
.pill-badge.badge-green { background: #eafaf1; color: #00c73c; }
.pill-badge.badge-red { background: #ffebee; color: #ff3b30; }
.pill-badge.badge-sky { background: #e0f2fe; color: #0284c7; }
.pill-badge.badge-gray { background: #f0f2f5; color: #4b5563; }
.pill-badge.badge-purple { background: #f3e8ff; color: #7e22ce; }

.pill-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #191f28;
}

/* 3. Official Themes Showcase */
.official-themes-showcase {
  background: #ffffff;
  padding: 40px 0 80px 0;
}

.theme-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid #ebedf0;
}

.theme-row:last-child {
  border-bottom: none;
}

.theme-sidebar {
  padding-top: 8px;
}

.theme-heading {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: #111111;
  margin: 0 0 24px 0;
}

.heading-with-more {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.heading-with-more .theme-heading {
  margin-bottom: 0;
}

.theme-more-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #007aff;
  text-decoration: none;
  transition: color 0.2s;
}

.theme-more-link:hover {
  text-decoration: underline;
}

.theme-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-tab-list .tab-item {
  font-size: 15px;
  font-weight: 500;
  color: #8b95a1;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.theme-tab-list .tab-item:hover {
  color: #191f28;
}

.theme-tab-list .tab-item.active {
  color: #111111;
  font-weight: 700;
}

.theme-tab-list .tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111111;
}

/* Theme Card Grid */
.theme-card-grid {
  display: grid;
  gap: 24px;
}

.theme-card-grid.grid-2cols {
  grid-template-columns: repeat(2, 1fr);
}

.theme-card-grid.grid-split-1-2 {
  grid-template-columns: 1fr 1fr;
}

.theme-product-card,
.theme-banner-card {
  background: #f8fafc;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #edf0f4;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.theme-product-card:hover,
.theme-banner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: #dbe2ea;
}

.card-media-box {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  background: #f0f3f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theme-product-card:hover .card-media-box img,
.theme-banner-card:hover .card-media-box img {
  transform: scale(1.04);
}

/* Badges on card */
.theme-badge {
  position: absolute;
  z-index: 3;
}

.theme-badge.badge-tv {
  top: 16px;
  left: 16px;
  background: #007aff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
}

.theme-badge.badge-red-circle {
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #b91c1c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.35);
}

.theme-badge.badge-red-circle strong {
  font-size: 13.5px;
  font-weight: 800;
}

/* Info Box */
.card-info-box {
  padding: 22px 26px;
  background: #ffffff;
  flex-grow: 1;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #191f28;
  margin: 0 0 8px 0;
}

.card-desc {
  font-size: 14px;
  color: #6b7684;
  line-height: 1.45;
  margin: 0;
}

/* Banner cards specific background */
.theme-banner-card.bg-wine {
  background: #621926;
}
.theme-banner-card.bg-wine .card-info-box {
  background: #621926;
  color: #ffffff;
}
.theme-banner-card.bg-wine .card-title {
  color: #ffffff;
}
.theme-banner-card.bg-wine .card-desc {
  color: rgba(255, 255, 255, 0.85);
}

.theme-banner-card.bg-beige {
  background: #ebdcd3;
}
.theme-banner-card.bg-beige .card-info-box {
  background: #ebdcd3;
}

/* Sub-card Stack (룰루비데 우측) */
.theme-sub-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.theme-sub-card {
  background: #f8fafc;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  height: 50%;
}

.theme-sub-card:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: #007aff;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.08);
}

.sub-media {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f3f6;
}

.sub-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sub-info {
  flex-grow: 1;
}

.sub-title {
  font-size: 17px;
  font-weight: 700;
  color: #191f28;
  margin: 0 0 4px 0;
}

.sub-tag {
  font-size: 12px;
  font-weight: 600;
  color: #007aff;
  margin: 0 0 4px 0;
}

.sub-desc {
  font-size: 13px;
  color: #6b7684;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .theme-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }
  .theme-tab-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .official-hero-container {
    height: 400px;
    padding: 0 12px;
  }
  .official-slider-track {
    height: 380px;
  }
  .official-slide-caption {
    left: 24px;
    right: 24px;
    max-width: 100%;
  }
  .official-main-copy {
    font-size: 26px;
  }
  .official-sub-copy {
    font-size: 13.5px;
  }
  .official-arrow-btn {
    display: none;
  }
  .theme-card-grid.grid-2cols,
  .theme-card-grid.grid-split-1-2 {
    grid-template-columns: 1fr;
  }
  .theme-sub-card-stack {
    height: auto;
  }
}


.official-slide-caption {
  pointer-events: none !important;
}

.official-btn-more {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 10 !important;
  position: relative !important;
}

.official-slide {
  cursor: pointer !important;
}


/* ==========================================================================
   OFFICIAL THEME AD PROMOTION MODAL STYLES
   ========================================================================== */
.theme-ad-window {
  max-width: 860px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  background: #ffffff;
  padding: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.theme-ad-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 28px 32px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  position: relative;
}

.theme-ad-badge {
  display: inline-block;
  background: #007aff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.theme-ad-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px 0;
  letter-spacing: -0.8px;
}

.theme-ad-desc {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.theme-ad-content {
  padding: 28px 32px;
}

.theme-ad-hero-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.theme-ad-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.theme-ad-benefit-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.benefit-box-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefit-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item-list li {
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.benefit-item-list li strong {
  color: #0284c7;
}

/* Theme Form Inside Modal */
.theme-ad-consult-form {
  background: #f0f7ff;
  border: 1.5px solid #bae6fd;
  border-radius: 14px;
  padding: 24px;
}

.consult-form-title {
  font-size: 17px;
  font-weight: 800;
  color: #0369a1;
  margin: 0 0 6px 0;
}

.consult-form-desc {
  font-size: 13px;
  color: #0284c7;
  margin: 0 0 18px 0;
}

.theme-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.theme-form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
}

.theme-form-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.theme-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.4);
}


/* Healthcare Banner Header */
.cat-healthcare-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
  border-radius: 16px;
  color: #ffffff;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.2);
}
.cat-healthcare-header .en-sub {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #bae6fd;
  margin-bottom: 6px;
}
.cat-healthcare-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
}



/* ==========================================================
   PRODUCT DETAIL MODAL TOP GNB HEADER (코웨이 공식몰 스타일 상단 카테고리 네비게이션 & 닫기)
   ========================================================== */
.modal-gnb-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 62px !important;
  background: #ffffff !important;
  border-bottom: 2px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  z-index: 2100 !important;
}

.modal-gnb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.modal-gnb-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s;
}
.modal-gnb-logo:hover {
  background: #f1f5f9;
}
.modal-gnb-logo .logo-mark {
  font-size: 22px;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: -0.5px;
}
.modal-gnb-logo .logo-text {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.modal-gnb-divider {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
}
.modal-gnb-subtitle {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 700;
}

.modal-gnb-nav {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 16px;
}
.modal-gnb-nav::-webkit-scrollbar {
  display: none;
}

.modal-gnb-tabs {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.modal-cat-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.modal-cat-btn:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
  transform: translateY(-1px);
}

.modal-cat-btn.highlight {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  border-color: #93c5fd;
}
.modal-cat-btn.highlight:hover {
  background: #dbeafe;
}

.modal-cat-btn .hot-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}

.modal-gnb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.modal-gnb-consult-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.modal-gnb-consult-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
}

.modal-gnb-close-btn {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  color: #0f172a;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.modal-gnb-close-btn .close-icon {
  font-size: 16px;
  font-weight: 900;
  color: #64748b;
}
.modal-gnb-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}
.modal-gnb-close-btn:hover .close-icon {
  color: #ffffff;
}

/* Floating helper close button fallback: hide or reposition */
.modal-close-fixed {
  display: none !important; /* 상단 헤더 안에 크고 명확한 닫기 버튼이 있으므로 중복 및 겹침 방지 */
}

/* Detail Modal z-index priority over all page bars */
#productDetailModal {
  z-index: 3000 !important;
}

@media (max-width: 960px) {
  .modal-gnb-header {
    height: 52px !important;
    padding: 0 12px !important;
  }
  .modal-gnb-subtitle,
  .modal-gnb-divider,
  .modal-gnb-consult-btn {
    display: none !important;
  }
  .modal-cat-btn {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }
  .modal-gnb-close-btn {
    padding: 6px 12px !important;
    font-size: 13px !important;
  }
}


/* ==========================================================================
   📱 COWAY BOT MOBILE COMPREHENSIVE RESPONSIVE SUITE (핸드폰 전용 검색 & 상세설명 최적화)
   ========================================================================== */

/* 1. 모바일 & 데스크톱 통합 고화질 검색 시스템 */
.header-search-wrap {
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 28px;
  padding: 4px 6px 4px 16px;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.12);
  transition: all 0.2s ease;
  position: relative;
}

.search-box:focus-within {
  border-color: #0369a1;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.25);
  background: #ffffff;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  min-height: 40px;
}

.btn-search-clear {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-right: 6px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.btn-search-clear:hover,
.btn-search-clear:active {
  background: #cbd5e1;
  color: #0f172a;
}

.btn-search {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-search:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.5);
}

/* 모바일 전용 빠른 키워드 칩 */
.mobile-search-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 4px 2px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-search-chips::-webkit-scrollbar {
  display: none;
}

.search-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.search-chip:hover,
.search-chip:active {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

/* 실시간 검색 자동완성 드롭다운 레이어 */
.search-autocomplete-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #0284c7;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10099;
  display: none;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s;
}
.search-item:last-child {
  border-bottom: none;
}
.search-item:hover,
.search-item:active {
  background: #f0f9ff;
}

.search-thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  padding: 2px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.search-info {
  flex: 1;
  min-width: 0;
}

.search-model-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.search-cat-badge {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.search-model {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-match {
  background: #fef08a;
  color: #854d0e;
  padding: 0 3px;
  border-radius: 2px;
  font-weight: 900;
}

.search-price-col {
  text-align: right;
  flex-shrink: 0;
}

.search-price {
  font-size: 14px;
  font-weight: 900;
  color: #0284c7;
}

.search-action-tag {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  display: block;
}

.autocomplete-no-results {
  padding: 24px 16px;
  text-align: center;
  color: #64748b;
}

/* ==========================================================================
   2. 핸드폰 모바일 전용 뷰포트 & 상세 모달 (Responsive Overrides)
   ========================================================================== */
@media (max-width: 768px) {
  /* 아이폰 Safari 자동 확대 방지 (16px 폰트 필수) */
  .search-box input {
    font-size: 16px !important;
  }

  .header-search-wrap {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
  }

  /* 상품 상세 모달 전체화면 최적화 */
  #productDetailModal {
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  #productDetailModal .modal-card.modal-xl {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
  }

  /* 모달 상단 헤더 컴팩트 & 고대비 닫기 버튼 */
  .modal-gnb-header {
    height: 52px !important;
    padding: 0 10px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2200 !important;
    background: #ffffff !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .modal-gnb-left {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .modal-gnb-logo {
    padding: 4px 6px !important;
  }
  .modal-gnb-logo .logo-mark {
    font-size: 19px !important;
  }
  .modal-gnb-logo .logo-text {
    font-size: 13px !important;
  }

  .modal-gnb-subtitle,
  .modal-gnb-divider,
  .modal-gnb-consult-btn {
    display: none !important;
  }

  .modal-gnb-nav {
    margin: 0 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .modal-gnb-nav::-webkit-scrollbar {
    display: none !important;
  }

  .modal-cat-btn {
    font-size: 12px !important;
    padding: 5px 8px !important;
    white-space: nowrap !important;
  }

  .modal-gnb-close-btn {
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #ef4444 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35) !important;
    flex-shrink: 0 !important;
  }
  .modal-gnb-close-btn .close-icon {
    color: #ffffff !important;
  }

  /* 상단 옵션/갤러리 레이아웃 모바일 1열화 */
  .detail-top-grid {
    grid-template-columns: 1fr !important;
    padding: 14px 14px 20px 14px !important;
    gap: 16px !important;
  }

  .detail-gallery-box {
    position: static !important;
    top: auto !important;
  }

  .detail-main-img-wrap {
    height: 260px !important;
    background: #f8fafc !important;
    border-radius: 14px !important;
    padding: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .detail-main-img-wrap img {
    max-height: 236px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .detail-thumbs-strip {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 8px 2px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .detail-thumbs-strip::-webkit-scrollbar {
    display: none !important;
  }

  .detail-title {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .order-section-card {
    padding: 14px 14px !important;
    margin-bottom: 12px !important;
  }

  /* 전화 바로걸기 배너 모바일 터치 최적화 */
  .detail-phone-banner {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #eff6ff !important;
    border: 1.5px solid #93c5fd !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
    margin-top: 12px !important;
    transition: background 0.15s !important;
  }
  .detail-phone-banner:active {
    background: #dbeafe !important;
  }
  .phone-banner-icon {
    font-size: 24px !important;
    flex-shrink: 0 !important;
  }
  .phone-banner-content {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .phone-banner-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #0369a1 !important;
  }
  .phone-banner-num {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #0284c7 !important;
  }
  .phone-banner-desc {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
  }
  .phone-banner-arrow {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* 모바일 상단 탭 바 (스크롤 시 고정) */
  .detail-tabs-bar {
    position: sticky !important;
    top: 52px !important;
    z-index: 2000 !important;
    background: #ffffff !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 0 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .detail-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .detail-tab-btn {
    font-size: 13px !important;
    padding: 12px 10px !important;
    white-space: nowrap !important;
    flex: 1 !important;
    text-align: center !important;
    min-width: fit-content !important;
  }

  /* 🌟 공식 상품 상세 스토리 & 이미지 설명: 모바일 전체 가로폭 100% 완벽 밀착 */
  #tab-panel-story,
  .pdp-detail-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  .pdp-isolated-frame {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 1200px !important;
    border: none !important;
    display: block !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .pdp-official-header-bar {
    padding: 10px 14px !important;
    font-size: 12.5px !important;
    border-radius: 0 !important;
    margin-bottom: 8px !important;
  }

  /* 규격 사양표 및 배송안내 모바일 가독성 */
  #tab-panel-spec,
  #tab-panel-guide {
    padding: 0 14px !important;
    margin: 20px auto !important;
  }

  .detail-full-specs-table th {
    width: 38% !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }
  .detail-full-specs-table td {
    width: 62% !important;
    padding: 10px 12px !important;
    font-size: 12.5px !important;
  }

  /* 핸드폰 전용 모달 하단 플로팅 전화 & 상담 신청 바 */
  .modal-mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    border-top: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.14) !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .mb-product-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .mb-product-name {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mb-product-price {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #0284c7 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .mb-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .mb-btn-call {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
  }

  .mb-btn-apply {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
  }

  .mb-btn-top {
    width: 34px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #64748b !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  /* 모바일에서 모달 본문 하단 여백 확보 (하단바에 가려짐 방지) */
  #modalProductDetailBody {
    padding-bottom: 84px !important;
  }

  /* 모바일에서 기존 PC용 플로팅 cta는 숨김 */
  .detail-floating-cta {
    display: none !important;
  }
}

/* 초소형 스마트폰 (가로 380px 이하) 추가 미세 조정 */
@media (max-width: 380px) {
  .mb-product-price {
    font-size: 13.5px !important;
  }
  .mb-btn-call {
    padding: 7px 8px !important;
    font-size: 11.5px !important;
  }
  .mb-btn-apply {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
  .mb-btn-top {
    display: none !important;
  }
}


/* ==========================================================================
   ✨ 2026 COWAY PREMIUM LUXURY DESIGN SYSTEM (코웨이 프리미엄 완성도 업그레이드)
   ========================================================================== */

/* 1. REAL-TIME BEST 4 SIGNATURE RANKING SECTION */
.signature-ranking-section {
  padding: 60px 0 70px;
  background: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 50%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
}

.signature-ranking-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 100, 210, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-header-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
  color: #FCD34D;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.12);
  margin-bottom: 14px;
}

.section-main-heading {
  font-size: 32px;
  font-weight: 900;
  color: #0A192F;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.section-sub-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

.text-highlight {
  color: #0064D2;
  font-weight: 800;
}

/* SIGNATURE GRID */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.sig-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.sig-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 25, 47, 0.12);
  border-color: #0064D2;
}

/* RANK BADGE */
.sig-rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 900;
  color: #FFFFFF;
  padding: 4px 11px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.sig-rank-badge.rank-1 { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.sig-rank-badge.rank-2 { background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%); }
.sig-rank-badge.rank-3 { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.sig-rank-badge.rank-4 { background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); }

/* BENEFIT TAGS */
.sig-benefit-tags {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  z-index: 2;
}

.tag-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.3;
}

.tag-pill.tag-blue { background: #E0F2FE; color: #0369A1; }
.tag-pill.tag-emerald { background: #D1FAE5; color: #065F46; }
.tag-pill.tag-cyan { background: #CFFAFE; color: #0E7490; }
.tag-pill.tag-amber { background: #FEF3C7; color: #92400E; }
.tag-pill.tag-purple { background: #F3E8FF; color: #6B21A8; }

/* IMAGE BOX */
.sig-img-box {
  width: 100%;
  height: 200px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.sig-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.sig-card:hover .sig-img-box img {
  transform: scale(1.06);
}

/* INFO BOX */
.sig-info {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sig-model {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.sig-title {
  font-size: 18px;
  font-weight: 900;
  color: #0A192F;
  margin: 0 0 6px;
  line-height: 1.3;
}

.sig-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.45;
  margin: 0 0 16px;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PRICE BOX */
.sig-price-box {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #EDF2F7;
}

.sig-regular-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 4px;
}

.sig-regular-price .val {
  text-decoration: line-through;
}

.sig-discount-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sig-discount-price .disc-label {
  font-size: 13px;
  font-weight: 700;
  color: #0A192F;
}

.sig-discount-price .disc-val {
  font-size: 15px;
  font-weight: 700;
  color: #0064D2;
}

.sig-discount-price .disc-val strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* GIFT BANNER */
.sig-gift-banner {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ACTION BUTTONS */
.sig-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  margin-top: auto;
}

.btn-sig-detail {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-sig-detail:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
}

.btn-sig-quote {
  background: linear-gradient(135deg, #FF5A00 0%, #FF7824 100%);
  border: none;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 90, 0, 0.25);
}

.btn-sig-quote:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255, 90, 0, 0.35);
}

/* ==========================================================================
   2. DESKTOP STICKY CONSULT BAR (SUPER SLIM LUXURY DESIGN)
   ========================================================================== */
.sticky-consult-bar.desktop-only {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 25, 47, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 10px 0;
  transition: transform 0.3s ease;
}

.sticky-consult-bar .sticky-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-consult-bar .sticky-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sticky-consult-bar .hotline-badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.sticky-consult-bar .hotline-phone {
  color: #FCD34D !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.sticky-consult-bar .hotline-hours {
  color: #94A3B8;
  font-size: 12px;
}

.sticky-consult-bar .sticky-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 820px;
  justify-content: flex-end;
}

.sticky-consult-bar .form-input-group input {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  width: 140px;
  transition: all 0.2s;
}

.sticky-consult-bar .form-input-group input::placeholder {
  color: #94A3B8;
}

.sticky-consult-bar .form-input-group input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #38BDF8;
  outline: none;
}

.sticky-consult-bar .form-check-group {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #CBD5E1;
  font-size: 12px;
  white-space: nowrap;
}

.sticky-consult-bar .form-check-group a {
  color: #38BDF8;
  text-decoration: underline;
}

.sticky-consult-bar .btn-sticky-submit {
  background: linear-gradient(135deg, #0064D2 0%, #0084FF 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 100, 210, 0.4) !important;
  transition: all 0.2s ease !important;
}
.btn-sticky-submit:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px) !important;
}

.sticky-consult-bar .btn-sticky-submit:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. MOBILE CONSULT BAR (3-BUTTON ULTRA CONVENIENT BOTTOM BAR)
   Order: [1초 간편견적] (Left) | [전화상담] (Center) | [카톡상담] (Right)
   50년 경력 마스터 수준의 프리미엄 모바일 하단 내비게이션 & 빠른상담 바
   ========================================================================== */
.mobile-consult-bar {
  display: none;
}

@media (max-width: 768px) {
  .sticky-consult-bar.desktop-only {
    display: none !important;
  }

  body {
    padding-bottom: 88px !important;
  }

  .mobile-consult-bar.mobile-only {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    gap: 8px;
    box-sizing: border-box;
    align-items: center;
  }

  .m-bar-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.3px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
  }

  .m-bar-btn:active {
    transform: scale(0.96);
  }

  /* 1. Left: 1초 간편견적 (Primary Vibrant Blue Gradient & Pulse Glow) */
  .m-quote-btn {
    flex: 1.28;
    background: linear-gradient(135deg, #0064D2 0%, #0084FF 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(0, 100, 210, 0.38);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  .m-quote-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: quoteGleam 3s infinite;
  }

  @keyframes quoteGleam {
    0% { left: -100%; }
    25%, 100% { left: 160%; }
  }

  .m-quote-btn:active {
    filter: brightness(0.95);
    box-shadow: 0 2px 8px rgba(0, 100, 210, 0.25);
  }

  /* 2. Center: 전화상담 (Refined Executive Dark Navy) */
  .m-call-btn {
    flex: 1;
    background: #0F172A;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
  }

  .m-call-btn:active {
    background: #1E293B;
  }

  /* 3. Right: 카톡상담 (Kakao Brand Yellow) */
  .m-kakao-btn {
    flex: 1;
    background: #FEE500;
    color: #191919 !important;
    border: 1px solid rgba(234, 179, 8, 0.35);
    box-shadow: 0 3px 10px rgba(254, 229, 0, 0.35);
  }

  .m-kakao-btn:active {
    background: #F5DC00;
  }

  .m-bar-btn .m-icon {
    font-size: 16px;
    line-height: 1;
  }

  .m-quote-btn .m-icon {
    font-size: 15px;
    animation: pulseIcon 1.8s infinite;
  }

  @keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.22); }
  }

  /* Reposition Floating Kakao & Top Button so they never overlap */
  .floating-contact-wrap, #floating-btns {
    bottom: 76px !important;
    right: 14px !important;
  }

  .btn-floating-top, #scrollTopBtn {
    bottom: 138px !important;
    right: 14px !important;
  }

  /* Signature grid on mobile */
  .signature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .sig-img-box {
    height: 140px !important;
    padding: 10px !important;
  }

  .sig-title {
    font-size: 15px !important;
  }

  .sig-desc {
    display: none !important;
  }

  .sig-discount-price .disc-val strong {
    font-size: 17px !important;
  }

  .section-main-heading {
    font-size: 22px !important;
  }

  .section-sub-desc {
    font-size: 13px !important;
  }
}

/* ==========================================================================
   4. QUICK QUOTE MODAL (1초 최저가 견적 모달) & UNIVERSAL CLOSE BUTTONS
   ========================================================================== */
.quote-modal-dialog {
  max-width: 480px;
  width: 92%;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 34px 26px 24px;
  box-shadow: 0 25px 65px rgba(10, 25, 47, 0.35);
  position: relative;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Top-Right Prominent Close Button (오른쪽 상단 ✕ 닫기 버튼) */
.btn-modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #334155 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 100 !important;
  padding: 0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12) !important;
  line-height: 1 !important;
  -webkit-tap-highlight-color: transparent;
}

.btn-modal-close:hover,
.btn-modal-close:active {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  color: #FFFFFF !important;
  transform: scale(1.1) rotate(90deg) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45) !important;
}

.quote-modal-header {
  text-align: center;
  margin-bottom: 22px;
  padding-right: 28px;
  padding-left: 28px;
}

.quote-modal-tag {
  display: inline-block;
  background: #EFF6FF;
  color: #0064D2;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.quote-modal-title {
  font-size: 21px;
  font-weight: 900;
  color: #0A192F;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
  line-height: 1.35;
}

.quote-modal-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

.quote-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.quote-form-group label .req {
  color: #EF4444;
}

.quote-form-group input {
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-size: 14px;
  color: #0F172A;
  transition: all 0.2s;
  box-sizing: border-box;
}

.quote-form-group input:focus {
  border-color: #0064D2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 100, 210, 0.15);
}

.quote-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quote-chip {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.quote-chip:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.quote-chip.active {
  background: #0064D2;
  border-color: #0064D2;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 100, 210, 0.3);
}

.quote-agree-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #64748B;
}

.quote-agree-box .custom-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.btn-quote-submit {
  background: linear-gradient(135deg, #0064D2 0%, #0084FF 100%);
  border: none;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 900;
  padding: 15px 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 100, 210, 0.38);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.3px;
}

.btn-quote-submit:hover,
.btn-quote-submit:active {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 100, 210, 0.48);
}

/* Bottom cancel/return link */
.btn-quote-cancel {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
  text-align: center;
  margin-top: 2px;
}

.btn-quote-cancel:hover,
.btn-quote-cancel:active {
  color: #0F172A;
}

.quote-guarantee {
  font-size: 11.5px;
  color: #94A3B8;
  text-align: center;
  margin: 4px 0 0;
}

/* Modal GNB Close Button for Product Detail Modal */
.modal-gnb-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.modal-gnb-close-btn:hover,
.modal-gnb-close-btn:active {
  background: #EF4444;
  border-color: #EF4444;
  transform: scale(1.08) rotate(90deg);
}

@media (max-width: 600px) {
  .quote-modal-dialog {
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 26px 18px 20px;
    border-radius: 20px;
  }
  .btn-modal-close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 17px !important;
  }
  .quote-modal-header {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* ==========================================================================
   🎯 DEFINITIVE HIGH-PRIORITY OVERRIDES FOR LUXURY FINISH
   ========================================================================== */
.sticky-consult-bar.desktop-only {
  background: rgba(10, 25, 47, 0.96) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3) !important;
}

.modal-overlay {
  z-index: 10000 !important;
}

/* Safe modal display */
.modal-overlay.active { display: flex; opacity: 1; visibility: visible; }

/* Floating Kakao & Top button fine-tuning */
@media (max-width: 768px) {
  .floating-contact-wrap, #floating-btns {
    bottom: 74px !important;
    right: 12px !important;
    transform: scale(0.88);
    transform-origin: bottom right;
    z-index: 9980 !important;
  }

  .btn-floating-top, #scrollTopBtn {
    bottom: 130px !important;
    right: 12px !important;
    transform: scale(0.85);
    transform-origin: bottom right;
    z-index: 9980 !important;
  }
}


/* Ultra Clean Desktop Sticky Inputs */
.sticky-consult-bar .form-input-group input {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
}
.sticky-consult-bar .form-input-group input::placeholder {
  color: #94A3B8 !important;
}
.sticky-consult-bar .form-input-group input:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25) !important;
}
.sticky-consult-bar .form-check-group label {
  color: #CBD5E1 !important;
  font-size: 12px !important;
}
.sticky-consult-bar .form-check-group a {
  color: #38BDF8 !important;
}


/* Hide redundant floating kakao on mobile since bottom bar has direct kakao button */
@media (max-width: 768px) {
  .floating-contact-wrap, #floating-btns {
    display: none !important;
  }
  
  .btn-floating-top, #scrollTopBtn {
    bottom: 74px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
    opacity: 0.8 !important;
    z-index: 9980 !important;
  }
}


/* ==========================================================================
   📱 2026 MOBILE ULTRA-RESPONSIVE PERFECTION (모바일 좌우 정리 & 뷰포트 극대화)
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. CONTAINER & GENERAL SPACING */
  .site-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. HEADER: REMOVE GIANT FIXED BLOCK, FREE UP 80% SCREEN */
  .live-consult-bar {
    position: relative !important;
    top: auto !important;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .main-header {
    position: relative !important;
    top: auto !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }

  .header-top {
    display: none !important; /* Hide tiny links on mobile */
  }

  .header-main {
    padding: 12px 14px 8px !important;
  }

  .header-flex {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .logo-box {
    flex: 1 !important;
  }

  .header-phone-box {
    margin-left: auto !important;
  }

  .header-phone-box .phone-link {
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 6px 10px !important;
    background: #F1F5F9 !important;
    border-radius: 8px !important;
    color: #0A192F !important;
  }

  .header-search {
    width: 100% !important;
    margin: 4px 0 !important;
  }

  .search-input-wrap input {
    height: 40px !important;
    font-size: 13px !important;
    padding-left: 14px !important;
  }

  .search-input-wrap .btn-search {
    width: 40px !important;
    height: 40px !important;
  }

  .search-keywords {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 6px !important;
    padding: 4px 0 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .search-keywords::-webkit-scrollbar {
    display: none !important;
  }

  .keyword-chip {
    font-size: 11px !important;
    padding: 4px 9px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  /* 3. ONLY GNB TABS STICKY ON TOP (COMPACT 44px) */
  .main-gnb-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 990 !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 10px rgba(10, 25, 47, 0.05) !important;
  }

  .gnb-menu-list {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 0 8px !important;
    gap: 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .gnb-menu-list::-webkit-scrollbar {
    display: none !important;
  }

  .gnb-item {
    flex-shrink: 0 !important;
  }

  .gnb-link {
    font-size: 13px !important;
    padding: 11px 10px !important;
    display: inline-block !important;
  }

  /* 4. HERO SECTION MOBILE PERFECTION */
  .official-hero-section {
    padding: 10px 0 16px !important;
  }

  .official-hero-container {
    padding: 0 12px !important;
  }

  .official-slide {
    border-radius: 14px !important;
  }

  /* 5. TOP 4 SIGNATURE SHOWCASE ON MOBILE (TIGHT, CRISP, NO CUT-OFFS) */
  .signature-ranking-section {
    padding: 24px 0 32px !important;
  }

  .section-header-wrap {
    margin-bottom: 18px !important;
    padding: 0 4px !important;
  }

  .section-tag-pill {
    font-size: 11px !important;
    padding: 4px 12px !important;
    margin-bottom: 8px !important;
  }

  .section-main-heading {
    font-size: 20px !important;
    letter-spacing: -0.6px !important;
    margin-bottom: 6px !important;
  }

  .section-sub-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .signature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sig-card {
    border-radius: 14px !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 3px 12px rgba(10, 25, 47, 0.04) !important;
  }

  .sig-rank-badge {
    top: 8px !important;
    left: 8px !important;
    font-size: 10px !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
  }

  .sig-benefit-tags {
    top: 8px !important;
    right: 8px !important;
    gap: 3px !important;
  }

  .tag-pill {
    font-size: 9px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
  }

  .sig-img-box {
    height: 130px !important;
    padding: 10px !important;
  }

  .sig-info {
    padding: 10px 10px 12px !important;
  }

  .sig-model {
    font-size: 10px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sig-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sig-desc {
    display: none !important; /* Hide long desc on mobile for compactness */
  }

  .sig-price-box {
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
  }

  .sig-regular-price {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  .sig-discount-price .disc-label {
    font-size: 11px !important;
  }

  .sig-discount-price .disc-val {
    font-size: 12px !important;
  }

  .sig-discount-price .disc-val strong {
    font-size: 16px !important;
  }

  .sig-gift-banner {
    font-size: 10px !important;
    padding: 5px 6px !important;
    margin-bottom: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-radius: 6px !important;
  }

  .sig-actions {
    grid-template-columns: 1fr !important; /* Single full-width high-converting button on mobile */
    gap: 0 !important;
  }

  .btn-sig-detail {
    display: none !important; /* Clicking the card opens detail modal */
  }

  .btn-sig-quote {
    width: 100% !important;
    padding: 9px 0 !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  /* 6. DETAIL MODAL CLEANUP (NO DUPLICATE CLOSE BUTTONS) */
  #detailModalCloseBtn {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    color: #FFFFFF !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    z-index: 10010 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
  }

  .modal-gnb-close-btn {
    display: none !important; /* Permanently hide duplicate */
  }

  .modal-gnb-header {
    height: 48px !important;
    padding: 0 8px !important;
  }
}


/* ==========================================================================
   🛡️ 100% ZERO HORIZONTAL OVERFLOW & 400px PERFECT MOBILE FIT
   ========================================================================== */

/* 1. Global Box Sizing & Body Zero-Overflow */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  /* 2. Hide top-util-bar which overflows by 70px on mobile */
  .top-util-bar, .util-right {
    display: none !important;
  }

  /* 3. Containers strictly 100% */
  .site-container,
  .header-inner,
  .main-container,
  .official-hero-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* 4. Fix search wrap and chips from pushing page width */
  .header-search-wrap,
  .search-box,
  .search-input-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-search-chips,
  .search-keywords {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
  }

  .mobile-search-chips::-webkit-scrollbar,
  .search-keywords::-webkit-scrollbar {
    display: none !important;
  }

  .search-chip,
  .keyword-chip {
    flex-shrink: 0 !important;
  }

  /* 5. Live Consult Bar fix */
  .live-consult-bar {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .live-consult-fl {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  /* 6. Signature section fit */
  .signature-ranking-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .signature-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sig-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 7. Bottom Bar 100% width, no overflow */
  .mobile-consult-bar.mobile-only {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    gap: 6px !important;
    padding: 6px 10px !important;
  }

  /* 8. Kakao modal guaranteed appearance */
  #kakaoConsultModal {
    z-index: 10005 !important;
  }
}


/* ==========================================================================
   📐 2026 COMPLETE MOBILE STANDARDIZATION & NO-CUTOFF SYSTEM (모바일 규격 100% 최적화)
   ========================================================================== */

/* Universal Text Word-Break for Korean (글씨 짤림 원천 방지) */
h1, h2, h3, h4, h5, p, span, div, a, button, label {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
}

/* 1. KAKAO CONSULT MODAL MOBILE FIT & GUARANTEED CLOSE */
.kakao-modal-card {
  position: relative !important;
  width: 90% !important;
  max-width: 360px !important;
  margin: auto !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
}

#kakaoConsultModal .modal-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 99999 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.2) !important;
  color: #111827 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

#kakaoConsultModal .modal-close:hover,
#kakaoConsultModal .modal-close:active {
  background: rgba(0, 0, 0, 0.35) !important;
  color: #FFFFFF !important;
  transform: scale(1.05) !important;
}

/* 2. SIGNATURE CARD MOBILE NO CUT-OFF */
@media (max-width: 768px) {
  .sig-card {
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .sig-info {
    padding: 8px 8px 10px !important;
    box-sizing: border-box !important;
  }

  .sig-title {
    font-size: 13.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }

  .sig-price-box {
    padding: 6px 8px !important;
    margin-bottom: 6px !important;
    box-sizing: border-box !important;
  }

  .sig-regular-price {
    font-size: 10px !important;
  }

  .sig-discount-price .disc-label {
    font-size: 10.5px !important;
  }

  .sig-discount-price .disc-val {
    font-size: 11px !important;
  }

  .sig-discount-price .disc-val strong {
    font-size: 15px !important;
  }

  /* Do not cut off gift banner! Natural wrap */
  .sig-gift-banner {
    white-space: normal !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    padding: 5px 6px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* 3. SUB HEADINGS & CONTAINER NO CUT-OFF */
  .section-main-heading {
    font-size: 19px !important;
    line-height: 1.35 !important;
    letter-spacing: -0.5px !important;
    padding: 0 4px !important;
  }

  .section-sub-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    padding: 0 6px !important;
  }

  /* 4. THEME CONTENT NO CUT-OFF */
  .theme-product-card {
    box-sizing: border-box !important;
  }

  .theme-product-card .card-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .theme-product-card .card-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }
}


/* ==========================================================================
   📐 2026 QUICK SPECS BAR & MOBILE SPEC CARDS DESIGN SYSTEM
   ========================================================================== */

/* 1. Quick Core Specs Box (상세창 상단 핵심 사양 퀵 바) */
.detail-quick-specs-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.03);
}

.quick-specs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-specs-header .q-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0A192F;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-jump-to-spec {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #0064D2;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-jump-to-spec:hover {
  background: #DBEAFE;
  color: #0050A8;
}

.quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}

.q-spec-item {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #EDF2F7;
  border-radius: 8px;
  padding: 8px 10px;
}

.q-spec-item .q-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 3px;
}

.q-spec-item .q-val {
  font-size: 12.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  word-break: keep-all;
}

/* 2. Responsive Table vs Mobile Cards */
.spec-desktop-table-wrap {
  display: block;
}

.spec-mobile-cards-wrap {
  display: none;
}

@media (max-width: 768px) {
  .spec-desktop-table-wrap {
    display: none !important;
  }

  .spec-mobile-cards-wrap {
    display: flex !important;
  }

  /* Compact option cards on mobile */
  .order-section-card {
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    border-radius: 12px !important;
  }

  .order-chips-grid {
    gap: 6px !important;
  }

  .order-chip {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  .detail-top-grid {
    gap: 16px !important;
  }

  .detail-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .detail-tagline {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
}

/* ==========================================================================
   📱 2026 MOBILE DETAIL MODAL ZERO-OVERFLOW & PERFECT FIT GUARANTEE
   ========================================================================== */
@media (max-width: 768px) {
  #productDetailModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 3000 !important;
  }

  #productDetailModal .modal-card.modal-xl {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    padding: 0 0 70px 0 !important;
  }

  #modalProductDetailBody {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .modal-gnb-header {
    height: 52px !important;
    padding: 0 10px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2200 !important;
    background: #ffffff !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .modal-gnb-left {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .modal-gnb-nav {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    margin: 0 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .modal-gnb-nav::-webkit-scrollbar {
    display: none !important;
  }

  .modal-gnb-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .detail-top-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 12px 24px 12px !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .detail-gallery-box,
  .detail-info-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .detail-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .detail-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .detail-tagline {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  /* 핵심 규격 퀵 바 */
  .detail-quick-specs-box {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .quick-specs-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
  }

  .quick-specs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .q-spec-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .q-spec-item .q-lbl {
    font-size: 10px !important;
    color: #64748b !important;
    display: block !important;
    margin-bottom: 2px !important;
  }

  .q-spec-item .q-val {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  /* 옵션 선택 카드 전체 100% 폭 제한 & 패딩 최적화 */
  .order-section-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 12px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .color-chips-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .color-chip-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }

  #detailManageChips {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #detailManageChips label {
    padding: 10px 8px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  #detailPeriodChips {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #detailPeriodChips .order-chip {
    padding: 8px 2px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .order-section-card [onclick*="openBenefitDetailModal"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 12px !important;
  }

  /* 견적 계산서 & 제휴카드 체감 렌탈료 박스 글씨 짤림 원천 방지 */
  .detail-receipt-box,
  #detailReceiptCardHighlightBox,
  #calcSummaryWrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 10px !important;
    overflow: hidden !important;
  }

  #detailReceiptFinalPrice {
    font-size: 22px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    letter-spacing: -0.5px !important;
  }

  #detailReceiptWithCardPrice {
    font-size: 22px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    letter-spacing: -0.5px !important;
  }

  #detailReceiptCardNameLabel {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  #detailReceiptSavingBadge {
    font-size: 11px !important;
    white-space: normal !important;
    word-break: keep-all !important;
    line-height: 1.3 !important;
  }

  /* 하단 공식 탭 바 (2탭 50:50 정렬 & 비어있던 사양표 탭 제거) */
  .detail-tabs-bar {
    position: sticky !important;
    top: 52px !important;
    z-index: 2000 !important;
    background: #ffffff !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .detail-tab-btn {
    flex: 1 1 50% !important;
    font-size: 13px !important;
    padding: 13px 4px !important;
    white-space: nowrap !important;
    text-align: center !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    background: #f8fafc !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
  }

  .detail-tab-btn.active {
    background: #ffffff !important;
    color: #0284c7 !important;
    font-weight: 800 !important;
    border-bottom: 3px solid #0284c7 !important;
  }
}


/* ==========================================================================
   DESKTOP STICKY CONSULT BAR INPUTS - 100% CRYSTAL CLEAR TYPING GUARANTEE
   이름, 전화번호, 관심제품 입력 시 글씨가 타이핑 중에도 또렷하고 선명하게 보이도록 보장
   ========================================================================== */
.sticky-consult-bar.desktop-only .form-input-group input,
.sticky-form input,
#quick-name,
#quick-phone,
#quick-product {
  background: #FFFFFF !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  caret-color: #0064D2 !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 10px 14px !important;
  outline: none !important;
  opacity: 1 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sticky-consult-bar.desktop-only .form-input-group input::placeholder,
.sticky-form input::placeholder,
#quick-name::placeholder,
#quick-phone::placeholder,
#quick-product::placeholder {
  color: #64748B !important;
  -webkit-text-fill-color: #64748B !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* 입력 중 (Focus) 상태: 산뜻한 로얄블루 테두리 & 밝은 흰색 바탕 & 선명한 짙은 네이비 글씨 */
.sticky-consult-bar.desktop-only .form-input-group input:focus,
.sticky-form input:focus,
#quick-name:focus,
#quick-phone:focus,
#quick-product:focus {
  background: #FFFFFF !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  caret-color: #0064D2 !important;
  border-color: #0064D2 !important;
  box-shadow: 0 0 0 3.5px rgba(0, 100, 210, 0.28), 0 2px 8px rgba(0, 100, 210, 0.15) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}


/* ==========================================================================
   🌟 GLOBAL NO.1 COWAY FLAGSHIP & ULTRA-HIGH CONVERSION DESIGN SYSTEM
   ========================================================================== */

/* 1. TOP LIVE BAR - FLASH COUNTDOWN */
.live-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  letter-spacing: -0.3px;
  margin-left: 4px;
}
.live-fire-icon {
  font-size: 13px;
  animation: fireFlicker 1.8s ease-in-out infinite alternate;
}
@keyframes fireFlicker {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px #ef4444); }
  100% { transform: scale(1.2); filter: drop-shadow(0 0 6px #f97316); }
}
.live-countdown-label {
  color: #fed7aa;
  font-weight: 600;
  font-size: 11.5px;
}
.live-countdown-digits {
  font-family: 'Outfit', 'Montserrat', -apple-system, sans-serif;
  color: #fef08a;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 13px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* 2. VIP 4-ITEM TRUST & VALUE GUARANTEES RIBBON */
.coway-trust-ribbon-section {
  padding: 24px 0 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  z-index: 10;
}
.trust-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-ribbon-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.trust-ribbon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.trust-ribbon-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.12);
}
.trust-ribbon-card:hover::before {
  opacity: 1;
}
.trust-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(2, 132, 199, 0.15);
  font-size: 22px;
  transition: transform 0.3s ease;
}
.trust-ribbon-card:hover .trust-card-icon-wrap {
  transform: scale(1.1) rotate(4deg);
}
.trust-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trust-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: -0.3px;
}
.trust-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trust-card-desc {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. SIGNATURE BEST 4 - DAILY MICRO-PRICE & SOCIAL PROOF */
.sig-social-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11.5px;
  line-height: 1;
}
.sig-social-proof .star-rating {
  color: #eab308;
  font-weight: 700;
  font-size: 11px;
}
.sig-social-proof .star-rating strong {
  color: #0f172a;
  font-weight: 800;
  margin-left: 2px;
}
.sig-social-proof .review-cnt {
  color: #94a3b8;
  font-size: 11px;
  margin-left: 2px;
}
.sig-social-proof .realtime-hot {
  font-size: 10.5px;
  font-weight: 800;
  color: #e11d48;
  background: #fff1f2;
  border: 1px solid rgba(225, 29, 72, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: -0.2px;
}

/* Daily Micro-Price Pill */
.sig-daily-price {
  margin-top: 8px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08);
}
.sig-daily-price .daily-badge {
  font-size: 12.5px;
  font-weight: 900;
  color: #92400e;
  letter-spacing: -0.4px;
}
.sig-daily-price .daily-sub {
  font-size: 11px;
  color: #b45309;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Shimmer Animation on Gift Banners */
.sig-gift-banner.shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  border: 1px solid #bfdbfe !important;
  color: #1e40af !important;
  font-weight: 800 !important;
}
.sig-gift-banner.shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
  transform: rotate(30deg);
  animation: bannerShine 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes bannerShine {
  0% { transform: translateX(-100%) rotate(30deg); }
  25%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Magnetic Pulse on Primary CTA */
.btn-sig-quote.pulse {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35) !important;
  font-weight: 800 !important;
  position: relative;
  overflow: hidden;
  animation: microPulse 2.8s ease-in-out infinite;
}
@keyframes microPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 6px 18px rgba(234, 88, 12, 0.55); }
}

/* 4. REAL-TIME LIVE SOCIAL PROOF TOAST */
.live-proof-toast {
  position: fixed;
  bottom: 85px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 380px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.live-proof-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.proof-toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}
.toast-bell-anim {
  display: inline-block;
  animation: bellSwing 2s ease-in-out infinite;
}
@keyframes bellSwing {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-14deg); }
  50% { transform: rotate(0); }
}
.proof-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.proof-toast-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.proof-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: liveDotPulse 1.5s infinite;
}
@keyframes liveDotPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.proof-tag-text {
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.proof-tag-time {
  color: #94a3b8;
  font-size: 10.5px;
}
.proof-toast-msg {
  font-size: 12.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
  letter-spacing: -0.3px;
}
.proof-toast-msg strong {
  color: #fde047;
  font-weight: 800;
}
.proof-toast-benefit {
  font-size: 11px;
  color: #a5f3fc;
  font-weight: 600;
}
.proof-toast-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.2s ease;
  align-self: flex-start;
}
.proof-toast-close:hover {
  color: #cbd5e1;
}

/* 5. DESKTOP STICKY BAR LIVE ADVISOR BADGE */
.sticky-agent-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 8px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.agent-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: liveDotPulse 1.5s infinite;
}

/* 6. MOBILE FLUID RESPONSIVE POLISH */
@media (max-width: 991px) {
  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .coway-trust-ribbon-section {
    padding: 16px 0 6px;
  }
  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .trust-ribbon-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 10px;
  }
  .trust-card-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 17px;
    border-radius: 9px;
  }
  .trust-card-badge {
    font-size: 9.5px;
  }
  .trust-card-title {
    font-size: 12.5px;
  }
  .trust-card-desc {
    display: none; /* Hide secondary desc on small mobile to keep ultra-compact */
  }

  /* Live countdown in top mobile bar */
  .live-countdown-badge {
    display: none; /* Keep top bar clean on ultra-compact mobile */
  }

  /* Realtime Live Proof Toast on Mobile */
  .live-proof-toast {
    bottom: 68px; /* Positioned directly above mobile consult bar */
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    padding: 10px 12px;
    border-radius: 12px;
  }
  .proof-toast-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
    border-radius: 8px;
  }
  .proof-toast-msg {
    font-size: 11.5px;
  }
  .proof-toast-benefit {
    font-size: 10.5px;
  }

  /* Mobile Bottom Bar: Glow on 1초 간편견적 */
  .m-bar-btn.m-quote-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0080ff 0%, #0059b3 100%) !important;
    box-shadow: 0 0 12px rgba(0, 128, 255, 0.45) !important;
  }
  .m-bar-btn.m-quote-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: rotate(30deg);
    animation: bannerShine 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
}


/* --- SOCIAL PROOF & MOBILE CARD ULTRA REFINEMENT --- */
.sig-social-proof {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
.sig-social-proof .star-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  letter-spacing: -0.2px !important;
}
.sig-social-proof .star-icon {
  color: #f59e0b !important;
  font-size: 13px !important;
  line-height: 1 !important;
}
.sig-social-proof .review-cnt {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 10.5px !important;
}
.sig-social-proof .realtime-hot {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #e11d48 !important;
  background: #fff1f2 !important;
  border: 1px solid rgba(225, 29, 72, 0.2) !important;
  padding: 1.5px 5px !important;
  border-radius: 4px !important;
  letter-spacing: -0.2px !important;
}

@media (max-width: 640px) {
  .sig-social-proof {
    font-size: 10.5px !important;
  }
  .sig-social-proof .star-rating {
    font-size: 10.5px !important;
    gap: 2px !important;
  }
  .sig-social-proof .star-icon {
    font-size: 11.5px !important;
  }
  .sig-social-proof .review-cnt {
    display: none !important; /* Hide count on small mobile so it never wraps */
  }
  .sig-social-proof .realtime-hot {
    font-size: 9.5px !important;
    padding: 1px 4px !important;
  }
  .sig-daily-price {
    padding: 3.5px 6px !important;
    justify-content: center !important;
  }
  .sig-daily-price .daily-badge {
    font-size: 11px !important;
  }
  .sig-daily-price .daily-sub {
    display: none !important; /* Hide subtext on 390px mobile for maximum punch */
  }
  .sig-gift-banner {
    font-size: 10.5px !important;
    padding: 5px 4px !important;
  }
}


/* ==========================================================================
   💰 PERFECT SINGLE-LINE PRICING RULES (DESKTOP & MOBILE NO-WRAP FIX)
   ========================================================================== */

/* 1. All Product Card Daily Price Badge (Desktop: 1,000원 이상도 완벽한 1줄) */
.prod-card-daily-badge {
  margin-top: 7px !important;
  padding: 5px 8px !important;
  background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%) !important;
  border: 1px solid rgba(234, 179, 8, 0.45) !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #92400e !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08) !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.prod-card-daily-badge .daily-badge-text {
  white-space: nowrap !important;
  word-break: keep-all !important;
  letter-spacing: -0.3px !important;
}
.prod-card-daily-badge strong {
  font-weight: 900 !important;
  color: #78350f !important;
  font-size: 13px !important;
  letter-spacing: -0.2px !important;
}

/* 2. Product Price Row & Final Discount Row (Desktop & Mobile 절대 2줄 분리 방지) */
.prod-price-row.final-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 6px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  margin-top: 5px !important;
  padding-top: 5px !important;
  border-top: 1px dashed rgba(2, 132, 199, 0.25) !important;
}

.price-label-final {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  letter-spacing: -0.4px !important;
  flex-shrink: 0 !important;
}

.prod-disc-price {
  font-family: 'Outfit', 'Montserrat', -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0064d2 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  letter-spacing: -0.4px !important;
  flex-shrink: 0 !important;
  text-align: right !important;
}
.prod-disc-price strong {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #0064d2 !important;
  letter-spacing: -0.5px !important;
}

/* Signature Ranking Section Prices (TOP 4 베스트 카드 단가표) */
.sig-discount-price {
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
}
.sig-discount-price .disc-label {
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0 !important;
}
.sig-discount-price .disc-val {
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0 !important;
}

/* 3. 모바일 초소형 뷰포트 (< 640px) 최적화: 시 자와 월 자 분리 100% 원천 차단 */
@media (max-width: 640px) {
  .prod-price-box {
    padding: 8px 9px !important;
  }
  .prod-price-row {
    margin-bottom: 3px !important;
    white-space: nowrap !important;
  }
  .prod-price-row .price-label {
    font-size: 10px !important;
    white-space: nowrap !important;
    letter-spacing: -0.4px !important;
  }
  .prod-price-row .prod-list-price {
    font-size: 11px !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px !important;
  }
  .prod-price-row.final-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 2px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
  .price-label-final {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    color: #0284c7 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    letter-spacing: -0.6px !important; /* '시' 자가 절대 떨어지지 않도록 글자간격 최적화 */
    flex-shrink: 0 !important;
  }
  .prod-disc-price {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #0064d2 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    letter-spacing: -0.6px !important; /* '월' 자가 절대 분리되지 않도록 글자간격 최적화 */
    flex-shrink: 0 !important;
  }
  .prod-disc-price strong {
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
  }
  .prod-card-daily-badge {
    padding: 4px 6px !important;
    font-size: 10.5px !important;
    margin-top: 5px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
  .prod-card-daily-badge strong {
    font-size: 11.5px !important;
  }

  /* Signature Best Cards on Mobile */
  .sig-discount-price .disc-label {
    font-size: 10.5px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    letter-spacing: -0.6px !important;
  }
  .sig-discount-price .disc-val {
    font-size: 11.5px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    letter-spacing: -0.6px !important;
  }
  .sig-discount-price .disc-val strong {
    font-size: 15px !important;
  }
}
