/* ==========================================================================
   WZ-FASHION-002 — 새하결 스튜디오 ( 주식회사 새하결어패럴 )
   Reference: https://the7.io/blank-side-menu/
   ========================================================================== */

:root {
  --font-sans: 'Inter', 'SUIT Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ink-strong: #071c39;
  --ink-black: #000000;
  --ink-body: rgba(7, 28, 57, 0.76);
  --ink-muted: rgba(7, 28, 57, 0.48);
  --ink-faint: rgba(7, 28, 57, 0.28);
  --bg-surface: #ffffff;
  --bg-subtle: #f3f4f6;
  --bg-card: #f1f2f4;
  --bg-input: #f8f9fa;
  --brand-blue: #2069e5;
  --brand-blue-hover: #1854bd;
  --tint-blue: #e8eefb;
  --badge-teal: #0bb4aa;
  --line-soft: rgba(4, 25, 55, 0.11);
  --line-input: rgba(4, 25, 55, 0.14);
  --side-width: 280px;
  --side-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  --radius-sm: 3px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-body);
  background-color: var(--bg-surface);
  overflow-x: hidden;
  word-break: keep-all;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Skip Link */
.skip-nav {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}
.skip-nav:focus {
  top: 12px;
}

/* ==========================================================================
   1. Member Bar (TPL-001 4-1절 — 시안 A/B)
   ========================================================================== */
.member-bar {
  width: 100%;
  min-height: 36px;
  background-color: #f8f9fb;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-body);
  padding-left: var(--side-width);
  position: relative;
  z-index: 850;
}

.member-bar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 6px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-bar__info {
  color: var(--ink-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.member-links a {
  color: var(--ink-strong);
  font-weight: 500;
  font-size: 12.5px;
}

.member-links a:hover {
  color: var(--brand-blue);
}

.member-links__divider {
  width: 1px;
  height: 11px;
  background: var(--line-soft);
}

html.no-member-bar .member-bar {
  display: none !important;
}

body.is-home-v3 .member-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(7, 28, 57, 0.42);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
}
body.is-home-v3 .member-bar__info,
body.is-home-v3 .member-links a {
  color: rgba(255, 255, 255, 0.9);
}
body.is-home-v3 .member-links__divider {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   2. Fixed Left Side Menu (Desktop > 1100px) & Mobile Header (<= 1100px)
   ========================================================================== */
.shg-side-header {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--side-width);
  height: 100dvh;
  background-color: var(--bg-surface);
  box-shadow: var(--side-shadow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  z-index: 900;
  overflow-y: auto;
  scrollbar-width: thin;
}

.shg-side-header__top {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.shg-brand-logo {
  display: inline-flex;
  align-items: center;
  width: 126px;
}

.shg-brand-logo img {
  width: 126px;
  height: auto;
}

/* Navigation Tree */
.shg-side-nav {
  width: 100%;
}

.shg-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shg-menu__item {
  display: flex;
  flex-direction: column;
}

.shg-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.shg-menu__link {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-strong);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shg-menu__link:hover,
.shg-menu__link.is-active {
  color: var(--brand-blue);
}

.shg-menu__toggle {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.shg-menu__toggle svg {
  width: 11px;
  height: 11px;
}

.shg-menu__item.is-open > .shg-menu__row .shg-menu__toggle {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.shg-submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 13px 0 2px 15px;
}

.shg-menu__item.is-open > .shg-submenu {
  display: flex;
}

.shg-submenu__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-strong);
  line-height: 1.4;
}

.shg-submenu__link:hover,
.shg-submenu__link.is-active {
  color: var(--brand-blue);
}

.shg-submenu--level3 {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 2px 14px;
}

.shg-submenu__item.is-open > .shg-submenu--level3 {
  display: flex;
}

/* Bottom Icons in Sidebar */
.shg-side-header__bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
}

.shg-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--ink-strong);
}

.shg-icon-btn:hover {
  color: var(--brand-blue);
}

.shg-icon-btn svg {
  width: 20px;
  height: 20px;
}

.shg-cart-count {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background-color: var(--badge-teal);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.shg-cart-count[data-count="0"] {
  display: none;
}

/* Home v.3 Translucent Sidebar Variant */
body.is-home-v3 .shg-side-header {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0) 100%);
  box-shadow: none;
}
body.is-home-v3 .shg-menu__link,
body.is-home-v3 .shg-submenu__link,
body.is-home-v3 .shg-icon-btn {
  color: #ffffff;
}
body.is-home-v3 .shg-menu__link.is-active,
body.is-home-v3 .shg-submenu__link.is-active,
body.is-home-v3 .shg-menu__toggle {
  color: rgba(255, 255, 255, 0.62);
}

/* Mobile Header (<= 1100px) */
.shg-mobile-header {
  display: none;
  width: 100%;
  height: 60px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--line-soft);
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 880;
}

.shg-mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Offcanvas Drawer */
.shg-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 28, 57, 0.45);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.shg-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.shg-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  max-width: 86vw;
  height: 100dvh;
  background: var(--bg-surface);
  z-index: 960;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.shg-drawer.is-open {
  transform: translateX(0);
}

.shg-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shg-drawer__close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-strong);
}

/* ==========================================================================
   3. Page Shell, Containers & Page Title Bar
   ========================================================================== */
.shg-page-shell {
  padding-left: var(--side-width);
  min-height: calc(100dvh - 420px);
}

body.is-home-v3 .shg-page-shell,
body.is-maintenance .shg-page-shell {
  padding-left: 0;
  min-height: 100dvh;
}

.shg-container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

.shg-container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

.shg-section {
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line-soft);
}

.shg-section--no-border {
  border-bottom: none;
}

.shg-page-title-bar {
  background-color: var(--bg-subtle);
  min-height: 100px;
  display: flex;
  align-items: center;
}

.shg-page-title-bar .shg-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.shg-page-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-black);
  line-height: 1.25;
}

.shg-breadcrumb {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.shg-breadcrumb a:hover {
  color: var(--brand-blue);
}

/* ==========================================================================
   4. Typography & Buttons
   ========================================================================== */
.shg-h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink-black);
  letter-spacing: -0.02em;
}

.shg-h3 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-black);
  letter-spacing: -0.015em;
}

.shg-h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-black);
}

.shg-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-body);
}

.shg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-blue);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shg-btn:hover {
  background-color: var(--brand-blue-hover);
  color: #ffffff;
}

.shg-btn--sm {
  font-size: 12.5px;
  padding: 6px 15px;
}

.shg-btn--lg {
  font-size: 15px;
  padding: 13px 28px;
}

.shg-btn--soft {
  background-color: var(--tint-blue);
  color: var(--brand-blue);
}

.shg-btn--soft:hover {
  background-color: #d8e4fb;
  color: var(--brand-blue-hover);
}

.shg-btn--outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  padding: 10px 22px;
}

.shg-btn--outline-light:hover {
  background-color: #ffffff;
  color: var(--ink-black);
  border-color: #ffffff;
}

/* ==========================================================================
   5. Home v.1 — Hero Slider, Welcome, Services, Blog Carousel, Shop Carousel
   ========================================================================== */
.shg-hero-slider {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: #888a8d;
}

.shg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  display: flex;
  padding: 72px 80px;
}

.shg-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.shg-hero-slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.shg-hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 34, 0.16);
  z-index: 2;
}

.shg-hero-slide__content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shg-hero-slide--center {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.shg-hero-slide--center .shg-hero-slide__actions {
  justify-content: center;
}

.shg-hero-slide--bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
}

.shg-hero-slide--middle-left {
  align-items: center;
  justify-content: flex-start;
}

.shg-hero-slide--middle-right {
  align-items: center;
  justify-content: flex-end;
}

.shg-hero-slide__title {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.shg-hero-slide__desc {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.shg-hero-slide__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.shg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, transform 0.2s ease;
}
.shg-slider-arrow:hover {
  color: #ffffff;
}
.shg-slider-arrow--prev { left: 18px; }
.shg-slider-arrow--next { right: 18px; }

.shg-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shg-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shg-slider-dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Split Intro & Collage */
.shg-split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.shg-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.shg-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-strong);
  font-weight: 500;
  font-size: 15.5px;
}

.shg-check-icon {
  color: var(--badge-teal);
  flex-shrink: 0;
  display: inline-flex;
}

.shg-collage-3 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.shg-collage-3__stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shg-collage-3--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

/* 2-Col Section Header + 3-Col Feature Cards */
.shg-sec-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.shg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.shg-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--tint-blue);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.shg-icon-circle svg {
  width: 30px;
  height: 30px;
}

.shg-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shg-service-card .shg-h3 {
  margin-bottom: 14px;
}

.shg-service-card p {
  margin-bottom: 22px;
  font-size: 15.5px;
}

/* Section Title Row with Carousel Arrows */
.shg-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.shg-carousel-header__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink-black);
}

.shg-carousel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shg-carousel-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
}

.shg-carousel-btn:hover {
  color: var(--ink-black);
  background: var(--bg-subtle);
}

.shg-carousel-track-wrap {
  overflow: hidden;
  width: 100%;
}

.shg-carousel-track {
  display: flex;
  gap: 32px;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Blog / Journal Cards */
.shg-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shg-carousel-track--3 > .shg-post-card {
  flex: 0 0 calc((100% - 64px) / 3);
}

.shg-post-card__thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 3 / 2;
  margin-bottom: 16px;
}

.shg-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shg-post-card:hover .shg-post-card__thumb img {
  transform: scale(1.04);
}

.shg-post-card__date {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.shg-post-card__title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-black);
  margin-bottom: 14px;
}

.shg-post-card__title a:hover {
  color: var(--brand-blue);
}

.shg-post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shg-tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background-color: var(--tint-blue);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.shg-tag-badge:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
}

/* Product Cards (5-Column Grid / Carousel) */
.shg-product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.shg-carousel-track--5 > .shg-product-card {
  flex: 0 0 calc((100% - 112px) / 5);
}

.shg-product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.shg-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--bg-card);
  margin-bottom: 14px;
  overflow: hidden;
  display: block;
}

.shg-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shg-product-card:hover .shg-product-card__media img {
  transform: scale(1.03);
}

.shg-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--badge-teal);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.shg-stock-label {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  z-index: 2;
}

.shg-product-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 5px;
  line-height: 1.35;
}

.shg-product-card__title a:hover {
  color: var(--brand-blue);
}

.shg-product-card__price {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-strong);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shg-product-card__price .is-sale {
  color: var(--brand-blue);
  font-weight: 600;
}

.shg-product-card__price del {
  color: var(--ink-faint);
  font-weight: 400;
}

.shg-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.shg-swatch {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(4, 25, 55, 0.22);
  padding: 0;
  position: relative;
}

.shg-swatch.is-active::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -5px;
  height: 1.5px;
  background-color: var(--ink-black);
}

.shg-swatches--lg .shg-swatch {
  width: 28px;
  height: 28px;
}

.shg-swatches--lg .shg-swatch.is-active {
  box-shadow: inset 0 0 0 2px #ffffff;
  border-color: var(--ink-black);
}

.shg-swatches--lg .shg-swatch.is-active::after {
  display: none;
}

.shg-swatch.is-disabled {
  background: linear-gradient(to top left, transparent 46%, rgba(4, 25, 55, 0.28) 49%, rgba(4, 25, 55, 0.28) 51%, transparent 54%), #ffffff !important;
  cursor: not-allowed;
}

.shg-swatch--stone { background: #9ea1a4; }
.shg-swatch--sand { background: #c5b6a2; }
.shg-swatch--space { background: #2c2f33; }
.shg-swatch--sky { background: #647c99; }
.shg-swatch--white { background: #ffffff; }
.shg-swatch--gradient { background: linear-gradient(135deg, #2069e5 0%, #0bb4aa 100%); }

.shg-sizes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-strong);
}

.shg-size-opt {
  padding: 1px 2px;
  border-bottom: 1.5px solid transparent;
}

.shg-size-opt.is-active {
  border-bottom-color: var(--ink-black);
  font-weight: 700;
}

.shg-size-opt.is-disabled {
  color: var(--ink-faint);
  text-decoration: line-through;
}

/* ==========================================================================
   6. Home v.2 & Home v.3 & About Specific Layouts
   ========================================================================== */
.shg-home2-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 80px;
  color: #ffffff;
  overflow: hidden;
}

.shg-home2-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.shg-home2-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.shg-home2-hero__title {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 18px;
}

.shg-home2-hero__sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.shg-home2-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shg-home2-service-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 24px;
}

.shg-icon-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.shg-icon-feature-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.shg-icon-feature-row .shg-icon-circle {
  margin-bottom: 0;
}

.shg-callback-banner {
  position: relative;
  padding: 96px 0;
  color: #ffffff;
  overflow: hidden;
}

.shg-callback-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.shg-callback-banner .shg-container {
  position: relative;
  z-index: 2;
}

.shg-inline-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shg-inline-form input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink-strong);
  font-size: 14.5px;
}

/* Home v.3 Fullscreen Showcase */
.shg-home3-fullscreen {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #6c6f73;
}

.shg-home3-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 96px 110px;
}

.shg-home3-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.shg-home3-slide__content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  color: #ffffff;
}

.shg-home3-slide__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 18px;
}

.shg-home3-slide__desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

.shg-home3-controls {
  position: absolute;
  right: 48px;
  bottom: 42px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
}

.shg-home3-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shg-home3-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shg-home3-arrow {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* About 6-Capability Media Grid */
.shg-cap-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
}

.shg-cap-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}

.shg-cap-item__img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  background: var(--bg-card);
}

.shg-cap-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 10px;
}

.shg-cap-item p {
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   7. Shop Archive, Filter Toolbar, Product Single, Cart, Checkout, Login
   ========================================================================== */
.shg-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.shg-shop-toolbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shg-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-black);
}

.shg-result-count {
  font-size: 14px;
  color: var(--ink-muted);
}

.shg-sort-select {
  border: none;
  border-bottom: 1px solid var(--line-input);
  padding: 6px 24px 6px 4px;
  font-size: 14px;
  color: var(--ink-body);
  background: transparent;
}

.shg-filter-drawer {
  display: none;
  background: var(--bg-subtle);
  padding: 28px 32px;
  border-radius: var(--radius-sm);
  margin-bottom: 36px;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.shg-filter-drawer.is-open {
  display: grid;
}

.shg-filter-group h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 12px;
}

.shg-filter-group ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
}

.shg-filter-group a:hover,
.shg-filter-group a.is-active {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Product Single */
.shg-product-single {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.shg-product-gallery {
  position: relative;
  background: var(--bg-card);
  padding: 28px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  align-items: start;
}

.shg-product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shg-product-thumb {
  width: 82px;
  height: 102px;
  border: 1px solid transparent;
  background: #ffffff;
  padding: 4px;
  overflow: hidden;
}

.shg-product-thumb.is-active {
  border-color: var(--ink-black);
}

.shg-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shg-product-main-view {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shg-product-main-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shg-product-summary__title {
  font-size: 30px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 12px;
}

.shg-product-summary__price {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 28px;
}

.shg-product-option-label {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.shg-swatches--lg .shg-swatch {
  width: 28px;
  height: 28px;
}

.shg-purchase-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  margin-bottom: 34px;
}

.shg-qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-input);
  height: 48px;
  background: #ffffff;
}

.shg-qty-btn {
  width: 38px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-body);
}

.shg-qty-input {
  width: 44px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-black);
}

.shg-purchase-row .shg-btn {
  flex: 1;
  height: 48px;
  font-size: 15px;
}

.shg-bullet-specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 18px;
}

.shg-bullet-specs li {
  list-style: disc;
  font-size: 15.5px;
  color: var(--ink-body);
}

/* Cart & Checkout */
.shg-cart-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.shg-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.shg-cart-table th {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft);
}

.shg-cart-table td {
  padding: 24px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  font-size: 15.5px;
  color: var(--ink-strong);
}

.shg-cart-item-cell {
  display: flex;
  align-items: center;
  gap: 18px;
}

.shg-cart-remove {
  color: var(--ink-muted);
  font-size: 18px;
}

.shg-cart-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background: var(--bg-card);
}

.shg-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.shg-coupon-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shg-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background-color: var(--bg-input);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--ink-strong);
}

textarea.shg-input {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.shg-totals-card {
  background-color: var(--bg-subtle);
  padding: 34px;
  border-radius: var(--radius-sm);
}

.shg-totals-card h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 22px;
}

.shg-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.shg-totals-row--grand {
  border-bottom: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-black);
  padding-top: 18px;
  margin-bottom: 20px;
}

/* Auth Card (Login / Account) */
.shg-auth-card {
  max-width: 480px;
  border: 1px solid var(--line-soft);
  padding: 44px;
  background: #ffffff;
}

.shg-auth-card h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 26px;
}

.shg-form-group {
  margin-bottom: 20px;
}

.shg-form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-black);
  margin-bottom: 7px;
}

.shg-form-label .req {
  color: var(--brand-blue);
}

/* ==========================================================================
   8. Blog Archive, Filter Tabs, Pagination & Single Article
   ========================================================================== */
.shg-blog-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.shg-blog-tab {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-strong);
}

.shg-blog-tab:hover,
.shg-blog-tab.is-active {
  color: var(--brand-blue);
}

.shg-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 52px;
}

.shg-page-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--ink-strong);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shg-page-num.is-active,
.shg-page-num:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

/* Single Post Hero & Article Body */
.shg-post-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 40px;
  color: #ffffff;
  overflow: hidden;
}

.shg-post-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.shg-post-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.shg-post-hero__badge {
  display: inline-block;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.shg-post-hero__title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.shg-post-hero__meta {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.shg-article-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.shg-article-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink-black);
  margin-top: 16px;
}

.shg-article-body h5 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-black);
}

.shg-numbered-quote {
  border-left: 3px solid var(--badge-teal);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 12px 0;
}

.shg-inline-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 12px 0;
}

/* ==========================================================================
   9. Contact, Legal Pages, 404 & Maintenance
   ========================================================================== */
.shg-contact-info-block {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.shg-contact-phone-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.shg-contact-phone-row .shg-icon-circle {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.shg-contact-phone-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-blue);
}

.shg-legal-prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.shg-legal-prose h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-black);
  margin-top: 18px;
}

.shg-legal-prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-black);
  margin-top: 8px;
}

.shg-legal-prose ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shg-legal-prose li {
  list-style: disc;
}

.shg-center-viewport {
  min-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.shg-center-viewport__icon {
  color: var(--brand-blue);
  margin-bottom: 24px;
}

.shg-center-viewport__title {
  font-size: 44px;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 12px;
}

.shg-center-viewport__sub {
  font-size: 19px;
  color: var(--ink-strong);
  margin-bottom: 30px;
}

/* ==========================================================================
   10. Footer & Popups (Search Modal & Mini Cart Drawer)
   ========================================================================== */
.shg-footer {
  background-color: var(--bg-subtle);
  padding-left: var(--side-width);
  position: relative;
}

.shg-footer__placeholder {
  position: absolute;
  left: 36px;
  top: 48px;
  width: 200px;
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.5;
  pointer-events: none;
}

.shg-footer__main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 60px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.9fr 1fr;
  gap: 40px;
  align-items: start;
}

.shg-footer__support-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.shg-footer__phone {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 14px;
  display: block;
}

.shg-footer__meta {
  font-size: 13.5px;
  color: var(--ink-strong);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.shg-footer__sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shg-footer__sns a {
  color: var(--ink-black);
  display: inline-flex;
}

.shg-footer__sns a:hover {
  color: var(--brand-blue);
}

.shg-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-strong);
}

.shg-footer__nav a:hover,
.shg-footer__nav a.is-active {
  color: var(--brand-blue);
}

.shg-footer__bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 60px 36px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Search Modal & Mini Cart Drawer */
.shg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 28, 57, 0.58);
  z-index: 980;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shg-modal-overlay.is-open {
  display: flex;
}

.shg-search-modal {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  padding: 40px;
  border-radius: var(--radius-sm);
  position: relative;
}

.shg-minicart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100dvh;
  background: #ffffff;
  z-index: 990;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 36px rgba(0, 0, 0, 0.14);
}

.shg-minicart-drawer.is-open {
  transform: translateX(0);
}

/* ==========================================================================
   11. Responsive Breakpoints (Tablet <= 1100px & Mobile <= 767px)
   ========================================================================== */
@media (max-width: 1100px) {
  .shg-side-header,
  .shg-footer__placeholder {
    display: none !important;
  }

  .shg-mobile-header {
    display: flex;
  }

  .member-bar,
  .shg-page-shell,
  .shg-footer {
    padding-left: 0;
  }

  .member-bar__inner,
  .shg-container,
  .shg-container--narrow,
  .shg-footer__main,
  .shg-footer__bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .shg-product-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .shg-carousel-track--5 > .shg-product-card {
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .shg-carousel-track--3 > .shg-post-card {
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .shg-filter-drawer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .member-bar__info {
    display: none;
  }

  .shg-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .shg-hero-slider {
    height: 480px;
  }

  .shg-hero-slide {
    padding: 36px 24px;
  }

  .shg-home2-hero {
    min-height: 440px;
    padding: 40px 24px;
  }

  .shg-home3-slide {
    padding: 64px 24px 96px;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .shg-home3-controls {
    right: 24px;
    bottom: 24px;
  }

  .shg-carousel-track--3 > .shg-post-card {
    flex: 0 0 100%;
  }

  .shg-filter-drawer {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .shg-cap-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shg-cap-item__img {
    width: 100%;
    height: 200px;
  }

  .shg-auth-card {
    padding: 28px 20px;
  }

  .shg-cart-table th:nth-child(2),
  .shg-cart-table td:nth-child(2) {
    display: none;
  }

  .shg-hero-slide__title,
  .shg-home2-hero__title,
  .shg-home3-slide__title,
  .shg-post-hero__title {
    font-size: 30px;
  }

  .shg-h2 {
    font-size: 26px;
  }

  .shg-split-2,
  .shg-sec-head-split,
  .shg-grid-3,
  .shg-cap-grid-6,
  .shg-product-single,
  .shg-cart-layout,
  .shg-inline-pair {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .shg-product-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .shg-product-gallery {
    grid-template-columns: 1fr;
  }

  .shg-product-thumbs {
    flex-direction: row;
    order: 2;
  }

  .shg-footer__main {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 28px;
  }

  .shg-footer__sns {
    justify-content: center;
  }

  .shg-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
