@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --primary: #111827; /* Sophisticated Dark */
  --primary-hover: #1F2937;
  --secondary: #3B82F6; /* Premium Blue Accent */
  --site-header-total-height: 146px;
  --main-hero-panel-height: 560px;
  --bg-main: #F4F6F8;
  --bg-card: #FFFFFF;
  --bg-lighter: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --neon-glow: 0 0 20px rgba(59, 130, 246, 0.3);
  --drawer-column-width: 300px;
  --drawer-column-top: 96px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 120;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.site-header .header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 36px;
}

.site-header.has-member-card .header-main,
.site-header.has-member-card .header-category-bar .container {
  padding-right: 238px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-all-categories {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-all-categories.icon-only {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.btn-all-categories i {
  font-size: 18px;
}

.btn-all-categories:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.logo {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
}

.site-brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.site-brand-logo.has-image {
  background: none;
  -webkit-text-fill-color: initial;
}

.site-brand-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 56px;
  object-fit: contain;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  padding: 6px 6px 6px 20px;
  width: 580px;
  border: 2px solid var(--primary);
  transition: all 0.3s;
  flex: 1;
  max-width: 580px;
}

.search-bar:focus-within {
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1);
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 100%;
  outline: none;
  font-size: 15px;
  font-weight: 500;
}

.search-bar input::placeholder {
  color: #94A3B8;
}

.search-bar i {
  background: var(--primary);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.search-bar i:hover {
  background: var(--primary-hover);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  transition: color 0.3s;
  position: relative;
}

.nav-links li a:hover {
  color: var(--primary);
}

.nav-links li a.highlight {
  color: var(--secondary);
}

.nav-board-dropdown details {
  position: relative;
}

.nav-board-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-main);
  list-style: none;
  transition: color 0.3s;
}

.nav-board-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-board-dropdown summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.nav-board-dropdown.is-current summary,
.nav-board-dropdown details[open] summary,
.nav-board-dropdown summary:hover {
  color: var(--primary);
}

.nav-board-dropdown details[open] summary::after {
  transform: rotate(135deg);
  margin-top: 3px;
}

.nav-board-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  min-width: 300px;
  padding: 22px 24px 20px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 12;
}

.nav-board-dropdown details[open] .nav-board-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-board-panel-title {
  margin-bottom: 14px;
  color: var(--text-main);
  font-size: 30px;
  font-weight: 800;
}

.nav-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px 22px;
}

.nav-board-grid a {
  display: block;
  padding: 4px 0;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-board-grid a:hover,
.nav-board-grid a.is-active {
  color: var(--secondary);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-icon {
  background: transparent;
  border: 1px solid transparent;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-main);
  font-size: 18px;
}

.btn-icon:hover {
  background: var(--bg-lighter);
  color: var(--primary);
}

.member-account-card {
  position: absolute;
  top: 9px;
  right: max(28px, calc((100vw - 1520px) / 2 + 28px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  width: 192px;
  height: calc(var(--site-header-total-height) - 18px);
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.member-account-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.member-account-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.member-account-person {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-main);
}

.member-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.member-account-name {
  min-width: 0;
}

.member-account-name strong {
  display: block;
  max-width: 48px;
  overflow: hidden;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-account-logout {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.member-account-logout:hover {
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.member-account-mypage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.member-account-mypage strong {
  display: block;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.member-account-mypage small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.member-account-mypage i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.member-account-mypage:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.desktop-mobile-switch {
  position: fixed;
  right: 22px;
  top: 220px;
  z-index: 125;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.desktop-mobile-switch:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.desktop-mobile-switch__icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.desktop-mobile-switch__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.header-category-bar {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.85);
}

.header-category-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
}

.header-categories {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.header-categories::-webkit-scrollbar {
  display: none;
}

.header-categories a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.header-categories a:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.header-categories a.featured {
  background: rgba(59, 130, 246, 0.08);
  color: var(--secondary);
}

.header-auth-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-auth-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.header-auth-links a:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.header-auth-links .signup {
  background: var(--primary);
  color: #fff;
}

.header-auth-links .signup:hover {
  background: var(--primary-hover);
  color: #fff;
}

.category-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 130;
}

.category-drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.category-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(var(--drawer-column-width), 88vw);
  height: 100vh;
  background: #fff;
  box-shadow: 12px 0 28px rgba(15, 23, 42, 0.14);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 140;
  padding: 0;
  overflow: visible;
}

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

.category-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 18px 0 24px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.category-drawer-head strong {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
}

.category-drawer-close {
  width: 46px;
  height: 46px;
  border-radius: 0;
  border: 0;
  background: #fff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 23px;
}

.category-drawer-close:hover {
  color: #f53345;
}

.drawer-category-list {
  padding: 34px 0 36px;
  max-height: calc(100vh - 96px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #9ca3af transparent;
  scrollbar-width: thin;
}

.drawer-category-list::-webkit-scrollbar {
  width: 7px;
}

.drawer-category-list::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-category-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9ca3af;
}

.drawer-category-section-title {
  padding: 0 32px 24px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.drawer-category-empty {
  padding: 18px 14px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.drawer-category-item {
  position: relative;
}

.drawer-category-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 31px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.drawer-category-link i {
  width: 22px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.drawer-category-arrow {
  margin-left: auto;
  font-size: 10px;
}

.drawer-category-link:hover {
  background: #f6f7f9;
  color: #f53345;
}

.drawer-category-link:hover i {
  color: #f53345;
}

.drawer-category-link.is-active,
.drawer-category-link.is-active i {
  color: #fff;
}

.drawer-category-link.is-active {
  background: #f53345;
  color: #fff;
}

.drawer-subcategory-panel {
  position: absolute;
  top: var(--drawer-column-top);
  left: 100%;
  display: none;
  width: min(var(--drawer-column-width), calc(100vw - var(--drawer-column-width)));
  height: calc(100vh - var(--drawer-column-top));
  padding: 0;
  overflow: visible;
  z-index: 145;
  border-left: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  box-shadow: 12px 0 28px rgba(15, 23, 42, 0.08);
}

.drawer-subcategory-panel.is-active {
  display: block;
}

.drawer-panel-title {
  padding: 0 32px 24px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.drawer-subcategory-scroll,
.drawer-flyout-scroll {
  height: 100%;
  padding: 34px 0 36px;
  overflow: visible;
}

.drawer-flyout-row {
  display: grid;
  gap: 0;
}

.drawer-flyout-node {
  position: relative;
  display: block;
  width: 100%;
}

.drawer-flyout-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  max-width: none;
  width: 100%;
  padding: 0 31px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.drawer-flyout-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-flyout-link i {
  color: var(--text-muted);
  font-size: 10px;
}

.drawer-flyout-link:hover,
.drawer-flyout-node.has-children:hover > .drawer-flyout-link,
.drawer-flyout-node.has-children:focus-within > .drawer-flyout-link {
  border-color: transparent;
  background: transparent;
  color: #f53345;
}

.drawer-flyout-panel {
  position: absolute;
  top: var(--drawer-flyout-panel-top, 0px);
  left: 100%;
  display: none;
  width: min(var(--drawer-column-width), calc(100vw - (var(--drawer-column-width) * 2)));
  height: calc(100vh - var(--drawer-column-top));
  padding: 0;
  overflow: visible;
  border-left: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  box-shadow: 12px 0 28px rgba(15, 23, 42, 0.08);
  z-index: 150;
}

.drawer-flyout-node.has-children:hover > .drawer-flyout-panel,
.drawer-flyout-node.has-children:focus-within > .drawer-flyout-panel {
  display: block;
}

body.drawer-open {
  overflow: hidden;
}

/* Main Content */
main {
  padding-top: 170px;
  padding-bottom: 80px;
}

/* Sections */
section {
  margin-bottom: 80px;
}

/* Main Hero Mega Menu Layout */
.main-hero-layout {
  display: flex;
  gap: 38px;
  position: relative;
  margin-bottom: 92px;
}

.mega-sidebar {
  width: 280px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 50;
  padding: 15px 0;
  flex-shrink: 0;
}

.mega-sidebar-title {
  padding: 0 20px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mega-menu {
  list-style: none;
}

.mega-menu.is-expanded .mega-item.is-extra {
  display: block;
}

.mega-item {
  position: static;
}

.mega-item.is-extra {
  display: none;
}

.mega-empty {
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.mega-link {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}

.mega-link i:first-child {
  width: 24px;
  color: var(--text-muted);
  font-size: 16px;
  text-align: center;
  margin-right: 8px;
  transition: color 0.2s;
}

.mega-link .arrow {
  margin-left: auto;
  font-size: 10px;
  color: #CBD5E1;
  transition: transform 0.2s;
}

.mega-item:hover .mega-link {
  background: var(--bg-lighter);
  color: var(--secondary);
}

.mega-item:hover .mega-link i:first-child {
  color: var(--secondary);
}

.mega-item:hover .mega-link .arrow {
  transform: translateX(3px);
  color: var(--secondary);
}

/* Mega Dropdown Panel */
.mega-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  width: 750px;
  min-height: 100%;
  background: #fff;
  box-shadow: 10px 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-left: 20px;
  opacity: 0;
  visibility: hidden;
  display: flex;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mega-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mega-dropdown-content {
  flex: 1;
  padding: 35px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-content: start;
}

.sub-category-group h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-lighter);
}

.sub-category-group h4 a {
  display: inline;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.sub-category-group a {
  display: block;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.sub-category-group a:hover {
  color: var(--secondary);
  font-weight: 700;
}

.sub-category-group a.is-depth-4 {
  padding-left: 12px;
  color: #94A3B8;
  font-size: 13px;
}

.mega-dropdown-banner {
  width: 250px;
  border-radius: 0 20px 20px 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.mega-dropdown-banner h5 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.mega-dropdown-banner p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.mega-dropdown-banner button {
  background: #fff;
  color: #1D4ED8;
  border: none;
  border-radius: 30px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s;
}

.mega-dropdown-banner button:hover {
  transform: scale(1.05);
}

.mega-dropdown-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 30px;
  background: #fff;
  color: #1D4ED8;
  font-weight: 800;
  transition: transform 0.2s;
}

.mega-dropdown-banner a:hover {
  transform: scale(1.05);
}

.mega-more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  min-height: 42px;
  margin: 12px 20px 2px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-lighter);
  color: var(--secondary);
  cursor: pointer;
  font-weight: 800;
}

.mega-more-button:hover {
  border-color: rgba(37, 99, 235, 0.26);
  background: #eef6ff;
}

/* Main CATEGORY hover menu */
.main-hero-layout {
  align-items: stretch;
}

.main-hero-layout > .main-hero {
  margin-bottom: 0;
}

.mega-sidebar {
  width: 280px;
  min-height: var(--main-hero-panel-height);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #10b981;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.mega-sidebar-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.mega-sidebar-title i {
  width: 22px;
  color: #fff;
  font-size: 19px;
  text-align: center;
}

.mega-menu {
  overflow: visible;
}

.mega-link {
  min-height: 45px;
  padding: 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  word-break: keep-all;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.mega-link i:first-child {
  width: 24px;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.mega-link .arrow {
  color: rgba(255, 255, 255, 0.72);
}

.mega-item:hover .mega-link,
.mega-item:focus-within .mega-link {
  background: #fff;
  color: #10a773;
}

.mega-item:hover .mega-link i:first-child,
.mega-item:focus-within .mega-link i:first-child,
.mega-item:hover .mega-link .arrow,
.mega-item:focus-within .mega-link .arrow {
  color: #10a773;
}

.mega-dropdown {
  top: 0;
  left: 100%;
  width: min(760px, calc(100vw - 360px));
  min-height: var(--main-hero-panel-height);
  margin-left: 0;
  border: 1px solid #10b981;
  border-left: 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 12px 18px 32px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  display: flex;
  transform: translateX(-8px);
  overflow: visible;
  z-index: 80;
}

.mega-item:hover .mega-dropdown,
.mega-item:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mega-dropdown-content {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 4px;
  align-content: start;
  overflow: visible;
}

.mega-sub-item {
  position: relative;
  min-width: 0;
  width: 220px;
  max-width: 100%;
  flex: 0 0 auto;
}

.mega-sub-item.has-children::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 100%;
  width: 14px;
  height: calc(100% + 20px);
  background: transparent;
}

.mega-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  min-width: 86px;
  width: 100%;
  padding: 0 8px;
  border-radius: 4px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  word-break: keep-all;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  transition: background 0.16s ease, color 0.16s ease;
}

.mega-sub-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-sub-link i {
  flex: 0 0 auto;
  color: #10b981;
  font-size: 10px;
}

.mega-sub-item:hover > .mega-sub-link,
.mega-sub-item:focus-within > .mega-sub-link {
  background: rgba(16, 185, 129, 0.12);
  color: #0f9f6e;
}

.mega-nested-panel {
  position: absolute;
  top: -10px;
  left: calc(100% - 1px);
  display: none;
  width: 210px;
  padding: 13px 14px;
  border: 1px solid #10b981;
  border-radius: 4px;
  background: #fff;
  box-shadow: 10px 12px 26px rgba(15, 23, 42, 0.12);
  z-index: 100;
}

.mega-sub-item:hover > .mega-nested-panel,
.mega-sub-item:focus-within > .mega-nested-panel {
  display: block;
}

.mega-nested-panel-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2px;
}

.mega-nested-panel .mega-sub-link {
  min-height: 28px;
  min-width: 76px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.mega-nested-panel .mega-nested-panel {
  top: -14px;
  left: calc(100% - 1px);
}

.mega-dropdown-banner {
  flex: 0 0 250px;
  margin: 16px 16px 16px 0;
  border-radius: 10px;
  padding: 24px;
  background: #eef7ff;
  color: var(--text-main);
  justify-content: flex-start;
}

.mega-dropdown-banner h5 {
  color: var(--primary);
  font-size: 23px;
}

.mega-dropdown-banner p {
  color: var(--text-muted);
  opacity: 1;
}

.mega-dropdown-banner a {
  width: max-content;
  min-width: 112px;
  padding: 0 16px;
  background: #10b981;
  color: #fff;
}

.mega-more-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mega-more-button:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.24);
}

/* Main Hero - Adjusted for mega menu */
.main-hero {
  flex: 1;
  height: var(--main-hero-panel-height);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 76px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 24, 39, 0.8), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  max-width: 500px;
}

.main-hero.banner-main-slider {
  display: block;
  padding: 0;
  background: #111827;
}

.banner-main-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.banner-main-slider__slide {
  position: relative;
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-main-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-main-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.banner-main-slider__arrow--prev {
  left: 18px;
}

.banner-main-slider__arrow--next {
  right: 18px;
}

.banner-main-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.banner-main-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.banner-main-slider__dots button.is-active {
  width: 22px;
  background: #fff;
  border-radius: 999px;
}

/* Common Components */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #6366F1);
  border: none;
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 20px rgba(59, 130, 246, 0.4);
}

/* Split Banners section */
.banners-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 68px;
}

.banner-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.banner-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.1));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.banner-item h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1E293B;
}

.banner-item p {
  color: var(--text-muted);
  font-weight: 500;
}

.banners-wrap--registered {
  align-items: stretch;
}

.banner-item--registered {
  display: block;
  background: #f8fafc;
}

.banner-item--registered img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-main-slider__slide.banner-fit--contain img,
.banner-item--registered.banner-fit--contain img {
  object-fit: contain;
  background: #f8fafc;
}

.banner-main-slider__slide.banner-fit--fill img,
.banner-item--registered.banner-fit--fill img {
  object-fit: fill;
}

.banner-main-slider__slide.banner-fit--cover img,
.banner-item--registered.banner-fit--cover img {
  object-fit: cover;
}

/* Categories Section */
.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-category {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-category:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-category.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #F1F5F9;
  margin-bottom: 16px;
}

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

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.tag-premium {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #F59E0B;
  font-weight: 700;
}

/* Seller / Mini-shop Grid */
.seller-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.seller-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.seller-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(244, 63, 94, 0.1));
  z-index: 0;
}

.seller-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--primary);
}

.seller-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid #fff;
  position: relative;
  z-index: 1;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.seller-info {
  position: relative;
  z-index: 1;
}

.seller-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #1E293B;
}

.seller-stats {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-see-more {
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-see-more:hover {
  background: var(--bg-lighter);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

/* Auction Timer */
.auction-timer {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: var(--secondary);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 800;
  font-family: monospace;
  font-size: 16px;
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.auction-timer i {
  font-size: 14px;
}

/* Store Specific Header */
.store-header {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.store-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.1));
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.store-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.store-profile-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #fff;
  object-fit: cover;
}

.store-details h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.store-stats {
  display: flex;
  gap: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
}

.store-stats span strong {
  color: #fff;
}

.store-actions {
  margin-left: auto;
}

.btn-follow {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(130px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: #1E293B;
  font-size: 18px;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.footer-brand-logo.has-image {
  min-height: 48px;
}

.footer-brand-logo img {
  display: block;
  width: auto;
  max-width: 260px;
  max-height: 72px;
  object-fit: contain;
}

.footer-copyright-content,
.footer-customer-center-content {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.footer-copyright-content p,
.footer-customer-center-content p {
  margin-bottom: 8px;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
}

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

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* Trend Display Section - Craft Luxury & Auction */
.trend-display-section {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(320px, 1fr);
  gap: 38px;
  margin-bottom: 92px;
}

.craft-luxury-wrap {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-lighter);
}

.section-header-inline .section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0;
}

.tabs {
  display: flex;
  gap: 20px;
}

.tabs a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.tabs a:hover {
  color: var(--primary);
}

.tabs a.active {
  color: var(--secondary);
}

.tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

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

.luxury-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #fff;
  border: 1px solid transparent;
}

.luxury-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.luxury-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--bg-lighter);
}

.luxury-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.luxury-card:hover .luxury-img img {
  transform: scale(1.05);
}

.luxury-info {
  padding: 0 5px;
}

.badge-craft {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.luxury-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.luxury-info p {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Auction Right Banner */
.auction-side-banner {
  background: linear-gradient(135deg, #111827 0%, #1E293B 100%);
  border-radius: 24px;
  padding: 35px 25px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.auction-side-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.auction-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.auction-live-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.auction-banner-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.auction-banner-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
  line-height: 1.5;
}

.auction-timer-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;
}

.time-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  width: 60px;
  height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.time-box span {
  font-family: monospace;
  font-size: 22px;
  line-height: 1;
}

.time-box small {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.btn-auction-join {
  width: 100%;
  background: #fff;
  color: #111827;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-auction-join:hover {
  background: var(--bg-lighter);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.is-home-auction-legacy-banner,
.is-home-signup-legacy-banner {
  display: none !important;
}

.craft-experience-side-banner {
  display: block;
  align-self: start;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff7ed;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 24px 48px rgba(120, 72, 32, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.craft-experience-side-banner::before {
  content: none;
}

.craft-experience-side-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 58px rgba(120, 72, 32, 0.24);
}

.craft-experience-side-banner:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.55);
  outline-offset: 4px;
}

.craft-experience-banner-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.banner-item--auction-promo {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.banner-item--auction-promo .banner-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.58)),
    linear-gradient(135deg, rgba(244, 49, 66, 0.35), transparent 56%);
}

.banner-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.craft-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.craft-heading span {
  color: var(--secondary);
}

.section-subtitle-inline {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-lighter);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.section-link:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.section-empty-card {
  padding: 56px 24px;
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.market-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  color: #334155;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.market-card-price {
  margin-top: 12px;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 800;
}

.shopping-header {
  margin-bottom: 28px;
}

.tabs button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.category-filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-filter-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.category-filter-tabs button:hover,
.category-filter-tabs button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.tasteful-shopping-section {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 32px 30px;
}

.market-home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.market-home-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.market-home-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-md);
}

.market-home-card.is-hidden {
  display: none;
}

.market-home-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.market-home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-home-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.market-home-copy {
  padding: 16px 16px 18px;
}

.market-home-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.market-home-copy h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.market-home-copy p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  min-height: 46px;
}

.market-home-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.market-home-price-row strong {
  color: var(--text-main);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.market-home-price-row span {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
}

.section-footer-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.atelier-story-home-section + .banners-wrap {
  margin-top: 0;
}

@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }

  .member-account-card {
    min-height: 52px;
  }

  .member-account-card {
    width: 190px;
  }

  .member-account-mypage small {
    display: none;
  }

  .main-hero-layout,
  .trend-display-section {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .mega-sidebar,
  .main-hero,
  .auction-side-banner {
    width: 100%;
  }

  .mega-dropdown {
    display: none;
  }

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

  .luxury-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  :root {
    --drawer-column-width: 280px;
  }

  .site-header .header-main {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0;
    gap: 16px;
  }

  .search-bar {
    order: 3;
    max-width: none;
    width: 100%;
    flex-basis: 100%;
  }

  .user-actions {
    margin-left: auto;
  }

  .site-header.has-member-card .header-main {
    padding-right: 0;
  }

  .site-header.has-member-card .header-category-bar .container {
    padding-right: 28px;
  }

  .member-account-card {
    position: relative;
    top: auto;
    right: auto;
    width: 190px;
    height: auto;
    padding: 8px;
  }

  .member-account-logout {
    min-height: 32px;
    padding: 0 10px;
  }

  .header-category-bar .container {
    min-height: 52px;
  }

  .header-auth-links {
    display: none;
  }

  .drawer-subcategory-panel {
    width: min(var(--drawer-column-width), calc(100vw - var(--drawer-column-width)));
  }

  .drawer-flyout-panel {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    border-left: 0;
    box-shadow: none;
  }

  main {
    padding-top: 220px;
  }

  .product-grid,
  .market-home-grid,
  .seller-grid,
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .banners-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --main-hero-panel-height: 420px;
  }

  .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 22px;
  }

  .site-header.has-member-card .header-main {
    padding-right: 0;
  }

  .site-header.has-member-card .header-category-bar .container {
    padding-right: 16px;
  }

  .site-brand-logo img {
    max-width: 170px;
    max-height: 46px;
  }

  .user-actions {
    display: none;
  }

  .header-categories {
    gap: 8px;
  }

  .header-categories a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .main-hero {
    padding: 36px 24px;
  }

  .hero-title {
    font-size: 34px;
  }

  .product-grid,
  .luxury-product-grid,
  .market-home-grid,
  .seller-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-header-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tabs,
  .category-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar,
  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .tasteful-shopping-section {
    padding: 28px 20px;
  }

  main {
    padding-top: 208px;
  }
}
